Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 07 Jul 2009 16:03:06 +0100
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        QAT@freebsd.org
Cc:        freebsd ports <freebsd-ports@freebsd.org>
Subject:   Re: [Custom LOCALBASE/PREFIX] www/p5-RT-Extension-SLA - fails: mtree
Message-ID:  <4A5363AA.8030407@infracaninophile.co.uk>
In-Reply-To: <20090706181739.D2DB28FCB7@release.ixsystems.com>
References:  <20090706181739.D2DB28FCB7@release.ixsystems.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigBD5463DD6FDF30B7B5592AD6
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: quoted-printable

QAT@freebsd.org wrote:
> The Restless Daemon identified a mtree error while trying to build:
>  p5-RT-Extension-SLA-0.03_1 maintained by m.seaman@infracaninophile.co.=
uk
>  Makefile ident: $FreeBSD: ports/www/p5-RT-Extension-SLA/Makefile,v 1.7=
 2009/06/22 15:51:50 dhn Exp $
>=20
> THIS A BUILD WITH _CUSTOM_ PREFIX AND LOCALBASE, _standard_ env in rest=
=2E
> Patches for testing and committing welcomed as a reply to this email.
>=20
> To check if the latest version port builds OK with
> standard PREFIX/LOCALBASE and with -DNOPORT* please see:
> http://qat.tecnik93.com/index.php?action=3Dlist_buildports&build=3D7-ST=
ABLE-FPT-NPD&search_port_name=3Dp5-RT-Extension-SLA
> PortsMon page for the port:
> http://portsmon.freebsd.org/portoverview.py?category=3Dwww&portname=3Dp=
5-RT-Extension-SLA
>=20
> See http://docs.freebsd.org/cgi/mid.cgi?20090531085138.5bd9cc21 for som=
e help
>=20
> Excerpt from http://QATty.TecNik93.com/logs/7-STABLE-FPT-CustDir/p5-RT-=
Extension-SLA-0.03_1.log :
>=20
> building p5-RT-Extension-SLA-0.03_1 in directory /usr/local/tinderbox/7=
-STABLE-FPT-CustDir
>   build started at Mon Jul  6 18:16:37 UTC 2009
>     port directory: /usr/ports/www/p5-RT-Extension-SLA
> building for:  7.2-STABLE amd64
>=20
> ...........................<Last 40 lines of the log>..................=

>=20
> pkg_delete: file '/usr/PPP/share/rt38/plugins/RT-Extension-SLA/lib/RT/E=
xtension/SLA.pm' doesn't exist
> pkg_delete: file '/usr/PPP/share/rt38/plugins/RT-Extension-SLA/lib/RT/Q=
ueue_SLA.pm' doesn't exist
> pkg_delete: file '/usr/PPP/share/rt38/plugins/RT-Extension-SLA/lib/RT/E=
xtension' doesn't exist
> pkg_delete: unable to completely remove directory '/usr/PPP/share/rt38/=
plugins/RT-Extension-SLA/lib/RT/Extension'
> pkg_delete: file '/usr/PPP/share/rt38/plugins/RT-Extension-SLA/lib/RT/C=
ondition' doesn't exist
> pkg_delete: unable to completely remove directory '/usr/PPP/share/rt38/=
plugins/RT-Extension-SLA/lib/RT/Condition'
> pkg_delete: file '/usr/PPP/share/rt38/plugins/RT-Extension-SLA/lib/RT/A=
ction' doesn't exist
> pkg_delete: unable to completely remove directory '/usr/PPP/share/rt38/=
plugins/RT-Extension-SLA/lib/RT/Action'
> pkg_delete: file '/usr/PPP/share/rt38/plugins/RT-Extension-SLA/lib/RT' =
doesn't exist
> pkg_delete: unable to completely remove directory '/usr/PPP/share/rt38/=
plugins/RT-Extension-SLA/lib/RT'
> pkg_delete: file '/usr/PPP/share/rt38/plugins/RT-Extension-SLA/lib' doe=
sn't exist
> pkg_delete: unable to completely remove directory '/usr/PPP/share/rt38/=
plugins/RT-Extension-SLA/lib'
> pkg_delete: file '/usr/PPP/share/rt38/plugins/RT-Extension-SLA/etc' doe=
sn't exist
> pkg_delete: unable to completely remove directory '/usr/PPP/share/rt38/=
plugins/RT-Extension-SLA/etc'
> pkg_delete: file '/usr/PPP/share/rt38/plugins/RT-Extension-SLA' doesn't=
 exist
> pkg_delete: unable to completely remove directory '/usr/PPP/share/rt38/=
plugins/RT-Extension-SLA'
> pkg_delete: couldn't entirely delete package (perhaps the packing list =
is
> incorrectly specified?)
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>=20
> =3D=3D=3D Checking filesystem state
> list of extra files and directories in / (not present before this port =
was installed but present after it was deinstalled)
> 16723573        4 drwxr-xr-x    2 root             wheel               =
  512 Jul  6 18:17 usr/PPP/etc/Extension-SLA
> 16723575        8 -r--r--r--    1 root             wheel               =
 2191 Feb 17 17:47 usr/PPP/etc/Extension-SLA/initialdata
> 16722051        4 drwxr-xr-x    5 root             wheel               =
  512 Jul  6 18:17 usr/PPP/lib/RT
> 16722275        4 drwxr-xr-x    2 root             wheel               =
  512 Jul  6 18:17 usr/PPP/lib/RT/Action
> 16722290        4 -r--r--r--    1 root             wheel               =
 1440 Feb 17 17:47 usr/PPP/lib/RT/Action/SLA_SetDefault.pm
> 16722292        8 -r--r--r--    1 root             wheel               =
 2357 Apr 20 17:11 usr/PPP/lib/RT/Action/SLA_SetDue.pm
> 16723554        4 -r--r--r--    1 root             wheel               =
  995 Feb 17 17:47 usr/PPP/lib/RT/Action/SLA_SetStarts.pm
> 16723555        4 -r--r--r--    1 root             wheel               =
 1079 Feb 17 17:47 usr/PPP/lib/RT/Action/SLA.pm
> 16722277        4 drwxr-xr-x    2 root             wheel               =
  512 Jul  6 18:17 usr/PPP/lib/RT/Condition
> 16723556        4 -r--r--r--    1 root             wheel               =
  700 Feb 17 17:47 usr/PPP/lib/RT/Condition/SLA_RequireDueSet.pm
> 16723557        4 -r--r--r--    1 root             wheel               =
  651 Feb 17 17:47 usr/PPP/lib/RT/Condition/SLA.pm
> 16723558        4 -r--r--r--    1 root             wheel               =
  510 Feb 17 17:47 usr/PPP/lib/RT/Condition/SLA_RequireDefault.pm
> 16723559        4 -r--r--r--    1 root             wheel               =
  453 Feb 17 17:47 usr/PPP/lib/RT/Condition/SLA_RequireStartsSet.pm
> 16722279        4 drwxr-xr-x    2 root             wheel               =
  512 Jul  6 18:17 usr/PPP/lib/RT/Extension
> 16722285       32 -r--r--r--    1 root             wheel               =
15142 Apr 24 20:59 usr/PPP/lib/RT/Extension/SLA.pm
> 16722280        4 -r--r--r--    1 root             wheel               =
  859 Feb 17 17:47 usr/PPP/lib/RT/Queue_SLA.pm
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> build of /usr/ports/www/p5-RT-Extension-SLA ended at Mon Jul  6 18:17:3=
7 UTC 2009
>=20
> The tarballed WRKDIR can be found here:
> http://QATty.TecNik93.com/wrkdirs/7-STABLE-FPT-CustDir/p5-RT-Extension-=
SLA-0.03_1.tbz
>=20
>=20
> The build which triggered this BotMail was done under
> tinderbox-devel-3.2_4; dsversion: 3.2 on RELENG_7 on amd64, kern.smp.cp=
us: 4
> with tinderd_flags=3D"-nullfs -plistcheck -onceonly" and ccache support=
, with:
> PREFIX=3D/usr/PPP, LOCALBASE=3D/usr/PPP, X11BASE=3D/usr/PPP.
>=20
> A description of the testing process can be found here:
> http://T32.TecNik93.com/FreeBSD/QA-Tindy/
>=20
>=20
> Thanks for your work on making FreeBSD better,

Interesting.  If I define PREFIX and LOCALBASE in /etc/make.conf -- no
problem, everything works smoothly and the port will install and deinstal=
l
without leaving behind extraneous files.

However, if I define PREFIX and LOCALBASE in the environment (as /usr/wom=
bat)
I get the observed behaviour:

sandbox:...ports/www/p5-RT-Extension-SLA:# make install=20
=3D=3D=3D>  Installing for p5-RT-Extension-SLA-0.03_1
=3D=3D=3D>   p5-RT-Extension-SLA-0.03_1 depends on file: /usr/wombat/lib/=
perl5/site_perl/5.10.0/Business/Hours.pm - found
=3D=3D=3D>   p5-RT-Extension-SLA-0.03_1 depends on file: /usr/wombat/lib/=
perl5/site_perl/5.10.0/RT.pm - found
=3D=3D=3D>   p5-RT-Extension-SLA-0.03_1 depends on file: /usr/wombat/bin/=
perl5.10.0 - found
=3D=3D=3D>   p5-RT-Extension-SLA-0.03_1 depends on file: /usr/wombat/bin/=
perl5.10.0 - found
=3D=3D=3D>   Generating temporary packing list
=3D=3D=3D>  Checking if www/p5-RT-Extension-SLA already installed
Installing /usr/wombat/lib/RT/Queue_SLA.pm
Installing /usr/wombat/lib/RT/Extension/SLA.pm
Installing /usr/wombat/lib/RT/Action/SLA_SetDefault.pm
Installing /usr/wombat/lib/RT/Action/SLA_SetDue.pm
Installing /usr/wombat/lib/RT/Action/SLA_SetStarts.pm
Installing /usr/wombat/lib/RT/Action/SLA.pm
Installing /usr/wombat/lib/RT/Condition/SLA_RequireDueSet.pm
Installing /usr/wombat/lib/RT/Condition/SLA.pm
Installing /usr/wombat/lib/RT/Condition/SLA_RequireDefault.pm
Installing /usr/wombat/lib/RT/Condition/SLA_RequireStartsSet.pm
Installing /usr/wombat/man/man3/RT::Condition::SLA_RequireDueSet.3
Installing /usr/wombat/man/man3/RT::Action::SLA_SetDefault.3
Installing /usr/wombat/man/man3/RT::Action::SLA_SetDue.3
Installing /usr/wombat/man/man3/RT::Condition::SLA_RequireDefault.3
Installing /usr/wombat/man/man3/RT::Condition::SLA.3
Installing /usr/wombat/man/man3/RT::Extension::SLA.3
Installing /usr/wombat/man/man3/RT::Condition::SLA_RequireStartsSet.3
Installing /usr/wombat/man/man3/RT::Queue_SLA.3
Installing /usr/wombat/man/man3/RT::Action::SLA_SetStarts.3
Installing /usr/wombat/man/man3/RT::Action::SLA.3
Writing /usr/wombat/man/auto/RT/Extension/SLA/.packlist
Installing /usr/wombat/etc/Extension-SLA/initialdata
/bin/cat /usr/ports/www/p5-RT-Extension-SLA/work/pkg-message

  If this is a first-time installation of RT::Extension::SLA, you will ne=
ed
  to run the following in order to initialise various settings in the RT
  database:

     rt-setup-database --action insert --datafile \
         /usr/wombat/share/rt38/plugins/RT-Extension-SLA/etc/initialdata

  This only ever needs to be run once.
=3D=3D=3D>   Compressing manual pages for p5-RT-Extension-SLA-0.03_1
=3D=3D=3D>   Registering installation for p5-RT-Extension-SLA-0.03_1
sandbox:...ports/www/p5-RT-Extension-SLA:# pkg_info -g p5-RT-Extension-SL=
A-0.03_1
Information for p5-RT-Extension-SLA-0.03_1:

Mismatched Checksums:
pkg_info: /usr/wombat/share/rt38/plugins/RT-Extension-SLA/etc/initialdata=
 doesn't exist
pkg_info: /usr/wombat/share/rt38/plugins/RT-Extension-SLA/lib/RT/Action/S=
LA.pm doesn't exist
pkg_info: /usr/wombat/share/rt38/plugins/RT-Extension-SLA/lib/RT/Action/S=
LA_SetDefault.pm doesn't exist
pkg_info: /usr/wombat/share/rt38/plugins/RT-Extension-SLA/lib/RT/Action/S=
LA_SetDue.pm doesn't exist
pkg_info: /usr/wombat/share/rt38/plugins/RT-Extension-SLA/lib/RT/Action/S=
LA_SetStarts.pm doesn't exist
pkg_info: /usr/wombat/share/rt38/plugins/RT-Extension-SLA/lib/RT/Conditio=
n/SLA.pm doesn't exist
pkg_info: /usr/wombat/share/rt38/plugins/RT-Extension-SLA/lib/RT/Conditio=
n/SLA_RequireDefault.pm doesn't exist
pkg_info: /usr/wombat/share/rt38/plugins/RT-Extension-SLA/lib/RT/Conditio=
n/SLA_RequireDueSet.pm doesn't exist
pkg_info: /usr/wombat/share/rt38/plugins/RT-Extension-SLA/lib/RT/Conditio=
n/SLA_RequireStartsSet.pm doesn't exist
pkg_info: /usr/wombat/share/rt38/plugins/RT-Extension-SLA/lib/RT/Extensio=
n/SLA.pm doesn't exist
pkg_info: /usr/wombat/share/rt38/plugins/RT-Extension-SLA/lib/RT/Queue_SL=
A.pm doesn't exist

sandbox:...ports/www/p5-RT-Extension-SLA:# env=20
USER=3Dmatthew
LOGNAME=3Dmatthew
HOME=3D/root
MAIL=3D/home/matthew/Maildir/
PATH=3D/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/wombat/sbin:/usr/wom=
bat/bin:/home/matthew/bin
TERM=3Dxterm
FTP_PASSIVE_MODE=3DYES
BLOCKSIZE=3DK
LOCALBASE=3D/usr/wombat
PREFIX=3D/usr/wombat
PKG_PATH=3D/usr/ports/packages/All
SHELL=3D/bin/csh
SSH_CLIENT=3D127.0.0.2 59366 22
SSH_CONNECTION=3D127.0.0.2 59366 127.0.0.2 22
SSH_TTY=3D/dev/ttyp4
SSH_AUTH_SOCK=3D/tmp/ssh-4VSNJ8w1Y4/agent.75153
HOSTTYPE=3DFreeBSD
VENDOR=3Dintel
OSTYPE=3DFreeBSD
MACHTYPE=3Di386
SHLVL=3D2
PWD=3D/usr/ports/www/p5-RT-Extension-SLA
GROUP=3Dmatthew
HOST=3Dsandbox.infracaninophile.co.uk
REMOTEHOST=3D127.0.0.2
EDITOR=3Demacs
PAGER=3Dless
GPG_TTY=3D/dev/ttyp4
CVSROOT=3D/root/cvsroot
sandbox:...ports/www/p5-RT-Extension-SLA:# diff -u /usr/src/etc/login.con=
f /etc/login.conf
--- /usr/src/etc/login.conf     2007-05-29 06:37:57.000000000 +0000
+++ /etc/login.conf     2009-07-07 09:23:13.000000000 +0000
@@ -26,8 +26,8 @@
        :passwd_format=3Dmd5:\
        :copyright=3D/etc/COPYRIGHT:\
        :welcome=3D/etc/motd:\
-       :setenv=3DMAIL=3D/var/mail/$,BLOCKSIZE=3DK,FTP_PASSIVE_MODE=3DYES=
:\
-       :path=3D/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin =
/usr/local/bin ~/bin:\
+       :setenv=3DMAIL=3D/var/mail/$,BLOCKSIZE=3DK,FTP_PASSIVE_MODE=3DYES=
,PKG_PATH=3D/usr/ports/packages/All,PREFIX=3D/usr/wombat,LOCALBASE=3D/usr=
/wombat:\
+       :path=3D/sbin /bin /usr/sbin /usr/bin /usr/games /usr/wombat/sbin=
 /usr/wombat/bin ~/bin:\
        :nologin=3D/var/run/nologin:\
        :cputime=3Dunlimited:\
        :datasize=3Dunlimited:\



I'm pretty sure that it should not matter how PREFIX and LOCALBASE are re=
defined
but I have virtually no idea where to start on debugging this.

	Cheers,

	Matthew

--=20
Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey     Ramsgate
                                                  Kent, CT11 9PW


--------------enigBD5463DD6FDF30B7B5592AD6
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEUEAREIAAYFAkpTY7AACgkQ8Mjk52CukIzmdwCXStB3AVF7PBGIbl40EjbR1D4j
KgCeJQeYuKlS+GK7FwxrR9sQLtFxxds=
=mcxH
-----END PGP SIGNATURE-----

--------------enigBD5463DD6FDF30B7B5592AD6--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A5363AA.8030407>