Bug 170542

Summary: sysutils/bsdadminscripts does not build correctly in my tinderbox
Product: Ports & Packages Reporter: rainer
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description rainer 2012-08-11 21:10:03 UTC
building bsdadminscripts-6.1.1_1 in directory /usr/local/tinderbox/9.0-amd64-current-php5-mysql55
build started at Fri Aug 10 12:49:03 UTC 2012
port directory: /usr/ports/sysutils/bsdadminscripts
building for:  9.0-RELEASE-p3 amd64
maintained by: kamikaze@bsdforen.de
Makefile ident: $FreeBSD: ports/sysutils/bsdadminscripts/Makefile,v 1.25 2011/07/18 10:06:50 rea Exp $
prefixes: LOCALBASE=usr/local PREFIX=/usr/local
Begin Configuration:
---Begin Environment---
INDEXFILE=INDEX-9
PORT_DBDIR=/var/db/ports
ARCH=amd64
PORTOBJFORMAT=elf
X_WINDOW_SYSTEM=xorg
PAGER=more
DISTFILE_URI=
APACHE_PORT=www/apache22-worker-mpm
TIMEOUT=7200
CCACHE_ENABLED=1
FTP_PASSIVE_MODE=yes
NOPORTDOCS=yes
MASTER_SITE_OVERRIDE=file:///distcache/${DIST_SUBDIR}/ 
OPTIONS_ENABLED=1
WITHOUT_X=yes
LOADER_BZIP2_SUPPORT=yes
SUEXEC_GIDMIN=80
__MKLVL__=1
LOADER_TFTP_SUPPORT=yes
DISTCACHE=/distcache
PATH=/opt:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin
pb=/usr/local/tinderbox
HTTP_TIMEOUT=900
PACKAGES=/tmp/packages
LOG_DIRECTORY=
HAVE_MOTIF=1
PKGSUFFIX=.tbz
BATCH=1
FD_SETSIZE=16384U
__DSVERSION__=3.3
OSREL=9.0
CCACHE_DIR=/ccache
LOG_COMPRESSLOGS=0
defaultUpdateType=CSUP
OLDPWD=/
DISTFILE_CACHE=10.168.63.150:/lowiopool/tinderbox-distfilecache
USA_RESIDENT=YES
DEFAULT_PGSQL_VER=91
WRKDIRPREFIX=/work
BRANCH=RELEASE-p3
defaultUpdateHost=localhost
PWD=/usr/ports/sysutils/bsdadminscripts
HOST_WORKDIR=
OPTIONS_DIR=/options
WITHOUT_X11=yes
DEFAULT_PHP_VER=53
PKGZIPCMD=bzip2
USER=root
INSTALL_NODEBUG=yes
DISTDIR=/tmp/distfiles
HOME=/root
CCACHE_JAIL=0
WITH_UTF8=yes
LOG_DOCOPY=0
A4=yes
CCACHE_MAX_SIZE=10G
SUEXEC_UIDMIN=80
CCACHE_NOLINK=1
TINDERD_SLEEPTIME=120
UNAME_n=tinderbox.host
FTP_TIMEOUT=900
TINDERD_LOGFILE=/dev/null
PARALLEL_PACKAGE_BUILD=1
DEFAULT_MYSQL_VER=55
CCACHE_LOGFILE=
UNAME_r=9.0-RELEASE-p3
LOCALBASE=/usr/local
UNAME_s=FreeBSD
PACKAGE_BUILDING=1
NO_PROFILE=true
NET_SNMP_SYS_LOCATION=eSpace
PERL_VERSION=5.12.4
SUEXEC_DOCROOT=/home
OSVERSION=900044
UNAME_v=FreeBSD 9.0-RELEASE-p3 #0: Fri Aug 10 14:43:07 CEST 2012    root@tinderbox.host:/usr/src/sys/magic/kernel/path
BLOCKSIZE=K
---End Environment---

---Begin OPTIONS List---
---End OPTIONS List---

End Configuration.
FETCH_DEPENDS=
PATCH_DEPENDS=
EXTRACT_DEPENDS=
BUILD_DEPENDS=
RUN_DEPENDS=
TEST_DEPENDS=
add_pkg
================================================================
====================<phase 1: make checksum>====================
=> bsdadminscripts-6.1.1.tar.gz doesn't seem to exist in /tmp/distfiles/.
=> Attempting to fetch file:///distcache//bsdadminscripts-6.1.1.tar.gz
bsdadminscripts-6.1.1.tar.gz                            72 kB   14 MBps
=> SHA256 Checksum OK for bsdadminscripts-6.1.1.tar.gz.
================================================================
====================<phase 2: make extract>====================
add_pkg
===>  Extracting for bsdadminscripts-6.1.1_1
=> SHA256 Checksum OK for bsdadminscripts-6.1.1.tar.gz.
================================================================
====================<phase 3: make patch>====================
add_pkg
===>  Patching for bsdadminscripts-6.1.1_1
===>  Applying FreeBSD patches for bsdadminscripts-6.1.1_1
================================================================
====================<phase 4: make build>====================
add_pkg
===>  Configuring for bsdadminscripts-6.1.1_1
================================================================
====================<phase 5: make test>====================
pkg_info: no packages installed
add_pkg
pkg_info: no packages installed
make: don't know how to make regression-test(continuing)
1 error
================================================================
====================<phase 6: make install>====================
add_pkg
===>  Installing for bsdadminscripts-6.1.1_1
===>   Generating temporary packing list
===>  Checking if sysutils/bsdadminscripts already installed
Unknown parameter 'yes'.
installing: %%MAN%%/man1/bsdadminscripts.1.gz
eval: bsdadminscripts.1: not found
installing: %%DATADIR%%/buildflags.awk
eval: buildflags.awk: not found
installing: %%PREFIX%%/etc/buildflags.conf.sample
eval: buildflags.conf.sample: not found
installing: %%DATADIR%%/buildflags.mk
eval: buildflags.mk: not found
installing: %%MAN%%/man1/buildflags.awk.1.gz
eval: buildflags.awk.1: not found
installing: %%MAN%%/man1/buildflags.conf.1.gz
eval: buildflags.conf.1: not found
installing: %%MAN%%/man1/buildflags.mk.1.gz
eval: buildflags.mk.1: not found
installing: %%PREFIX%%/sbin/distviper
eval: distviper: not found
installing: %%MAN%%/man1/distviper.1.gz
eval: distviper.1: not found
installing: %%PREFIX%%/sbin/pkg_libchk
eval: pkg_libchk: not found
installing: %%MAN%%/man1/pkg_libchk.1.gz
eval: pkg_libchk.1: not found
installing: %%PREFIX%%/sbin/pkg_upgrade
eval: pkg_upgrade: not found
installing: %%MAN%%/man1/pkg_upgrade.1.gz
eval: pkg_upgrade.1: not found
installing: %%PREFIX%%/sbin/pkg_validate
eval: pkg_validate: not found
installing: %%MAN%%/man1/pkg_validate.1.gz
eval: pkg_validate.1: not found
installing: %%PREFIX%%/sbin/portconfig
eval: portconfig: not found
installing: %%MAN%%/man1/portconfig.1.gz
eval: portconfig.1: not found
installing: %%PREFIX%%/sbin/rcstart
eval: rcstart: not found
installing: %%MAN%%/man1/rcstart.1.gz
eval: rcstart.1: not found
installing: %%PREFIX%%/sbin/uma
eval: uma: not found
installing: %%MAN%%/man1/uma.1.gz
eval: uma.1: not found
installing: %%PREFIX%%/etc/uma.conf.sample
eval: uma.conf.sample: not found
hardlinking: %%PREFIX%%/sbin/rcstart -> %%PREFIX%%/sbin/rcstatus
hardlinking: %%PREFIX%%/sbin/rcstart -> %%PREFIX%%/sbin/rcstop
hardlinking: %%PREFIX%%/sbin/rcstart -> %%PREFIX%%/sbin/rcrestart
hardlinking: %%PREFIX%%/sbin/rcstart -> %%PREFIX%%/sbin/rconestart
hardlinking: %%PREFIX%%/sbin/rcstart -> %%PREFIX%%/sbin/rconestatus
hardlinking: %%PREFIX%%/sbin/rcstart -> %%PREFIX%%/sbin/rconestop
hardlinking: %%PREFIX%%/sbin/rcstart -> %%PREFIX%%/sbin/rconerestart
hardlinking: %%PREFIX%%/sbin/portconfig -> %%PREFIX%%/sbin/portbuild
hardlinking: %%PREFIX%%/sbin/portconfig -> %%PREFIX%%/sbin/portclean
hardlinking: %%PREFIX%%/sbin/portconfig -> %%PREFIX%%/sbin/portfetch
hardlinking: %%PREFIX%%/sbin/portconfig -> %%PREFIX%%/sbin/portpackage
hardlinking: %%PREFIX%%/sbin/portconfig -> %%PREFIX%%/sbin/portconfig-recursive
hardlinking: %%PREFIX%%/sbin/portconfig -> %%PREFIX%%/sbin/portfetch-recursive
===>   Registering installation for bsdadminscripts-6.1.1_1
================================================================
====================<phase 7: make package>====================
===>  Building package for bsdadminscripts-6.1.1_1
tar: share/bsdadminscripts/buildflags.awk: Cannot stat: No such file or directory
tar: etc/buildflags.conf.sample: Cannot stat: No such file or directory
tar: share/bsdadminscripts/buildflags.mk: Cannot stat: No such file or directory
tar: sbin/distviper: Cannot stat: No such file or directory
tar: sbin/pkg_libchk: Cannot stat: No such file or directory
tar: sbin/pkg_upgrade: Cannot stat: No such file or directory
tar: sbin/pkg_validate: Cannot stat: No such file or directory
tar: sbin/portconfig: Cannot stat: No such file or directory
tar: sbin/rcstart: Cannot stat: No such file or directory
tar: sbin/uma: Cannot stat: No such file or directory
tar: etc/uma.conf.sample: Cannot stat: No such file or directory
tar: sbin/rcstatus: Cannot stat: No such file or directory
tar: sbin/rcstop: Cannot stat: No such file or directory
tar: sbin/rcrestart: Cannot stat: No such file or directory
tar: sbin/rconestart: Cannot stat: No such file or directory
tar: sbin/rconestatus: Cannot stat: No such file or directory
tar: sbin/rconestop: Cannot stat: No such file or directory
tar: sbin/rconerestart: Cannot stat: No such file or directory
tar: sbin/portbuild: Cannot stat: No such file or directory
tar: sbin/portclean: Cannot stat: No such file or directory
tar: sbin/portfetch: Cannot stat: No such file or directory
tar: sbin/portpackage: Cannot stat: No such file or directory
tar: sbin/portconfig-recursive: Cannot stat: No such file or directory
tar: sbin/portfetch-recursive: Cannot stat: No such file or directory
tar: Error exit delayed from previous errors.
pkg_create: make_dist: tar command failed with code 256
*** Error code 1

Stop in /a/ports/sysutils/bsdadminscripts.
Deleting bsdadminscripts-6.1.1_1
pkg_delete: file '/usr/local/share/bsdadminscripts/buildflags.awk' doesn't exist
pkg_delete: file '/usr/local/etc/buildflags.conf.sample' doesn't exist
pkg_delete: file '/usr/local/share/bsdadminscripts/buildflags.mk' doesn't exist
pkg_delete: file '/usr/local/sbin/distviper' doesn't exist
pkg_delete: file '/usr/local/sbin/pkg_libchk' doesn't exist
pkg_delete: file '/usr/local/sbin/pkg_upgrade' doesn't exist
pkg_delete: file '/usr/local/sbin/pkg_validate' doesn't exist
pkg_delete: file '/usr/local/sbin/portconfig' doesn't exist
pkg_delete: file '/usr/local/sbin/rcstart' doesn't exist
pkg_delete: file '/usr/local/sbin/uma' doesn't exist
pkg_delete: file '/usr/local/etc/uma.conf.sample' doesn't exist
pkg_delete: file '/usr/local/sbin/rcstatus' doesn't exist
pkg_delete: file '/usr/local/sbin/rcstop' doesn't exist
pkg_delete: file '/usr/local/sbin/rcrestart' doesn't exist
pkg_delete: file '/usr/local/sbin/rconestart' doesn't exist
pkg_delete: file '/usr/local/sbin/rconestatus' doesn't exist
pkg_delete: file '/usr/local/sbin/rconestop' doesn't exist
pkg_delete: file '/usr/local/sbin/rconerestart' doesn't exist
pkg_delete: file '/usr/local/sbin/portbuild' doesn't exist
pkg_delete: file '/usr/local/sbin/portclean' doesn't exist
pkg_delete: file '/usr/local/sbin/portfetch' doesn't exist
pkg_delete: file '/usr/local/sbin/portpackage' doesn't exist
pkg_delete: file '/usr/local/sbin/portconfig-recursive' doesn't exist
pkg_delete: file '/usr/local/sbin/portfetch-recursive' doesn't exist
pkg_delete: file '/usr/local/share/bsdadminscripts' doesn't exist
pkg_delete: unable to completely remove directory '/usr/local/share/bsdadminscripts'
pkg_delete: couldn't entirely delete package `bsdadminscripts-6.1.1_1'
(perhaps the packing list is incorrectly specified?)

=== Checking filesystem state

=== Checking filesystem state after all packages deleted
================================================================
build of /usr/ports/sysutils/bsdadminscripts ended at Fri Aug 10 12:49:10 UTC 2012

How-To-Repeat: maybe it's because 
NOPORTDOCS=yes

I build without docs on my tinderbox.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2012-08-11 21:10:11 UTC
Maintainer of sysutils/bsdadminscripts,

Please note that PR ports/170542 has just been submitted.

If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.

The full text of the PR can be found at:
    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/170542

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2012-08-11 21:10:13 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 3 Jason Helfman freebsd_committer freebsd_triage 2013-03-05 07:35:35 UTC
State Changed
From-To: feedback->closed

symptom of ports/174590
Comment 4 dfilter service freebsd_committer freebsd_triage 2013-03-05 07:40:53 UTC
Author: jgh
Date: Tue Mar  5 07:40:45 2013
New Revision: 313441
URL: http://svnweb.freebsd.org/changeset/ports/313441

Log:
  - fix NOPORTDOCS installation
  - while here tighten COMMENT and adoption of optionsNG for DOCS
  
  PR:		174590
  PR:		170542
  Submitted by:	olivier@gid0.org
  Approved by:	maintainer timeout, kamikaze@bsdforen.de ( 75 days )

Modified:
  head/sysutils/bsdadminscripts/Makefile

Modified: head/sysutils/bsdadminscripts/Makefile
==============================================================================
--- head/sysutils/bsdadminscripts/Makefile	Tue Mar  5 07:26:03 2013	(r313440)
+++ head/sysutils/bsdadminscripts/Makefile	Tue Mar  5 07:40:45 2013	(r313441)
@@ -8,15 +8,15 @@ CATEGORIES=	sysutils ports-mgmt
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}
 
 MAINTAINER=	kamikaze@bsdforen.de
-COMMENT=	A collection of administration scripts
+COMMENT=	Collection of administration scripts
 
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}/src
 NO_BUILD=	yes
 MANCOMPRESSED=	yes
 
-.if defined(NOPORTDOCS)
-NOPORTDOCS=	-nodoc
-.else
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MDOCS}
 MAN1=		bsdadminscripts.1 \
 		buildflags.mk.1 buildflags.conf.1 buildflags.awk.1 \
 		distviper.1 \
@@ -32,6 +32,8 @@ PORT_SCRIPTS=	build clean fetch package 
 		config-recursive fetch-recursive
 MLINKS+=	${RC_SCRIPTS:S,^,rc,:S,$,.1,:S,^,rcstart.1 ,} \
 		${PORT_SCRIPTS:S,^,port,:S,$,.1,:S,^,portconfig.1 ,}
+.else
+EVALDOCS=           -nodoc
 .endif
 
 plist: patch
@@ -41,6 +43,6 @@ plist: patch
 do-install:
 	@cd ${WRKSRC}; ./install.sh \
 		-prefix=${PREFIX} -ports=${PORTSDIR} -distdir=${DISTDIR}  \
-		-datadir=${DATADIR} ${NOPORTDOCS}
+		-datadir=${DATADIR} ${EVALDOCS}
 
 .include <bsd.port.mk>
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"