Subject: pkg/31976: www/zope3 does not build on NetBSD 1,6.2
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <ykomatsu@akaumigame.org>
List: pkgsrc-bugs
Date: 11/02/2005 02:25:00
>Number:         31976
>Category:       pkg
>Synopsis:       www/zope3 does not build on NetBSD 1,6.2
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Nov 02 02:25:00 +0000 2005
>Originator:     Yoshito Komatsu
>Release:        NetBSD 1.6.2
>Organization:
>Environment:
System: NetBSD test.ln.akaumigame.org 1.6.2 NetBSD 1.6.2 (GENERIC) #0: Tue Feb 10 21:53:10 UTC 2004 autobuild@tgm.netbsd.org:/autobuild/netbsd-1-6-PATCH002/i386
Architecture: i386
Machine: i386
>Description:
www/zope3 does not build on NetBSD 1.6.2.

 ===> Building for zope3-3.1.0
 /usr/pkg/bin/python2.3 install.py -q build
 Traceback (most recent call last):
   File "install.py", line 28, in ?
     context.initialize()
   File "/tmp/bulktmp/www/zope3/work/Zope-3.1.0/Support/zpkgsetup/setup.py", line 103, in initialize
     self.scan(depname, pkgdir, reldir)
   File "/tmp/bulktmp/www/zope3/work/Zope-3.1.0/Support/zpkgsetup/setup.py", line 191, in scan
     self.scan_package(name, directory, reldir)
   File "/tmp/bulktmp/www/zope3/work/Zope-3.1.0/Support/zpkgsetup/setup.py", line 202, in scan_package
     pkginfo = package.loadPackageInfo(name, directory, reldir)
   File "/tmp/bulktmp/www/zope3/work/Zope-3.1.0/Support/zpkgsetup/package.py", line 100, in loadPackageInfo
     pkginfo = read_package_info(directory, reldir)
   File "/tmp/bulktmp/www/zope3/work/Zope-3.1.0/Support/zpkgsetup/package.py", line 157, in read_package_info
     data_files[:] = expand_globs(directory, reldir, data_files)
   File "/tmp/bulktmp/www/zope3/work/Zope-3.1.0/Support/zpkgsetup/package.py", line 294, in expand_globs
     raise ValueError(
 ValueError: filename pattern '*-configure.zcml' doesn't match any files
 *** Error code 1
>How-To-Repeat:
Build www/zope3 on NetBSD 1.6.2.
>Fix:
Tar cannot extract zope3 tar ball correctly on NetBSD 1.6.2.
We should use GNU tar to extract zope3 tar ball on NetBSD.1.6.2.

--- Makefile.orig       2005-10-24 11:25:20.000000000 +0900
+++ Makefile
@@ -13,6 +13,12 @@ COMMENT=             Zope 3 Application Server

 DEPENDS+=              ${PYPKGPREFIX}-xml>=0.8.3nb1:../../textproc/py-xml

+.include "../../mk/bsd.prefs.mk"
+
+.if !empty(MACHINE_PLATFORM:MNetBSD-1.6*)
+EXTRACT_USING=         gtar
+.endif
+
 HAS_CONFIGURE=         yes
 CONFIGURE_ARGS+=       --with-python ${PYTHONBIN} \
                        --prefix ${PREFIX}/share/zope3 \