Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Sep 2013 10:55:21 +0200
From:      Ed Schouten <ed@80386.nl>
To:        pkg-fallout@freebsd.org, Baptiste Daroussin <bapt@freebsd.org>
Subject:   Re: [REL - head-i386-default][dns/totd] Failed for totd-1.5.1_1 in build
Message-ID:  <CAJOYFBBq7TL9b%2BNeYgspGR2qMDTVagsza_z1vrR1L-nFe37Ytw@mail.gmail.com>
In-Reply-To: <201309190205.r8J25Fhh072039@beefy1.isc.freebsd.org>
References:  <201309190205.r8J25Fhh072039@beefy1.isc.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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  <pkg-fallout@freebsd.org>:
> 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:     ed@FreeBSD.org
> Last committer: beat@FreeBSD.org
> 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:
>
> =3D=3D=3D=3D>> 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: ed@FreeBSD.org
> Makefile ident:      $FreeBSD: head/dns/totd/Makefile 300896 2012-07-14 1=
3:54:48Z beat $
> Poudriere version: 3.1-pre
>
> ---Begin Environment---
> UNAME_m=3Di386
> UNAME_p=3Di386
> OSVERSION=3D1000055
> UNAME_v=3DFreeBSD 10.0-CURRENT
> UNAME_r=3D10.0-CURRENT
> BLOCKSIZE=3DK
> MAIL=3D/var/mail/root
> STATUS=3D1
> MASTERMNT=3D/usr/local/poudriere/data/build/head-i386-default/ref
> PKG_EXT=3Dtxz
> tpid=3D63159
> PATH=3D/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/loca=
l/bin:/root/bin
> POUDRIERE_BUILD_TYPE=3Dbulk
> NBPARALLEL=3D24
> PKGNG=3D1
> PKGNAME=3Dtotd-1.5.1_1
> PKG_DELETE=3D/usr/local/sbin/pkg delete -y -f
> PKG_ADD=3D/usr/local/sbin/pkg add
> PWD=3D/root
> MASTERNAME=3Dhead-i386-default
> USER=3Droot
> HOME=3D/root
> POUDRIERE_VERSION=3D3.1-pre
> SKIPSANITY=3D1
> LOCALBASE=3D/usr/local
> PACKAGE_BUILDING=3Dyes
> ---End Environment---
>
> ---Begin OPTIONS List---
> ---End OPTIONS List---
>
> --CONFIGURE_ARGS--
> --prefix=3D/usr/local ${_LATE_CONFIGURE_ARGS}
> --End CONFIGURE_ARGS--
>
> --CONFIGURE_ENV--
> TMPDIR=3D"/tmp" SHELL=3D/bin/sh CONFIG_SHELL=3D/bin/sh CONFIG_SITE=3D/usr=
/ports/Templates/config.site lt_cv_sys_max_cmd_len=3D262144
> --End CONFIGURE_ENV--
>
> --MAKE_ENV--
> TMPDIR=3D"/tmp" SHELL=3D/bin/sh NO_LINT=3DYES PREFIX=3D/usr/local  LOCALB=
ASE=3D/usr/local  LIBDIR=3D"/usr/lib"  CC=3D"cc" CFLAGS=3D"-O2 -pipe -fno-s=
trict-aliasing"  CPP=3D"cpp" CPPFLAGS=3D""  LDFLAGS=3D""  CXX=3D"c++" CXXFL=
AGS=3D"-O2 -pipe -fno-strict-aliasing"  MANPREFIX=3D"/usr/local" BSD_INSTAL=
L_PROGRAM=3D"install  -s -o root -g wheel -m 555"  BSD_INSTALL_LIB=3D"insta=
ll  -s -o root -g wheel -m 444"  BSD_INSTALL_SCRIPT=3D"install  -o root -g =
wheel -m 555"  BSD_INSTALL_DATA=3D"install  -o root -g wheel -m 444"  BSD_I=
NSTALL_MAN=3D"install  -o root -g wheel -m 444"
> --End MAKE_ENV--
>
> --SUB_LIST--
> PREFIX=3D/usr/local
> LOCALBASE=3D/usr/local
> DATADIR=3D/usr/local/share/totd
> DOCSDIR=3D/usr/local/share/doc/totd
> EXAMPLESDIR=3D/usr/local/share/examples/totd
> WWWDIR=3D/usr/local/www/totd
> ETCDIR=3D/usr/local/etc/totd
> --End SUB_LIST--
>
> ---Begin make.conf---
> ARCH=3Di386
> MACHINE=3Di386
> MACHINE_ARCH=3Di386
> USE_PACKAGE_DEPENDS=3Dyes
> BATCH=3Dyes
> WRKDIRPREFIX=3D/wrkdirs
> PACKAGES=3D/packages
> DISTDIR=3D/distfiles
> #### /usr/local/etc/poudriere.d/make.conf ####
> WITH_PKGNG=3Dyes
> NO_RESTRICTED=3Dyes
> DISABLE_MAKE_JOBS=3Dyes
> ---End make.conf---
> =3D=3D=3D>  Cleaning for totd-1.5.1_1
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<pha=
se: check-config   >=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<pha=
se: pkg-depends    >=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> =3D=3D=3D>   totd-1.5.1_1 depends on file: /usr/local/sbin/pkg - not foun=
d
> =3D=3D=3D>    Verifying install for /usr/local/sbin/pkg in /usr/ports/por=
ts-mgmt/pkg
> =3D=3D=3D>   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
> =3D=3D=3D>   Returning to build of totd-1.5.1_1
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<pha=
se: fetch-depends  >=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<pha=
se: fetch          >=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> =3D=3D=3D> Fetching all distfiles required by totd-1.5.1_1 for building
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<pha=
se: checksum       >=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> =3D=3D=3D> Fetching all distfiles required by totd-1.5.1_1 for building
> =3D> SHA256 Checksum OK for totd-1.5.1.tar.gz.
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<pha=
se: extract-depends>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<pha=
se: extract        >=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> =3D=3D=3D> Fetching all distfiles required by totd-1.5.1_1 for building
> =3D=3D=3D>  Extracting for totd-1.5.1_1
> =3D> SHA256 Checksum OK for totd-1.5.1.tar.gz.
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<pha=
se: patch-depends  >=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<pha=
se: patch          >=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> =3D=3D=3D>  Patching for totd-1.5.1_1
> =3D=3D=3D>  Applying extra patch /usr/ports/dns/totd/files/extra-patch-ne=
_mesg.c
> =3D=3D=3D>  Applying extra patch /usr/ports/dns/totd/files/extra-patch-tc=
p_response.c
> =3D=3D=3D>  Applying FreeBSD patches for totd-1.5.1_1
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<pha=
se: build-depends  >=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<pha=
se: lib-depends    >=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<pha=
se: configure      >=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> =3D=3D=3D>  Configuring for totd-1.5.1_1
> =3D=3D=3D>   FreeBSD 10 autotools fix applied to /wrkdirs/usr/ports/dns/t=
otd/work/totd-1.5.1/SWILL-0.1/configure
> =3D=3D=3D>   FreeBSD 10 autotools fix applied to /wrkdirs/usr/ports/dns/t=
otd/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
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<pha=
se: build          >=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> =3D=3D=3D>  Building for totd-1.5.1_1
> cc -O2 -pipe -fno-strict-aliasing -DHAVE_CONFIG_H  -Wall -DTOTCONF=3D\"/u=
sr/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 <te=
rmios.h> instead"
>  ^
> request.c:38:2: warning: implicit declaration of function 'syslog' is inv=
alid 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(qt=
ype));
>                 ^
> request.c:73:27: warning: passing 'u_char [256]' to parameter of type 'co=
nst char *' converts between pointers to integer types with different sign =
[-Wpointer-sign]
>         } else if (len !=3D 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 'c=
har *' converts between pointers to integer types with different sign [-Wpo=
inter-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_c=
har *' (aka 'unsigned char *') converts between pointers to integer types w=
ith 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 *, in=
t *);
>                                   ^
> 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=3D]
> 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
> =3D=3D=3D>  Cleaning for totd-1.5.1_1



--=20
Ed Schouten <ed@80386.nl>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJOYFBBq7TL9b%2BNeYgspGR2qMDTVagsza_z1vrR1L-nFe37Ytw>