[MacPorts] #44079: libgcc: error: 'signed' and 'unsigned' specified together (was: On upgrading gcc48 @4.8.2 | Error: libgcc returned: command execution failed)
MacPorts
noreply at macports.org
Fri Jun 20 05:48:18 PDT 2014
#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
More information about the macports-tickets
mailing list