[MacPorts] #59133: libgcc9 fails to build with Mojave and Xcode 11 latestrelease
MacPorts
noreply at macports.org
Mon Sep 30 09:56:01 UTC 2019
#59133: libgcc9 fails to build with Mojave and Xcode 11 latestrelease
----------------------+---------------------
Reporter: vdoublie | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.6.0
Keywords: libgcc9 | Port: libgcc9
----------------------+---------------------
sudo port -s build libggc9 \\
fils to build with following errors \\
{{{
:info:build libtool: compile:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc9/libgcc9/work/build/./gcc/xgcc
-B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports
_lang_gcc9/libgcc9/work/build/./gcc/ -B/opt/local/x86_64-apple-
darwin18/bin/ -B/opt/local/x86_64-apple-darwin18/lib/ -isystem
/opt/local/x86_64-apple-darwin18/include -isystem /opt/local/x86_64-apple-
darwin18/sys-include -fno-checking -DHAVE_CONFIG_H -I.
-I/opt/local/var/macports/build/_opt_local_
var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc9/libgcc9/work/gcc-9.2.0/libgomp
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc9/libgcc9/work/gcc-9.2.0/libgomp/config/bsd
-I/opt/local/var/m
acports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc9/libgcc9/work/gcc-9.2.0/libgomp/config/darwin
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc9/libgcc9/work/gcc-9.2.
0/libgomp/config/posix
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc9/libgcc9/work/gcc-9.2.0/libgomp
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang
_gcc9/libgcc9/work/gcc-9.2.0/libgomp/../include -Wall -pthread -Werror -g
-O2 -pipe -Os
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -MT
fortran.lo -MD -MP -MF .deps/fortran.Tpo -c
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_releas
e_tarballs_ports_lang_gcc9/libgcc9/work/gcc-9.2.0/libgomp/fortran.c -o
fortran.o >/dev/null 2>&1
:info:build In file included from
/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/sys/wait.h:110,
:info:build from
/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:66,
:info:build from
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc9/libgcc9/work/gcc-9.2.0/libgomp
/libgomp-plugin.c:29:
:info:build
/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/sys/resource.h:
In function 'getiopolicy_np':
:info:build
/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/sys/resource.h:443:34:
error: expected declaration specifiers before '__OSX_AVAILABLE_STARTING'
:info:build 443 | int getiopolicy_np(int, int)
__OSX_AVAILABLE_STARTING(__MAC_10_5, __IPHONE_2_0);
:info:build |
^~~~~~~~~~~~~~~~~~~~~~~~
:info:build
/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/sys/resource.h:449:39:
error: expected '=', ',', ';', 'asm' or '__attribute__' before
'__OSX_AVAILABLE_STARTING'
info:build 449 | int setiopolicy_np(int, int, int)
__OSX_AVAILABLE_STARTING(__MAC_10_5, __IPHONE_2_0);
:info:build |
^~~~~~~~~~~~~~~~~~~~~~~~
:info:build In file included from
/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/libkern/_OSByteOrder.h:66,
:info:build from
/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/sys/_endian.h:130,
:info:build from
/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/i386/endian.h:99,
:info:build from
/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/machine/endian.h:35,
:info:build from
/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/sys/wait.h:186,
:info:build from
/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:66,
:info:build from
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc9/libgcc9/work/gcc-9.2.0/libgomp
/libgomp-plugin.c:29:
:info:build
/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/libkern/i386/_OSByteOrder.h:49:1:
error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
:info:build 49 | {
:info:build | ^
:info:build
/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/libkern/i386/_OSByteOrder.h:58:1:
error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
:info:build 58 | {
:info:build | ^
:info:build
/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/libkern/i386/_OSByteOrder.h:96:1:
error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
:info:build 96 | {
:info:build | ^
:info:build In file included from
/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:77,
:info:build from
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc9/libgcc9/work/gcc-9.2.0/libgomp
/libgomp-plugin.c:29:
:info:build
/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/sys/_types/_ct_rune_t.h:32:28:
error: storage class specified for parameter 'ct_rune_t'
32 | typedef __darwin_ct_rune_t ct_rune_t;
:info:build | ^~~~~~~~~
:info:build In file included from
/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:78,
:info:build from
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc9/libgcc9/work/gcc-9.2.0/libgomp
/libgomp-plugin.c:29:
:info:build
/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/sys/_types/_rune_t.h:31:25:
error: storage class specified for parameter 'rune_t'
:info:build 31 | typedef __darwin_rune_t rune_t;
:info:build | ^~~~~~
:info:build In file included from
/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:81,
:info:build from
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc9/libgcc9/work/gcc-9.2.0/libgomp
/libgomp-plugin.c:29:
:info:build
/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/sys/_types/_wchar_t.h:34:26:
error: storage class specified for parameter 'wchar_t'
:info:build 34 | typedef __darwin_wchar_t wchar_t;
:info:build | ^~~~~~~
:info:build In file included from
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc9/libgcc9/work/gcc-9.2.0/libgomp
/libgomp-plugin.c:29:
:info:build
/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:86:3:
error: storage class specified for parameter 'div_t'
:info:build 86 | } div_t;
:info:build | ^~~~~
:info:build
/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:91:3:
error: storage class specified for parameter 'ldiv_t'
:info:build 91 | } ldiv_t;
[...]
}}}
so many that probably are a cascade of issues\\
I include the man.log\\
this is trying to build with latest Xcode 11 (not. a beta) on Mojave (so
no NDA issues)\\
No maintainer listed\\
--
Ticket URL: <https://trac.macports.org/ticket/59133>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list