[MacPorts] #63518: Failed to configure gd2: configure failure: command execution failed

MacPorts noreply at macports.org
Tue Sep 21 11:57:26 UTC 2021


#63518: Failed to configure gd2: configure failure: command execution failed
-----------------------+------------------------
  Reporter:  stephrom  |      Owner:  ryandesign
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:
Resolution:            |   Keywords:
      Port:  gd2       |
-----------------------+------------------------
Changes (by jmroot):

 * owner:  (none) => ryandesign
 * status:  new => assigned
 * port:   => gd2


Old description:

> gd2-2.3.2_0+x11.darwin_20.x86_64.tbz2 (on BigSur)
>
> It was created by GD configure 2.3.2, which was
> generated by GNU Autoconf 2.69.  Invocation command line was
>
>   $ ./configure --prefix=/opt/local --disable-werror --with-
> freetype=/opt/local --with-fontconfig=/opt/local --with-heif=/opt/local
> --with-jpeg=/opt/local --with-png=/opt/local --with-tiff=/opt/local
> --with-webp=/opt/local --with-zlib=/opt/local --without-avif --without-
> liq --with-xpm=/opt/local --x-includes=/opt/local/include
> --x-libraries=/opt/local/lib
>
> ## --------- ##
> ## Platform. ##
> ## --------- ##
>
> hostname = Stephanes-MacBook-Pro-4228.local
> uname -m = x86_64
> uname -r = 20.6.0
> uname -s = Darwin
> uname -v = Darwin Kernel Version 20.6.0: Wed Jun 23 00:26:31 PDT 2021;
> root:xnu-7195.141.2~5/RELEASE_X86_64
>
> /usr/bin/uname -p = i386
> /bin/uname -X     = unknown
>
> /bin/arch              = unknown
> /usr/bin/arch -k       = unknown
> /usr/convex/getsysinfo = unknown
> /usr/bin/hostinfo      = Mach kernel version:
>          Darwin Kernel Version 20.6.0: Wed Jun 23 00:26:31 PDT 2021;
> root:xnu-7195.141.2~5/RELEASE_X86_64
> Kernel configured for up to 4 processors.
> 2 processors are physically available.
> 4 processors are logically available.
> Processor type: x86_64h (Intel x86-64h Haswell)
> Processors active: 0 1 2 3
> Primary memory available: 8.00 gigabytes
> Default processor set: 578 tasks, 2274 threads, 4 processors
> Load average: 2.52, Mach factor: 1.68
> /bin/machine           = unknown
> /usr/bin/oslevel       = unknown
> /bin/universe          = unknown
>
> PATH: /opt/local/bin
> PATH: /opt/local/sbin
> PATH: /bin
> PATH: /sbin
> PATH: /usr/bin
> PATH: /usr/sbin
>

> ## ----------- ##
> ## Core tests. ##
> ## ----------- ##
>
> configure:2435: checking build system type
> configure:2449: result: i386-apple-darwin20.6.0
> configure:2469: checking host system type
> configure:2482: result: i386-apple-darwin20.6.0
> configure:2535: checking for a BSD-compatible install
> configure:2603: result: /usr/bin/install -c
> configure:2614: checking whether build environment is sane
> configure:2669: result: yes
> configure:2815: checking for a thread-safe mkdir -p
> configure:2854: result: /opt/local/bin/gmkdir -p
> configure:2861: checking for gawk
> configure:2877: found /opt/local/bin/gawk
> configure:2888: result: gawk
> configure:2899: checking whether make sets $(MAKE)
> configure:2921: result: yes
> configure:2950: checking whether make supports nested variables
> configure:2967: result: yes
> configure:3100: checking whether make supports the include directive
> configure:3115: make -f confmf.GNU && cat confinc.out
> this is the am__doit target
> configure:3118: $? = 0
> configure:3137: result: yes (GNU style)
> configure:3207: checking for gcc
> configure:3234: result: /usr/bin/clang
> configure:3463: checking for C compiler version
> configure:3472: /usr/bin/clang --version >&5
> Apple clang version 11.0.0 (clang-1100.0.33.16)
> Target: x86_64-apple-darwin20.6.0
> Thread model: posix
> InstalledDir: /Library/Developer/CommandLineTools/usr/bin
> configure:3483: $? = 0
> configure:3472: /usr/bin/clang -v >&5
> Apple clang version 11.0.0 (clang-1100.0.33.16)
> Target: x86_64-apple-darwin20.6.0
> Thread model: posix
> InstalledDir: /Library/Developer/CommandLineTools/usr/bin
> configure:3483: $? = 0
> configure:3472: /usr/bin/clang -V >&5
> clang: error: unsupported option '-V -Wno-framework-include-private-from-
> public'
> clang: error: no input files
> configure:3483: $? = 1
> configure:3472: /usr/bin/clang -qversion >&5
> clang: error: unknown argument '-qversion', did you mean '--version'?
> clang: error: no input files
> configure:3483: $? = 1
> configure:3503: checking whether the C compiler works
> configure:3525: /usr/bin/clang -pipe -Os
> -DDEFAULT_FONTPATH=\"/System/Library/Fonts:/Library/Fonts\"
> -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk -arch
> x86_64 -I
> /opt/local/include
> -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk
> -L/opt/local/lib -Wl,-headerpad_max_install_names
> -Wl,-syslibroot,/Library/Developer/CommandLineT
> ools/SDKs/MacOSX11.3.sdk -arch x86_64 conftest.c  >&5
> clang: error: invalid version number in 'MACOSX_DEPLOYMENT_TARGET=11.0'
> configure:3529: $? = 1
> configure:3567: result: no
> configure: failed program was:
> | /* confdefs.h */
> | #define PACKAGE_NAME "GD"
> | #define PACKAGE_TARNAME "libgd"
> | #define PACKAGE_VERSION "2.3.2"
> | #define PACKAGE_STRING "GD 2.3.2"
> | #define PACKAGE_BUGREPORT "https://github.com/libgd/libgd/issues"
> | #define PACKAGE_URL "http://lib.gd"
> | #define PACKAGE "libgd"
> | #define VERSION "2.3.2"
> | /* end confdefs.h.  */
> |
> | int
> | main ()
> | {
> |
> |   ;
> |   return 0;
> | }
> configure:3572: error: in
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_gd2/gd2/work/libgd-2.3.2':
> configure:3574: error: C compiler cannot create executables
> See `config.log' for more details

New description:

 gd2-2.3.2_0+x11.darwin_20.x86_64.tbz2 (on BigSur)
 {{{
 It was created by GD configure 2.3.2, which was
 generated by GNU Autoconf 2.69.  Invocation command line was

   $ ./configure --prefix=/opt/local --disable-werror --with-
 freetype=/opt/local --with-fontconfig=/opt/local --with-heif=/opt/local
 --with-jpeg=/opt/local --with-png=/opt/local --with-tiff=/opt/local
 --with-webp=/opt/local --with-zlib=/opt/local --without-avif --without-liq
 --with-xpm=/opt/local --x-includes=/opt/local/include
 --x-libraries=/opt/local/lib

 ## --------- ##
 ## Platform. ##
 ## --------- ##

 hostname = Stephanes-MacBook-Pro-4228.local
 uname -m = x86_64
 uname -r = 20.6.0
 uname -s = Darwin
 uname -v = Darwin Kernel Version 20.6.0: Wed Jun 23 00:26:31 PDT 2021;
 root:xnu-7195.141.2~5/RELEASE_X86_64

 /usr/bin/uname -p = i386
 /bin/uname -X     = unknown

 /bin/arch              = unknown
 /usr/bin/arch -k       = unknown
 /usr/convex/getsysinfo = unknown
 /usr/bin/hostinfo      = Mach kernel version:
          Darwin Kernel Version 20.6.0: Wed Jun 23 00:26:31 PDT 2021;
 root:xnu-7195.141.2~5/RELEASE_X86_64
 Kernel configured for up to 4 processors.
 2 processors are physically available.
 4 processors are logically available.
 Processor type: x86_64h (Intel x86-64h Haswell)
 Processors active: 0 1 2 3
 Primary memory available: 8.00 gigabytes
 Default processor set: 578 tasks, 2274 threads, 4 processors
 Load average: 2.52, Mach factor: 1.68
 /bin/machine           = unknown
 /usr/bin/oslevel       = unknown
 /bin/universe          = unknown

 PATH: /opt/local/bin
 PATH: /opt/local/sbin
 PATH: /bin
 PATH: /sbin
 PATH: /usr/bin
 PATH: /usr/sbin


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

 configure:2435: checking build system type
 configure:2449: result: i386-apple-darwin20.6.0
 configure:2469: checking host system type
 configure:2482: result: i386-apple-darwin20.6.0
 configure:2535: checking for a BSD-compatible install
 configure:2603: result: /usr/bin/install -c
 configure:2614: checking whether build environment is sane
 configure:2669: result: yes
 configure:2815: checking for a thread-safe mkdir -p
 configure:2854: result: /opt/local/bin/gmkdir -p
 configure:2861: checking for gawk
 configure:2877: found /opt/local/bin/gawk
 configure:2888: result: gawk
 configure:2899: checking whether make sets $(MAKE)
 configure:2921: result: yes
 configure:2950: checking whether make supports nested variables
 configure:2967: result: yes
 configure:3100: checking whether make supports the include directive
 configure:3115: make -f confmf.GNU && cat confinc.out
 this is the am__doit target
 configure:3118: $? = 0
 configure:3137: result: yes (GNU style)
 configure:3207: checking for gcc
 configure:3234: result: /usr/bin/clang
 configure:3463: checking for C compiler version
 configure:3472: /usr/bin/clang --version >&5
 Apple clang version 11.0.0 (clang-1100.0.33.16)
 Target: x86_64-apple-darwin20.6.0
 Thread model: posix
 InstalledDir: /Library/Developer/CommandLineTools/usr/bin
 configure:3483: $? = 0
 configure:3472: /usr/bin/clang -v >&5
 Apple clang version 11.0.0 (clang-1100.0.33.16)
 Target: x86_64-apple-darwin20.6.0
 Thread model: posix
 InstalledDir: /Library/Developer/CommandLineTools/usr/bin
 configure:3483: $? = 0
 configure:3472: /usr/bin/clang -V >&5
 clang: error: unsupported option '-V -Wno-framework-include-private-from-
 public'
 clang: error: no input files
 configure:3483: $? = 1
 configure:3472: /usr/bin/clang -qversion >&5
 clang: error: unknown argument '-qversion', did you mean '--version'?
 clang: error: no input files
 configure:3483: $? = 1
 configure:3503: checking whether the C compiler works
 configure:3525: /usr/bin/clang -pipe -Os
 -DDEFAULT_FONTPATH=\"/System/Library/Fonts:/Library/Fonts\"
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk -arch
 x86_64 -I
 /opt/local/include
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk
 -L/opt/local/lib -Wl,-headerpad_max_install_names
 -Wl,-syslibroot,/Library/Developer/CommandLineT
 ools/SDKs/MacOSX11.3.sdk -arch x86_64 conftest.c  >&5
 clang: error: invalid version number in 'MACOSX_DEPLOYMENT_TARGET=11.0'
 configure:3529: $? = 1
 configure:3567: result: no
 configure: failed program was:
 | /* confdefs.h */
 | #define PACKAGE_NAME "GD"
 | #define PACKAGE_TARNAME "libgd"
 | #define PACKAGE_VERSION "2.3.2"
 | #define PACKAGE_STRING "GD 2.3.2"
 | #define PACKAGE_BUGREPORT "https://github.com/libgd/libgd/issues"
 | #define PACKAGE_URL "http://lib.gd"
 | #define PACKAGE "libgd"
 | #define VERSION "2.3.2"
 | /* end confdefs.h.  */
 |
 | int
 | main ()
 | {
 |
 |   ;
 |   return 0;
 | }
 configure:3572: error: in
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_gd2/gd2/work/libgd-2.3.2':
 configure:3574: error: C compiler cannot create executables
 See `config.log' for more details
 }}}

--

Comment:

 Looks like you need to update your Command Line Tools.

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


More information about the macports-tickets mailing list