Bug 179601 - Poudriere cannot build sysutils/cdrtools
Summary: Poudriere cannot build sysutils/cdrtools
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Bryan Drewery
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-16 00:40 UTC by Shawn Webb
Modified: 2014-03-30 18:40 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Shawn Webb 2013-06-16 00:40:00 UTC
Poudriere cannot build cdrtools. Error log below:

====>> Building sysutils/cdrtools
build started at Sat Jun 15 04:42:01 EDT 2013
port directory: /usr/ports/sysutils/cdrtools
building for: FreeBSD 90amd64-local-job-03 9.1-STABLE FreeBSD 9.1-STABLE amd64
maintained by: marius@FreeBSD.org
ident warning: no id keywords in /tank/poudriere/jails/data/build/90amd64-local/ref/../03//usr/ports/sysutils/cdrtools/Makefile
Makefile ident: 
Poudriere version: 3.0.3

---Begin Environment---
OSVERSION=901504
UNAME_v=FreeBSD 9.1-STABLE
UNAME_r=9.1-STABLE
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
MASTERMNT=/tank/poudriere/jails/data/build/90amd64-local/ref
PKG_EXT=txz
FORCE_PACKAGE=yes
tpid=25157
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin
POUDRIERE_BUILD_TYPE=bulk
NBPARALLEL=8
PKGNG=1
PKGNAME=cdrtools-3.00_2
PKG_DELETE=/usr/local/sbin/pkg delete -y -f
PKG_ADD=/usr/local/sbin/pkg add
PWD=/usr/local/etc/poudriere.d/ports
MASTERNAME=90amd64-local
USER=root
HOME=/root
POUDRIERE_VERSION=3.0.3
SKIPSANITY=1
LOCALBASE=/usr/local
PACKAGE_BUILDING=yes
---End Environment---

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

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
TMPDIR="/tmp" TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh MAKE=gmake
--End CONFIGURE_ENV--

--MAKE_ENV--
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin CCOM=cc GMAKE_NOWARN=true INS_BASE=/usr/local  INS_RBASE=/usr/local TMPDIR="/tmp" OSDEFS=-I/usr/local/include TMPDIR="/tmp" SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local  LOCALBASE=/usr/local  MOTIFLIB="-L/usr/local/lib -lXm -lXp" 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/cdrtools
DOCSDIR=/usr/local/share/doc/cdrtools
EXAMPLESDIR=/usr/local/share/examples/cdrtools
WWWDIR=/usr/local/www/cdrtools
ETCDIR=/usr/local/etc/cdrtools
--End SUB_LIST--

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PACKAGES=/packages
DISTDIR=/distfiles
#### /usr/local/etc/poudriere.d/90amd64-make.conf ####
WITH_PKGNG=yes
DISABLE_MAKE_JOBS=yes
---End make.conf---
===>  Cleaning for cdrtools-3.00_2
=======================<phase: check-config   >============================
=========================================================================
=======================<phase: pkg-depends    >============================
===>   cdrtools-3.00_2 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.0.13.txz
Installing pkg-1.0.13... done
If you are upgrading from the old package format, first run:

  # pkg2ng
===>   Returning to build of cdrtools-3.00_2
=========================================================================
=======================<phase: fetch-depends  >============================
=========================================================================
=======================<phase: fetch          >============================

You may use the following build option(s):

WITH_CDDA2MP3=yes	builds with cdda2mp3 (requires audio/lame)
WITH_CDDA2OGG=yes	builds with cdda2ogg (requires audio/vorbis-tools)
WITH_RSCSI=yes		builds with the rscsi daemon which provides access to
			local SCSI-devices over the network (the client-side
			in cdda2wav, cdrecord, etc. is built unconditionally).
			BEWARE:	The rscsi binary will be installed suid root
				as this is the preferred way of setting it up.

===> Fetching all distfiles required by cdrtools-3.00_2 for building
=========================================================================
=======================<phase: checksum       >============================

You may use the following build option(s):

WITH_CDDA2MP3=yes	builds with cdda2mp3 (requires audio/lame)
WITH_CDDA2OGG=yes	builds with cdda2ogg (requires audio/vorbis-tools)
WITH_RSCSI=yes		builds with the rscsi daemon which provides access to
			local SCSI-devices over the network (the client-side
			in cdda2wav, cdrecord, etc. is built unconditionally).
			BEWARE:	The rscsi binary will be installed suid root
				as this is the preferred way of setting it up.

===> Fetching all distfiles required by cdrtools-3.00_2 for building
=> SHA256 Checksum OK for cdrtools-3.00.tar.bz2.
=========================================================================
=======================<phase: extract-depends>============================
=========================================================================
=======================<phase: extract        >============================

You may use the following build option(s):

WITH_CDDA2MP3=yes	builds with cdda2mp3 (requires audio/lame)
WITH_CDDA2OGG=yes	builds with cdda2ogg (requires audio/vorbis-tools)
WITH_RSCSI=yes		builds with the rscsi daemon which provides access to
			local SCSI-devices over the network (the client-side
			in cdda2wav, cdrecord, etc. is built unconditionally).
			BEWARE:	The rscsi binary will be installed suid root
				as this is the preferred way of setting it up.

===> Fetching all distfiles required by cdrtools-3.00_2 for building
===>  Extracting for cdrtools-3.00_2
=> SHA256 Checksum OK for cdrtools-3.00.tar.bz2.
cp: failed to set acl entries for /wrkdirs/usr/ports/sysutils/cdrtools/work/cdrtools-3.00/autoconf/config.guess: Operation not supported
*** [post-extract] Error code 1

Stop in /usr/ports/sysutils/cdrtools.
===>  Cleaning for cdrtools-3.00_2
build of /usr/ports/sysutils/cdrtools ended at Sat Jun 15 04:42:05 EDT 2013
build time: 00:00:04

How-To-Repeat: Set up Poudriere to build sysutils/cdrtools in a 9-stable jail. Perform the build.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-06-16 00:40:08 UTC
Responsible Changed
From-To: freebsd-ports-bugs->marius

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 marius 2013-06-23 17:53:48 UTC
Well, apparently this problem is triggered by the port employing the '-p'
flag of cp(1) when manually (given that GNU_CONFIGURE cannot be used
in this case) copying config.guess and config.sub over:
post-extract:
.for i in config.guess config.sub
.for j in autoconf conf cdda2wav
	@${CP} -fp ${PORTSDIR}/Templates/${i} ${WRKSRC}/${j}
.endfor
.endfor

Removing that flag likely will work around this issue. However, it's
unclear to me why copying ACLs (among others) over fails in the first
place in this environment, which suggests a bug in poudriere or the
setup used for it. I wrote an email regarding this to bapt@ but got
no reply so far, unfortunately.

Marius
Comment 3 Marius Strobl freebsd_committer freebsd_triage 2013-09-08 12:36:23 UTC
Responsible Changed
From-To: marius->bapt

Assign to bapt; while I can work around the issue in the port, the real 
problem seems to be with poudriere or the environment used for it.
Comment 4 Mark Linimon freebsd_committer freebsd_triage 2014-03-29 04:35:02 UTC
Responsible Changed
From-To: bapt->bdrewery

Over to new maintainer.
Comment 5 Bryan Drewery freebsd_committer freebsd_triage 2014-03-30 15:58:20 UTC
Can you try again please? It works for me in a 10 jail.

-- 
Regards,
Bryan Drewery
Comment 6 Bryan Drewery freebsd_committer freebsd_triage 2014-03-30 15:59:03 UTC
State Changed
From-To: open->feedback
Comment 7 Shawn Webb 2014-03-30 18:38:51 UTC
On Mar 30, 2014 09:58 AM -0500, Bryan Drewery wrote:
> Can you try again please? It works for me in a 10 jail.

It's working for me on 11-CURRENT now.
Comment 8 Bryan Drewery freebsd_committer freebsd_triage 2014-03-30 18:39:50 UTC
State Changed
From-To: feedback->closed

Cannot reproduce, submitter confirms.