Hi Baptiste, I received this email about a week ago, but I'm not sure this build error is actually accurate. I cannot reproduce this on HEAD. The build fails because syslog(3) cannot be found, but still, the sources include <syslog.h> and autoconf does find the header.
Any chance I can get more details on what's going wrong? Ed 2013/9/19 <[email protected]>: > You are receiving this mail as a port that you maintain > is failing to build on the FreeBSD package build server. > Please investigate the failure and submit a PR to fix > build. > > Maintainer: [email protected] > Last committer: [email protected] > Ident: $FreeBSD: head/dns/totd/Makefile 300896 2012-07-14 13:54:48Z > beat $ > Log URL: > http://beefy1.isc.freebsd.org/bulk/head-i386-default/2013-09-19_00h27m24s/logs/totd-1.5.1_1.log > Build URL: > http://beefy1.isc.freebsd.org/bulk/head-i386-default/2013-09-19_00h27m24s > Log: > > ====>> Building dns/totd > build started at Thu Sep 19 02:05:11 UTC 2013 > port directory: /usr/ports/dns/totd > building for: FreeBSD head-i386-default-job-12 10.0-CURRENT FreeBSD > 10.0-CURRENT i386 > maintained by: [email protected] > Makefile ident: $FreeBSD: head/dns/totd/Makefile 300896 2012-07-14 > 13:54:48Z beat $ > Poudriere version: 3.1-pre > > ---Begin Environment--- > UNAME_m=i386 > UNAME_p=i386 > OSVERSION=1000055 > UNAME_v=FreeBSD 10.0-CURRENT > UNAME_r=10.0-CURRENT > BLOCKSIZE=K > MAIL=/var/mail/root > STATUS=1 > MASTERMNT=/usr/local/poudriere/data/build/head-i386-default/ref > PKG_EXT=txz > tpid=63159 > PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin > POUDRIERE_BUILD_TYPE=bulk > NBPARALLEL=24 > PKGNG=1 > PKGNAME=totd-1.5.1_1 > PKG_DELETE=/usr/local/sbin/pkg delete -y -f > PKG_ADD=/usr/local/sbin/pkg add > PWD=/root > MASTERNAME=head-i386-default > USER=root > HOME=/root > POUDRIERE_VERSION=3.1-pre > SKIPSANITY=1 > LOCALBASE=/usr/local > PACKAGE_BUILDING=yes > ---End Environment--- > > ---Begin OPTIONS List--- > ---End OPTIONS List--- > > --CONFIGURE_ARGS-- > --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} > --End CONFIGURE_ARGS-- > > --CONFIGURE_ENV-- > TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh > CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=262144 > --End CONFIGURE_ENV-- > > --MAKE_ENV-- > TMPDIR="/tmp" SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local > LOCALBASE=/usr/local LIBDIR="/usr/lib" CC="cc" CFLAGS="-O2 -pipe > -fno-strict-aliasing" CPP="cpp" CPPFLAGS="" LDFLAGS="" CXX="c++" > CXXFLAGS="-O2 -pipe -fno-strict-aliasing" MANPREFIX="/usr/local" > BSD_INSTALL_PROGRAM="install -s -o root -g wheel -m 555" > BSD_INSTALL_LIB="install -s -o root -g wheel -m 444" > BSD_INSTALL_SCRIPT="install -o root -g wheel -m 555" > BSD_INSTALL_DATA="install -o root -g wheel -m 444" BSD_INSTALL_MAN="install > -o root -g wheel -m 444" > --End MAKE_ENV-- > > --SUB_LIST-- > PREFIX=/usr/local > LOCALBASE=/usr/local > DATADIR=/usr/local/share/totd > DOCSDIR=/usr/local/share/doc/totd > EXAMPLESDIR=/usr/local/share/examples/totd > WWWDIR=/usr/local/www/totd > ETCDIR=/usr/local/etc/totd > --End SUB_LIST-- > > ---Begin make.conf--- > ARCH=i386 > MACHINE=i386 > MACHINE_ARCH=i386 > USE_PACKAGE_DEPENDS=yes > BATCH=yes > WRKDIRPREFIX=/wrkdirs > PACKAGES=/packages > DISTDIR=/distfiles > #### /usr/local/etc/poudriere.d/make.conf #### > WITH_PKGNG=yes > NO_RESTRICTED=yes > DISABLE_MAKE_JOBS=yes > ---End make.conf--- > ===> Cleaning for totd-1.5.1_1 > =======================<phase: check-config >============================ > =========================================================================== > =======================<phase: pkg-depends >============================ > ===> totd-1.5.1_1 depends on file: /usr/local/sbin/pkg - not found > ===> Verifying install for /usr/local/sbin/pkg in /usr/ports/ports-mgmt/pkg > ===> Installing existing package /packages/All/pkg-1.1.4_2.txz > Installing pkg-1.1.4_2... done > If you are upgrading from the old package format, first run: > > # pkg2ng > ===> Returning to build of totd-1.5.1_1 > =========================================================================== > =======================<phase: fetch-depends >============================ > =========================================================================== > =======================<phase: fetch >============================ > ===> Fetching all distfiles required by totd-1.5.1_1 for building > =========================================================================== > =======================<phase: checksum >============================ > ===> Fetching all distfiles required by totd-1.5.1_1 for building > => SHA256 Checksum OK for totd-1.5.1.tar.gz. > =========================================================================== > =======================<phase: extract-depends>============================ > =========================================================================== > =======================<phase: extract >============================ > ===> Fetching all distfiles required by totd-1.5.1_1 for building > ===> Extracting for totd-1.5.1_1 > => SHA256 Checksum OK for totd-1.5.1.tar.gz. > =========================================================================== > =======================<phase: patch-depends >============================ > =========================================================================== > =======================<phase: patch >============================ > ===> Patching for totd-1.5.1_1 > ===> Applying extra patch /usr/ports/dns/totd/files/extra-patch-ne_mesg.c > ===> Applying extra patch > /usr/ports/dns/totd/files/extra-patch-tcp_response.c > ===> Applying FreeBSD patches for totd-1.5.1_1 > =========================================================================== > =======================<phase: build-depends >============================ > =========================================================================== > =======================<phase: lib-depends >============================ > =========================================================================== > =======================<phase: configure >============================ > ===> Configuring for totd-1.5.1_1 > ===> FreeBSD 10 autotools fix applied to > /wrkdirs/usr/ports/dns/totd/work/totd-1.5.1/SWILL-0.1/configure > ===> FreeBSD 10 autotools fix applied to > /wrkdirs/usr/ports/dns/totd/work/totd-1.5.1/configure > configure: loading site script /usr/ports/Templates/config.site > checking "IPv6 transport support"... "enabled" > checking "IPv4 transport support"... "enabled" > checking "6to4 reverse lookup support"... "disabled" > checking "scoped address rewriting support"... "enabled" > checking "http reconfiguration and management support"... "disabled" > checking for gcc... cc > checking for C compiler default output... a.out > checking whether the C compiler works... yes > checking whether we are cross compiling... no > checking for suffix of executables... > checking for suffix of object files... o > checking whether we are using the GNU C compiler... yes > checking whether cc accepts -g... yes > checking for cc option to accept ANSI C... none needed > checking how to run the C preprocessor... cpp > checking operating system specific definitions...... FreeBSD > checking for egrep... grep -E > checking for ANSI C header files... (cached) yes > checking for sys/types.h... (cached) yes > checking for sys/stat.h... (cached) yes > checking for stdlib.h... (cached) yes > checking for string.h... (cached) yes > checking for memory.h... (cached) yes > checking for strings.h... (cached) yes > checking for inttypes.h... (cached) yes > checking for stdint.h... (cached) yes > checking for unistd.h... (cached) yes > checking for fcntl.h... (cached) yes > checking for limits.h... (cached) yes > checking for sys/ioctl.h... (cached) yes > checking for sys/time.h... (cached) yes > checking syslog.h usability... yes > checking syslog.h presence... yes > checking for syslog.h... yes > checking for unistd.h... (cached) yes > checking for sys/cdefs.h... (cached) yes > checking sys/filio.h usability... yes > checking sys/filio.h presence... yes > checking for sys/filio.h... yes > checking sys/sockio.h usability... yes > checking sys/sockio.h presence... yes > checking for sys/sockio.h... yes > checking for stdint.h... (cached) yes > checking for gethostbyname in -lnsl... no > checking for bind in -lsocket... no > checking whether SHUT_RD is defined by sys/socket.h... yes > checking whether struct sockaddr has sa_len... yes > checking whether struct sockaddr_in6 has sin6_scope_id... yes > checking for an ANSI C-conforming const... yes > checking for uid_t in sys/types.h... (cached) yes > checking for pid_t... (cached) yes > checking for size_t... (cached) yes > checking whether time.h and sys/time.h may both be included... yes > checking whether cc needs -traditional... no > checking for working memcmp... yes > checking return type of signal handlers... void > checking for strlcpy... (cached) yes > checking for strlcat... (cached) yes > checking for daemon... (cached) yes > checking for inet_aton... (cached) yes > configure: creating ./config.status > Segmentation fault > config.status: creating Makefile > config.status: creating config.h > =========================================================================== > =======================<phase: build >============================ > ===> Building for totd-1.5.1_1 > cc -O2 -pipe -fno-strict-aliasing -DHAVE_CONFIG_H -Wall > -DTOTCONF=\"/usr/local/etc/totd.conf\" -DFreeBSD -DSCOPED_REWRITE -DUSE_INET4 > -DUSE_INET6 -c request.c > In file included from request.c:14: > In file included from ./totd.h:52: > /usr/include/sys/termios.h:3:2: warning: "this file includes <sys/termios.h> > which is deprecated, use <termios.h> instead" [-W#warnings] > #warning "this file includes <sys/termios.h> which is deprecated, use > <termios.h> instead" > ^ > request.c:38:2: warning: implicit declaration of function 'syslog' is invalid > in C99 [-Wimplicit-function-declaration] > syslog (LOG_DEBUG, "%s: start", fn); > ^ > request.c:38:10: error: use of undeclared identifier 'LOG_DEBUG' > syslog (LOG_DEBUG, "%s: start", fn); > ^ > request.c:46:10: error: use of undeclared identifier 'LOG_INFO' > syslog(LOG_INFO, "%s: malformed question", fn); > ^ > request.c:52:11: error: use of undeclared identifier 'LOG_INFO' > syslog (LOG_INFO, "%s: malformed question", fn); > ^ > request.c:68:10: error: use of undeclared identifier 'LOG_INFO' > syslog (LOG_INFO, "Query name: %s type: %s", str, > string_rtype(qtype)); > ^ > request.c:73:27: warning: passing 'u_char [256]' to parameter of type 'const > char *' converts between pointers to integer types with different sign > [-Wpointer-sign] > } else if (len != strlen(qname) + 1) { > ^~~~~ > /usr/include/string.h:95:28: note: passing argument to parameter here > size_t strlen(const char *) __pure; > ^ > request.c:96:12: error: use of undeclared identifier 'LOG_DEBUG' > syslog (LOG_DEBUG, "%s: converted new ptr name: %s", > ^ > request.c:106:12: error: use of undeclared identifier 'LOG_DEBUG' > syslog (LOG_DEBUG, "%s: converted ptr name: %s", > ^ > request.c:117:12: error: use of undeclared identifier 'LOG_DEBUG' > syslog (LOG_DEBUG, "%s: converted scoped qname: %s", > ^ > request.c:142:11: error: use of undeclared identifier 'LOG_ERR' > syslog (LOG_ERR, "%s: no forwarders available!", fn); > ^ > request.c:146:17: error: use of undeclared identifier 'LOG_INFO' > syslog (LOG_INFO, "Selected forwarder: %s", > ^ > request.c:162:10: error: use of undeclared identifier 'LOG_DEBUG' > syslog (LOG_DEBUG, "%s: start", fn); > ^ > request.c:175:11: warning: passing 'u_char [256]' to parameter of type 'char > *' converts between pointers to integer types with different sign > [-Wpointer-sign] > strlcpy (cont->qname, qname, MAX_DNAME); > ^~~~~~~~~~~ > ./protos.h:15:22: note: passing argument to parameter here > size_t strlcpy(char *, const char *, size_t); > ^ > request.c:175:24: warning: passing 'u_char *' (aka 'unsigned char *') to > parameter of type 'const char *' converts between pointers to integer types > with different sign [-Wpointer-sign] > strlcpy (cont->qname, qname, MAX_DNAME); > ^~~~~ > ./protos.h:15:36: note: passing argument to parameter here > size_t strlcpy(char *, const char *, size_t); > ^ > request.c:180:10: error: use of undeclared identifier 'LOG_DEBUG' > syslog (LOG_DEBUG, "%s: constructing query", fn); > ^ > request.c:194:25: error: use of undeclared identifier 'LOG_ERR' > syslog (LOG_ERR, "%s: failed to keep query in %zd bytes", > ^ > request.c:201:11: error: use of undeclared identifier 'LOG_ERR' > syslog (LOG_ERR, "%s: Cannot allocate memory", fn); > ^ > request.c:210:11: error: use of undeclared identifier 'LOG_INFO' > syslog (LOG_INFO, "Forward %s query for %s over UDP", > ^ > request.c:217:11: error: use of undeclared identifier 'LOG_INFO' > syslog (LOG_INFO, "Forward %s query for %s over TCP", > ^ > request.c:235:11: error: use of undeclared identifier 'LOG_INFO' > syslog (LOG_INFO, "Exceeded retry limit"); > ^ > request.c:241:11: error: use of undeclared identifier 'LOG_DEBUG' > syslog (LOG_DEBUG, "Cycled through list of nameservers"); > ^ > request.c:245:20: warning: passing 'char [256]' to parameter of type 'u_char > *' (aka 'unsigned char *') converts between pointers to integer types with > different sign [-Wpointer-sign] > dname_decompress (astr, MAX_DNAME, cont->qname, 0, 0, 0); > ^~~~ > ./protos.h:161:35: note: passing argument to parameter here > u_char *dname_decompress (u_char *, int, u_char *, u_char *, u_char *, int *); > ^ > request.c:246:17: error: use of undeclared identifier 'LOG_INFO' > syslog (LOG_INFO, "Retrying query for %s to nameserver: %s", astr, > ^ > request.c:255:10: error: use of undeclared identifier 'LOG_DEBUG' > syslog (LOG_DEBUG, "Retry %d of %d+%d will time out in %d seconds", > ^ > fatal error: too many errors emitted, stopping now [-ferror-limit=] > 6 warnings and 20 errors generated. > *** Error code 1 > > Stop. > make[1]: stopped in /wrkdirs/usr/ports/dns/totd/work/totd-1.5.1 > *** Error code 1 > > Stop. > make: stopped in /usr/ports/dns/totd > ===> Cleaning for totd-1.5.1_1 -- Ed Schouten <[email protected]> _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-pkg-fallout To unsubscribe, send any mail to "[email protected]"
