[MacPorts] #44079: On upgrading gcc48 @4.8.2 | Error: libgcc returned: command execution failed
#44079: On upgrading gcc48 @4.8.2 | Error: libgcc returned: command execution failed ------------------------------+-------------------------------- Reporter: creativecommon@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.0 Keywords: | Port: gcc48 ------------------------------+-------------------------------- I am trying to upgrade to gcc48 @4.8.2 but it fails. Attaching the log file. Mac OS X 10.7.5 Macports Version : 2.3.0 _________________ ---> Rebuilding in order gcc48 @4.8.2 ---> Computing dependencies for libgcc ---> Fetching distfiles for libgcc ---> Attempting to fetch gcc-4.8.2.tar.bz2 from http://jog.id.distfiles.macports.org/macports/mpdistfiles/gcc48 ---> Verifying checksums for libgcc ---> Extracting libgcc ---> Configuring libgcc ---> Building libgcc Error: org.macports.build for port libgcc returned: command execution failed Please see the log file for port libgcc for details: /macports/var/macports/logs/_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc48/libgcc/main.log Error: Unable to upgrade port: 1 Error rebuilding gcc48 while executing "error "Error rebuilding $portname"" (procedure "revupgrade_scanandrebuild" line 395) invoked from within "revupgrade_scanandrebuild broken_port_counts $opts" (procedure "macports::revupgrade" line 5) invoked from within "macports::revupgrade $opts" (procedure "action_revupgrade" line 2) invoked from within "action_revupgrade $action $portlist $opts" (procedure "action_upgrade" line 25) invoked from within "$action_proc $action $portlist [array get global_options]" (procedure "process_cmd" line 93) invoked from within "process_cmd $remaining_args" invoked from within "if { [llength $remaining_args] > 0 } { # If there are remaining arguments, process those as a command set exit_status [process_cmd $remaining..." (file "./port" line 5254) -- Ticket URL: <https://trac.macports.org/ticket/44079> MacPorts <http://www.macports.org/> Ports system for OS X
#44079: On upgrading gcc48 @4.8.2 | Error: libgcc returned: command execution failed -------------------------------+-------------------------------- Reporter: creativecommon@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.0 Resolution: | Keywords: Port: gcc48 | -------------------------------+-------------------------------- Comment (by creativecommon@…): {{{ $ xcodebuild -version Xcode 4.6.3 Build version 4H1503 $ clang --version Apple LLVM version 4.2 (clang-425.0.28) (based on LLVM 3.2svn) Target: x86_64-apple-darwin11.4.2 Thread model: posix }}} -- Ticket URL: <https://trac.macports.org/ticket/44079#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#44079: libgcc: error: 'signed' and 'unsigned' specified together -------------------------------+------------------- Reporter: creativecommon@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.0 Resolution: | Keywords: Port: gcc48 | -------------------------------+------------------- Changes (by ryandesign@…): * cc: mww@…, openmaintainer@… (removed) * owner: macports-tickets@… => mww@… Old description:
I am trying to upgrade to gcc48 @4.8.2 but it fails.
Attaching the log file.
Mac OS X 10.7.5 Macports Version : 2.3.0
_________________
---> Rebuilding in order gcc48 @4.8.2 ---> Computing dependencies for libgcc ---> Fetching distfiles for libgcc ---> Attempting to fetch gcc-4.8.2.tar.bz2 from http://jog.id.distfiles.macports.org/macports/mpdistfiles/gcc48 ---> Verifying checksums for libgcc ---> Extracting libgcc ---> Configuring libgcc ---> Building libgcc Error: org.macports.build for port libgcc returned: command execution failed Please see the log file for port libgcc for details: /macports/var/macports/logs/_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc48/libgcc/main.log Error: Unable to upgrade port: 1 Error rebuilding gcc48 while executing "error "Error rebuilding $portname"" (procedure "revupgrade_scanandrebuild" line 395) invoked from within "revupgrade_scanandrebuild broken_port_counts $opts" (procedure "macports::revupgrade" line 5) invoked from within "macports::revupgrade $opts" (procedure "action_revupgrade" line 2) invoked from within "action_revupgrade $action $portlist $opts" (procedure "action_upgrade" line 25) invoked from within "$action_proc $action $portlist [array get global_options]" (procedure "process_cmd" line 93) invoked from within "process_cmd $remaining_args" invoked from within "if { [llength $remaining_args] > 0 } {
# If there are remaining arguments, process those as a command set exit_status [process_cmd $remaining..." (file "./port" line 5254)
New description: I am trying to upgrade to gcc48 @4.8.2 but it fails. Attaching the log file. Mac OS X 10.7.5 [[br]] Macports Version : 2.3.0 _________________ {{{ ---> Rebuilding in order gcc48 @4.8.2 ---> Computing dependencies for libgcc ---> Fetching distfiles for libgcc ---> Attempting to fetch gcc-4.8.2.tar.bz2 from http://jog.id.distfiles.macports.org/macports/mpdistfiles/gcc48 ---> Verifying checksums for libgcc ---> Extracting libgcc ---> Configuring libgcc ---> Building libgcc Error: org.macports.build for port libgcc returned: command execution failed Please see the log file for port libgcc for details: /macports/var/macports/logs/_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc48/libgcc/main.log Error: Unable to upgrade port: 1 Error rebuilding gcc48 while executing "error "Error rebuilding $portname"" (procedure "revupgrade_scanandrebuild" line 395) invoked from within "revupgrade_scanandrebuild broken_port_counts $opts" (procedure "macports::revupgrade" line 5) invoked from within "macports::revupgrade $opts" (procedure "action_revupgrade" line 2) invoked from within "action_revupgrade $action $portlist $opts" (procedure "action_upgrade" line 25) invoked from within "$action_proc $action $portlist [array get global_options]" (procedure "process_cmd" line 93) invoked from within "process_cmd $remaining_args" invoked from within "if { [llength $remaining_args] > 0 } { # If there are remaining arguments, process those as a command set exit_status [process_cmd $remaining..." (file "./port" line 5254) }}} -- Comment: Your output shows that rev-upgrade determined that libgcc was broken, and then failed to rebuild it. According to the log, the first reasons the build failed are: {{{ :info:build /macports/var/macports/build/_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc48/libgcc/work/build/x86_64 -apple-darwin11/libstdc++-v3/include/bits/stl_algobase.h:1000:27: error: 'signed' and 'unsigned' specified together for '__n' :info:build __lg(unsigned long long __n) :info:build ^ :info:build /macports/var/macports/build/_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc48/libgcc/work/build/x86_64 -apple-darwin11/libstdc++-v3/include/bits/stl_algobase.h:1000:30: error: 'signed' and 'unsigned' specified together for '__lg' :info:build __lg(unsigned long long __n) :info:build ^ }}} It might be interesting to know why rev-upgrade thinks libgcc is broken. Is it shown in the output of "`port outdated`"? What does "`sudo port -v rev-upgrade`" show? -- Ticket URL: <https://trac.macports.org/ticket/44079#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#44079: libgcc: error: 'signed' and 'unsigned' specified together -------------------------------+------------------- Reporter: creativecommon@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.0 Resolution: | Keywords: Port: gcc48 | -------------------------------+------------------- Comment (by creativecommon@…): Replying to [comment:3 ryandesign@…]:
Your output shows that rev-upgrade determined that libgcc was broken, and then failed to rebuild it. According to the log, the first reasons the build failed are:
{{{ :info:build /macports/var/macports/build/_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc48/libgcc/work/build/x86_64 -apple-darwin11/libstdc++-v3/include/bits/stl_algobase.h:1000:27: error: 'signed' and 'unsigned' specified together for '__n' :info:build __lg(unsigned long long __n) :info:build ^ :info:build /macports/var/macports/build/_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc48/libgcc/work/build/x86_64 -apple-darwin11/libstdc++-v3/include/bits/stl_algobase.h:1000:30: error: 'signed' and 'unsigned' specified together for '__lg' :info:build __lg(unsigned long long __n) :info:build ^ }}}
It might be interesting to know why rev-upgrade thinks libgcc is broken. Is it shown in the output of "`port outdated`"? What does "`sudo port -v rev-upgrade`" show?
Thanks for your help. I did a clean all, and then did a "port upgrade outdated". I was successfully able to upgrade all my outdated ports (including libgcc and gcc48 @4.8.2 ). This defect can be closed. PS: Once again thanks for all your help ryandesign and others. -- Ticket URL: <https://trac.macports.org/ticket/44079#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#44079: libgcc: error: 'signed' and 'unsigned' specified together -------------------------------+-------------------- Reporter: creativecommon@… | Owner: mww@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.0 Resolution: worksforme | Keywords: Port: gcc48 | -------------------------------+-------------------- Changes (by mf2k@…): * status: new => closed * resolution: => worksforme -- Ticket URL: <https://trac.macports.org/ticket/44079#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts