q...@freebsd.org wrote:
The Restless Daemon identified a mtree error while trying to build: p5-RT-Extension-SLA-0.03_1 maintained by m.sea...@infracaninophile.co.uk Makefile ident: $FreeBSD: ports/www/p5-RT-Extension-SLA/Makefile,v 1.7 2009/06/22 15:51:50 dhn Exp $THIS A BUILD WITH _CUSTOM_ PREFIX AND LOCALBASE, _standard_ env in rest. Patches for testing and committing welcomed as a reply to this email. 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=list_buildports&build=7-STABLE-FPT-NPD&search_port_name=p5-RT-Extension-SLA PortsMon page for the port: http://portsmon.freebsd.org/portoverview.py?category=www&portname=p5-RT-Extension-SLA See http://docs.freebsd.org/cgi/mid.cgi?20090531085138.5bd9cc21 for some help Excerpt from http://QATty.TecNik93.com/logs/7-STABLE-FPT-CustDir/p5-RT-Extension-SLA-0.03_1.log : 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 ...........................<Last 40 lines of the log>.................. pkg_delete: file '/usr/PPP/share/rt38/plugins/RT-Extension-SLA/lib/RT/Extension/SLA.pm' doesn't exist pkg_delete: file '/usr/PPP/share/rt38/plugins/RT-Extension-SLA/lib/RT/Queue_SLA.pm' doesn't exist pkg_delete: file '/usr/PPP/share/rt38/plugins/RT-Extension-SLA/lib/RT/Extension' 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/Condition' 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/Action' 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' doesn'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' doesn'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?) ================================================================ === 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 ================================================================ build of /usr/ports/www/p5-RT-Extension-SLA ended at Mon Jul 6 18:17:37 UTC 2009 The tarballed WRKDIR can be found here: http://QATty.TecNik93.com/wrkdirs/7-STABLE-FPT-CustDir/p5-RT-Extension-SLA-0.03_1.tbz The build which triggered this BotMail was done under tinderbox-devel-3.2_4; dsversion: 3.2 on RELENG_7 on amd64, kern.smp.cpus: 4 with tinderd_flags="-nullfs -plistcheck -onceonly" and ccache support, with: PREFIX=/usr/PPP, LOCALBASE=/usr/PPP, X11BASE=/usr/PPP. A description of the testing process can be found here: http://T32.TecNik93.com/FreeBSD/QA-Tindy/ 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 deinstall without leaving behind extraneous files. However, if I define PREFIX and LOCALBASE in the environment (as /usr/wombat) I get the observed behaviour:sandbox:...ports/www/p5-RT-Extension-SLA:# make install ===> Installing for p5-RT-Extension-SLA-0.03_1
===> p5-RT-Extension-SLA-0.03_1 depends on file: /usr/wombat/lib/perl5/site_perl/5.10.0/Business/Hours.pm - found ===> p5-RT-Extension-SLA-0.03_1 depends on file: /usr/wombat/lib/perl5/site_perl/5.10.0/RT.pm - found ===> p5-RT-Extension-SLA-0.03_1 depends on file: /usr/wombat/bin/perl5.10.0 - found ===> p5-RT-Extension-SLA-0.03_1 depends on file: /usr/wombat/bin/perl5.10.0 - found ===> Generating temporary packing list ===> 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 need 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. ===> Compressing manual pages for p5-RT-Extension-SLA-0.03_1 ===> Registering installation for p5-RT-Extension-SLA-0.03_1 sandbox:...ports/www/p5-RT-Extension-SLA:# pkg_info -g p5-RT-Extension-SLA-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/SLA.pm doesn't exist pkg_info: /usr/wombat/share/rt38/plugins/RT-Extension-SLA/lib/RT/Action/SLA_SetDefault.pm doesn't exist pkg_info: /usr/wombat/share/rt38/plugins/RT-Extension-SLA/lib/RT/Action/SLA_SetDue.pm doesn't exist pkg_info: /usr/wombat/share/rt38/plugins/RT-Extension-SLA/lib/RT/Action/SLA_SetStarts.pm doesn't exist pkg_info: /usr/wombat/share/rt38/plugins/RT-Extension-SLA/lib/RT/Condition/SLA.pm doesn't exist pkg_info: /usr/wombat/share/rt38/plugins/RT-Extension-SLA/lib/RT/Condition/SLA_RequireDefault.pm doesn't exist pkg_info: /usr/wombat/share/rt38/plugins/RT-Extension-SLA/lib/RT/Condition/SLA_RequireDueSet.pm doesn't exist pkg_info: /usr/wombat/share/rt38/plugins/RT-Extension-SLA/lib/RT/Condition/SLA_RequireStartsSet.pm doesn't exist pkg_info: /usr/wombat/share/rt38/plugins/RT-Extension-SLA/lib/RT/Extension/SLA.pm doesn't exist pkg_info: /usr/wombat/share/rt38/plugins/RT-Extension-SLA/lib/RT/Queue_SLA.pm doesn't existsandbox:...ports/www/p5-RT-Extension-SLA:# env USER=matthew
LOGNAME=matthew HOME=/root MAIL=/home/matthew/Maildir/ PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/wombat/sbin:/usr/wombat/bin:/home/matthew/bin TERM=xterm FTP_PASSIVE_MODE=YES BLOCKSIZE=K LOCALBASE=/usr/wombat PREFIX=/usr/wombat PKG_PATH=/usr/ports/packages/All SHELL=/bin/csh SSH_CLIENT=127.0.0.2 59366 22 SSH_CONNECTION=127.0.0.2 59366 127.0.0.2 22 SSH_TTY=/dev/ttyp4 SSH_AUTH_SOCK=/tmp/ssh-4VSNJ8w1Y4/agent.75153 HOSTTYPE=FreeBSD VENDOR=intel OSTYPE=FreeBSD MACHTYPE=i386 SHLVL=2 PWD=/usr/ports/www/p5-RT-Extension-SLA GROUP=matthew HOST=sandbox.infracaninophile.co.uk REMOTEHOST=127.0.0.2 EDITOR=emacs PAGER=less GPG_TTY=/dev/ttyp4 CVSROOT=/root/cvsroot sandbox:...ports/www/p5-RT-Extension-SLA:# diff -u /usr/src/etc/login.conf /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=md5:\ :copyright=/etc/COPYRIGHT:\ :welcome=/etc/motd:\ - :setenv=MAIL=/var/mail/$,BLOCKSIZE=K,FTP_PASSIVE_MODE=YES:\ - :path=/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/local/bin ~/bin:\ + :setenv=MAIL=/var/mail/$,BLOCKSIZE=K,FTP_PASSIVE_MODE=YES,PKG_PATH=/usr/ports/packages/All,PREFIX=/usr/wombat,LOCALBASE=/usr/wombat:\ + :path=/sbin /bin /usr/sbin /usr/bin /usr/games /usr/wombat/sbin /usr/wombat/bin ~/bin:\ :nologin=/var/run/nologin:\ :cputime=unlimited:\ :datasize=unlimited:\ I'm pretty sure that it should not matter how PREFIX and LOCALBASE are redefined but I have virtually no idea where to start on debugging this. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW
signature.asc
Description: OpenPGP digital signature