Subject: pkg/30031: Cannot compile package subversion 1.1.4 on NetBSD 2.0.2
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <woeye@mac.com>
List: pkgsrc-bugs
Date: 04/22/2005 09:28:01
>Number: 30031
>Category: pkg
>Synopsis: Cannot compile package subversion 1.1.4 on NetBSD 2.0.2
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Apr 22 09:28:01 +0000 2005
>Originator: Lars Hoss
>Release: 2.0.2
>Organization:
>Environment:
NetBSD amarok.homeunix.org 2.0.2 NetBSD 2.0.2 (GENERIC) #0: Wed Mar 23 08:53:42 UTC 2005 jmc@faith.netbsd.org:/home/builds/ab/netbsd-2-0-2-RELEASE/i386/200503220140Z-obj/home/builds/ab/netbsd-2-0-2-RELEASE/src/sys/arch/i386/compile/GENERIC i386
>Description:
Tried to install Subversion 1.1.4 from pkgsrc on a fresh install of NetBSD 2.0.2. The build process failes with the following error:
...
Listing /usr/pkg/lib/svn-python/svn ...
Compiling /usr/pkg/lib/svn-python/svn/__init__.py ...
Compiling /usr/pkg/lib/svn-python/svn/client.py ...
Compiling /usr/pkg/lib/svn-python/svn/core.py ...
Compiling /usr/pkg/lib/svn-python/svn/delta.py ...
Compiling /usr/pkg/lib/svn-python/svn/fs.py ...
Compiling /usr/pkg/lib/svn-python/svn/ra.py ...
Compiling /usr/pkg/lib/svn-python/svn/repos.py ...
Compiling /usr/pkg/lib/svn-python/svn/util.py ...
Compiling /usr/pkg/lib/svn-python/svn/wc.py ...
/bin/rm /usr/pkg/lib/python2.3/site-packages/libsvn/*.a
rm: /usr/pkg/lib/python2.3/site-packages/libsvn/*.a: No such file or directory
*** Error code 1
I guess the main problem is the "rm" instruction. Since I've never installed svn-python on this box before the folder /usr/pkg/lib/python2.3/site-packages/libsvn/ does not exists and therefore its content cannot be deleted.
>How-To-Repeat:
1. Install NetBSD 2.0.2
2. Checkout pkgsrc
3. cd /usr/pkgsrc/devel/subversion
4. make install
>Fix:
Before building subversion build and install devel/py-subversion first.