[MacPorts] #62654: xorg-server-legacy @1.20.10_1 does not build on PPC Tiger, Mac OS X 10.4.11, because of missing spawn.h

MacPorts noreply at macports.org
Wed Apr 7 12:22:50 UTC 2021


#62654: xorg-server-legacy @1.20.10_1 does not build on PPC Tiger, Mac OS X
10.4.11, because of missing spawn.h
-----------------------+--------------------------------
 Reporter:  ballapete  |      Owner:  (none)
     Type:  defect     |     Status:  new
 Priority:  Normal     |  Milestone:
Component:  ports      |    Version:  2.6.4
 Keywords:  tiger      |       Port:  xorg-server-legacy
-----------------------+--------------------------------
 After almost 5,000 lines of output:

 {{{
 /opt/local/bin/gcc-apple-4.2 -std=gnu99 -DHAVE_CONFIG_H -I.
 -I../../../include  -I./.. -DBUILD_DATE=\"20210407\"
 -DXSERVER_VERSION=\"1.20.10\" -DX11BINDIR=\"/opt/local/bin\"
 -isystem/opt/local/include/LegacySupport -I/opt/local/include
 -I/opt/local/var/macports/sources/nue.de.rsync.macports.org/macports/release/tarballs/ports/x11
 /xorg-server-legacy/files/include -DHAVE_DIX_CONFIG_H -Wall -Wpointer-
 arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-
 prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition
 -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-
 noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit
 -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces
 -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror
 =write-strings -Werror=address -Werror=int-to-pointer-cast -Werror
 =pointer-to-int-cast -fno-strict-aliasing -fno-strict-aliasing
 -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT
 -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2
 -I/opt/local/include/libpng16 -I../../../include -I../../../include
 -I../../../Xext  -I../../../damageext -I../../../xfixes -I../../../Xi
 -I../../../mi -I../../../miext/sync -I../../../miext/shadow
 -I../../../miext/damage -I../../../render -I../../../randr -I../../../fb
 -I../../../dbe -I../../../present -pipe -Os -arch ppc -D_THREAD_SAFE
 -pthread -DROOTLESS_WORKAROUND -DROOTLESS_SAFEALPHA -DNO_ALLOCA -c -o
 bundle_trampoline.o bundle_trampoline.c
 bundle_trampoline.c:32:19: error: spawn.h: No such file or directory
 bundle_trampoline.c:53: warning: function declaration isn't a prototype
 bundle_trampoline.c: In function 'executable_path':
 bundle_trampoline.c:53: warning: old-style function definition
 bundle_trampoline.c: In function 'main':
 bundle_trampoline.c:79: error: 'posix_spawnattr_t' undeclared (first use
 in this function)
 bundle_trampoline.c:79: error: (Each undeclared identifier is reported
 only once
 bundle_trampoline.c:79: error: for each function it appears in.)
 bundle_trampoline.c:79: error: expected ';' before 'attr'
 bundle_trampoline.c:80: warning: implicit declaration of function
 'posix_spawnattr_init'
 bundle_trampoline.c:80: warning: nested extern declaration of
 'posix_spawnattr_init'
 bundle_trampoline.c:80: error: 'attr' undeclared (first use in this
 function)
 bundle_trampoline.c:81: warning: implicit declaration of function
 'posix_spawnattr_setflags'
 bundle_trampoline.c:81: warning: nested extern declaration of
 'posix_spawnattr_setflags'
 bundle_trampoline.c:81: error: 'POSIX_SPAWN_SETEXEC' undeclared (first use
 in this function)
 bundle_trampoline.c:83: warning: ISO C90 forbids mixed declarations and
 code
 bundle_trampoline.c:84: warning: implicit declaration of function
 'posix_spawn'
 bundle_trampoline.c:84: warning: nested extern declaration of
 'posix_spawn'
 make[4]: *** [bundle_trampoline.o] Error 1
 make[4]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports
 .org_macports_release_tarballs_ports_x11_xorg-server-legacy/xorg-server-
 legacy/work/XQuartz-xorg-server-802a0f3/hw/xquartz/mach-startup'
 make[3]: *** [all] Error 2
 }}}

 `Leopard` has `/usr/include/spawn.h` and `/usr/include/sys/spawn.h`,
 `Tiger` would need `/opt/local/include/LegacySupport/sys/spawn.h`…


 This will be shown (or just tried?) next!

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


More information about the macports-tickets mailing list