NetBSD Problem Report #40519
From www@NetBSD.org Fri Jan 30 14:15:46 2009
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by narn.NetBSD.org (Postfix) with ESMTP id C7C5263BC01
for <gnats-bugs@gnats.netbsd.org>; Fri, 30 Jan 2009 14:15:45 +0000 (UTC)
Message-Id: <20090130141545.5819F63B879@narn.NetBSD.org>
Date: Fri, 30 Jan 2009 14:15:45 +0000 (UTC)
From: polimarco@gmail.com
Reply-To: polimarco@gmail.com
To: gnats-bugs@NetBSD.org
Subject: devel/bugzilla checksetup.pl fails: bugzilla/lib dir missing in installation
X-Send-Pr-Version: www-1.0
>Number: 40519
>Category: pkg
>Synopsis: devel/bugzilla checksetup.pl fails: bugzilla/lib dir missing in installation
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: adrianp
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Jan 30 14:20:00 +0000 2009
>Closed-Date: Tue Feb 03 23:47:15 +0000 2009
>Last-Modified: Tue Feb 03 23:47:15 +0000 2009
>Originator: Marco Poli
>Release: 4.0.1/i386
>Organization:
>Environment:
NetBSD dlab 4.0.1 NetBSD 4.0.1 (GENERIC.MP) #0: Tue Oct 7 23:15:59 PDT 2008 builds@wb30:/home/builds/ab/netbsd-4-0-1-RELEASE/i386/200810080053Z-obj/home/builds/ab/netbsd-4-0-1-RELEASE/src/sys/arch/i386/compile/GENERIC.MP i386
>Description:
The checksetup.pl script shipping with bugzilla is essential for upgrades and verifying the installation process.
The lastest pkgsrc devel/bugzilla3 is not creating the {$PREFIX}/share/bugzilla/lib dir, that is required by the checksetup.pl script to complete successfully.
Running {$PREFIX}/share/bugzilla/checksetup.pl script will result in a:
...
Creating ./Bugzilla/.htaccess...
Creating ./data/.htaccess...
Creating ./data/attachments/.htaccess...
Creating ./data/webdot/.htaccess...
Creating ./lib/.htaccess...
No such file or directory at Bugzilla/Install/Filesystem.pm line 441.
#
And bringing the script to a premature finish, not completing all the tasks needed for an upgrade, for example.
A change in the localconfig file:
$create_htaccess = 0;
solves this issue, but with too much impact on the sysadmin's decision wether or not to use .htaccess files.
No upgrades can be done without this script, considering that it is the piece of code that checks and upgrade the database structure.
>How-To-Repeat:
cd /usr/pkgsrc/devel/bugzilla3
make install
cd /usr/pkg/share/bugzilla
./checksetup.pl
>Fix:
cd /usr/pkg/share/bugzilla
mkdir lib
./checksetup.pl
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->adrianp
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Sat, 31 Jan 2009 10:38:12 +0000
Responsible-Changed-Why:
Over to maintainer
From: Adrian Portelli <adrianp@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/40519 CVS commit: pkgsrc/devel/bugzilla3
Date: Sat, 31 Jan 2009 12:23:27 +0000 (UTC)
Module Name: pkgsrc
Committed By: adrianp
Date: Sat Jan 31 12:23:27 UTC 2009
Modified Files:
pkgsrc/devel/bugzilla3: Makefile PLIST
Log Message:
Various PLIST fixes, should address PR#40519
PKGREVISION++
To generate a diff of this commit:
cvs rdiff -r1.10 -r1.11 pkgsrc/devel/bugzilla3/Makefile
cvs rdiff -r1.4 -r1.5 pkgsrc/devel/bugzilla3/PLIST
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: open->closed
State-Changed-By: adrianp@NetBSD.org
State-Changed-When: Tue, 03 Feb 2009 23:47:15 +0000
State-Changed-Why:
Fixed in pkgsrc HEAD. Thanks for the PR.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.