#20092: python31-3.1 build failure "-lintl" -------------------------------+-------------------------------------------- Reporter: chairos@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: python31 lintl | Port: python31 -------------------------------+-------------------------------------------- Python 3.1 fails to build on my machine. Macports 1.7.10, OS X 10.5.7, Intel. Build log: {{{ jon@euterpe:~$ sudo port install python31 ---> Fetching python31 ---> Verifying checksum(s) for python31 ---> Extracting python31 ---> Applying patches to python31 ---> Configuring python31 ---> Building python31 Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python31/work/Python-3.1" && make all MAKE="make CC=/usr/bin/gcc-4.0" " returned error 2 Command output: /usr/bin/gcc-4.0 -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include -I/opt/local/include -DPy_BUILD_CORE -c ./Modules/xxsubtype.c -o Modules/xxsubtype.o /usr/bin/gcc-4.0 -c -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include -I/opt/local/include -DPy_BUILD_CORE -DSVNVERSION="\"`LC_ALL=C svnversion .`\"" -o Modules/getbuildinfo.o ./Modules/getbuildinfo.c rm -f libpython3.1.a ar rc libpython3.1.a Modules/getbuildinfo.o ar rc libpython3.1.a Parser/acceler.o Parser/grammar1.o Parser/listnode.o Parser/node.o Parser/parser.o Parser/parsetok.o Parser/bitset.o Parser/metagrammar.o Parser/firstsets.o Parser/grammar.o Parser/pgen.o Parser/myreadline.o Parser/tokenizer.o ar rc libpython3.1.a Objects/abstract.o Objects/boolobject.o Objects/bytes_methods.o Objects/bytearrayobject.o Objects/bytesobject.o Objects/cellobject.o Objects/classobject.o Objects/cobject.o Objects/codeobject.o Objects/complexobject.o Objects/descrobject.o Objects/enumobject.o Objects/exceptions.o Objects/genobject.o Objects/fileobject.o Objects/floatobject.o Objects/frameobject.o Objects/funcobject.o Objects/iterobject.o Objects/listobject.o Objects/longobject.o Objects/dictobject.o Objects/memoryobject.o Objects/methodobject.o Objects/moduleobject.o Objects/object.o Objects/obmalloc.o Objects/capsule.o Objects/rangeobject.o Objects/setobject.o Objects/sliceobject.o Objects/structseq.o Objects/tupleobject.o Objects/typeobject.o Objects/unicodeobject.o Objects/unicodectype.o Objects/weakrefobject.o ar rc libpython3.1.a Python/_warnings.o Python/Python-ast.o Python/asdl.o Python/ast.o Python/bltinmodule.o Python/ceval.o Python/compile.o Python/codecs.o Python/errors.o Python/frozen.o Python/frozenmain.o Python/future.o Python/getargs.o Python/getcompiler.o Python/getcopyright.o Python/getplatform.o Python/getversion.o Python/graminit.o Python/import.o Python/importdl.o Python/marshal.o Python/modsupport.o Python/mystrtoul.o Python/mysnprintf.o Python/peephole.o Python/pyarena.o Python/pyctype.o Python/pyfpe.o Python/pymath.o Python/pystate.o Python/pythonrun.o Python/structmember.o Python/symtable.o Python/sysmodule.o Python/traceback.o Python/getopt.o Python/pystrcmp.o Python/pystrtod.o Python/dtoa.o Python/formatter_unicode.o Python/dynload_shlib.o Python/thread.o ranlib: file: libpython3.1.a(pymath.o) has no symbols ar rc libpython3.1.a Modules/config.o Modules/getpath.o Modules/main.o Modules/gcmodule.o ranlib: file: libpython3.1.a(pymath.o) has no symbols ar rc libpython3.1.a Modules/_threadmodule.o Modules/signalmodule.o Modules/posixmodule.o Modules/errnomodule.o Modules/pwdmodule.o Modules/_sre.o Modules/_codecsmodule.o Modules/_weakref.o Modules/_functoolsmodule.o Modules/_localemodule.o Modules/_iomodule.o Modules/iobase.o Modules/fileio.o Modules/bytesio.o Modules/bufferedio.o Modules/textio.o Modules/stringio.o Modules/zipimport.o Modules/symtablemodule.o Modules/xxsubtype.o ranlib: file: libpython3.1.a(pymath.o) has no symbols ranlib libpython3.1.a ranlib: file: libpython3.1.a(pymath.o) has no symbols /usr/bin/install -c -d -m 755 Python.framework/Versions/3.1 if test ""; then \ /usr/bin/gcc-4.0 -o Python.framework/Versions/3.1/Python -dynamiclib \ -isysroot "" \ -all_load libpython3.1.a -Wl,-single_module \ -install_name /opt/local/Library/Frameworks/Python.framework/Versions/3.1/Python \ -compatibility_version 3.1 \ -current_version 3.1 \ -framework CoreFoundation -lintl -ldl ; \ else \ /usr/bin/libtool -o Python.framework/Versions/3.1/Python -dynamic libpython3.1.a \ -lSystem -lSystemStubs -arch_only i386 -install_name /opt/local/Library/Frameworks/Python.framework/Versions/3.1/Python -compatibility_version 3.1 -current_version 3.1 -framework CoreFoundation -lintl -ldl ;\ fi /usr/bin/libtool: can't locate file for: -lintl /usr/bin/libtool: file: -lintl is not an object file (not allowed in a library) make: *** [Python.framework/Versions/3.1/Python] Error 1 Error: Status 1 encountered during processing. }}} List of installed ports: {{{ jon@euterpe:~$ port installed The following ports are currently installed: apr @1.3.3_1 apr @1.3.5_0 (active) apr-util @1.3.4_1 apr-util @1.3.7_0 (active) autoconf @2.63_0+universal (active) automake @1.10.2_0+universal automake @1.11_0+universal (active) bash-completion @1.0_0 bash-completion @1.0_1 (active) BiggerSQL @1.3.8_0 (active) bison @2.4.1_0+universal (active) bzip2 @1.0.5_2 bzip2 @1.0.5_2+universal (active) bzr @1.15.1_0 (active) coreutils @6.12_2+with_default_names coreutils @7.2_0+with_default_names coreutils @7.4_0+with_default_names (active) curl @7.19.3_0+doc curl @7.19.4_0+doc curl @7.19.5_0+doc (active) cvsps @2.1_1 (active) cyrus-sasl2 @2.1.23_0+kerberos (active) daemontools @0.76_2 (active) db46 @4.6.21_3+universal db46 @4.6.21_4+universal db46 @4.6.21_5+universal (active) djbdns @1.05_1 djbdns @1.05_2 (active) erlang @R12B-5_1+ssl erlang @R13B_2+ssl erlang @R13B_3+ssl erlang @R13B_4+ssl erlang @R13B01_0+ssl (active) expat @2.0.1_0+universal (active) fontconfig @2.6.0_1+macosx fontconfig @2.6.0_2+macosx (active) freetype @2.3.8_0+macosx freetype @2.3.9_0+macosx (active) gawk @3.1.6_0 (active) gd2 @2.0.35_5 (active) gdbm @1.8.3_1+universal (active) gettext @0.17_4+universal (active) ghc @6.10.1_9+darwin_9_i386 ghc @6.10.2_0+darwin_9_i386 ghc @6.10.3_0+darwin_9_i386 ghc @6.10.3_1+darwin_9_i386 (active) git-core @1.6.3.2_0+bash_completion+doc+gitweb+svn git-core @1.6.3.3_0+bash_completion+doc+gitweb+svn (active) glib2 @2.18.3_0+darwin_9 glib2 @2.20.0_0 glib2 @2.20.0_1 glib2 @2.20.1_0 glib2 @2.20.1_1 glib2 @2.20.2_0 glib2 @2.20.3_0 (active) gmp @4.2.4_3 gmp @4.3.0_1 gmp @4.3.1_0 (active) gperf @3.0.3_0+universal gperf @3.0.4_0+universal (active) help2man @1.36.4_1+universal (active) hs-cabal @0.6.2_0 (active) hs-ghc-paths @0.1.0.5_0 (active) hs-http @4000.0.6_0 (active) hs-libcabal @1.6.0.3_1 (active) hs-zlib @0.5.0.0_0 (active) icu @4.0_0 (active) irssi @0.8.12_1 irssi @0.8.13_0 (active) jpeg @6b_3+universal (active) libedit @20090111-3.0_0 libedit @20090503-3.0_0 (active) libevent @1.4.9_0 libevent @1.4.10_0 libevent @1.4.11_0 (active) libiconv @1.12_2+universal libiconv @1.13_0+universal (active) libmemcache @1.4.0.rc2_0 (active) libogg @1.1.3_2+universal (active) libpcap @1.0.0_0 (active) libpixman @0.14.0_0 (active) libpng @1.2.34_0+universal libpng @1.2.35_0+universal libpng @1.2.37_0+universal (active) libsdl @1.2.13_5 libsdl @1.2.13_6 (active) libsdl_image @1.2.7_0 (active) libsdl_mixer @1.2.8_1 (active) libsdl_ttf @2.0.9_0 (active) libtool @2.2.6a_0+universal (active) libvorbis @1.2.0_1+universal (active) libxml2 @2.7.3_0+universal (active) libxslt @1.1.24_2+universal (active) lighttpd @1.4.20_0+cml+ssl lighttpd @1.4.22_0+cml+ssl (active) lua @5.1.4_0 (active) lynx @2.8.6rel.5_1+ssl (active) m4 @1.4.12_1+universal m4 @1.4.13_0+universal (active) memcached @1.2.6_0 memcached @1.2.8_0 (active) mercurial @1.1.2_0 mercurial @1.2_0 mercurial @1.2.1_0 mercurial @1.2.1_1 (active) mtr @0.75_0 (active) ncurses @5.7_0+universal (active) ncursesw @5.7_0+universal (active) neon @0.28.3_0 neon @0.28.4_0 (active) nginx @0.6.32_0 nginx @0.7.59_0 (active) nspr @4.7.4_0 nspr @4.7.5_0 (active) openssh @5.1p1_0+apple_x11+darwin_9+hpn openssh @5.2p1_0+apple_x11+darwin_9 openssh @5.2p1_1+darwin_9 (active) openssl @0.9.8j_0+universal openssl @0.9.8k_0+universal (active) ossp-uuid @1.6.2_0+universal (active) p5-app-ack @1.86_0 p5-app-ack @1.88_0 (active) p5-compress-raw-zlib @2.015_0 (active) p5-compress-zlib @2.015_0 (active) p5-crypt-ssleay @0.57_0 (active) p5-error @0.17015_0 (active) p5-file-next @1.02_0 (active) p5-html-parser @3.59_0 p5-html-parser @3.60_0 (active) p5-html-tagset @3.20_0 (active) p5-io-compress-base @2.015_0 (active) p5-io-compress-zlib @2.015_0 (active) p5-libwww-perl @5.823_0 p5-libwww-perl @5.825_0 p5-libwww-perl @5.826_0 (active) p5-locale-gettext @1.05_0+universal (active) p5-svn-simple @0.27_0 (active) p5-term-readkey @2.30_0 (active) p5-uri @1.37_0 p5-uri @1.38_0 (active) parrot @1.0.0_0 (active) pcre @7.8_1 pcre @7.8_3 pcre @7.9_0 (active) perl5 @5.8.9_0 (active) perl5.8 @5.8.9_2 perl5.8 @5.8.9_3 (active) pgAdmin3 @1.8.4_0 pgAdmin3 @1.10.0-beta1_0 pgAdmin3 @1.10.0-beta3_0 pgAdmin3 @1.10.0-rc1_0 (active) pkgconfig @0.23_1 (active) popt @1.14_0 popt @1.15_0 (active) postgresql83 @8.3.6_0+python postgresql83 @8.3.7_0+python (active) postgresql83-doc @8.3.7_0 (active) postgresql83-server @8.3.6_0 postgresql83-server @8.3.7_0 (active) py25-bz2 @2.5.4_0 py25-bz2 @2.5.4_1 (active) py25-crypto @2.0.1_0 (active) py25-curl @7.19.0_0 (active) py25-docutils @0.5_0 (active) py25-hashlib @2.5.4_0 py25-hashlib @2.5.4_1 (active) py25-paramiko @1.7.4_0 (active) py25-pyrex @0.9.8.5_0 (active) py25-zlib @2.5.4_0 py25-zlib @2.5.4_1 (active) py26-altgraph @0.6.7_0 (active) py26-bdist_mpkg @0.4.3_0 py26-bdist_mpkg @0.4.4_0 (active) py26-game @1.8.1_1+darwin_9 (active) py26-lxml @2.2_0 (active) py26-macholib @1.2_0 (active) py26-modulegraph-devel @0.7.2_0 (active) py26-numeric @24.2_0+macosx (active) py26-pil @1.1.6_0 (active) py26-py2app-devel @0.4.2_1 (active) py26-pyobjc2 @2.0_1 (active) py26-pyobjc2-cocoa @2.0_1 (active) py26-setuptools @0.6c9_0 (active) py26-virtualenv @1.3.2_1 (active) python25 @2.5.4_0+darwin_9+macosx+universal python25 @2.5.4_1+darwin_9+macosx python25 @2.5.4_2+darwin_9+macosx python25 @2.5.4_3+darwin_9+macosx python25 @2.5.4_5+darwin_9+macosx python25 @2.5.4_6+darwin_9+macosx (active) python26 @2.6.1_0+ucs4+universal python26 @2.6.1_1+ucs4+universal python26 @2.6.1_2+ucs4+universal python26 @2.6.2_0+ucs4+universal python26 @2.6.2_1+ucs4+universal python26 @2.6.2_2+ucs4+universal python26 @2.6.2_3+ucs4+universal (active) python30 @3.0_1+ucs4+universal python30 @3.0.1_1+ucs4+universal python30 @3.0.1_2+ucs4+universal python30 @3.0.1_3+ucs4+universal python30 @3.0.1_4+ucs4+universal (active) python_select @0.2.1_0+darwin_9 (active) ragel @6.3_0 ragel @6.4_0 ragel @6.5_0 (active) rb-rubygems @1.3.1_0 rb-rubygems @1.3.4_0 (active) readline @5.2.012_1+universal readline @6.0.000_0+universal readline @6.0.000_1+universal (active) rmtrash @0.3.3_1 (active) rsync @3.0.5_0 rsync @3.0.6_0 (active) ruby @1.8.7-p72_2+thread_hooks ruby @1.8.7-p72_3+thread_hooks ruby @1.8.7-p160_0+thread_hooks ruby @1.8.7-p160_1+thread_hooks ruby @1.8.7-p173_0+thread_hooks ruby @1.8.7-p174_0+thread_hooks (active) serf @0.3.0_0 (active) smpeg @0.4.4_8 (active) spidermonkey @1.7.0_4 (active) sqlite3 @3.6.10_1+universal sqlite3 @3.6.11_0+universal sqlite3 @3.6.12_0+universal sqlite3 @3.6.13_0+universal sqlite3 @3.6.14_0+universal sqlite3 @3.6.14.1_0+universal sqlite3 @3.6.14.2_0+universal sqlite3 @3.6.15_0+universal (active) subversion @1.6.2_0+bash_completion subversion @1.6.3_0+bash_completion (active) subversion-perlbindings @1.6.2_0 subversion-perlbindings @1.6.3_0 (active) tcl @8.5.6_0+universal (active) tidy @20051026_0 (active) tiff @3.8.2_2+darwin_9+macosx+universal tiff @3.8.2_3+macosx+universal (active) tk @8.5.6_1 (active) ucspi-tcp @0.88_2 (active) wget @1.11.4_3 (active) wxWidgets @2.8.9_0 (active) xauth @1.0.3_1 (active) Xft2 @2.1.13_1+system_x11+universal (active) xorg-bigreqsproto @1.0.2_0 (active) xorg-inputproto @1.5.0_0 xorg-inputproto @1.5.1_0 (active) xorg-kbproto @1.0.3_0 (active) xorg-libice @1.0.5_0 (active) xorg-libsm @1.1.0_0 (active) xorg-libX11 @1.2_0 xorg-libX11 @1.2.1_0 (active) xorg-libXau @1.0.4_0+universal (active) xorg-libXdmcp @1.0.2_0+universal (active) xorg-libXext @1.0.5_0 xorg-libXext @1.0.5_1 (active) xorg-libXmu @1.0.4_0 (active) xorg-libXrandr @1.3.0_0 (active) xorg-libXScrnSaver @1.1.3_0 (active) xorg-libXt @1.0.5_2 (active) xorg-randrproto @1.3.0_0 (active) xorg-renderproto @0.9.3_0 (active) xorg-scrnsaverproto @1.1.0_0 (active) xorg-util-macros @1.2.1_1 xorg-util-macros @1.2.2_0 (active) xorg-xcmiscproto @1.1.2_0 (active) xorg-xextproto @7.0.5_0 (active) xorg-xf86bigfontproto @1.1.2_0 (active) xorg-xproto @7.0.14_1 xorg-xproto @7.0.15_0 (active) xorg-xtrans @1.2.3_0 (active) xpm @3.5.7_0 (active) xrender @0.9.4_5 (active) zlib @1.2.3_2+universal (active) }}} -- Ticket URL: <http://trac.macports.org/ticket/20092> MacPorts <http://www.macports.org/> Ports system for Mac OS