Bug 171493

Summary: RELENG_9 make buildworld fails on amd64
Product: Base System Reporter: Daniel Hänschke <jailedemon>
Component: amd64Assignee: freebsd-amd64 (Nobody) <amd64>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 9.1-PRERELEASE   
Hardware: Any   
OS: Any   

Description Daniel Hänschke 2012-09-09 10:10:04 UTC
After doing a CVS checkout of RELENG_9, I cannot build the operating system anymore. Running make buildworld produces the following error:

===> include (includes)
cd /usr/src/include; make buildincludes; make installincludes
creating osreldate.h from newvers.sh
/usr/local/bin/svnversion
Shared object "libaprutil-1.so.3" not found, required by "svnversion"
*** [osreldate.h] Error code 1

Stop in /usr/src/include.
*** [includes] Error code 1

Stop in /usr/src/include.
*** [include.includes__D] Error code 1

Stop in /usr/src.
*** [_includes] Error code 1

Stop in /usr/src.
*** [buildworld] Error code 1

Stop in /usr/src.

Actually there is the following version of libaprutil-1:
/usr/local/lib/libaprutil-1.so.4

Any help would be greatly appreciated.

How-To-Repeat: cd /usr/src && make buildworld
Comment 1 Palle Girgensohn freebsd_committer freebsd_triage 2012-09-09 16:53:40 UTC
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Daniel,

Your subversion installation in /usr/local (i.e. from ports) seems to be
broken. try "ldd /usr/local/bin/svnversion" to prove this.

Since FreeBSD moved to subversion recently, subversion is used by the
newvers.sh script, if it exists.

So, simplest fix for you is to remove subversion, since it broken
anyway: pkg_delete -fx subversion

or, if tou plan to use subversion, update it using portupgrade -fx
subversion or using your preferred tool.

Cheers,
Palle

Daniel HXnschke skrev:
> ===> include (includes) cd /usr/src/include; make buildincludes; make
> installincludes creating osreldate.h from newvers.sh 
> /usr/local/bin/svnversion Shared object "libaprutil-1.so.3" not
> found, required by "svnversion" *** [osreldate.h] Error code 1
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJQTLuEAAoJEIhV+7FrxBJDw9MH/3Bs5IHVtVBWH1MYDvz0DUbh
fy1ikV1v6gbcVM2FVzngCryVSzXa7wuoU8vwGSFIYVM1Fp0t3vdwL047JNukV3ow
4JDdRCT+G1NYW7/O5eYcEQgXCE8uSeYhRf3m0LFYyvWX2pE/4uMfMW6jOtlI7woM
2YjmzBmWmXW2lXQTysZgj2XWUyUjxH/bt6YzE9p46LV8kQaXpdv+1MW9PALs7RHn
YrhoJ4gTL3LjaWHKHP70XS4d1ZQDME48LIEvQXS/dsxCS+MQfjpiQmoyX414nTGc
3NRgFadaWzwAmoqN33/DxKcLdSmgr3XfpeNmr7v5qyBjzTEtY7ukfH5+7Qtdsc4=
=Hdr6
-----END PGP SIGNATURE-----
Comment 2 Palle Girgensohn freebsd_committer freebsd_triage 2012-09-09 16:54:13 UTC
State Changed
From-To: open->closed

User has a broken subversion installation from ports.