[MacPorts] #58550: lighttpd @1.4.54 does not build on PPC Tiger, Mac OS X 10.4.11, because of timespec type problems
MacPorts
noreply at macports.org
Sun Jun 9 20:44:49 UTC 2019
#58550: lighttpd @1.4.54 does not build on PPC Tiger, Mac OS X 10.4.11, because of
timespec type problems
------------------------+------------------------
Reporter: ballapete | Owner: ryandesign
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.5.4
Resolution: | Keywords: tiger
Port: lighttpd |
------------------------+------------------------
Comment (by ballapete):
On PPC Leopard, Mac OS X 10.5.8, a similar error occurs:
{{{
/bin/sh ../libtool --tag=CC --mode=compile /usr/bin/gcc-4.2 -std=gnu99
-DHAVE_CONFIG_H -DHAVE_VERSIONSTAMP_H -DLIBRARY_DIR="\"/opt/local/lib\""
-DSBIN_DIR="\"/opt/local/sbin\"" -I. -I.. -I/opt/local/include
-D_REENTRANT -I/opt/local/include -D_FILE_OFFSET_BITS=64
-D_LARGEFILE_SOURCE -D_LARGE_FILES -pipe -Os -arch ppc -Wall -W
-Wshadow -pedantic -MT mod_webdav_la-mod_webdav.lo -MD -MP -MF .deps
/mod_webdav_la-mod_webdav.Tpo -c -o mod_webdav_la-mod_webdav.lo `test -f
'mod_webdav.c' || echo './'`mod_webdav.c
libtool: compile: /usr/bin/gcc-4.2 -std=gnu99 -DHAVE_CONFIG_H
-DHAVE_VERSIONSTAMP_H -DLIBRARY_DIR=\"/opt/local/lib\"
-DSBIN_DIR=\"/opt/local/sbin\" -I. -I.. -I/opt/local/include -D_REENTRANT
-I/opt/local/include -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-D_LARGE_FILES -pipe -Os -arch ppc -Wall -W -Wshadow -pedantic -MT
mod_webdav_la-mod_webdav.lo -MD -MP -MF .deps/mod_webdav_la-mod_webdav.Tpo
-c mod_webdav.c -fno-common -DPIC -o .libs/mod_webdav_la-mod_webdav.o
mod_webdav.c: In function ‘webdav_unlinkat’:
mod_webdav.c:2207: warning: implicit declaration of function ‘unlinkat’
mod_webdav.c: In function ‘webdav_delete_dir’:
mod_webdav.c:2245: warning: implicit declaration of function ‘fdopendir’
mod_webdav.c:2245: warning: pointer/integer type mismatch in conditional
expression
mod_webdav.c:2271: warning: implicit declaration of function ‘fstatat’
mod_webdav.c:2271: error: ‘AT_SYMLINK_NOFOLLOW’ undeclared (first use in
this function)
mod_webdav.c:2271: error: (Each undeclared identifier is reported only
once
mod_webdav.c:2271: error: for each function it appears in.)
mod_webdav.c: In function ‘webdav_linktmp_rename’:
mod_webdav.c:2340: warning: implicit declaration of function ‘linkat’
mod_webdav.c:2340: error: ‘AT_FDCWD’ undeclared (first use in this
function)
mod_webdav.c: In function ‘webdav_copymove_file’:
mod_webdav.c:2489: error: ‘AT_FDCWD’ undeclared (first use in this
function)
mod_webdav.c: In function ‘webdav_copymove_dir’:
mod_webdav.c:2743: warning: pointer/integer type mismatch in conditional
expression
mod_webdav.c:2764: error: ‘AT_SYMLINK_NOFOLLOW’ undeclared (first use in
this function)
mod_webdav.c: In function ‘webdav_propfind_dir’:
mod_webdav.c:3236: warning: pointer/integer type mismatch in conditional
expression
mod_webdav.c:3263: error: ‘AT_SYMLINK_NOFOLLOW’ undeclared (first use in
this function)
make[3]: *** [mod_webdav_la-mod_webdav.lo] Error 1
make[3]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_www_lighttpd/lighttpd/work/lighttpd-1.4.54/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_www_lighttpd/lighttpd/work/lighttpd-1.4.54/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_www_lighttpd/lighttpd/work/lighttpd-1.4.54'
make: *** [all] Error 2
make: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_www_lighttpd/lighttpd/work/lighttpd-1.4.54'
Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_www_lighttpd/lighttpd/work/lighttpd-1.4.54"
&& /usr/bin/make -w all
Exit code: 2
}}}
I did not change anything in the sequence how C header files are included.
--
Ticket URL: <https://trac.macports.org/ticket/58550#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list