[MacPorts] #72297: icu @76.1 fails to build with gcc on 10.15
MacPorts
noreply at macports.org
Sun Apr 6 05:11:22 UTC 2025
#72297: icu @76.1 fails to build with gcc on 10.15
--------------------------+----------------------
Reporter: barracuda156 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.10.5
Keywords: | Port: catalina
--------------------------+----------------------
{{{
/opt/local/bin/g++-mp-14 -DU_ALL_IMPLEMENTATION -DU_ATTRIBUTE_DEPRECATED=
-DU_COMMON_IMPLEMENTATION
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk
-DU_HAVE_STRTOD_L=1 -DU_HAVE_XLOCALE_H=1 -I.
"-DDEFAULT_ICU_PLUGINS=\"/opt/local/lib/icu\" " -pipe -Os
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch
x86_64 -W -Wall -pedantic -Wpointer-arith -Wwrite-strings -Wno-long-long
-std=c++17 -fvisibility=hidden -fno-common -c -MMD -MT "putil.d putil.o
putil.ao" -o putil.ao putil.cpp
In file included from /opt/local/include/gcc14/c++/stdlib.h:36,
from uassert.h:23,
from putil.cpp:62:
/opt/local/include/gcc14/c++/cstdlib:136:11: error: 'aligned_alloc' has
not been declared in '::'
136 | using ::aligned_alloc;
| ^~~~~~~~~~~~~
/opt/local/bin/g++-mp-14 -DU_ALL_IMPLEMENTATION -DU_ATTRIBUTE_DEPRECATED=
-DU_COMMON_IMPLEMENTATION
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk
-DU_HAVE_STRTOD_L=1 -DU_HAVE_XLOCALE_H=1 -I.
"-DDEFAULT_ICU_PLUGINS=\"/opt/local/lib/icu\" " -pipe -Os
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch
x86_64 -W -Wall -pedantic -Wpointer-arith -Wwrite-strings -Wno-long-long
-std=c++17 -fvisibility=hidden -fno-common -c -MMD -MT "rbbi.d rbbi.o
rbbi.ao" -o rbbi.ao rbbi.cpp
In file included from /opt/local/include/gcc14/c++/bits/chrono.h:40,
from /opt/local/include/gcc14/c++/condition_variable:40,
from umutex.h:24,
from putil.cpp:63:
/opt/local/include/gcc14/c++/ctime:80:11: error: 'timespec_get' has not
been declared in '::'
80 | using ::timespec_get;
| ^~~~~~~~~~~~
/opt/local/bin/g++-mp-14 -DU_ALL_IMPLEMENTATION -DU_ATTRIBUTE_DEPRECATED=
-DU_COMMON_IMPLEMENTATION
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk
-DU_HAVE_STRTOD_L=1 -DU_HAVE_XLOCALE_H=1 -I.
"-DDEFAULT_ICU_PLUGINS=\"/opt/local/lib/icu\" " -pipe -Os
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch
x86_64 -W -Wall -pedantic -Wpointer-arith -Wwrite-strings -Wno-long-long
-std=c++17 -fvisibility=hidden -fno-common -c -MMD -MT "rbbi_cache.d
rbbi_cache.o rbbi_cache.ao" -o rbbi_cache.ao rbbi_cache.cpp
/opt/local/bin/g++-mp-14 -DU_ALL_IMPLEMENTATION -DU_ATTRIBUTE_DEPRECATED=
-DU_COMMON_IMPLEMENTATION
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk
-DU_HAVE_STRTOD_L=1 -DU_HAVE_XLOCALE_H=1 -I.
"-DDEFAULT_ICU_PLUGINS=\"/opt/local/lib/icu\" " -pipe -Os
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch
x86_64 -W -Wall -pedantic -Wpointer-arith -Wwrite-strings -Wno-long-long
-std=c++17 -fvisibility=hidden -fno-common -c -MMD -MT "rbbidata.d
rbbidata.o rbbidata.ao" -o rbbidata.ao rbbidata.cpp
/opt/local/bin/g++-mp-14 -DU_ALL_IMPLEMENTATION -DU_ATTRIBUTE_DEPRECATED=
-DU_COMMON_IMPLEMENTATION
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk
-DU_HAVE_STRTOD_L=1 -DU_HAVE_XLOCALE_H=1 -I.
"-DDEFAULT_ICU_PLUGINS=\"/opt/local/lib/icu\" " -pipe -Os
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch
x86_64 -W -Wall -pedantic -Wpointer-arith -Wwrite-strings -Wno-long-long
-std=c++17 -fvisibility=hidden -fno-common -c -MMD -MT "rbbinode.d
rbbinode.o rbbinode.ao" -o rbbinode.ao rbbinode.cpp
gnumake[1]: *** [putil.ao] Error 1
gnumake[1]: *** Waiting for unfinished jobs....
gnumake[1]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_icu/icu/work/icu/source/common'
gnumake: *** [all-recursive] Error 2
}}}
This is against `libstdc++`, but it should not fail regardless (it works
on powerpc!).
--
Ticket URL: <https://trac.macports.org/ticket/72297>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list