[MacPorts] #66636: ossp-uuid fails to compile on latest Ventura

MacPorts noreply at macports.org
Fri Jan 6 04:42:56 UTC 2023


#66636: ossp-uuid fails to compile on latest Ventura
------------------------+--------------------
  Reporter:  daran0815  |      Owner:  (none)
      Type:  defect     |     Status:  new
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.8.0
Resolution:             |   Keywords:
      Port:  ossp-uuid  |
------------------------+--------------------
Description changed by daran0815:

Old description:

> Apparently the configuration tries to compile against macos sdk 13.0,
> when the latest xcode xcode only provides 13.1 (xcodebuild -showsdks:
> -sdk macosx13.1). The config log contains the following:
>
> ## ----------- ##
> ## Core tests. ##
> ## ----------- ##
>
> configure:2016: checking whether make sets $(MAKE)
> configure:2038: result: yes
> configure:2095: checking for gcc
> configure:2122: result: /usr/bin/clang
> configure:2360: checking for C compiler version
> configure:2368: /usr/bin/clang --version >&5
> Apple clang version 11.0.0 (clang-1100.0.33.17)
> Target: x86_64-apple-darwin22.2.0
> Thread model: posix
> InstalledDir: /Library/Developer/CommandLineTools/usr/bin
> configure:2372: $? = 0
> configure:2379: /usr/bin/clang -v >&5
> Apple clang version 11.0.0 (clang-1100.0.33.17)
> Target: x86_64-apple-darwin22.2.0
> Thread model: posix
> InstalledDir: /Library/Developer/CommandLineTools/usr/bin
> configure:2383: $? = 0
> configure:2390: /usr/bin/clang -V >&5
> clang: error: unsupported option '-V -Wno-framework-include-private-from-
> public'
> clang: error: no input files
> configure:2394: $? = 1
> configure:2417: checking for C compiler default output file name
> configure:2439: /usr/bin/clang -pipe -Os
> -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64
> -I/opt/local/include
> -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk
> -L/opt/local/lib -Wl,-headerpad_max_install_names
> -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch
> x86_64 conftest.c  >&5
> clang: error: invalid version number in 'MACOSX_DEPLOYMENT_TARGET=13.0'
> configure:2443: $? = 1
> configure:2481: result:
> configure: failed program was:
> | /* confdefs.h.  */
> | #define PACKAGE_NAME ""
> | #define PACKAGE_TARNAME ""
> | #define PACKAGE_VERSION ""
> | #define PACKAGE_STRING ""
> | #define PACKAGE_BUGREPORT ""
> | /* end confdefs.h.  */
> |
> | int
> | main ()
> | {
> |
> |   ;
> |   return 0;
> | }
> configure:2488: error: C compiler cannot create executables

New description:

 Apparently the configuration tries to compile against macos sdk 13.0, when
 the latest xcode xcode only provides 13.1 (xcodebuild -showsdks: -sdk
 macosx13.1). The config log contains the following (excerpt):

 {{{
 ## ----------- ##
 ## Core tests. ##
 ## ----------- ##

 configure:2016: checking whether make sets $(MAKE)
 configure:2038: result: yes
 configure:2095: checking for gcc
 configure:2122: result: /usr/bin/clang
 configure:2360: checking for C compiler version
 configure:2368: /usr/bin/clang --version >&5
 Apple clang version 11.0.0 (clang-1100.0.33.17)
 Target: x86_64-apple-darwin22.2.0
 Thread model: posix
 InstalledDir: /Library/Developer/CommandLineTools/usr/bin
 configure:2372: $? = 0
 configure:2379: /usr/bin/clang -v >&5
 Apple clang version 11.0.0 (clang-1100.0.33.17)
 Target: x86_64-apple-darwin22.2.0
 Thread model: posix
 InstalledDir: /Library/Developer/CommandLineTools/usr/bin
 configure:2383: $? = 0
 configure:2390: /usr/bin/clang -V >&5
 clang: error: unsupported option '-V -Wno-framework-include-private-from-
 public'
 clang: error: no input files
 configure:2394: $? = 1
 configure:2417: checking for C compiler default output file name
 configure:2439: /usr/bin/clang -pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64
 -I/opt/local/include
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk
 -L/opt/local/lib -Wl,-headerpad_max_install_names
 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch
 x86_64 conftest.c  >&5
 clang: error: invalid version number in 'MACOSX_DEPLOYMENT_TARGET=13.0'
 configure:2443: $? = 1
 configure:2481: result:
 configure: failed program was:
 | /* confdefs.h.  */
 | #define PACKAGE_NAME ""
 | #define PACKAGE_TARNAME ""
 | #define PACKAGE_VERSION ""
 | #define PACKAGE_STRING ""
 | #define PACKAGE_BUGREPORT ""
 | /* end confdefs.h.  */
 |
 | int
 | main ()
 | {
 |
 |   ;
 |   return 0;
 | }
 configure:2488: error: C compiler cannot create executables
 }}}

--

-- 
Ticket URL: <https://trac.macports.org/ticket/66636#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list