From owner-freebsd-ports@FreeBSD.ORG Sat Oct 12 08:46:14 2013 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id BDFB52BD for ; Sat, 12 Oct 2013 08:46:14 +0000 (UTC) (envelope-from dewayne.geraghty@heuristicsystems.com.au) Received: from nschwmtas01p.mx.bigpond.com (nschwmtas01p.mx.bigpond.com [61.9.189.137]) by mx1.freebsd.org (Postfix) with ESMTP id 55CCF2175 for ; Sat, 12 Oct 2013 08:46:13 +0000 (UTC) Received: from nschwcmgw09p ([61.9.190.169]) by nschwmtas01p.mx.bigpond.com with ESMTP id <20131012084613.IXJW26692.nschwmtas01p.mx.bigpond.com@nschwcmgw09p> for ; Sat, 12 Oct 2013 08:46:13 +0000 Received: from hermes.heuristicsystems.com.au ([58.172.113.247]) by nschwcmgw09p with BigPond Outbound id c8mC1m00V5LKYmq018mCvA; Sat, 12 Oct 2013 08:46:13 +0000 X-Authority-Analysis: v=2.0 cv=bcfpoZzB c=1 sm=1 a=YibVxx38Z+cwdCKSMcELyg==:17 a=U2ryP4tRq7gA:10 a=oJmJ0Z6RbhEA:10 a=8nJEP1OIZ-IA:10 a=GHIR_BbyAAAA:8 a=_ypg7ReKbSwA:10 a=tff_f_YsAAAA:8 a=swrTWkNXuofPboXHq7wA:9 a=wPNLvfGTeEIA:10 a=YibVxx38Z+cwdCKSMcELyg==:117 Received: from [10.0.5.1] (black.hs [10.0.5.1]) (authenticated bits=0) by hermes.heuristicsystems.com.au (8.14.5/8.13.6) with ESMTP id r9C8isLY071330 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sat, 12 Oct 2013 19:44:55 +1100 (EST) (envelope-from dewayne.geraghty@heuristicsystems.com.au) Message-ID: <52590C07.9080805@heuristicsystems.com.au> Date: Sat, 12 Oct 2013 19:44:55 +1100 From: Dewayne-remote User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:24.0) Gecko/20100101 Firefox/24.0 SeaMonkey/2.21 MIME-Version: 1.0 To: ports@FREEBSD.ORG Subject: cyrus-sasl2-saslauthd package failure. Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Oct 2013 08:46:14 -0000 While attempting to rebuild all my 500+ ports for servers only, I came across this issue with saslauthd. The installation is successful, but the package assembly fails with: tar: etc/rc.d/saslauthd: Cannot stat: No such file or directory But the file is correctly installed in staging # ls -l /staging/usr/local/etc/rc.d/saslauthd /usr/local/etc/rc.d/saslauthd ls: /usr/local/etc/rc.d/saslauthd: No such file or directory -r-xr-xr-x 1 root wheel 940 Oct 12 19:28 /staging/usr/local/etc/rc.d/saslauthd The command to build is: make __MAKE_CONF=/dev/null DISTDIR=/distfiles WRKDIRPREFIX=/var/ports PACKAGES= /packages STAGEDIR=/staging FAVORITE_COMPILER=gcc DISABLE_LICENSES=yes -DBATCH DEFAULT_VERSIONS=perl5=5.16 python=2.7 python2=2.7 apache=22 clean deinstall package The process succeeds with the build and installation into $STAGEDIR The tail of the log follows: cd /var/ports/usr/ports/security/cyrus-sasl2-saslauthd/work/cyrus-sasl-2.1.26/saslauthd && make saslcache cc -DHAVE_CONFIG_H -DSASLAUTHD_CONF_FILE_DEFAULT=\"/usr/local/etc/saslauthd.conf\" -I. -I. -I.. -I. -I./include -I./include -I./../include -I/usr/include -DKRB5_HEIMDAL -O2 -pipe -nostdinc -I/usr/include -fno-strict-aliasing -MT saslcache.o -MD -MP -MF .deps/saslcache.Tpo -c -o saslcache.o saslcache.c In file included from cache.h:44, from saslcache.c:52: saslauthd.h:190:1: warning: "KRB5_HEIMDAL" redefined : warning: this is the location of the previous definition mv -f .deps/saslcache.Tpo .deps/saslcache.Po cc -O2 -pipe -nostdinc -I/usr/include -fno-strict-aliasing -Wl,-rpath=/usr/lib:/usr/local/lib -L/usr/lib -o saslcache saslcache.o cd /var/ports/usr/ports/security/cyrus-sasl2-saslauthd/work/cyrus-sasl-2.1.26/saslauthd && make testsaslauthd `testsaslauthd' is up to date. ===> Installing for cyrus-sasl-saslauthd-2.1.26 ===> Generating temporary packing list ===> Checking if security/cyrus-sasl2-saslauthd already installed test -z "/usr/local/sbin" || /bin/mkdir -p "/usr/local/sbin" install -s -o root -g wheel -m 555 saslauthd testsaslauthd '/usr/local/sbin' /bin/sh ./config/mkinstalldirs /usr/local/man/man8 install -o root -g wheel -m 444 ./saslauthd.mdoc /usr/local/man/man8/saslauthd.8 ===> Staging rc.d startup script(s) /bin/mkdir -p -m 770 /var/run/saslauthd /usr/sbin/chown cyrus:mail /var/run/saslauthd **************************************************************************** To run saslauthd from startup, add saslauthd_enable="YES" in your /etc/rc.conf. **************************************************************************** ===> Compressing manual pages for cyrus-sasl-saslauthd-2.1.26 ===> Registering installation for cyrus-sasl-saslauthd-2.1.26 ===> SECURITY REPORT: This port has installed the following files which may act as network servers and may therefore pose a remote security risk to the system. /usr/local/sbin/saslauthd This port has installed the following startup scripts which may cause these network services to be started at boot time. /usr/local/etc/rc.d/saslauthd If there are vulnerabilities in these programs there may be a security risk to the system. FreeBSD makes no guarantee about the security of ports included in the Ports Collection. Please type 'make deinstall' to deinstall the port if this is a concern. For more information, and contact details about the security status of this software, see the following webpage: http://cyrusimap.web.cmu.edu/ ===> Building package for cyrus-sasl-saslauthd-2.1.26 tar: etc/rc.d/saslauthd: Cannot stat: No such file or directory tar: Error exit delayed from previous errors. pkg_create: make_dist: tar command failed with code 256 *** [do-package] Error code 1 ------------------------------End of saslauthd log--------------------------------- A similar result is achieved for samba36, samba4, isc-dhcp42-server; viz ===> Building package for isc-dhcp42-server-4.2.5 tar: etc/rc.d/isc-dhcpd: Cannot stat: No such file or directory tar: Error exit delayed from previous errors. pkg_create: make_dist: tar command failed with code 256 *** [do-package] Error code 1 # ls -l /staging/usr/local/etc/rc.d/isc-dhcpd /usr/local/etc/rc.d/isc-dhcpd ls: /usr/local/etc/rc.d/isc-dhcpd: No such file or directory -r-xr-xr-x 1 root wheel 11816 Oct 12 19:39 /staging/usr/local/etc/rc.d/isc-dhcpd I can't see what I need to workaround to avoid this issue? Regards, Dewayne