[MacPorts] #48684: Boost won't install on 10.5.8 Leopard
#48684: Boost won't install on 10.5.8 Leopard ----------------------+-------------------------------- Reporter: schalk@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Keywords: | Port: Boost ----------------------+-------------------------------- In trying to upg source-lighlight, boost won't install on leopard. Error file attached... -- Ticket URL: <https://trac.macports.org/ticket/48684> MacPorts <https://www.macports.org/> Ports system for OS X
#48684: Boost won't install on 10.5.8 Leopard -----------------------+-------------------------------- Reporter: schalk@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: Boost | -----------------------+-------------------------------- Comment (by skoro.ru@…): OS X 10.5.8 / boost @1.59.0 Same issue seen here: {{{ :info:build ...failed darwin.compile.asm bin.v2/libs/context/build/darwin-4.2.1/release/threading- multi/asm/make_ppc32_sysv_macho_gas.o... }}} Previous versions installed and working: {{{ boost @1.57.0_1+no_single+no_static+python27 boost @1.58.0_1+no_single+no_static+python27 boost @1.58.0_2+no_single+no_static+python27 boost @1.58.0_3+no_single+no_static+python27 (active) }}} -- Ticket URL: <https://trac.macports.org/ticket/48684#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#48684: boost @1.59.0: won't install on 10.5.8 Leopard -----------------------+-------------------------- Reporter: schalk@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: leopard Port: boost | -----------------------+-------------------------- Changes (by ryandesign@…): * keywords: => leopard * owner: macports-tickets@… => ryandesign@… * port: Boost => boost * cc: skoro.ru@… (added) Comment: This does not sound like a MacPorts-specific problem. Could one of you please [https://svn.boost.org/trac/boost/newticket report it to the developers of boost]? -- Ticket URL: <https://trac.macports.org/ticket/48684#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#48684: boost @1.59.0: won't install on 10.5.8 Leopard -----------------------+-------------------------- Reporter: schalk@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: leopard Port: boost | -----------------------+-------------------------- Comment (by Peter_Dyballa@…): On my PPC system with Mac OS X 10.5.8 I get this info on the failure: {{{ Command failed: cd "/opt/local/var/macports/build/_opt_mports_trunk_dports_devel_boost/boost/work/boost_1_59_0" && /opt/local/var/macports/build/_opt_mports_trunk_dports_devel_boost/boost/work/boost_1_59_0/b2 -d2 --layout=tagged --debug-configuration --user-config=user-config.jam -sBZIP2_INCLUDE=/opt/local/include -sBZIP2_LIBPATH=/opt/local/lib -sEXPAT_INCLUDE=/opt/local/include -sEXPAT_LIBPATH=/opt/local/lib -sZLIB_INCLUDE=/opt/local/include -sZLIB_LIBPATH=/opt/local/lib -sICU_PATH=/opt/local variant=release -j1 architecture=power address- model=32 --disable-long-double link=shared threading=multi Exit code: 1 Error: Failed to build boost: command execution failed DEBUG: Error code: CHILDSTATUS 15744 1 DEBUG: Backtrace: command execution failed while executing "system {*}$notty {*}$nice $fullcmdstring" invoked from within "command_exec build" (procedure "portbuild::build_main" line 8) invoked from within "$procedure $targetname" Error: See /opt/local/var/macports/logs/_opt_mports_trunk_dports_devel_boost/boost/main.log for details. DEBUG: invalid command name "::ui_init" while executing "::ui_init $priority $prefix $channels($priority) {*}$args" ("uplevel" body line 2) invoked from within "uplevel 1 $body" }}} -- Ticket URL: <https://trac.macports.org/ticket/48684#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#48684: boost @1.59.0: won't install on 10.5.8 Leopard -----------------------+-------------------------- Reporter: schalk@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: leopard Port: boost | -----------------------+-------------------------- Comment (by Peter_Dyballa@…): Replying to [comment:2 ryandesign@…]:
This does not sound like a MacPorts-specific problem. Could one of you please [https://svn.boost.org/trac/boost/newticket report it to the developers of boost]?
I could reproduce your failure by having port upgrade some other ports of which I thought that they do nor depend on boost. So I did not perform `port clean boost` and therefore the process started to continue where it failed before. The report {{{ Error: Failed to build boost: command execution failed DEBUG: Error code: CHILDSTATUS 1632 1 DEBUG: Backtrace: command execution failed while executing "system {*}$notty {*}$nice $fullcmdstring" invoked from within "command_exec build" (procedure "portbuild::build_main" line 8) invoked from within "$procedure $targetname" Error: See /opt/local/var/macports/logs/_opt_mports_trunk_dports_devel_boost/boost/main.log for details. DEBUG: can not find channel named "debuglog" while executing "tcl::puts debuglog {DEBUG: Starting logging for boost}" invoked from within "catch "tcl::puts $args"" }}} certainly is from port. -- Ticket URL: <https://trac.macports.org/ticket/48684#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
#48684: boost @1.59.0: won't install on 10.5.8 Leopard -----------------------+-------------------------- Reporter: schalk@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: leopard Port: boost | -----------------------+-------------------------- Comment (by ryandesign@…): Stuart, thank you for [https://svn.boost.org/trac/boost/ticket/11573 reporting the bug to the developers of boost], but the log you attached there (and here) was not from a [https://guide.macports.org/chunked/project.html#project.tickets clean build attempt]; the developers may want to see a complete log file. You should also give them a link to this bug report so they know it has already been reported to MacPorts. -- Ticket URL: <https://trac.macports.org/ticket/48684#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X
#48684: boost @1.59.0: won't install on 10.5.8 Leopard -----------------------+-------------------------- Reporter: schalk@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: leopard Port: boost | -----------------------+-------------------------- Comment (by ryandesign@…): Peter, there is a bug in MacPorts (I don't know if we already have a ticket for it) that often causes it to print the wrong error message at the end of a failed build. That may be what you're showing. The real reason why boost failed to build would be earlier in the log and needs to be solved by the boost developers. -- Ticket URL: <https://trac.macports.org/ticket/48684#comment:7> MacPorts <https://www.macports.org/> Ports system for OS X
#48684: boost @1.59.0: won't install on 10.5.8 Leopard -----------------------+-------------------------- Reporter: schalk@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: leopard Port: boost | -----------------------+-------------------------- Comment (by Peter_Dyballa@…): Replying to [comment:7 ryandesign@…]: I reported the bug to the boost developers: [https://svn.boost.org/trac/boost/ticket/11578]. -- Ticket URL: <https://trac.macports.org/ticket/48684#comment:8> MacPorts <https://www.macports.org/> Ports system for OS X
#48684: boost @1.59.0: won't install on 10.5.8 Leopard -----------------------+-------------------------- Reporter: schalk@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: leopard Port: boost | -----------------------+-------------------------- Comment (by ryandesign@…): Thanks, but [comment:6 Stuart already reported it]. Has duplicate #48694. -- Ticket URL: <https://trac.macports.org/ticket/48684#comment:9> MacPorts <https://www.macports.org/> Ports system for OS X
#48684: boost @1.59.0: won't install on 10.5.8 Leopard -----------------------+-------------------------- Reporter: schalk@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: leopard Port: boost | -----------------------+-------------------------- Changes (by ryandesign@…): * cc: iibov@… (added) Comment: Has duplicate #49014. There has been no response so far to the upstream bug report. -- Ticket URL: <https://trac.macports.org/ticket/48684#comment:11> MacPorts <https://www.macports.org/> Ports system for OS X
#48684: boost @1.59.0: won't install on 10.5.8 Leopard -----------------------+-------------------------- Reporter: schalk@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: leopard Port: boost | -----------------------+-------------------------- Comment (by ryandesign@…): A solution was proposed here: https://svn.boost.org/trac/boost/ticket/11603. It says that {{{ stw r5, 236(%r3) }}} is a typo and should instead be {{{ stw r5, 236(r3) }}} I found [https://www.cs.uaf.edu/2011/fall/cs301/lecture/11_21_PowerPC.html this reference] that says that the "%" is used in the GNU assembler, but not the Apple assembler which is what we are using. I have not yet had a chance to test this proposed solution. -- Ticket URL: <https://trac.macports.org/ticket/48684#comment:12> MacPorts <https://www.macports.org/> Ports system for OS X
#48684: boost @1.59.0: won't install on 10.5.8 Leopard -----------------------+-------------------------- Reporter: schalk@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: leopard Port: boost | -----------------------+-------------------------- Comment (by Peter_Dyballa@…): Replying to [comment:12 ryandesign@…]:
A solution was proposed here: https://svn.boost.org/trac/boost/ticket/11603. It says that
{{{ stw r5, 236(%r3) }}}
is a typo and should instead be
{{{ stw r5, 236(r3) }}}
This is a good start! It leads to this: {{{ darwin.compile.asm bin.v2/libs/context/build/darwin-4.2.1/release /threading-multi/asm/make_ppc32_sysv_macho_gas.o "/usr/bin/g++-4.2" -x assembler-with-cpp -O3 -finline-functions -Wno- inline -Wall -dynamic -gdwarf-2 -fexceptions -fPIC -arch ppc -DBOOST_ALL_NO_LIB=1 -DBOOST_CHRONO_DYN_LINK=1 -DBOOST_CONTEXT_DYN_LINK=1 -DBOOST_CONTEXT_SOURCE -DBOOST_DISABLE_ASSERTS -DBOOST_SYSTEM_DYN_LINK=1 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_THREAD_BUILD_DLL=1 -DBOOST_THREAD_POSIX -DBOOST_THREAD_USE_DLL=1 -DNDEBUG -I"." -c -o "bin.v2/libs/context/build/darwin-4.2.1/release/threading- multi/asm/make_ppc32_sysv_macho_gas.o" "libs/context/src/asm/make_ppc32_sysv_macho_gas.S" darwin.link.dll stage/lib/libboost_context-mt.dylib "/usr/bin/g++-4.2" -dynamiclib -Wl,-single_module -install_name "/opt/local/lib/libboost_context-mt.dylib" -o "stage/lib /libboost_context-mt.dylib" "bin.v2/libs/context/build/darwin-4.2.1/release/threading- multi/asm/make_ppc32_sysv_macho_gas.o" "bin.v2/libs/context/build/darwin-4.2.1/release/threading- multi/asm/jump_ppc32_sysv_macho_gas.o" "bin.v2/libs/context/build/darwin-4.2.1/release/threading- multi/posix/stack_traits.o" "bin.v2/libs/context/build/darwin-4.2.1/release/threading- multi/execution_context.o" "bin.v2/libs/chrono/build/darwin-4.2.1/release /threading-multi/libboost_chrono-mt.dylib" "bin.v2/libs/thread/build/darwin-4.2.1/release/threading-multi /libboost_thread-mt.dylib" "bin.v2/libs/system/build/darwin-4.2.1/release /threading-multi/libboost_system-mt.dylib" -headerpad_max_install_names -Wl,-dead_strip -no_dead_strip_inits_and_terms -L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc -undefined dynamic_lookup }}} So this is fixed and the build process continues… -- Ticket URL: <https://trac.macports.org/ticket/48684#comment:13> MacPorts <https://www.macports.org/> Ports system for OS X
#48684: boost @1.59.0: won't install on 10.5.8 Leopard -----------------------+-------------------------- Reporter: schalk@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: leopard Port: boost | -----------------------+-------------------------- Comment (by Peter_Dyballa@…): Replying to [comment:13 Peter_Dyballa@…]:
So this is fixed and the build process continues…
Since ten minutes port is installing the boost upgrade… -- Ticket URL: <https://trac.macports.org/ticket/48684#comment:14> MacPorts <https://www.macports.org/> Ports system for OS X
#48684: boost @1.59.0: won't install on 10.5.8 Leopard -----------------------+-------------------------- Reporter: schalk@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: fixed | Keywords: leopard Port: boost | -----------------------+-------------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => fixed Comment: The fix worked for me, and upstream committed it, so I've committed it to MacPorts as well in r140820. -- Ticket URL: <https://trac.macports.org/ticket/48684#comment:15> MacPorts <https://www.macports.org/> Ports system for OS X
#48684: boost @1.59.0: won't install on 10.5.8 Leopard -----------------------+-------------------------- Reporter: schalk@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: fixed | Keywords: leopard Port: boost | -----------------------+-------------------------- Comment (by ryandesign@…): Has duplicate #49088. -- Ticket URL: <https://trac.macports.org/ticket/48684#comment:16> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts