From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Jul 11 07:30:02 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6EA291065670 for ; Sat, 11 Jul 2009 07:30:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 3D6BB8FC1D for ; Sat, 11 Jul 2009 07:30:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n6B7U2Da045673 for ; Sat, 11 Jul 2009 07:30:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n6B7U2mS045665; Sat, 11 Jul 2009 07:30:02 GMT (envelope-from gnats) Resent-Date: Sat, 11 Jul 2009 07:30:02 GMT Resent-Message-Id: <200907110730.n6B7U2mS045665@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Matthew Seaman Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EDB7910656C8 for ; Sat, 11 Jul 2009 07:23:20 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 3979A8FC16 for ; Sat, 11 Jul 2009 07:23:20 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) by smtp.infracaninophile.co.uk (8.14.3/8.14.3) with ESMTP id n6B7NCQ6020404 for ; Sat, 11 Jul 2009 08:23:12 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost) by happy-idiot-talk.infracaninophile.co.uk (8.14.3/8.14.3/Submit) id n6B7NC4A020403; Sat, 11 Jul 2009 08:23:12 +0100 (BST) (envelope-from matthew) Message-Id: <200907110723.n6B7NC4A020403@happy-idiot-talk.infracaninophile.co.uk> Date: Sat, 11 Jul 2009 08:23:12 +0100 (BST) From: Matthew Seaman To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/136656: [maintainer] www/p5-RT-Authen-ExternalAuth.diff www/p5-RT-Extension-LDAPImport.diff www/p5-RT-Extension-SLA.diff www/p5-RTx-Calendar.diff www/p5-RTx-RightsMatrix.diff www/p5-RTx-Shredder.diff -- Fix for PREFIX problem pointed out by The Restless Daemon X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthew Seaman List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Jul 2009 07:30:02 -0000 >Number: 136656 >Category: ports >Synopsis: [maintainer] www/p5-RT-Authen-ExternalAuth.diff www/p5-RT-Extension-LDAPImport.diff www/p5-RT-Extension-SLA.diff www/p5-RTx-Calendar.diff www/p5-RTx-RightsMatrix.diff www/p5-RTx-Shredder.diff -- Fix for PREFIX problem pointed out by The Restle >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sat Jul 11 07:30:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Matthew Seaman >Release: FreeBSD 7.2-STABLE i386 >Organization: Infracainophile >Environment: System: FreeBSD happy-idiot-talk.infracaninophile.co.uk 7.2-STABLE FreeBSD 7.2-STABLE #0: Sat Jun 13 17:37:55 BST 2009 root@happy-idiot-talk.infracaninophile.co.uk:/usr/obj/usr/src/sys/HAPPY-IDIOT-TALK i386 >Description: QATty said: The Restless Daemon identified a mtree error while trying to build: p5-RT-Authen-ExternalAuth-0.08_1 maintained by m.seaman@infracaninophile.co.uk Makefile ident: $FreeBSD: ports/www/p5-RT-Authen-ExternalAuth/Makefile,v 1.3 2009/05/16 02:33:02 pgollucci 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. [...] >From the config log at http://qatty.tecnik93.com/logs/7-STABLE-FPT-CustDir/p5-RT-Authen-ExternalAuth-0.08_1.log ===> p5-RT-Authen-ExternalAuth-0.08_1 depends on file: /usr/PPP/lib/perl5/site_perl/5.8.9/Net/LDAP.pm - found ===> p5-RT-Authen-ExternalAuth-0.08_1 depends on file: /usr/PPP/lib/perl5/site_perl/5.8.9/RT.pm - found ===> p5-RT-Authen-ExternalAuth-0.08_1 depends on file: /usr/PPP/bin/perl5.8.9 - found ===> Configuring for p5-RT-Authen-ExternalAuth-0.08_1 Cannot determine perl version info from lib/RT/Authen/ExternalAuth.pm Cannot determine author info from lib/RT/Authen/ExternalAuth.pm Cannot determine license info from lib/RT/Authen/ExternalAuth.pm Using RT configuration from /usr/PPP/lib/RT.pm: <<<----*** File doesn't exist ./etc => /usr/PPP/etc/Authen-ExternalAuth <<<----*** wrong ./html => /usr/PPP/html <<<----*** wrong ./lib => /usr/PPP/lib <<<----*** wrong Cannot determine perl version info from lib/RT/Authen/ExternalAuth.pm Checking if your kit is complete... Looks good Writing Makefile for RT::Authen::ExternalAuth ===> Building for p5-RT-Authen-ExternalAuth-0.08_1 The Perl Configure script for these modules gets confused if PREFIX is defined in the environment. Instead of reading the values from ${SITE_PERL}/RT.pm (rt38) or ${LOCALBASE}/rt3/lib/RT.pm (rt36) as it is meant to, it makes up a load of old tosh. This seems to be a problem specific to modules intended as extensions to the RT web interface -- the same fix should probably be applied to www/p5-RTx-Statistics >How-To-Repeat: >Fix: --- p5-RT-Authen-ExternalAuth.diff begins here --- diff -Nur /usr/ports/www/p5-RT-Authen-ExternalAuth/Makefile p5-RT-Authen-ExternalAuth/Makefile --- /usr/ports/www/p5-RT-Authen-ExternalAuth/Makefile 2009-05-18 06:34:31.000000000 +0100 +++ p5-RT-Authen-ExternalAuth/Makefile 2009-07-10 15:04:58.000000000 +0100 @@ -52,7 +52,7 @@ # rather undesirably. do-configure: @cd ${CONFIGURE_WRKSRC} && \ - ${SETENV} ${CONFIGURE_ENV} ${PERL5} -I${RT_PM_DIR} ./${CONFIGURE_SCRIPT} && \ + ${SETENV} -u PREFIX ${CONFIGURE_ENV} ${PERL5} -I${RT_PM_DIR} ./${CONFIGURE_SCRIPT} && \ ${PERL5} -pi -e 's/ doc_(perl|site|\$$\(INSTALLDIRS\))_install$$//' Makefile .include --- p5-RT-Authen-ExternalAuth.diff ends here --- --- p5-RT-Extension-LDAPImport.diff begins here --- diff -Nur /usr/ports/www/p5-RT-Extension-LDAPImport/Makefile p5-RT-Extension-LDAPImport/Makefile --- /usr/ports/www/p5-RT-Extension-LDAPImport/Makefile 2009-07-10 08:46:36.000000000 +0100 +++ p5-RT-Extension-LDAPImport/Makefile 2009-07-10 15:04:07.000000000 +0100 @@ -56,7 +56,7 @@ # rather undesirably. do-configure: @cd ${CONFIGURE_WRKSRC} && \ - ${SETENV} ${CONFIGURE_ENV} ${PERL5} -I${RT_PM_DIR} ./${CONFIGURE_SCRIPT} && \ + ${SETENV} -u PREFIX ${CONFIGURE_ENV} ${PERL5} -I${RT_PM_DIR} ./${CONFIGURE_SCRIPT} && \ ${PERL5} -pi -e 's/ doc_(perl|site|\$$\(INSTALLDIRS\))_install$$//' Makefile .include --- p5-RT-Extension-LDAPImport.diff ends here --- --- p5-RT-Extension-SLA.diff begins here --- diff -Nur /usr/ports/www/p5-RT-Extension-SLA/Makefile p5-RT-Extension-SLA/Makefile --- /usr/ports/www/p5-RT-Extension-SLA/Makefile 2009-06-24 17:53:47.000000000 +0100 +++ p5-RT-Extension-SLA/Makefile 2009-07-10 15:01:27.000000000 +0100 @@ -65,7 +65,7 @@ # rather undesirably. do-configure: @cd ${CONFIGURE_WRKSRC} && \ - ${SETENV} ${CONFIGURE_ENV} ${PERL5} -I${RT_PM_DIR} ./${CONFIGURE_SCRIPT} && \ + ${SETENV} -u PREFIX ${CONFIGURE_ENV} ${PERL5} -I${RT_PM_DIR} ./${CONFIGURE_SCRIPT} && \ ${PERL5} -pi -e 's/ doc_(perl|site|\$$\(INSTALLDIRS\))_install$$//' Makefile post-install: --- p5-RT-Extension-SLA.diff ends here --- --- p5-RTx-Calendar.diff begins here --- diff -Nur /usr/ports/www/p5-RTx-Calendar/Makefile p5-RTx-Calendar/Makefile --- /usr/ports/www/p5-RTx-Calendar/Makefile 2009-05-18 06:34:31.000000000 +0100 +++ p5-RTx-Calendar/Makefile 2009-07-10 15:03:33.000000000 +0100 @@ -53,7 +53,7 @@ # rather undesirably. do-configure: @cd ${CONFIGURE_WRKSRC} && \ - ${SETENV} ${CONFIGURE_ENV} ${PERL5} -I${RT_PM_DIR} ./${CONFIGURE_SCRIPT} && \ + ${SETENV} -u PREFIX ${CONFIGURE_ENV} ${PERL5} -I${RT_PM_DIR} ./${CONFIGURE_SCRIPT} && \ ${PERL5} -pi -e 's/ doc_(perl|site|\$$\(INSTALLDIRS\))_install$$//' Makefile .include --- p5-RTx-Calendar.diff ends here --- --- p5-RTx-RightsMatrix.diff begins here --- diff -Nur /usr/ports/www/p5-RTx-RightsMatrix/Makefile p5-RTx-RightsMatrix/Makefile --- /usr/ports/www/p5-RTx-RightsMatrix/Makefile 2008-12-20 13:10:20.000000000 +0000 +++ p5-RTx-RightsMatrix/Makefile 2009-07-10 15:03:12.000000000 +0100 @@ -33,7 +33,7 @@ # rather undesirably. do-configure: @cd ${CONFIGURE_WRKSRC} && \ - ${SETENV} ${CONFIGURE_ENV} ${PERL5} ./${CONFIGURE_SCRIPT} && \ + ${SETENV} -u PREFIX ${CONFIGURE_ENV} ${PERL5} ./${CONFIGURE_SCRIPT} && \ ${PERL5} -pi -e 's/ doc_(perl|site|\$$\(INSTALLDIRS\))_install$$//' Makefile .include --- p5-RTx-RightsMatrix.diff ends here --- --- p5-RTx-Shredder.diff begins here --- diff -Nur /usr/ports/www/p5-RTx-Shredder/Makefile p5-RTx-Shredder/Makefile --- /usr/ports/www/p5-RTx-Shredder/Makefile 2009-02-16 17:11:30.000000000 +0000 +++ p5-RTx-Shredder/Makefile 2009-07-10 15:02:47.000000000 +0100 @@ -44,7 +44,7 @@ # rather undesirably. do-configure: @cd ${CONFIGURE_WRKSRC} && \ - ${SETENV} ${CONFIGURE_ENV} ${PERL5} ./${CONFIGURE_SCRIPT} && \ + ${SETENV} -u PREFIX ${CONFIGURE_ENV} ${PERL5} ./${CONFIGURE_SCRIPT} && \ ${PERL5} -pi -e 's/ doc_(perl|site|\$$\(INSTALLDIRS\))_install$$//' Makefile .include --- p5-RTx-Shredder.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: ss Daemon