#67451 closed defect (fixed)

glib2 @2.76.2_1 does not build with Meson 0.64.1 on PPC Tiger, Mac OS X 10.4.11, because of '../glib-2.76.2/glib/gspawn.c:74:10: fatal error: libproc.h: No such file or directory'

Reported by: ballapete (Peter "Pete" Dyballa) Owned by: mascguy (Christopher Nielsen)
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: tiger ppc Cc: evanmiller (Evan Miller)
Port: glib2

Description

[95/1335] /opt/local/bin/gcc-mp-7 -Iglib/libglib-2.0.0.dylib.p -Iglib -I../glib-2.76.2/glib -I. -I../glib-2.76.2 -I/opt/local/include -fvisibility=hidden -fdiagnostics-color=always -std=gnu99 -O2 -g -D_GNU_SOURCE -fno-strict-aliasing -DG_DISABLE_CAST_CHECKS -Wduplicated-branches -Wimplicit-fallthrough -Wmisleading-indentation -Wmissing-field-initializers -Wnonnull -Wunused -Wno-unused-parameter -Wno-pedantic -Wno-format-zero-length -Wno-variadic-macros -Werror=format=2 -Werror=init-self -Werror=missing-include-dirs -Werror=pointer-arith -Werror=unused-result -Wstrict-prototypes -Wno-bad-function-cast -Wno-declaration-after-statement -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=pointer-sign -pipe -Os -fstrict-aliasing -Wno-deprecated-declarations -arch ppc '-DG_LOG_DOMAIN="GLib"' -DGLIB_COMPILATION -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.76.2/glib/gspawn.c
FAILED: glib/libglib-2.0.0.dylib.p/gspawn.c.o 
/opt/local/bin/gcc-mp-7 -Iglib/libglib-2.0.0.dylib.p -Iglib -I../glib-2.76.2/glib -I. -I../glib-2.76.2 -I/opt/local/include -fvisibility=hidden -fdiagnostics-color=always -std=gnu99 -O2 -g -D_GNU_SOURCE -fno-strict-aliasing -DG_DISABLE_CAST_CHECKS -Wduplicated-branches -Wimplicit-fallthrough -Wmisleading-indentation -Wmissing-field-initializers -Wnonnull -Wunused -Wno-unused-parameter -Wno-pedantic -Wno-format-zero-length -Wno-variadic-macros -Werror=format=2 -Werror=init-self -Werror=missing-include-dirs -Werror=pointer-arith -Werror=unused-result -Wstrict-prototypes -Wno-bad-function-cast -Wno-declaration-after-statement -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=pointer-sign -pipe -Os -fstrict-aliasing -Wno-deprecated-declarations -arch ppc '-DG_LOG_DOMAIN="GLib"' -DGLIB_COMPILATION -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.76.2/glib/gspawn.c
In file included from ../glib-2.76.2/glib/gspawn.c:23:0:
./config.h:358: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
../glib-2.76.2/glib/gspawn.c:74:10: fatal error: libproc.h: No such file or directory
 #include <libproc.h>
          ^~~~~~~~~~~
compilation terminated.
ninja: build stopped: subcommand failed.
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_devel_glib2/glib2/work/build" && /opt/local/bin/ninja -j1 --verbose -v 
Exit code: 1

The complaints about redefining __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 are quite often.

Attachments (1)

main.log (293.5 KB) - added by ballapete (Peter "Pete" Dyballa) 12 months ago.
Main.log from PPC Tiger, Mac OS X 10.4.11

Download all attachments as: .zip

Change History (4)

Changed 12 months ago by ballapete (Peter "Pete" Dyballa)

Attachment: main.log added

Main.log from PPC Tiger, Mac OS X 10.4.11

comment:1 Changed 12 months ago by mascguy (Christopher Nielsen)

Cc: evanmiller added; mascguy@… removed
Owner: set to mascguy
Status: newassigned

comment:2 Changed 12 months ago by evanmiller (Evan Miller)

comment:3 Changed 12 months ago by evanmiller (Evan Miller)

Resolution: fixed
Status: assignedclosed

In 77685f6bf9ff430984905af0c7ee0b2b83fd944b/macports-ports (master):

glib2: fix build on Tiger, remove legacysupport

Closes: #67444
Closes: #67451
See: #67307

Note: See TracTickets for help on using tickets.