NetBSD Problem Report #18191

Received: (qmail 13016 invoked by uid 605); 6 Sep 2002 00:32:18 -0000
Message-Id: <20020906003211.ADE26255B5@kingu.sfbr.org>
Date: Thu,  5 Sep 2002 19:32:11 -0500 (CDT)
From: MLH@sfbr.org
Sender: gnats-bugs-owner@netbsd.org
Reply-To: MLH@goathill.org
To: gnats-bugs@gnats.netbsd.org
Subject: Zope25 problem
X-Send-Pr-Version: 3.95

>Number:         18191
>Category:       pkg
>Synopsis:       Zope25 problem
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    drochner
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Sep 06 00:33:01 +0000 2002
>Closed-Date:    Fri Aug 01 14:16:26 +0000 2003
>Last-Modified:  Fri Aug 01 14:16:26 +0000 2003
>Originator:     Kent Polk
>Release:        NetBSD 1.6_RC3
>Organization:

>Environment:


System: NetBSD kingu 1.6_RC3 NetBSD 1.6_RC3 (KINGU) #0: Thu Sep 5 12:41:06 CDT 2002 kent@kingu:/opt/syssrc/sys/arch/i386/compile/KINGU i386
Architecture: i386
Machine: i386
>Description:

Zope25 (correctly) installs in /usr/pkg/lib/zope/, however,
zope25-CMF attempts to install into /usr/X11R6/lib/zope/
>How-To-Repeat:
make install of Zope25
make install of Zope25-CMF
===> Installing for zope25-CMF-1.3
(cd /opt/pkgsrc/www/zope25-CMF/work/CMF-1.3; /bin/pax -r -w CMFCalendar /usr/X11R6/lib/zope/lib/python/Produc
pax: Cannot access destination directory /usr/X11R6/lib/zope/lib/python/Products <No such file or directory>


Notes: Much Thanks for updating zope and python-pth.  One comment on Zope25 - I
would suggest that the zope 'var' directory be installed under /var/ or /var/db/
or such in order for it to survive an upgrade. This is a std method of handling
zope instances, and is provided for internally in Zope.

>Fix:
couldn't determine what is causing the confusion

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->drochner 
Responsible-Changed-By: wiz 
Responsible-Changed-When: Thu Sep 5 17:33:50 PDT 2002 
Responsible-Changed-Why:  
drochner imported the zope25 packages. 

From: Matthias Drochner <M.Drochner@fz-juelich.de>
To: MLH@goathill.org
Cc: gnats-bugs@netbsd.org
Subject: Re: pkg/18191: Zope25 problem
Date: Fri, 06 Sep 2002 13:46:37 +0200

 MLH@sfbr.org said:
 > zope25-CMF attempts to install into /usr/X11R6/lib/zope/ 

 This didn't happen for me, probably because I'm using xpkgwedge.
 I believe this can be fixed by providing a default value for
 the Zope installation prefix:

 Index: www/zope25/product.buildlink.mk
 ===================================================================
 RCS file: /cvsroot/pkgsrc/www/zope25/product.buildlink.mk,v
 retrieving revision 1.1
 diff -u -r1.1 product.buildlink.mk
 --- www/zope25/product.buildlink.mk	2002/09/04 14:50:43	1.1
 +++ www/zope25/product.buildlink.mk	2002/09/06 11:13:05
 @@ -3,6 +3,7 @@
  DIST_SUBDIR=	zope
  DEPENDS+=	zope-2.5.*:../../www/zope25
  EVAL_PREFIX+=	BUILDLINK_PREFIX.zope=zope25
 +BUILDLINK_PREFIX.zope_DEFAULT=	${LOCALBASE}
  WRKSRC?=	${WRKDIR}
  NO_BUILD=	yes

 Can you give it a try?

 > One comment on Zope25 - I
 > would suggest that the zope 'var' directory be installed under /var/ or /var/db/
 > or such in order for it to survive an upgrade.

 The var directory in /usr/pkg/lib/zope is not intended as a runtime
 repository - just as a sample to copy an instance from.
 I've started to prepare some scripts (see pkgsrc/zope25/files/*) to
 assist in setting up a Zope instance.
 Setting up such an instance should not be part of the package installation
 because a /usr/pkg tree can be shared by multiple machines.
 Some key piece is still missing - an "install" script which copies the
 necessary parts into a given directory and does the substitutions in
 files/*. I've only run Zope using the builtin webserver up to now,
 but this is suboptimal because passwords are transmitted in cleartext,
 so some installation behind apache might be better. There are various
 methods, and I'm lacking any webserver experience, so I'd leave this
 better to the user or someone who has the necessary clues...
 (I also believe that the server shouldn't run with root priveleges.)

 Perhaps you can give some advise?

 best regards
 Matthias


State-Changed-From-To: open->closed 
State-Changed-By: drochner 
State-Changed-When: Fri Aug 1 14:10:14 UTC 2003 
State-Changed-Why:  
The original issue (EVAL_PREFIX related) is solved for a while. The 
"make it easy to set up a Zope instance" issue which arose in a discussion 
was dealt with by providing a helper script. 
>Unformatted:
 zope25-CMF attempts to install in the wrong directory
 NetBSD 1.6_RC3 cvs checkout on 09/05

NetBSD Home
NetBSD PR Database Search

(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.