[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 2 14:47:32 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: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.5.4
Resolution: | Keywords: tiger
Port: lighttpd |
------------------------+--------------------
Comment (by ballapete):
Legacy support needs to be augmented because I can find only these:
{{{
/opt/local/include/LegacySupport/dirent.h:/* fdopendir */
/opt/local/include/LegacySupport/dirent.h:extern DIR *fdopendir(int fd);
/opt/local/include/LegacySupport/sys/fcntl.h:#ifndef AT_FDCWD
/opt/local/include/LegacySupport/sys/fcntl.h:#define AT_FDCWD -2
/opt/local/include/LegacySupport/sys/fcntl.h:#ifndef AT_SYMLINK_NOFOLLOW
/opt/local/include/LegacySupport/sys/fcntl.h:#define AT_SYMLINK_NOFOLLOW
0x0020 /* Act on the symlink itself not the target */
/opt/local/include/LegacySupport/sys/unistd.h:extern int unlinkat(int
dirfd, const char *pathname, int flags);
}}}
`fcopyfile` is missing.
The new error report was lost while uploading the files:
{{{
/bin/sh ../libtool --tag=CC --mode=compile /opt/local/bin/gcc-apple-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: /opt/local/bin/gcc-apple-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_fcopyfile_sz':
mod_webdav.c:2049: warning: implicit declaration of function 'fcopyfile'
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_lil.fr.rsync.macports.org_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_lil.fr.rsync.macports.org_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_lil.fr.rsync.macports.org_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_lil.fr.rsync.macports.org_release_tarballs_ports_www_lighttpd/lighttpd/work/lighttpd-1.4.54'
Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_www_lighttpd/lighttpd/work/lighttpd-1.4.54"
&& /usr/bin/make -w all
Exit code: 2
}}}
--
Ticket URL: <https://trac.macports.org/ticket/58550#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list