[MacPorts] #36504: apple-gcc42 build error
#36504: apple-gcc42 build error -------------------------+-------------------------------- Reporter: shaman888@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: apple-gcc42 | Port: apple-gcc42, wine -------------------------+-------------------------------- I've studied similar and same cases in tickets, but it didn't help. I wanted to get "wine" over port and it did well except for apple-gcc42. cctools installed fine too. That's what I did to try solving the problem: sudo port -d selfupdate sudo port clean apple-gcc42 sudo port -d install apple-gcc42 My MacOS: Darwin Kernel Version 12.2.0 Mountain Lion Error: Exit code: 2 Error: org.macports.build for port apple-gcc42 returned: command execution failed More: Undefined symbols for architecture x86_64: "___bswapdi2", referenced from: -exported_symbol[s_list] command line option "___bswapsi2", referenced from: -exported_symbol[s_list] command line option ld: symbol(s) not found for architecture x86_64 collect2: ld returned 1 exit status make[5]: *** [libgcc_s.dylib] Error 1 make[5]: *** Waiting for unfinished jobs.... make[4]: *** [stmp-multilib] Error 2 rm cpp.pod gpl.pod gfdl.pod fsf-funding.pod gcc.pod gcov.pod make[3]: *** [all-stage1-gcc] Error 2 make[2]: *** [stage1-bubble] Error 2 make[1]: *** [all] Error 2 + exit 1 make: *** [install] Error 1 ... ... DEBUG: Error code: CHILDSTATUS 44340 2 DEBUG: Backtrace: command execution failed while executing "system -nice 0 $fullcmdstring" ("eval" body line 1) invoked from within "eval system $notty $nice \$fullcmdstring" invoked from within "command_exec build" (procedure "portbuild::build_main" line 8) invoked from within "$procedure $targetname" Warning: targets not executed for apple-gcc42: org.macports.activate org.macports.build org.macports.destroot org.macports.install -- Ticket URL: <https://trac.macports.org/ticket/36504> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36504: apple-gcc42 build error --------------------------------+-------------------------------- Reporter: shaman888@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: apple-gcc42 Port: apple-gcc42, wine | --------------------------------+-------------------------------- Comment (by shaman888@…): Replying to [ticket:36504 shaman888@…]: Sorry for the bad formatting in my description ![[BR]] [[BR]] After "Error:" I pasted the real error[[BR]] [[BR]] After "More:" I pasted more of the debug output.[[BR]] [[BR]] And of course the "port" commands weren't entered in 1 single line ;-)[[BR]] -- Ticket URL: <https://trac.macports.org/ticket/36504#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36504: apple-gcc42 build error --------------------------------+-------------------------------- Reporter: shaman888@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: apple-gcc42 Port: apple-gcc42, wine | --------------------------------+-------------------------------- Comment (by shaman888@…): Replying to [ticket:36504 shaman888@…]: And another thing:[[BR]] My Mac is a MacPro, Intel based, built 2011. -- Ticket URL: <https://trac.macports.org/ticket/36504#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36504: apple-gcc42L undefined symbols ___bswapdi2 ___bswapsi2 --------------------------+------------------------ Reporter: shaman888@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: apple-gcc42 | --------------------------+------------------------ Changes (by ryandesign@…): * port: apple-gcc42, wine => apple-gcc42 * owner: macports-tickets@… => jeremyhu@… * keywords: apple-gcc42 => Old description:
I've studied similar and same cases in tickets, but it didn't help. I wanted to get "wine" over port and it did well except for apple-gcc42. cctools installed fine too.
That's what I did to try solving the problem: sudo port -d selfupdate sudo port clean apple-gcc42 sudo port -d install apple-gcc42
My MacOS: Darwin Kernel Version 12.2.0 Mountain Lion
Error: Exit code: 2 Error: org.macports.build for port apple-gcc42 returned: command execution failed
More: Undefined symbols for architecture x86_64: "___bswapdi2", referenced from: -exported_symbol[s_list] command line option "___bswapsi2", referenced from: -exported_symbol[s_list] command line option ld: symbol(s) not found for architecture x86_64 collect2: ld returned 1 exit status make[5]: *** [libgcc_s.dylib] Error 1 make[5]: *** Waiting for unfinished jobs.... make[4]: *** [stmp-multilib] Error 2 rm cpp.pod gpl.pod gfdl.pod fsf-funding.pod gcc.pod gcov.pod make[3]: *** [all-stage1-gcc] Error 2 make[2]: *** [stage1-bubble] Error 2 make[1]: *** [all] Error 2 + exit 1 make: *** [install] Error 1 ... ... DEBUG: Error code: CHILDSTATUS 44340 2 DEBUG: Backtrace: command execution failed while executing "system -nice 0 $fullcmdstring" ("eval" body line 1) invoked from within "eval system $notty $nice \$fullcmdstring" invoked from within "command_exec build" (procedure "portbuild::build_main" line 8) invoked from within "$procedure $targetname" Warning: targets not executed for apple-gcc42: org.macports.activate org.macports.build org.macports.destroot org.macports.install
New description: I've studied similar and same cases in tickets, but it didn't help. [[br]] I wanted to get "wine" over port and it did well except for apple-gcc42. cctools installed fine too. That's what I did to try solving the problem: {{{ sudo port -d selfupdate sudo port clean apple-gcc42 sudo port -d install apple-gcc42 }}} My MacOS: [[br]] Darwin Kernel Version 12.2.0 [[br]] Mountain Lion Error: {{{ Exit code: 2 Error: org.macports.build for port apple-gcc42 returned: command execution failed }}} More: {{{ Undefined symbols for architecture x86_64: "___bswapdi2", referenced from: -exported_symbol[s_list] command line option "___bswapsi2", referenced from: -exported_symbol[s_list] command line option ld: symbol(s) not found for architecture x86_64 collect2: ld returned 1 exit status make[5]: *** [libgcc_s.dylib] Error 1 make[5]: *** Waiting for unfinished jobs.... make[4]: *** [stmp-multilib] Error 2 rm cpp.pod gpl.pod gfdl.pod fsf-funding.pod gcc.pod gcov.pod make[3]: *** [all-stage1-gcc] Error 2 make[2]: *** [stage1-bubble] Error 2 make[1]: *** [all] Error 2 + exit 1 make: *** [install] Error 1 ... ... DEBUG: Error code: CHILDSTATUS 44340 2 DEBUG: Backtrace: command execution failed while executing "system -nice 0 $fullcmdstring" ("eval" body line 1) invoked from within "eval system $notty $nice \$fullcmdstring" invoked from within "command_exec build" (procedure "portbuild::build_main" line 8) invoked from within "$procedure $targetname" Warning: targets not executed for apple-gcc42: org.macports.activate org.macports.build org.macports.destroot org.macports.install }}} -- -- Ticket URL: <https://trac.macports.org/ticket/36504#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36504: apple-gcc42: undefined symbols ___bswapdi2 ___bswapsi2 --------------------------+------------------------ Reporter: shaman888@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: apple-gcc42 | --------------------------+------------------------ -- Ticket URL: <https://trac.macports.org/ticket/36504#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36504: apple-gcc42: undefined symbols ___bswapdi2 ___bswapsi2 --------------------------+------------------------ Reporter: shaman888@… | Owner: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: duplicate | Keywords: Port: apple-gcc42 | --------------------------+------------------------ Changes (by jeremyhu@…): * status: new => closed * resolution: => duplicate Comment: file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 1 0x 0 0x 0 0x 0 ) which is not the architecture being linked (x86_64): #36026 -- Ticket URL: <https://trac.macports.org/ticket/36504#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts