[MacPorts] #67451: 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'

MacPorts noreply at macports.org
Thu May 18 16:39:49 UTC 2023


#67451: 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'
-----------------------+--------------------
 Reporter:  ballapete  |      Owner:  (none)
     Type:  defect     |     Status:  new
 Priority:  Normal     |  Milestone:
Component:  ports      |    Version:  2.8.1
 Keywords:  tiger ppc  |       Port:  glib2
-----------------------+--------------------
 {{{
 [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.

-- 
Ticket URL: <https://trac.macports.org/ticket/67451>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list