Opened 10 years ago
Closed 10 years ago
#44079 closed defect (worksforme)
libgcc: error: 'signed' and 'unsigned' specified together
Reported by: | creativecommon@… | Owned by: | mww@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.0 |
Keywords: | Cc: | cooljeanius (Eric Gallager) | |
Port: | gcc48 |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
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)
Attachments (1)
Change History (6)
Changed 10 years ago by creativecommon@…
Attachment: | libgcc_main.log added |
---|
comment:1 Changed 10 years ago 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
comment:3 follow-up: 4 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | mww@… openmaintainer@… removed |
---|---|
Description: | modified (diff) |
Owner: | changed from macports-tickets@… to mww@… |
Summary: | On upgrading gcc48 @4.8.2 | Error: libgcc returned: command execution failed → libgcc: error: 'signed' and 'unsigned' specified together |
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?
comment:4 Changed 10 years ago by creativecommon@…
Replying to 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.
comment:5 Changed 10 years ago by mf2k (Frank Schima)
Resolution: | → worksforme |
---|---|
Status: | new → closed |
main.log