[MacPorts] #64514: glib2 fails to build for ppc on 10.6.8 (Rosetta)
MacPorts
noreply at macports.org
Wed Jan 26 03:18:38 UTC 2022
#64514: glib2 fails to build for ppc on 10.6.8 (Rosetta)
--------------------------+--------------------
Reporter: barracuda156 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.7.1
Keywords: powerpc | Port: glib2
--------------------------+--------------------
{{{
[93/1040] /opt/local/bin/gcc-mp-7 -Iglib/libglib-2.0.0.dylib.p -Iglib
-I../glib-2.64.6/glib -I. -I../glib-2.64.6 -I/opt/local/include
-fdiagnostics-color=always -std=gnu99 -O2 -g -D_GNU_SOURCE -fno-strict-
aliasing -DG_ENABLE_DEBUG -Wduplicated-branches -Wimplicit-fallthrough
-Wmisleading-indentation -Wstrict-prototypes -Wunused -Wno-unused-
parameter -Wno-bad-function-cast -Wno-pedantic -Wno-format-zero-length
-Werror=declaration-after-statement -Werror=format=2 -Werror=implicit-
function-declaration -Werror=init-self -Werror=missing-include-dirs
-Werror=missing-prototypes -Werror=pointer-arith -pipe -Os -fstrict-
aliasing -Wno-deprecated-declarations -arch ppc '-DG_LOG_DOMAIN="GLib"'
-DGLIB_COMPILATION -fvisibility=hidden -MD -MQ glib/libglib-2.0.0.dylib.p
/gthread-posix.c.o -MF glib/libglib-2.0.0.dylib.p/gthread-posix.c.o.d -o
glib/libglib-2.0.0.dylib.p/gthread-posix.c.o -c ../glib-2.64.6/glib
/gthread-posix.c
In file included from ../glib-2.64.6/glib/gthread-posix.c:40:0:
./config.h:350:0: warning: "__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4" redefined
#define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4
<built-in>: note: this is the location of the previous definition
[94/1040] /opt/local/bin/gcc-mp-7 -Iglib/libglib-2.0.0.dylib.p -Iglib
-I../glib-2.64.6/glib -I. -I../glib-2.64.6 -I/opt/local/include
-fdiagnostics-color=always -std=gnu99 -O2 -g -D_GNU_SOURCE -fno-strict-
aliasing -DG_ENABLE_DEBUG -Wduplicated-branches -Wimplicit-fallthrough
-Wmisleading-indentation -Wstrict-prototypes -Wunused -Wno-unused-
parameter -Wno-bad-function-cast -Wno-pedantic -Wno-format-zero-length
-Werror=declaration-after-statement -Werror=format=2 -Werror=implicit-
function-declaration -Werror=init-self -Werror=missing-include-dirs
-Werror=missing-prototypes -Werror=pointer-arith -pipe -Os -fstrict-
aliasing -Wno-deprecated-declarations -arch ppc '-DG_LOG_DOMAIN="GLib"'
-DGLIB_COMPILATION -fvisibility=hidden -MD -MQ
glib/libglib-2.0.0.dylib.p/gspawn.c.o -MF
glib/libglib-2.0.0.dylib.p/gspawn.c.o.d -o
glib/libglib-2.0.0.dylib.p/gspawn.c.o -c ../glib-2.64.6/glib/gspawn.c
In file included from ../glib-2.64.6/glib/gspawn.c:21:0:
./config.h:350:0: warning: "__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4" redefined
#define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4
<built-in>: note: this is the location of the previous definition
ninja: build stopped: subcommand failed.
Command failed: cd
"/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_glib2/glib2/work/build"
&& /opt/local/bin/ninja -j4 --verbose -v
Exit code: 1
Error: Failed to build glib2: command execution failed
Error: See
/opt/local/var/macports/logs/_opt_PPCSnowLeopardPorts_devel_glib2/glib2/main.log
for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe
there
is a bug.
Error: Processing of port glib2 failed
}}}
--
Ticket URL: <https://trac.macports.org/ticket/64514>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list