Opened 5 years ago
Closed 3 years ago
#59464 closed defect (fixed)
building gcc 9 fails
Reported by: | lplatter | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.6.1 |
Keywords: | Cc: | cooljeanius (Eric Gallager) | |
Port: | gcc9 |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
building with
sudo port -v -s install gcc9
fails
Attachments (2)
Change History (10)
comment:1 Changed 5 years ago by lplatter
comment:2 Changed 5 years ago by jmroot (Joshua Root)
Keywords: | gcc removed |
---|
Please attach the full log.
comment:3 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|
The actual errors in the log are SDK related:
:info:build In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/_stdio.h:69, :info:build from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc9/gcc9/work/build/gcc/include-fixed/stdio.h:78, :info:build from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc9/gcc9/work/gcc-9.2.0/libgcc/../gcc/tsystem.h:87, :info:build from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc9/gcc9/work/gcc-9.2.0/libgcc/libgcov.h:42, :info:build from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc9/gcc9/work/gcc-9.2.0/libgcc/libgcov-merge.c:26: :info:build /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/sys/stdio.h: In function 'renameat': :info:build /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/sys/stdio.h:39:56: error: expected declaration specifiers before '__AVAILABILITY_INTERNAL__MAC_10_10' :info:build 39 | int renameat(int, const char *, int, const char *) __OSX_AVAILABLE_STARTING(__MAC_10_10, __IPHONE_8_0); :info:build | ^~~~~~~~~~~~~~~~~~~~~~~~
comment:ticket:59133:10 says this was fixed 2 weeks ago. You reported that you're using MacPorts 2.6.1. 2.6.2 was released a few days ago. Please run sudo port selfupdate
, then try again.
comment:4 Changed 5 years ago by lplatter
Upgrading to MacPorts 2.6.2 did not solve the problem. I am attaching the new log file
comment:5 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)
I see that you're using cctools with the +llvm80 variant. The cctools port only provides the Xcode 10 version. Since you're using Xcode 11, that might not be compatible. Try reinstalling the cctools port with the +xcode variant.
comment:7 Changed 5 years ago by cooljeanius (Eric Gallager)
Cc: | cooljeanius added |
---|
comment:8 Changed 3 years ago by kencu (Ken)
Resolution: | → fixed |
---|---|
Status: | new → closed |
gcc 9.4.0 is building without issue for me on 10.14, and on the 10.14 buildbot.
This appears to have been fixed.
please reopen with new information if this is still an issue.
end of log file is