[MacPorts] #67343: libxkbcommon-x11 @1.5.0 does not build on PPC Tiger, Mac OS X 10.4.11, because of fatal error: spawn.h: No such file or directory
MacPorts
noreply at macports.org
Mon May 1 11:08:26 UTC 2023
#67343: libxkbcommon-x11 @1.5.0 does not build on PPC Tiger, Mac OS X 10.4.11,
because of fatal error: spawn.h: No such file or directory
-------------------------------+-----------------------
Reporter: ballapete | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.8.1
Resolution: | Keywords: tiger ppc
Port: libxkbcommon-x11 |
-------------------------------+-----------------------
Comment (by ballapete):
The `patch` corrects the problem with the path to `spawn.h`, but the next
failure becomes visible:
{{{
[175/194] /opt/local/bin/gcc-mp-7 -Itest-x11comp.p -I.
-I../libxkbcommon-1.5.0 -I../libxkbcommon-1.5.0/src
-I../libxkbcommon-1.5.0/include -I/opt/local/include/LegacySupport
-I/opt/local/include -fdiagnostics-color=always -Wall -Winvalid-pch
-Wextra -std=c11 -g -fno-strict-aliasing -Wno-unused-parameter -Wno-
missing-field-initializers -Wpointer-arith -Wmissing-declarations
-Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs
-Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings
-pipe -Os -arch ppc -MD -MQ test-x11comp.p/test_x11comp.c.o -MF test-
x11comp.p/test_x11comp.c.o.d -o test-x11comp.p/test_x11comp.c.o -c
../libxkbcommon-1.5.0/test/x11comp.c
../libxkbcommon-1.5.0/test/x11comp.c: In function 'main':
../libxkbcommon-1.5.0/test/x11comp.c:89:15: warning: implicit declaration
of function 'posix_spawnp'; did you mean 'posix_openpt'? [-Wimplicit-
function-declaration]
ret = posix_spawnp(&xvfb_pid, "Xvfb", NULL, NULL, xvfb_argv,
envp);
^~~~~~~~~~~~
posix_openpt
../libxkbcommon-1.5.0/test/x11comp.c:89:15: warning: nested extern
declaration of 'posix_spawnp' [-Wnested-externs]
[176/194] /opt/local/bin/gcc-mp-7 -o test-x11comp test-
x11comp.p/test_x11comp.c.o -L/opt/local/lib
-I/opt/local/include/LegacySupport -I/opt/local/include
-Wl,-dead_strip_dylibs -Wl,-headerpad_max_install_names
-Wl,-undefined,error -Wl,-headerpad_max_install_names
-lMacportsLegacySupport -arch ppc -pipe -Os -arch ppc
libxkbcommon-x11-internal.a libxkbcommon-test-internal.a
/opt/local/lib/libxcb.dylib /opt/local/lib/libxcb-xkb.dylib
FAILED: test-x11comp
/opt/local/bin/gcc-mp-7 -o test-x11comp test-x11comp.p/test_x11comp.c.o
-L/opt/local/lib -I/opt/local/include/LegacySupport -I/opt/local/include
-Wl,-dead_strip_dylibs -Wl,-headerpad_max_install_names
-Wl,-undefined,error -Wl,-headerpad_max_install_names
-lMacportsLegacySupport -arch ppc -pipe -Os -arch ppc
libxkbcommon-x11-internal.a libxkbcommon-test-internal.a
/opt/local/lib/libxcb.dylib /opt/local/lib/libxcb-xkb.dylib
Undefined symbols:
"_posix_spawnp", referenced from:
_main in test_x11comp.c.o
_main in test_x11comp.c.o
ld: symbol(s) not found
collect2: error: ld returned 1 exit status
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_libxkbcommon/libxkbcommon-x11/work/build"
&& /opt/local/bin/ninja -j1 -v
}}}
The `library function posix_spawnp()` is not provided by `Legacy Support`…
--
Ticket URL: <https://trac.macports.org/ticket/67343#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list