[MacPorts] #41519: Port 2.2.99 cannot be built on PPC Mac OS X 10.4.11 (Tiger) because of missing spawn.h C header file
MacPorts
noreply at macports.org
Sat Nov 23 16:29:22 PST 2013
#41519: Port 2.2.99 cannot be built on PPC Mac OS X 10.4.11 (Tiger) because of
missing spawn.h C header file
-----------------------------+--------------------------------
Reporter: Peter_Dyballa@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: base | Version: 2.2.99
Keywords: | Port: port
-----------------------------+--------------------------------
{{{
cc -g -O2 -std=c99 -Wextra -Wall -fPIC -arch i386 -arch ppc
-DHAVE_CONFIG_H -I.. -I. -I"/usr/include" -c -o proc.o proc.c
proc.c:45:19: error: spawn.h: No such file or directory
proc.c:45:19: error: spawn.h: No such file or directory
proc.c:293: warning: type defaults to ‘int’ in declaration of
‘posix_spawn_file_actions_t’
proc.c:293: error: parse error before ‘*’ token
proc.c:302: warning: type defaults to ‘int’ in declaration of
‘posix_spawn_file_actions_t’
proc.c:302: error: parse error before ‘*’ token
proc.c: In function ‘posix_spawn’:
proc.c:309: error: ‘path’ undeclared (first use in this function)
proc.c:309: error: (Each undeclared identifier is reported only once
proc.c:309: error: for each function it appears in.)
proc.c:317: error: ‘attrp’ undeclared (first use in this function)
proc.c:318: warning: implicit declaration of function
‘posix_spawnattr_getflags’
proc.c:319: error: ‘POSIX_SPAWN_SETEXEC’ undeclared (first use in this
function)
proc.c:343: error: ‘envp’ undeclared (first use in this function)
proc.c:344: error: ‘pid’ undeclared (first use in this function)
proc.c:344: error: ‘file_actions’ undeclared (first use in this function)
proc.c:344: error: ‘argv’ undeclared (first use in this function)
proc.c:293: warning: type defaults to ‘int’ in declaration of
‘posix_spawn_file_actions_t’
proc.c:293: error: parse error before ‘*’ token
proc.c:302: warning: type defaults to ‘int’ in declaration of
‘posix_spawn_file_actions_t’
proc.c:302: error: parse error before ‘*’ token
proc.c: In function ‘posix_spawn’:
proc.c:309: error: ‘path’ undeclared (first use in this function)
proc.c:309: error: (Each undeclared identifier is reported only once
proc.c:309: error: for each function it appears in.)
proc.c:317: error: ‘attrp’ undeclared (first use in this function)
proc.c:318: warning: implicit declaration of function
‘posix_spawnattr_getflags’
proc.c:319: error: ‘POSIX_SPAWN_SETEXEC’ undeclared (first use in this
function)
proc.c:343: error: ‘envp’ undeclared (first use in this function)
proc.c:344: error: ‘pid’ undeclared (first use in this function)
proc.c:344: error: ‘file_actions’ undeclared (first use in this function)
proc.c:344: error: ‘argv’ undeclared (first use in this function)
lipo: can't figure out the architecture type of: /var/tmp//cc6rtmmO.out
make[3]: *** [proc.o] Error 1
make[2]: *** [all] Error 1
make[1]: *** [all] Error 1
make: *** [all] Error 2
}}}
The file really does not exist on Tiger. I can find it on Leopard. Tiger
has something in Python plus these:
{{{
/opt/local/include/glib-2.0/glib/gspawn.h
/opt/local/include/gtk-2.0/gdk/gdkspawn.h
}}}
--
Ticket URL: <https://trac.macports.org/ticket/41519>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list