[MacPorts] #34131: pypy doesn't build
#34131: pypy doesn't build --------------------------------+------------------------------------------- Reporter: darius@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: --------------------------------+------------------------------------------- pypy fails to build on my MBP running Lion. -- Ticket URL: <https://trac.macports.org/ticket/34131> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34131: pypy doesn't build --------------------------------+------------------------------------------- Reporter: darius@… | Owner: jmr@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: pypy --------------------------------+------------------------------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => jmr@… * port: => pypy -- Ticket URL: <https://trac.macports.org/ticket/34131#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34131: pypy doesn't build --------------------------------+------------------------------------------- Reporter: darius@… | Owner: jmr@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: pypy --------------------------------+------------------------------------------- Comment(by macsforever2000@…): In the future, please fill in the Port field and Cc the port maintainer(s). The error appears to be the following: {{{ :info:build [translation:ERROR] Undefined symbols for architecture x86_64: :info:build [translation:ERROR] "_libintl_textdomain", referenced from: :info:build [translation:ERROR] _pypy_g_textdomain in module__locale_interp_locale.o :info:build [translation:ERROR] _pypy_g_textdomain__arrayPtr_star_1 in rpython_lltypesystem_rffi.o :info:build [translation:ERROR] "_libintl_dgettext", referenced from: :info:build [translation:ERROR] _pypy_g_dgettext__arrayPtr_arrayPtr_star_2 in rpython_lltypesystem_rffi.o :info:build [translation:ERROR] _pypy_g_dgettext__NoneConst_arrayPtr_star_2 in rpython_lltypesystem_rffi.o :info:build [translation:ERROR] "_libintl_bindtextdomain", referenced from: :info:build [translation:ERROR] _pypy_g_bindtextdomain__arrayPtr_arrayPtr_star_2 in rpython_lltypesystem_rffi.o :info:build [translation:ERROR] _pypy_g_bindtextdomain__arrayPtr_NoneConst_star_2 in rpython_lltypesystem_rffi.o :info:build [translation:ERROR] "_libintl_gettext", referenced from: :info:build [translation:ERROR] _pypy_g_gettext__arrayPtr_star_1 in rpython_lltypesystem_rffi.o :info:build [translation:ERROR] "_libintl_bind_textdomain_codeset", referenced from: :info:build [translation:ERROR] _pypy_g_bind_textdomain_codeset__arrayPtr_arrayPtr_star_ in rpython_lltypesystem_rffi.o :info:build [translation:ERROR] _pypy_g_bind_textdomain_codeset__arrayPtr_NoneConst_star in rpython_lltypesystem_rffi.o :info:build [translation:ERROR] "_libintl_dcgettext", referenced from: :info:build [translation:ERROR] _pypy_g_dcgettext__arrayPtr_arrayPtr_INT_star_3 in rpython_lltypesystem_rffi.o :info:build [translation:ERROR] _pypy_g_dcgettext__NoneConst_arrayPtr_INT_star_3 in rpython_lltypesystem_rffi.o :info:build [translation:ERROR] "_libintl_setlocale", referenced from: :info:build [translation:ERROR] _pypy_g_setlocale_1 in rlib_rlocale.o :info:build [translation:ERROR] ld: symbol(s) not found for architecture x86_64 :info:build [translation:ERROR] clang: error: linker command failed with exit code 1 (use -v to see invocation) :info:build [translation:ERROR] make: *** [pypy-c] Error 1 }}} But it was not a complete log. Please clean the port and attach the complete log if it fails again. -- Ticket URL: <https://trac.macports.org/ticket/34131#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34131: pypy doesn't build --------------------------------+------------------------------------------- Reporter: darius@… | Owner: jmr@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: pypy --------------------------------+------------------------------------------- Comment(by jmr@…): The buildbot reproduced this, but there's nothing obvious in the log to suggest why it happens. It's fine on 10.6. I don't have a Lion machine with enough RAM to build pypy. -- Ticket URL: <https://trac.macports.org/ticket/34131#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34131: pypy doesn't build --------------------------------+------------------------------------------- Reporter: darius@… | Owner: jmr@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: lion | Port: pypy --------------------------------+------------------------------------------- Changes (by jmr@…): * keywords: => lion -- Ticket URL: <https://trac.macports.org/ticket/34131#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34131: pypy doesn't build --------------------------------+------------------------------------------- Reporter: darius@… | Owner: jmr@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: lion | Port: pypy --------------------------------+------------------------------------------- Comment(by sean.michael.farley@…): The issue is that libintl (port:gettext) is not found / linked. Running the linking commands by hand while adding the -lintl flag fixes the undefined symbols. Some googling suggests that this is the issue: http://stackoverflow.com/questions/5287050/specifying-installed-native- library-paths-during-pypy-translate and, indeed, changing the following: -build.env PYPY_USESSION_DIR=${workpath} [[BR]] +build.env PYPY_USESSION_DIR=${workpath} PYPY_LOCALBASE=${prefix} fixes the build for me. -- Ticket URL: <https://trac.macports.org/ticket/34131#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34131: pypy doesn't build ---------------------------------+------------------------------------------ Reporter: darius@… | Owner: jmr@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Resolution: fixed | Keywords: lion Port: pypy | ---------------------------------+------------------------------------------ Changes (by jmr@…): * status: new => closed * resolution: => fixed Comment: r93310 -- Ticket URL: <https://trac.macports.org/ticket/34131#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts