-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 4/8/11 1:31 PM, Alexander Hansen wrote: > On 4/1/11 10:37 PM, Alexander hansen wrote: >> On 3/29/11 10:55 AM, Alexander Hansen wrote: >>> $ fink -V | head -n3 >>> Package manager version: 0.29.99.cvs >>> Distribution version: selfupdate-cvs Mon Mar 28 17:14:47 2011, 10.5, powerpc >>> Trees: local/main stable/main stable/crypto unstable/main >>> unstable/crypto local/injected > >>> $ fink list xcode >>> i xcode 3.1.4-1 [virtual package representing the >>> develop... > >>> $ fink list system-xfree86 >>> i system-xfree86 2:7.5-2 [placeholder for user installed x11] > >>> (that's Xquartz-2.6.1). It's also worth noting that I don't have xmkmf >>> in the PATH. > >>> ... >>> autoconf >>> /var/tmp/tmp.2.ql1b3W >>> #!/bin/sh -ev >>> # /usr/bin/make crashes (bug) >>> make=/sw/bin/make >>> # provide an executable script to launch .app >>> { echo "#!/bin/sh -ev" ; \ >>> echo "open -a /sw/Applications/TenFourFox.app \"$@\"" ;} > tenfourfox >>> chmod +x tenfourfox > >>> export PKG_CONFIG_PATH=/sw/lib/system-openssl/lib/pkgconfig:$PKG_CONFIG_PATH >>> $make -w -f client.mk build >>> make: Entering directory `/sw/src/fink.build/tenfourfox-4.0-1/mozilla-2.0' >>> Adding client.mk options from >>> /sw/src/fink.build/tenfourfox-4.0-1/mozilla-2.0/.mozconfig: >>> MOZ_OBJDIR=$(TOPSRCDIR)/obj-powerpc-apple-darwin9.8.0 >>> AUTOCONF=autoconf >>> Generating >>> /sw/src/fink.build/tenfourfox-4.0-1/mozilla-2.0/js/src/configure using >>> autoconf >>> cd /sw/src/fink.build/tenfourfox-4.0-1/mozilla-2.0/js/src; autoconf >>> make[1]: Entering directory >>> `/sw/src/fink.build/tenfourfox-4.0-1/mozilla-2.0' >>> cd >>> /sw/src/fink.build/tenfourfox-4.0-1/mozilla-2.0/obj-powerpc-apple-darwin9.8.0 >>> /sw/src/fink.build/tenfourfox-4.0-1/mozilla-2.0/configure >>> Adding configure options from >>> /sw/src/fink.build/tenfourfox-4.0-1/mozilla-2.0/.mozconfig: >>> --enable-application=browser >>> --target=powerpc-apple-darwin9.8.0 >>> --with-macos-sdk=/Developer/SDKs/MacOSX10.4u.sdk >>> --prefix=/sw >>> --disable-crashreporter >>> --disable-ipc >>> --disable-necko-wifi >>> --disable-debug >>> --disable-tests >>> --enable-strip >>> --enable-macos-target=10.4 >>> --with-system-jpeg=/sw >>> --disable-system-cairo >>> --disable-system-sqlite >>> creating cache ./config.cache >>> checking host system type... powerpc-apple-darwin9.8.0 >>> checking target system type... powerpc-apple-darwin9.8.0 >>> checking build system type... powerpc-apple-darwin9.8.0 >>> checking for mawk... no >>> checking for gawk... gawk >>> checking for perl5... no >>> checking for perl... /sw/bin/perl >>> checking for gcc... flag-sort gcc-4.0 >>> checking whether the C compiler (flag-sort gcc-4.0 >>> -L/sw/lib/system-openssl/lib -L/sw/lib) works... yes >>> checking whether the C compiler (flag-sort gcc-4.0 >>> -L/sw/lib/system-openssl/lib -L/sw/lib) is a cross-compiler... no >>> checking whether we are using GNU C... yes >>> checking whether flag-sort gcc-4.0 accepts -g... yes >>> checking for c++... flag-sort g++-4.0 >>> checking whether the C++ compiler (flag-sort g++-4.0 >>> -L/sw/lib/system-openssl/lib -L/sw/lib) works... yes >>> checking whether the C++ compiler (flag-sort g++-4.0 >>> -L/sw/lib/system-openssl/lib -L/sw/lib) is a cross-compiler... no >>> checking whether we are using GNU C++... yes >>> checking whether flag-sort g++-4.0 accepts -g... yes >>> checking for ranlib... /usr/bin/ranlib >>> checking for flag-sort... /sw/bin/flag-sort >>> checking for ar... /usr/bin/ar >>> checking for ld... /usr/bin/ld >>> checking for strip... strip -x -S >>> checking for windres... no >>> checking whether flag-sort gcc-4.0 and cc understand -c and -o >>> together... yes >>> checking how to run the C preprocessor... flag-sort gcc-4.0 -E >>> checking how to run the C++ preprocessor... flag-sort g++-4.0 -E >>> checking for a BSD compatible install... /sw/bin/ginstall -c >>> checking whether ln -s works... yes >>> checking for minimum required perl version >= 5.006... 5.010000 >>> checking for full perl installation... yes >>> checking for python2.7... /sw/bin/python2.7 >>> checking for doxygen... /sw/bin/doxygen >>> checking for autoconf... /sw/bin/autoconf >>> checking for unzip... /sw/bin/unzip >>> checking for zip... /usr/bin/zip >>> checking for makedepend... /usr/X11R6/bin/makedepend >>> checking for xargs... /sw/bin/xargs >>> checking for pbbuild... no >>> checking for xcodebuild... /usr/bin/xcodebuild >>> checking for sdp... /usr/bin/sdp >>> checking for valid compiler/Mac OS X SDK combination... >>> checking for gmake... no >>> checking for make... /sw/bin/make >>> checking for X... no >>> checking whether the compiler supports -Wno-invalid-offsetof... yes >>> checking whether the compiler supports -Wno-variadic-macros... yes >>> checking whether the compiler supports -Werror=return-type... no >>> checking whether ld has archive extraction flags... no >>> checking that static assertion macros used in autoconf tests work... yes >>> checking for 64-bit OS... no >>> checking for Python version >= 2.5 but not 3.x... Traceback (most recent >>> call last): >>> File "/sw/lib/python2.7/site.py", line 553, in <module> >>> main() >>> File "/sw/lib/python2.7/site.py", line 535, in main >>> known_paths = addusersitepackages(known_paths) >>> File "/sw/lib/python2.7/site.py", line 268, in addusersitepackages >>> user_site = getusersitepackages() >>> File "/sw/lib/python2.7/site.py", line 243, in getusersitepackages >>> user_base = getuserbase() # this will also set USER_BASE >>> File "/sw/lib/python2.7/site.py", line 233, in getuserbase >>> USER_BASE = get_config_var('userbase') >>> File "/sw/lib/python2.7/sysconfig.py", line 535, in get_config_var >>> return get_config_vars().get(name) >>> File "/sw/lib/python2.7/sysconfig.py", line 434, in get_config_vars >>> _init_posix(_CONFIG_VARS) >>> File "/sw/lib/python2.7/sysconfig.py", line 313, in _init_posix >>> raise IOError(msg) >>> IOError: $MACOSX_DEPLOYMENT_TARGET mismatch: now "10.4" but "10.5" >>> during configure >>> configure: error: Python 2.5 or higher (but not Python 3.x) is required. >>> *** Fix above errors and then restart with "/sw/bin/make >>> -f client.mk build" >>> make[1]: *** [configure] Error 1 >>> make[1]: Leaving directory `/sw/src/fink.build/tenfourfox-4.0-1/mozilla-2.0' >>> make: *** >>> [/sw/src/fink.build/tenfourfox-4.0-1/mozilla-2.0/obj-powerpc-apple-darwin9.8.0/Makefile] >>> Error 2 >>> make: Leaving directory `/sw/src/fink.build/tenfourfox-4.0-1/mozilla-2.0' >>> ### execution of /var/tmp/tmp.2.ql1b3W failed, exit code 2 >>> Removing runtime build-lock... >>> Removing build-lock package... >>> /sw/bin/dpkg-lockwait -r fink-buildlock-tenfourfox-4.0-1 >>> (Reading database ... 357964 files and directories currently installed.) >>> Removing fink-buildlock-tenfourfox-4.0-1 ... >>> Failed: phase compiling: tenfourfox-4.0-1 failed > > > <snip> > > I'm getting the same error on tenfourfox-4.0-2; I've uploaded a build > log and build dir, along with instances of MACOSX_DEPLOYMENT_TARGET in > the build directory to > > http://akh.users.finkproject.org/finklogs/archives/2011/04/08/tenfourfox-4_0-2_build_failure_on_10_5powerpc_revisited/index.html >
Following up: I tried a couple of modifications to tenfourfox.info and .patch files. If I ensure that MACOSX_DEPLOYMENT_TARGET=10.5 for the build and set - --enable-macosx-target=10.5 in tenfourfox.patch, I get another flavor of configure-time failure: ... checking whether C compiler supports -fprofile-generate... no checking for correct temporary object destruction order... no configure: error: Your compiler does not follow the C++ specification for temporary object destruction order. *** Fix above errors and then restart with "/sw/bin/make -f client.mk build" make[1]: *** [configure] Error 1 If I also switch from using the 10.4 Universal SDK to the 10.5 SDK, the package actually starts to build, but fails as follows: flag-sort gcc-4.0 -o cairo-quartz-surface.o -c - -I../../../../dist/system_wrappers -include /sw/src/fink.build/tenfourfox-4.0-2/mozilla-2.0/config/gcc_hidden.h - -DMOZILLA_INTERNAL_API -D_IMPL_NS_COM -DEXPORT_XPT_API -DEXPORT_XPTC_API - -D_IMPL_NS_GFX -D_IMPL_NS_WIDGET -DIMPL_XREAPI -DIMPL_NS_NET - -DIMPL_THEBES -DSTATIC_EXPORTABLE_JS_API -DOSTYPE=\"Darwin\" - -DOSARCH=Darwin -DPACKAGE_VERSION="\"moz\"" - -DPACKAGE_BUGREPORT="\"http://bugzilla.mozilla.org/\"" -DMOZ_TREE_CAIRO - -DMOZ_TREE_PIXMAN - -I/sw/src/fink.build/tenfourfox-4.0-2/mozilla-2.0/gfx/cairo/cairo/src - -I/sw/src/fink.build/tenfourfox-4.0-2/mozilla-2.0/gfx/cairo/cairo/src - -I. -I../../../../dist/include -I../../../../dist/include/nsprpub - -I/sw/src/fink.build/tenfourfox-4.0-2/mozilla-2.0/obj-powerpc-apple-darwin9.8.0/dist/include/nspr - -I/sw/src/fink.build/tenfourfox-4.0-2/mozilla-2.0/obj-powerpc-apple-darwin9.8.0/dist/include/nss - -I/sw/include -fPIC -I/sw/lib/system-openssl/include -I/sw/include - -I/usr/X11R6/include -I/sw/include -Wall -W -Wno-unused -Wpointer-arith - -Wcast-align -W -isysroot /Developer/SDKs/MacOSX10.5.sdk - -fno-strict-aliasing -fpascal-strings -fno-common -pthread -DNO_X11 - -DNDEBUG -DTRIMMED -O2 -Wno-missing-field-initializers - -I/sw/lib/system-openssl/include -I/sw/include -I/usr/X11R6/include - -I/sw/include -include ../../../../mozilla-config.h -DMOZILLA_CLIENT -MD - -MF .deps/cairo-quartz-surface.pp /sw/src/fink.build/tenfourfox-4.0-2/mozilla-2.0/gfx/cairo/cairo/src/cairo-quartz-surface.c In file included from /Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGGeometry.h:9, from /Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSTypes.h:24, from /Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSLayoutTypes.h:28, from /Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATS.h:25, from /Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h:26, from /sw/src/fink.build/tenfourfox-4.0-2/mozilla-2.0/gfx/cairo/cairo/src/cairo-quartz.h:45, from /sw/src/fink.build/tenfourfox-4.0-2/mozilla-2.0/gfx/cairo/cairo/src/cairo-quartz-private.h:44, from /sw/src/fink.build/tenfourfox-4.0-2/mozilla-2.0/gfx/cairo/cairo/src/cairo-quartz-surface.c:40: /Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGBase.h:76: error: two or more data types in declaration specifiers /sw/src/fink.build/tenfourfox-4.0-2/mozilla-2.0/gfx/cairo/cairo/src/cairo-quartz-surface.c: In function '_cairo_quartz_surface_finish': /sw/src/fink.build/tenfourfox-4.0-2/mozilla-2.0/gfx/cairo/cairo/src/cairo-quartz-surface.c:1920: warning: passing argument 1 of '_cairo_image_surface_assume_ownership_of_data' from incompatible pointer type make[6]: *** [cairo-quartz-surface.o] Error 1 - -- Alexander Hansen, Ph.D. Fink User Liaison http://finkakh.wordpress.com/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk2ocEkACgkQB8UpO3rKjQ+XzwCfUe6pB4qUqitZmQOzzR+IMJKy r18AoKYAEVQI/vmJbnH8ORASs1lmHr9G =7idi -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev _______________________________________________ Fink-devel mailing list Fink-devel@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.apple.fink.devel Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-devel