custom prefix, mtree and plist errors :-)

Ion-Mihai Tetcu itetcu at FreeBSD.org
Thu May 28 12:44:57 EDT 2009


On Thu, 28 May 2009 12:24:25 -0400
Joe Marcus Clarke <marcus at marcuscom.com> wrote:

> On Thu, 2009-05-28 at 07:24 +0300, Ion-Mihai Tetcu wrote:
> > Hi,
> > 
> > 
> > I'm (trying to) run a buildwith custom prefix set via env/mybuild
> > file.
> > 
> > The problems is that while I want to catch plist errors
> > (-plistcheck) there are all the mtree dirs left behind and tindy
> > marks the port as failed. 
> > 
> > Is the a way to make it ignore the mtree dirs? I don't want to have
> > to analyze each log by hand.
> 
> As I said on IRC, try adjusting LOCALBASE as well.  The ignores key
> off of LOCALBASE.

Yeh, that I did and it solves the problem.

Now I have an other one, but I don't think it's tindy related:

 # cat /usr/local/tinderbox/scripts/etc/env/build.7-STABLE-FPT-CustDir
export FORCE_PACKAGE=yes
#export NOPORTDOCS=yes
#export NOPORTEXAMPLES=yes
#export NOPORTDATA=yes
export PREFIX=/usr/PPP
export LOCALBASE=/usr/PPP
export X11BASE=/usr/PPP
export DOCSDIR=/usr/DCDIR
export EXAMPLESDIR=/usr/EXDIR
export DATADIR=/usr/DTDIR

Looks like *DIR need to be under prefix, else the plist is wrong, eg:
====================<phase 7: make package>====================
===>  Building package for dmidecode-2.10
Creating package /tmp/packages/All/dmidecode-2.10.tbz
Registering depends:.
Creating bzip'd tar ball in '/tmp/packages/All/dmidecode-2.10.tbz'
Deleting dmidecode-2.10
pkg_delete: file '/usr/PPP//usr/DCDIR' doesn't exist
pkg_delete: unable to completely remove directory '/usr/PPP//usr/DCDIR'
pkg_delete: couldn't entirely delete package (perhaps the packing list is
incorrectly specified?)
================================================================

=== Checking filesystem state
list of extra files and directories in / (not present before this port was installed but present after it was deinstalled)
31042241        4 drwxr-xr-x    2 root             wheel                 512 May 28 14:22 usr/DCDIR
31042245       12 -r--r--r--    1 root             wheel                4705 May 28 14:22 usr/DCDIR/README
31042249       88 -r--r--r--    1 root             wheel               44444 May 28 14:22 usr/DCDIR/CHANGELOG
31042253        4 -r--r--r--    1 root             wheel                1275 May 28 14:22 usr/DCDIR/AUTHORS
================================================================
build of /usr/ports/sysutils/dmidecode ended at Thu May 28 14:22:14 UTC 2009


-- 
IOnut - Un^d^dregistered ;) FreeBSD "user"
  "Intellectual Property" is   nowhere near as valuable   as "Intellect"
FreeBSD committer -> itetcu at FreeBSD.org, PGP Key ID 057E9F8B493A297B
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://marcuscom.com/pipermail/tinderbox-list/attachments/20090528/94648a3b/attachment.bin>


More information about the tinderbox-list mailing list