Subject: Problems Building devel/subversion
To: None <tech-pkg@NetBSD.org>
From: None <tnoell@lexmark.com>
List: tech-pkg
Date: 02/16/2006 17:32:34
Hi tech-pkg and Eric G.:

I am having trouble building the devel/subversion package in pkgsrc.

Host is Red Hat Enterprise Workstation 3 Update 6

pkgsrc metadata is as of 2/7/06.

(see bmake install output below)
It looks like devel/subversion DEPENDS on devel/p5-subversion, which in
turn includes subversion/buildlink3.mk (BUILDLINK_DEPENDS on it).
As you can see, p5-subversion doesn't find subversion, and that causes
subversion-base to be installed a second time.  pkgsrc says no, and it
fails.
Seems like subversion shouldn't cause subversion-base to be reinstalled if
it is already installed, but I don't know enough about pkgsrc files to
figure out why.

cvs log of subversion/buildlink3.mk shows this:
----------------------------
revision 1.16
date: 2006/02/07 19:58:06;  author: wiz;  state: dead;  lines: +1 -1
Move subversion/buildlink3.mk to subversion-base/buildlink3.mk, to
make it more resilient to revbump.

Ok epg@

I am wondering if p5-subversion (and py-subversion, which is how I got
here) should include subversion-base/buildlink3.mk, not
subversion/buildlink3.mk (?) but this is just a guess.  Like I said, I
don't know ..

Any help will be appriciated!
Tim Noell
Lexmark International, Inc.

bmake install output:
(from my pkgsrc/devel/subversion dir):

galaxy 0 subversion% bmake install
===> Checking for vulnerabilities in subversion-1.3.0nb2
===> Extracting for subversion-1.3.0nb2
===> Required installed package subversion-base-1.3.0{,nb[0-9]*}:
subversion-base-1.3.
0nb2 found
===> Required package p5-subversion-1.3.0{,nb[0-9]*}: NOT found
===> Verifying reinstall for ../../devel/p5-subversion
===> Checking for vulnerabilities in p5-subversion-1.3.0nb2
=> Checksum SHA1 OK for subversion-1.3.0.tar.gz.
=> Checksum RMD160 OK for subversion-1.3.0.tar.gz.
===> Extracting for p5-subversion-1.3.0nb2
===> Required installed package gettext-lib>=0.14.5: gettext-lib-0.14.5
found
===> Required installed package subversion-base>=1.3.0:
subversion-base-1.3.0nb2 found
===> Required installed package subversion-base>=1.0.0:
subversion-base-1.3.0nb2 found
===> Required package subversion>=1.3.0nb2: NOT found
===> Verifying reinstall for ../../devel/subversion-base
===> Checking for vulnerabilities in subversion-base-1.3.0nb2
===> Installing for subversion-base-1.3.0nb2
===> subversion-base-1.3.0nb2 is already installed - perhaps an older
version?
*** If so, you may use either of:
***  - "pkg_delete subversion-base-1.3.0nb2" and
"/users/tnoell/pkg4/ix86-Linux-RHEL3/
bin/bmake reinstall" to upgrade properly
***  - "/users/tnoell/pkg4/ix86-Linux-RHEL3/bin/bmake update" to rebuild
the package a
nd all of its dependencies
***  - "/users/tnoell/pkg4/ix86-Linux-RHEL3/bin/bmake replace" to replace
only the pac
kage without re-linking
***    dependencies, risking various problems.
*** Error code 1

Stop.
bmake: stopped in /users/tnoell/pkg4/src/devel/subversion-base
*** Error code 1

Stop.
bmake: stopped in /users/tnoell/pkg4/src/devel/subversion-base
*** Error code 1

Stop.
bmake: stopped in /users/tnoell/pkg4/src/devel/subversion-base
*** Error code 1

Stop.
bmake: stopped in /users/tnoell/pkg4/src/devel/subversion-base
*** Error code 1

Stop.
bmake: stopped in /users/tnoell/pkg4/src/devel/p5-subversion
*** Error code 1

Stop.
bmake: stopped in /users/tnoell/pkg4/src/devel/p5-subversion
*** Error code 1

Stop.
bmake: stopped in /users/tnoell/pkg4/src/devel/p5-subversion
*** Error code 1

Stop.
bmake: stopped in /users/tnoell/pkg4/src/devel/subversion
*** Error code 1

Stop.
bmake: stopped in /users/tnoell/pkg4/src/devel/subversion