[MacPorts] #52468: gtk3 3.22.0_0 build fails on 10.5 ppc

MacPorts noreply at macports.org
Wed Oct 19 10:32:16 CEST 2016


#52468: gtk3 3.22.0_0 build fails on 10.5 ppc
-------------------------+-----------------------------
  Reporter:  dgonyier@…  |      Owner:  devans@…
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.3.4
Resolution:              |   Keywords:  leopard powerpc
      Port:  gtk3        |
-------------------------+-----------------------------

Comment (by Peter_Dyballa@…):

 Replying to [comment:42 ken.cunningham.webuse@…]:
 >
 > >/bin/sh ../libtool  --tag=CC   --mode=link /opt/local/bin/clang-mp-3.4
 -arch ppc
 >
 > Peter - why is your system trying to build gtk with clang-3.4? I don't
 think that will work on PPC. You can build gtk3 at 3.22.1 with gcc6 (and
 likely gcc5 or gcc48) on PPC at present. YMMV. I don't at present build
 anything on 10.5 PPC with clang.
 >
 Because Portfile dictates this? Beside, there are these settings active:

 {{{
 pete 314 /\ port select --summary
 Name       Selected      Options
 ====       ========      =======
 clang      mp-clang-3.4  mp-clang-3.3 mp-clang-3.4 none
 cython     cython27      cython27 none
 db         none          none
 gcc        apple-gcc42   apple-gcc42 gcc40 gcc42 llvm-gcc42 mp-gcc47 mp-
 gcc48 mp-gcc49 mp-gcc5 mp-gcc6 none
 llvm       mp-llvm-3.4   mp-llvm-3.3 mp-llvm-3.4 none
 nosetests  nosetests27   nosetests27 none
 python     python27      python25-apple python27 python35 none
 python2    python27      python25-apple python27 none
 python3    python35      python35 none
 }}}

 `Configure` outputs these lines:

 {{{
 checking for gcc... /opt/local/bin/clang-mp-3.4 -arch ppc
 checking whether the C compiler works... yes
 checking for C compiler default output file name... a.out
 checking for suffix of executables...
 checking whether we are cross compiling... no
 checking for suffix of object files... o
 checking whether we are using the GNU C compiler... yes
 checking whether /opt/local/bin/clang-mp-3.4 -arch ppc accepts -g... yes
 checking for /opt/local/bin/clang-mp-3.4 -arch ppc option to accept ISO
 C89... none needed
 checking whether /opt/local/bin/clang-mp-3.4 -arch ppc understands -c and
 -o together... yes
 checking for style of include used by make... GNU
 checking dependency style of /opt/local/bin/clang-mp-3.4 -arch ppc... gcc3
 checking how to run the C preprocessor... /opt/local/bin/clang-mp-3.4
 -arch ppc -E
 checking for gcc... gcc
 checking whether we are using the GNU C compiler... (cached) yes
 checking whether gcc accepts -g... yes
 checking for gcc option to accept ISO C89... (cached) none needed
 checking whether gcc understands -c and -o together... (cached) yes
 checking dependency style of gcc... (cached) gcc3
 checking how to run the C preprocessor... gcc -E
 checking whether /opt/local/bin/clang-mp-3.4 -arch ppc and cc understand
 -c and -o together... yes
 }}}

 `Config.log` contains findings of Clang and GCC mixed:

 {{{
 configure:4157: checking for gcc
 configure:4184: result: /opt/local/bin/clang-mp-3.4 -arch ppc
 configure:4413: checking for C compiler version
 configure:4422: /opt/local/bin/clang-mp-3.4 -arch ppc --version >&5
 clang version 3.4.2 (tags/RELEASE_34/dot2-final)
 Target: powerpc-apple-darwin9.8.0
 Thread model: posix
 configure:4433: $? = 0
 configure:4422: /opt/local/bin/clang-mp-3.4 -arch ppc -v >&5
 clang version 3.4.2 (tags/RELEASE_34/dot2-final)
 Target: powerpc-apple-darwin9.8.0
 Thread model: posix
 Selected GCC installation:
 configure:4433: $? = 0
 configure:4422: /opt/local/bin/clang-mp-3.4 -arch ppc -V >&5
 clang: error: argument to '-V' is missing (expected 1 value)
 clang: error: no input files
 configure:4433: $? = 1
 configure:4422: /opt/local/bin/clang-mp-3.4 -arch ppc -qversion >&5
 clang: error: unknown argument: '-qversion'
 clang: error: no input files
 configure:4433: $? = 1
 configure:4453: checking whether the C compiler works
 configure:4475: /opt/local/bin/clang-mp-3.4 -arch ppc -pipe -Os -fstrict-
 aliasing -arch ppc -I/opt/local/include -DX_LOCALE -L/opt/local/lib
 -Wl,-headerpad_max_install_names -arch ppc conftest.c  >&5
 configure:4479: $? = 0
 configure:4527: result: yes
 configure:4530: checking for C compiler default output file name
 configure:4532: result: a.out
 configure:4538: checking for suffix of executables
 configure:4545: /opt/local/bin/clang-mp-3.4 -arch ppc -o conftest -pipe
 -Os -fstrict-aliasing -arch ppc -I/opt/local/include -DX_LOCALE
 -L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc conftest.c
 >&5
 configure:4549: $? = 0
 configure:4571: result:
 configure:4593: checking whether we are cross compiling
 configure:4601: /opt/local/bin/clang-mp-3.4 -arch ppc -o conftest -pipe
 -Os -fstrict-aliasing -arch ppc -I/opt/local/include -DX_LOCALE
 -L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc conftest.c
 >&5
 configure:4605: $? = 0
 configure:4612: ./conftest
 configure:4616: $? = 0
 configure:4631: result: no
 configure:4636: checking for suffix of object files
 configure:4658: /opt/local/bin/clang-mp-3.4 -arch ppc -c -pipe -Os
 -fstrict-aliasing -arch ppc -I/opt/local/include -DX_LOCALE conftest.c >&5
 configure:4662: $? = 0
 configure:4683: result: o
 configure:4687: checking whether we are using the GNU C compiler
 configure:4706: /opt/local/bin/clang-mp-3.4 -arch ppc -c -pipe -Os
 -fstrict-aliasing -arch ppc -I/opt/local/include -DX_LOCALE conftest.c >&5
 configure:4706: $? = 0
 configure:4715: result: yes
 configure:4724: checking whether /opt/local/bin/clang-mp-3.4 -arch ppc
 accepts -g
 configure:4744: /opt/local/bin/clang-mp-3.4 -arch ppc -c -g
 -I/opt/local/include -DX_LOCALE conftest.c >&5
 configure:4744: $? = 0
 configure:4785: result: yes
 configure:4802: checking for /opt/local/bin/clang-mp-3.4 -arch ppc option
 to accept ISO C89
 configure:4865: /opt/local/bin/clang-mp-3.4 -arch ppc  -c -pipe -Os
 -fstrict-aliasing -arch ppc -I/opt/local/include -DX_LOCALE conftest.c >&5
 configure:4865: $? = 0
 configure:4878: result: none needed
 configure:4903: checking whether /opt/local/bin/clang-mp-3.4 -arch ppc
 understands -c and -o together
 configure:4925: /opt/local/bin/clang-mp-3.4 -arch ppc -c conftest.c -o
 conftest2.o
 configure:4928: $? = 0
 configure:4925: /opt/local/bin/clang-mp-3.4 -arch ppc -c conftest.c -o
 conftest2.o
 configure:4928: $? = 0
 configure:4940: result: yes
 configure:4968: checking for style of include used by make
 configure:4996: result: GNU
 configure:5022: checking dependency style of /opt/local/bin/clang-mp-3.4
 -arch ppc
 configure:5133: result: gcc3
 configure:5153: checking how to run the C preprocessor
 configure:5184: /opt/local/bin/clang-mp-3.4 -arch ppc -E
 -I/opt/local/include -DX_LOCALE conftest.c
 configure:5184: $? = 0
 configure:5198: /opt/local/bin/clang-mp-3.4 -arch ppc -E
 -I/opt/local/include -DX_LOCALE conftest.c
 conftest.c:9:10: fatal error: 'ac_nonexistent.h' file not found
 #include <ac_nonexistent.h>
          ^
 1 error generated.
 configure:5198: $? = 1
 configure: failed program was:
 | /* confdefs.h */
 | #define PACKAGE_NAME "gtk+"
 | #define PACKAGE_TARNAME "gtk+"
 | #define PACKAGE_VERSION "3.22.1"
 | #define PACKAGE_STRING "gtk+ 3.22.1"
 | #define PACKAGE_BUGREPORT
 "http://bugzilla.gnome.org/enter_bug.cgi?product=gtk%2B"
 | #define PACKAGE_URL ""
 | /* end confdefs.h.  */
 | #include <ac_nonexistent.h>
 configure:5223: result: /opt/local/bin/clang-mp-3.4 -arch ppc -E
 configure:5243: /opt/local/bin/clang-mp-3.4 -arch ppc -E
 -I/opt/local/include -DX_LOCALE conftest.c
 configure:5243: $? = 0
 configure:5257: /opt/local/bin/clang-mp-3.4 -arch ppc -E
 -I/opt/local/include -DX_LOCALE conftest.c
 conftest.c:9:10: fatal error: 'ac_nonexistent.h' file not found
 #include <ac_nonexistent.h>
          ^
 1 error generated.
 configure:5257: $? = 1
 configure: failed program was:
 | /* confdefs.h */
 | #define PACKAGE_NAME "gtk+"
 | #define PACKAGE_TARNAME "gtk+"
 | #define PACKAGE_VERSION "3.22.1"
 | #define PACKAGE_STRING "gtk+ 3.22.1"
 | #define PACKAGE_BUGREPORT
 "http://bugzilla.gnome.org/enter_bug.cgi?product=gtk%2B"
 | #define PACKAGE_URL ""
 | /* end confdefs.h.  */
 | #include <ac_nonexistent.h>
 configure:5341: checking for gcc
 configure:5357: found /opt/local/bin/gcc
 configure:5368: result: gcc
 configure:5597: checking for C compiler version
 configure:5606: gcc --version >&5
 powerpc-apple-darwin9-gcc-apple-4.2.4 (GCC) 4.2.4 (Apple Inc. build 5666)
 (dot 3) (MacPorts apple-gcc42 5666.3_15+gpl3)
 Copyright (C) 2007 Free Software Foundation, Inc.
 This is free software; see the source for copying conditions.  There is NO
 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
 PURPOSE.

 configure:5617: $? = 0
 configure:5606: gcc -v >&5
 Using built-in specs.
 Target: powerpc-apple-darwin9
 Configured with: /opt/local/var/macports/build
 /_opt_mports_trunk_dports_lang_apple-gcc42/apple-
 gcc42/work/objroot/src/configure --disable-checking --enable-werror
 --prefix=/opt/local --mandir=/opt/local/share/man --enable-
 languages=c,c++,objc,obj-c++ --libexecdir=/opt/local/libexec/apple-gcc42
 --libdir=/opt/local/lib/apple-gcc42 --includedir=/opt/local/include/apple-
 gcc42 --program-suffix=-apple-4.2 --with-system-zlib --disable-nls --with-
 slibdir=/usr/lib --build=powerpc-apple-darwin9 --with-gxx-include-
 dir=/usr/include/c++/4.0.0 --host=powerpc-apple-darwin9 --target=powerpc-
 apple-darwin9
 Thread model: posix
 gcc version 4.2.4 (Apple Inc. build 5666) (dot 3) (MacPorts apple-gcc42
 5666.3_15+gpl3)
 configure:5617: $? = 0
 configure:5606: gcc -V >&5
 gcc-apple-4.2: argument to `-V' is missing
 configure:5617: $? = 1
 configure:5606: gcc -qversion >&5
 powerpc-apple-darwin9-gcc-apple-4.2.4: no input files
 configure:5617: $? = 1
 configure:5621: checking whether we are using the GNU C compiler
 configure:5649: result: yes
 configure:5658: checking whether gcc accepts -g
 configure:5678: /opt/local/bin/clang-mp-3.4 -arch ppc -c -pipe -Os
 -fstrict-aliasing -arch ppc -I/opt/local/include -DX_LOCALE conftest.c >&5
 configure:5678: $? = 0
 configure:5719: result: yes
 configure:5736: checking for gcc option to accept ISO C89
 configure:5812: result: none needed
 configure:5837: checking whether gcc understands -c and -o together
 configure:5874: result: yes
 configure:5893: checking dependency style of gcc
 configure:6004: result: gcc3
 configure:6024: checking how to run the C preprocessor
 configure:6055: /opt/local/bin/clang-mp-3.4 -arch ppc -E
 -I/opt/local/include -DX_LOCALE conftest.c
 configure:6055: $? = 0
 configure:6069: /opt/local/bin/clang-mp-3.4 -arch ppc -E
 -I/opt/local/include -DX_LOCALE conftest.c
 conftest.c:9:10: fatal error: 'ac_nonexistent.h' file not found
 #include <ac_nonexistent.h>
          ^
 1 error generated.
 configure:6069: $? = 1
 configure: failed program was:
 | /* confdefs.h */
 | #define PACKAGE_NAME "gtk+"
 | #define PACKAGE_TARNAME "gtk+"
 | #define PACKAGE_VERSION "3.22.1"
 | #define PACKAGE_STRING "gtk+ 3.22.1"
 | #define PACKAGE_BUGREPORT
 "http://bugzilla.gnome.org/enter_bug.cgi?product=gtk%2B"
 | #define PACKAGE_URL ""
 | /* end confdefs.h.  */
 | #include <ac_nonexistent.h>
 configure:6094: result: gcc -E
 configure:6114: /opt/local/bin/clang-mp-3.4 -arch ppc -E
 -I/opt/local/include -DX_LOCALE conftest.c
 configure:6114: $? = 0
 configure:6128: /opt/local/bin/clang-mp-3.4 -arch ppc -E
 -I/opt/local/include -DX_LOCALE conftest.c
 conftest.c:9:10: fatal error: 'ac_nonexistent.h' file not found
 #include <ac_nonexistent.h>
          ^
 1 error generated.
 configure:6128: $? = 1
 configure: failed program was:
 | /* confdefs.h */
 | #define PACKAGE_NAME "gtk+"
 | #define PACKAGE_TARNAME "gtk+"
 | #define PACKAGE_VERSION "3.22.1"
 | #define PACKAGE_STRING "gtk+ 3.22.1"
 | #define PACKAGE_BUGREPORT
 "http://bugzilla.gnome.org/enter_bug.cgi?product=gtk%2B"
 | #define PACKAGE_URL ""
 | /* end confdefs.h.  */
 | #include <ac_nonexistent.h>
 configure:6166: checking whether /opt/local/bin/clang-mp-3.4 -arch ppc and
 cc understand -c and -o together
 configure:6197: /opt/local/bin/clang-mp-3.4 -arch ppc -c conftest.c -o
 conftest2.o >&5
 configure:6201: $? = 0
 configure:6207: /opt/local/bin/clang-mp-3.4 -arch ppc -c conftest.c -o
 conftest2.o >&5
 configure:6211: $? = 0
 configure:6222: cc -c conftest.c >&5
 configure:6226: $? = 0
 configure:6234: cc -c conftest.c -o conftest2.o >&5
 configure:6238: $? = 0
 configure:6244: cc -c conftest.c -o conftest2.o >&5
 configure:6248: $? = 0
 configure:6266: result: yes
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/52468#comment:43>
MacPorts <https://www.macports.org/>
Ports system for the Mac operating system



More information about the macports-tickets mailing list