#45573 closed defect (fixed)
libgcc-devel @5-20140824_1: error: unknown value '10.10' of -mmacosx-version-min
Reported by: | mike@… | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.2 |
Keywords: | Cc: | mww@…, larryv (Lawrence Velázquez) | |
Port: | libgcc-devel |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
rebuilding after Yosemite upgrade
sudo port clean libgcc-devel Password: ---> Cleaning libgcc-devel /Users/mpage $ > sudo port upgrade outdated ---> Computing dependencies for libgcc-devel ---> Fetching archive for libgcc-devel ---> Attempting to fetch libgcc-devel-5-20140824_1.darwin_14.x86_64.tbz2 from http://packages.macports.org/libgcc-devel ---> Attempting to fetch libgcc-devel-5-20140824_1.darwin_14.x86_64.tbz2 from http://lil.fr.packages.macports.org/libgcc-devel ---> Attempting to fetch libgcc-devel-5-20140824_1.darwin_14.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/libgcc-devel ---> Fetching distfiles for libgcc-devel ---> Verifying checksums for libgcc-devel ---> Extracting libgcc-devel ---> Applying patches to libgcc-devel ---> Configuring libgcc-devel ---> Building libgcc-devel Error: org.macports.build for port libgcc-devel returned: command execution failed Please see the log file for port libgcc-devel for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc5/libgcc-devel/main.log Error: Unable to upgrade port: 1 To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets
Looks like a "-V" option is used for gcc but it is an invalid option
Change History (11)
comment:2 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Keywords: | libgcc-devel removed |
Port: | libgcc-devel added |
Priority: | High → Normal |
Please attach the main.log file. Without it, we cannot know why it failed.
comment:3 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… added |
---|---|
Owner: | changed from macports-tickets@… to mww@… |
Summary: | org.macports.build for port libgcc-devel returned: command execution failed → libgcc-devel @5-20140824_1: error: unknown value '10.10' of -mmacosx-version-min |
Ah, wait, I see you've posted some more information in a comment. Well, the error:
error: unknown value '10.10' of -mmacosx-version-min
is well-known to us; it's filed as #43978. What's surprising is that you're experiencing this with gcc5, since we already fixed this problem for gcc48, gcc49 and gcc5.
comment:4 follow-up: 6 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | mww@… larryv@… added; ryandesign@… removed |
---|---|
Owner: | changed from mww@… to ryandesign@… |
Status: | new → assigned |
comment:5 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Re-added the patch in r127210.
comment:8 follow-up: 9 Changed 10 years ago by mike@…
Still having same(?) prob despite doing
sudo port clean libgcc-devel sudo port upgrade outdated
and even
sudo port clean libgcc-devel sudo port install libgcc-devel
gcc does not like "-V" or "-qversion" options
comment:9 Changed 10 years ago by larryv (Lawrence Velázquez)
Did you run sudo port selfupdate
first?
comment:11 Changed 10 years ago by mike@…
Everything has completed.
Thanks for your directions and help.
Note: See
TracTickets for help on using
tickets.
. . . :info:build checking for suffix of object files... configure: error: in `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc5/libgcc-devel/work/build/x86_64-apple-darwin14/libgcc': :info:build configure: error: cannot compute suffix of object files: cannot compile :info:build See `config.log' for more details. :info:build make[2]: * [configure-stage1-target-libgcc] Error 1
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc5/libgcc-devel/work/build/x86_64-apple-darwin14/libgcc/config.log . . . Configured with: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc5/libgcc-devel/work/gcc-5-20140824/configure --prefix=/opt/local --build=x86_64-apple-darwin14 --enable-languages=c,c++,objc,obj-c++,fortran,java --includedir=/opt/local/include/gcc5 --infodir=/opt/local/share/info --mandir=/opt/local/share/man --datarootdir=/opt/local/share/gcc-5 --with-local-prefix=/opt/local --with-system-zlib --disable-nls --program-suffix=-mp-5 --with-gxx-include-dir=/opt/local/include/gcc5/c++/ --with-gmp=/opt/local --with-mpfr=/opt/local --with-mpc=/opt/local --with-cloog=/opt/local --enable-cloog-backend=isl --disable-cloog-version-check --enable-stage1-checking --disable-multilib --enable-lto --enable-libstdcxx-time --with-as=/opt/local/bin/as --with-ld=/opt/local/bin/ld --with-ar=/opt/local/bin/ar --with-bugurl=https://trac.macports.org/newticket --libdir=/opt/local/lib/libgcc --enable-languages=c,c++,objc,obj-c++,lto,fortran --with-pkgversion='MacPorts gcc5 5-20140824_1' Thread model: posix gcc version 5.0.0 20140824 (experimental) (MacPorts gcc5 5-20140824_1) configure:3373: $? = 0 configure:3362: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc5/libgcc-devel/work/build/./gcc/xgcc -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc5/libgcc-devel/work/build/./gcc/ -B/opt/local/x86_64-apple-darwin14/bin/ -B/opt/local/x86_64-apple-darwin14/lib/ -isystem /opt/local/x86_64-apple-darwin14/include -isystem /opt/local/x86_64-apple-darwin14/sys-include -V >&5 xgcc: error: unrecognized command line option '-V' xgcc: fatal error: no input files compilation terminated. configure:3373: $? = 1 configure:3362: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc5/libgcc-devel/work/build/./gcc/xgcc -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc5/libgcc-devel/work/build/./gcc/ -B/opt/local/x86_64-apple-darwin14/bin/ -B/opt/local/x86_64-apple-darwin14/lib/ -isystem /opt/local/x86_64-apple-darwin14/include -isystem /opt/local/x86_64-apple-darwin14/sys-include -qversion >&5 xgcc: error: unrecognized command line option '-qversion' xgcc: fatal error: no input files compilation terminated. configure:3373: $? = 1 configure:3389: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc5/libgcc-devel/work/build/./gcc/xgcc -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc5/libgcc-devel/work/build/./gcc/ -B/opt/local/x86_64-apple-darwin14/bin/ -B/opt/local/x86_64-apple-darwin14/lib/ -isystem /opt/local/x86_64-apple-darwin14/include -isystem /opt/local/x86_64-apple-darwin14/sys-include -o conftest -g -O2 -pipe -Os conftest.c >&5 <built-in>: error: unknown value '10.10' of -mmacosx-version-min configure:3392: $? = 1 configure:3580: checking for suffix of object files configure:3602: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc5/libgcc-devel/work/build/./gcc/xgcc -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc5/libgcc-devel/work/build/./gcc/ -B/opt/local/x86_64-apple-darwin14/bin/ -B/opt/local/x86_64-apple-darwin14/lib/ -isystem /opt/local/x86_64-apple-darwin14/include -isystem /opt/local/x86_64-apple-darwin14/sys-include -c -g -O2 -pipe -Os conftest.c >&5 <built-in>: error: unknown value '10.10' of -mmacosx-version-min configure:3606: $? = 1 configure: failed program was: | /* confdefs.h */