Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Feb 2016 09:50:07 +0100
From:      =?utf-8?Q?Martin_Waschb=C3=BCsch?= <martin@waschbuesch.de>
To:        ports@FreeBSD.org
Subject:   Re: [exp - 103i386-default-build-as-user][mail/libdomainkeys] Failed for libdomainkeys-0.69 in build
Message-ID:  <A1FC2CA7-444D-46EB-B2F3-BBC5A9BC1E3C@waschbuesch.de>
In-Reply-To: <201602240015.u1O0FCMx014720@package19.nyi.freebsd.org>
References:  <201602240015.u1O0FCMx014720@package19.nyi.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

> Am 24.02.2016 um 01:15 schrieb pkg-fallout@FreeBSD.org:
>=20
> 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.
>=20
> Maintainer:     ports@FreeBSD.org
> Last committer: antoine@FreeBSD.org
> Ident:          $FreeBSD: head/mail/libdomainkeys/Makefile 367514 =
2014-09-07 11:08:57Z antoine $
> Log URL:        =
http://package19.nyi.freebsd.org/data/103i386-default-build-as-user/409446=
/logs/libdomainkeys-0.69.log
> Build URL:      =
http://package19.nyi.freebsd.org/build.html?mastername=3D103i386-default-b=
uild-as-user&build=3D409446
> Log:
>=20
> =3D=3D=3D=3D>> Building mail/libdomainkeys
> build started at Wed Feb 24 00:15:08 UTC 2016
> port directory: /usr/ports/mail/libdomainkeys
> building for: FreeBSD 103i386-default-build-as-user-job-31 10.3-BETA2 =
FreeBSD 10.3-BETA2 i386
> maintained by: ports@FreeBSD.org
> Makefile ident:      $FreeBSD: head/mail/libdomainkeys/Makefile 367514 =
2014-09-07 11:08:57Z antoine $
> Poudriere version: 3.1.12
> Host OSVERSION: 1100097
> Jail OSVERSION: 1002509
>=20
> ---Begin Environment---
> SHELL=3D/bin/csh
> UNAME_p=3Di386
> UNAME_m=3Di386
> UNAME_v=3DFreeBSD 10.3-BETA2
> UNAME_r=3D10.3-BETA2
> BLOCKSIZE=3DK
> MAIL=3D/var/mail/root
> STATUS=3D1
> OPSYS=3DFreeBSD
> ARCH=3Di386
> LINUX_OSRELEASE=3D2.6.32
> SAVED_TERM=3D
> MASTERMNT=3D/poudriere/data/.m/103i386-default-build-as-user/ref
> FORCE_PACKAGE=3Dyes
> =
PATH=3D/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local=
/bin:/root/bin
> _JAVA_VERSION_LIST_REGEXP=3D1.6\|1.7\|1.8\|1.6+\|1.7+\|1.8+
> POUDRIERE_BUILD_TYPE=3Dbulk
> PKGNAME=3Dlibdomainkeys-0.69
> OSREL=3D10.3
> _OSRELEASE=3D10.3-BETA2
> PYTHONBASE=3D/usr/local
> OLDPWD=3D/
> _SMP_CPUS=3D32
> PWD=3D/poudriere/data/.m/103i386-default-build-as-user/ref/.p/pool
> MASTERNAME=3D103i386-default-build-as-user
> SCRIPTPREFIX=3D/usr/local/share/poudriere
> _JAVA_VENDOR_LIST_REGEXP=3Dopenjdk\|oracle\|sun
> USER=3Droot
> HOME=3D/root
> POUDRIERE_VERSION=3D3.1.12
> SCRIPTPATH=3D/usr/local/share/poudriere/bulk.sh
> CONFIGURE_MAX_CMD_LEN=3D262144
> LIBEXECPREFIX=3D/usr/local/libexec/poudriere
> LOCALBASE=3D/usr/local
> PACKAGE_BUILDING=3Dyes
> _JAVA_OS_LIST_REGEXP=3Dnative\|linux
> OSVERSION=3D1002509
> ---End Environment---
>=20
> ---Begin OPTIONS List---
> ---End OPTIONS List---
>=20
> --CONFIGURE_ARGS--
>=20
> --End CONFIGURE_ARGS--
>=20
> --CONFIGURE_ENV--
> XDG_DATA_HOME=3D/wrkdirs/usr/ports/mail/libdomainkeys/work  =
XDG_CONFIG_HOME=3D/wrkdirs/usr/ports/mail/libdomainkeys/work  =
HOME=3D/wrkdirs/usr/ports/mail/libdomainkeys/work TMPDIR=3D"/tmp" =
SHELL=3D/bin/sh CONFIG_SHELL=3D/bin/sh
> --End CONFIGURE_ENV--
>=20
> --MAKE_ENV--
> OPENSSLBASE=3D/usr OPENSSLDIR=3D/etc/ssl OPENSSLINC=3D/usr/include =
OPENSSLLIB=3D/usr/lib =
XDG_DATA_HOME=3D/wrkdirs/usr/ports/mail/libdomainkeys/work  =
XDG_CONFIG_HOME=3D/wrkdirs/usr/ports/mail/libdomainkeys/work  =
HOME=3D/wrkdirs/usr/ports/mail/libdomainkeys/work TMPDIR=3D"/tmp" =
NO_PIE=3Dyes WITHOUT_DEBUG_FILES=3Dyes WITHOUT_KERNEL_SYMBOLS=3Dyes =
SHELL=3D/bin/sh NO_LINT=3DYES PREFIX=3D/usr/local  LOCALBASE=3D/usr/local =
 LIBDIR=3D"/usr/lib"  CC=3D"cc" CFLAGS=3D"-O2 -pipe  -fstack-protector =
-fno-strict-aliasing"  CPP=3D"cpp" CPPFLAGS=3D""  LDFLAGS=3D"  =
-fstack-protector" LIBS=3D""  CXX=3D"c++" CXXFLAGS=3D"-O2 -pipe =
-fstack-protector -fno-strict-aliasing "  MANPREFIX=3D"/usr/local" =
BSD_INSTALL_PROGRAM=3D"install  -s -m 555"  BSD_INSTALL_LIB=3D"install  =
-s -m 444"  BSD_INSTALL_SCRIPT=3D"install  -m 555"  =
BSD_INSTALL_DATA=3D"install  -m 0644"  BSD_INSTALL_MAN=3D"install  -m =
444"
> --End MAKE_ENV--
>=20
> --PLIST_SUB--
> SHLIB_MAJOR=3D"3"
> OSREL=3D10.3
> PREFIX=3D%D
> LOCALBASE=3D/usr/local
> RESETPREFIX=3D/usr/local
> PORTDOCS=3D""
> PORTEXAMPLES=3D""
> LIB32DIR=3Dlib
> DOCSDIR=3D"share/doc/libdomainkeys"
> EXAMPLESDIR=3D"share/examples/libdomainkeys"
> DATADIR=3D"share/libdomainkeys"
> WWWDIR=3D"www/libdomainkeys"
> ETCDIR=3D"etc/libdomainkeys"
> --End PLIST_SUB--
>=20
> --SUB_LIST--
> PREFIX=3D/usr/local
> LOCALBASE=3D/usr/local
> DATADIR=3D/usr/local/share/libdomainkeys
> DOCSDIR=3D/usr/local/share/doc/libdomainkeys
> EXAMPLESDIR=3D/usr/local/share/examples/libdomainkeys
> WWWDIR=3D/usr/local/www/libdomainkeys
> ETCDIR=3D/usr/local/etc/libdomainkeys
> --End SUB_LIST--
>=20
> ---Begin make.conf---
> MACHINE=3Di386
> MACHINE_ARCH=3Di386
> ARCH=3D${MACHINE_ARCH}
> USE_PACKAGE_DEPENDS=3Dyes
> BATCH=3Dyes
> WRKDIRPREFIX=3D/wrkdirs
> PORTSDIR=3D/usr/ports
> PACKAGES=3D/packages
> DISTDIR=3D/distfiles
> #### /usr/local/etc/poudriere.d/make.conf ####
> WITH_PKGNG=3Dyes
> DISABLE_MAKE_JOBS=3Dpoudriere
> ---End make.conf---
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<ph=
ase: check-sanity   >=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=

> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<ph=
ase: 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>   libdomainkeys-0.69 depends on file: /usr/local/sbin/pkg - =
not found
> =3D=3D=3D>   Installing existing package /packages/All/pkg-1.6.4.txz
> [103i386-default-build-as-user-job-31] Installing pkg-1.6.4...
> [103i386-default-build-as-user-job-31] Extracting pkg-1.6.4: =
.......... done
> =3D=3D=3D>   libdomainkeys-0.69 depends on file: /usr/local/sbin/pkg - =
found
> =3D=3D=3D>   Returning to build of libdomainkeys-0.69
> =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=

> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<ph=
ase: 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<ph=
ase: 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 libdomainkeys-0.69 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<ph=
ase: 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 libdomainkeys-0.69 for =
building
> =3D> SHA256 Checksum OK for libdomainkeys-0.69.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<ph=
ase: 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<ph=
ase: 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 libdomainkeys-0.69 for =
building
> =3D=3D=3D>  Extracting for libdomainkeys-0.69
> =3D> SHA256 Checksum OK for libdomainkeys-0.69.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<ph=
ase: 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<ph=
ase: 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 libdomainkeys-0.69
> /bin/mv =
/wrkdirs/usr/ports/mail/libdomainkeys/work/libdomainkeys-0.69/Makefile =
/wrkdirs/usr/ports/mail/libdomainkeys/work/libdomainkeys-0.69/Makefile.pre=
v
> =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=

> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<ph=
ase: 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<ph=
ase: 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<ph=
ase: 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 libdomainkeys-0.69
> =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=

> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<ph=
ase: 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 libdomainkeys-0.69
> Warning: Object directory not changed from original =
/wrkdirs/usr/ports/mail/libdomainkeys/work/libdomainkeys-0.69
> cc  -O2 -pipe  -fstack-protector -fno-strict-aliasing   =
-DBIND_8_COMPAT -I/usr/include -std=3Dgnu99 -Qunused-arguments  =
-fstack-protector   -c dns_txt.c -o dns_txt.o
> dns_txt.c:133:34: warning: passing 'u_char [513]' to parameter of type =
'const char *' converts between pointers to integer types with different =
sign [-Wpointer-sign]
>     return (char *) dk_strdup( buf );
>                                ^~~
> dns_txt.c:19:36: note: passing argument to parameter 's' here
> extern char *dk_strdup(const char *s);
>                                  ^
> 1 warning generated.
> cc  -O2 -pipe  -fstack-protector -fno-strict-aliasing   =
-DBIND_8_COMPAT -I/usr/include -std=3Dgnu99 -Qunused-arguments  =
-fstack-protector   -c domainkeys.c -o domainkeys.o
> domainkeys.c:1077:19: warning: passing 'char *' to parameter of type =
'const unsigned char *' converts between pointers to integer types with =
different sign [-Wpointer-sign]
>       dkhash(dk,&header_line_start[0]);
>                 ^~~~~~~~~~~~~~~~~~~~~
> domainkeys.c:880:49: note: passing argument to parameter 'ptr' here
> static void dkhash(DK *dk, const unsigned char *ptr)
>                                               ^
> domainkeys.c:1080:18: warning: passing 'char [2]' to parameter of type =
'const unsigned char *' converts between pointers to integer types with =
different sign [-Wpointer-sign]
>     dkhash(dk, "\r");
>                ^~~~
> domainkeys.c:880:49: note: passing argument to parameter 'ptr' here
> static void dkhash(DK *dk, const unsigned char *ptr)
>                                               ^
> domainkeys.c:1081:18: warning: passing 'char [2]' to parameter of type =
'const unsigned char *' converts between pointers to integer types with =
different sign [-Wpointer-sign]
>     dkhash(dk, "\n");
>                ^~~~
> domainkeys.c:880:49: note: passing argument to parameter 'ptr' here
> static void dkhash(DK *dk, const unsigned char *ptr)
>                                               ^
> domainkeys.c:1129:20: warning: passing 'char *' to parameter of type =
'const unsigned char *' converts between pointers to integer types with =
different sign [-Wpointer-sign]
>       dkhash(dk, dk->header + i);
>                  ^~~~~~~~~~~~~~
> domainkeys.c:880:49: note: passing argument to parameter 'ptr' here
> static void dkhash(DK *dk, const unsigned char *ptr)
>                                               ^
> domainkeys.c:1133:20: warning: passing 'char [2]' to parameter of type =
'const unsigned char *' converts between pointers to integer types with =
different sign [-Wpointer-sign]
>       dkhash(dk, "\r");
>                  ^~~~
> domainkeys.c:880:49: note: passing argument to parameter 'ptr' here
> static void dkhash(DK *dk, const unsigned char *ptr)
>                                               ^
> domainkeys.c:1134:20: warning: passing 'char [2]' to parameter of type =
'const unsigned char *' converts between pointers to integer types with =
different sign [-Wpointer-sign]
>       dkhash(dk, "\n");
>                  ^~~~
> domainkeys.c:880:49: note: passing argument to parameter 'ptr' here
> static void dkhash(DK *dk, const unsigned char *ptr)
>                                               ^
> domainkeys.c:1285:5: warning: expression result unused; should this =
cast be to 'void'? [-Wunused-value]
>   (void *)dk_headers(dk, dk->headers);
>   ^     ~
> domainkeys.c:1544:18: warning: passing 'char [2]' to parameter of type =
'const unsigned char *' converts between pointers to integer types with =
different sign [-Wpointer-sign]
>     dkhash(dk, "\r");
>                ^~~~
> domainkeys.c:880:49: note: passing argument to parameter 'ptr' here
> static void dkhash(DK *dk, const unsigned char *ptr)
>                                               ^
> domainkeys.c:1545:18: warning: passing 'char [2]' to parameter of type =
'const unsigned char *' converts between pointers to integer types with =
different sign [-Wpointer-sign]
>     dkhash(dk, "\n");
>                ^~~~
> domainkeys.c:880:49: note: passing argument to parameter 'ptr' here
> static void dkhash(DK *dk, const unsigned char *ptr)
>                                               ^
> 9 warnings generated.
> cc  -O2 -pipe  -fstack-protector -fno-strict-aliasing   =
-DBIND_8_COMPAT -I/usr/include -std=3Dgnu99 -Qunused-arguments  =
-fstack-protector   -c dktrace.c -o dktrace.o
> building static domainkeys library
> ranlib -D libdomainkeys.a
> cc -fpic -DPIC  -O2 -pipe  -fstack-protector -fno-strict-aliasing   =
-DBIND_8_COMPAT -I/usr/include -std=3Dgnu99 -Qunused-arguments  =
-fstack-protector   -c dns_txt.c -o dns_txt.So
> dns_txt.c:133:34: warning: passing 'u_char [513]' to parameter of type =
'const char *' converts between pointers to integer types with different =
sign [-Wpointer-sign]
>     return (char *) dk_strdup( buf );
>                                ^~~
> dns_txt.c:19:36: note: passing argument to parameter 's' here
> extern char *dk_strdup(const char *s);
>                                  ^
> 1 warning generated.
> cc -fpic -DPIC  -O2 -pipe  -fstack-protector -fno-strict-aliasing   =
-DBIND_8_COMPAT -I/usr/include -std=3Dgnu99 -Qunused-arguments  =
-fstack-protector   -c domainkeys.c -o domainkeys.So
> domainkeys.c:1077:19: warning: passing 'char *' to parameter of type =
'const unsigned char *' converts between pointers to integer types with =
different sign [-Wpointer-sign]
>       dkhash(dk,&header_line_start[0]);
>                 ^~~~~~~~~~~~~~~~~~~~~
> domainkeys.c:880:49: note: passing argument to parameter 'ptr' here
> static void dkhash(DK *dk, const unsigned char *ptr)
>                                               ^
> domainkeys.c:1080:18: warning: passing 'char [2]' to parameter of type =
'const unsigned char *' converts between pointers to integer types with =
different sign [-Wpointer-sign]
>     dkhash(dk, "\r");
>                ^~~~
> domainkeys.c:880:49: note: passing argument to parameter 'ptr' here
> static void dkhash(DK *dk, const unsigned char *ptr)
>                                               ^
> domainkeys.c:1081:18: warning: passing 'char [2]' to parameter of type =
'const unsigned char *' converts between pointers to integer types with =
different sign [-Wpointer-sign]
>     dkhash(dk, "\n");
>                ^~~~
> domainkeys.c:880:49: note: passing argument to parameter 'ptr' here
> static void dkhash(DK *dk, const unsigned char *ptr)
>                                               ^
> domainkeys.c:1129:20: warning: passing 'char *' to parameter of type =
'const unsigned char *' converts between pointers to integer types with =
different sign [-Wpointer-sign]
>       dkhash(dk, dk->header + i);
>                  ^~~~~~~~~~~~~~
> domainkeys.c:880:49: note: passing argument to parameter 'ptr' here
> static void dkhash(DK *dk, const unsigned char *ptr)
>                                               ^
> domainkeys.c:1133:20: warning: passing 'char [2]' to parameter of type =
'const unsigned char *' converts between pointers to integer types with =
different sign [-Wpointer-sign]
>       dkhash(dk, "\r");
>                  ^~~~
> domainkeys.c:880:49: note: passing argument to parameter 'ptr' here
> static void dkhash(DK *dk, const unsigned char *ptr)
>                                               ^
> domainkeys.c:1134:20: warning: passing 'char [2]' to parameter of type =
'const unsigned char *' converts between pointers to integer types with =
different sign [-Wpointer-sign]
>       dkhash(dk, "\n");
>                  ^~~~
> domainkeys.c:880:49: note: passing argument to parameter 'ptr' here
> static void dkhash(DK *dk, const unsigned char *ptr)
>                                               ^
> domainkeys.c:1285:5: warning: expression result unused; should this =
cast be to 'void'? [-Wunused-value]
>   (void *)dk_headers(dk, dk->headers);
>   ^     ~
> domainkeys.c:1544:18: warning: passing 'char [2]' to parameter of type =
'const unsigned char *' converts between pointers to integer types with =
different sign [-Wpointer-sign]
>     dkhash(dk, "\r");
>                ^~~~
> domainkeys.c:880:49: note: passing argument to parameter 'ptr' here
> static void dkhash(DK *dk, const unsigned char *ptr)
>                                               ^
> domainkeys.c:1545:18: warning: passing 'char [2]' to parameter of type =
'const unsigned char *' converts between pointers to integer types with =
different sign [-Wpointer-sign]
>     dkhash(dk, "\n");
>                ^~~~
> domainkeys.c:880:49: note: passing argument to parameter 'ptr' here
> static void dkhash(DK *dk, const unsigned char *ptr)
>                                               ^
> 9 warnings generated.
> cc -fpic -DPIC  -O2 -pipe  -fstack-protector -fno-strict-aliasing   =
-DBIND_8_COMPAT -I/usr/include -std=3Dgnu99 -Qunused-arguments  =
-fstack-protector   -c dktrace.c -o dktrace.So
> building shared library libdomainkeys.so.3
> cc   -fstack-protector -lcrypto -L/usr/lib -fstack-protector -shared =
-Wl,-x -Wl,--fatal-warnings -Wl,--warn-shared-textrel  -o =
libdomainkeys.so.3 -Wl,-soname,libdomainkeys.so.3  `NM=3D'nm' lorder =
dns_txt.So domainkeys.So dktrace.So | tsort -q`=20
> ./makeheader <domainkeys.c >domainkeys.h
> ./makeheader: not found
> *** Error code 127

This is rather odd, as the Makefile (the library's not the port's) =
reads:

*** snip ***
# $FreeBSD: head/mail/libdomainkeys/files/Makefile 340722 2014-01-22 =
17:00:46Z mat $

LIB =3D   domainkeys
SRCS=3D   dns_txt.c domainkeys.c dktrace.c
INCS=3D   domainkeys.h dktrace.h

SHLIB_MAJOR=3D    3

LIBDIR=3D         ${PREFIX}/lib
INCLUDEDIR=3D     ${PREFIX}/include
CFLAGS+=3D        -DBIND_8_COMPAT -I${OPENSSLBASE}/include
LDFLAGS+=3D       -lcrypto -L${OPENSSLBASE}/lib

NO_PROFILE=3D

makeheader: makeheader.c

domainkeys.h: domainkeys.c makeheader
       ./makeheader <domainkeys.c >domainkeys.h

.include <bsd.lib.mk>
*** snip ***

So, it should have built the target makeheader as a prerequisite for =
domainkeys.h, yet the debug output does not list an attempt to do so.

After installing a clean 10.3 on a VM, I tried this myself and lo and =
behold:

make does not recognize / ignores the build target makeheader.

Even explicitly going into the work directory and typing

make makeheader

yields zero feedback and cleanly exits with code 0.

I don't know what changed in the make environment, but to me, the =
Makefile looks right and it should build.
And on 10.2 (also a fresh install) it does.

Any ideas?

Martin=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?A1FC2CA7-444D-46EB-B2F3-BBC5A9BC1E3C>