pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/44579: archivers/xz hoses bootstrap kit on FreeBSD



>Number:         44579
>Category:       pkg
>Synopsis:       archivers/xz hoses bootstrap kit on FreeBSD
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Feb 15 18:10:00 +0000 2011
>Originator:     Jan Schaumann
>Release:        FreeBSD 9.0-CURRENT
>Organization:
        
>Environment:
        
        
System: FreeBSD ip-10-112-59-246 9.0-CURRENT FreeBSD 9.0-CURRENT #122: Tue Jan  
4 20:59:00 UTC 2011     
root%chch.daemonology.net@localhost:/usr/obj/i386.i386/usr/src/sys/XEN  i386
>Description:

After bootstrapping pkgsrc (current) on a FreeBSD 9.0-CURRENT host, I get my 
pkg* tools
properly linked against /usr/lib/liblzma.  I can build a number of packages and 
all's peachy,
but if I install archivers/xz, the libraries installed by that package break 
the package tools:

 /bin/sh ../../libtool   --mode=install /usr/bin/install -c -o root -g wheel   
liblzma.la '/usr/pkg/lib'
 libtool: install: /usr/bin/install -c -o root -g wheel .libs/liblzma.so.5 
/usr/pkg/lib/liblzma.so.5
 libtool: install: (cd /usr/pkg/lib && { ln -s -f liblzma.so.5 liblzma.so || { 
rm -f liblzma.so && ln -s liblzma.so.5 liblzma.so; }; })
 libtool: install: /usr/bin/install -c -o root -g wheel .libs/liblzma.lai 
/usr/pkg/lib/liblzma.la   libtool: install: /usr/bin/install -c -o root -g 
wheel .libs/liblzma.a /usr/pkg/lib/liblzma.a
 libtool: install: chmod 644 /usr/pkg/lib/liblzma.a
 libtool: install: ranlib /usr/pkg/lib/liblzma.a
 [...]
 => Automatic manual page handling
 /libexec/ld-elf.so.1: /usr/pkg/lib/liblzma.so.5: version XZ_5.0 required by 
/usr/pkg/sbin/pkg_info not defined
 /libexec/ld-elf.so.1: /usr/pkg/lib/liblzma.so.5: version XZ_5.0 required by 
/usr/pkg/sbin/pkg_create not defined
 *** Error code 1

 Stop.
 bmake: stopped in /usr/pkgsrc/archivers/xz
 [...]
 ip-10-112-59-246# ldd `which pkg_add`
 /usr/pkg/sbin/pkg_add:
        libcrypto.so.6 => /lib/libcrypto.so.6 (0x280d9000)
        liblzma.so.5 => /usr/pkg/lib/liblzma.so.5 (0x28235000)
        libbz2.so.4 => /usr/lib/libbz2.so.4 (0x28256000)
        libz.so.6 => /lib/libz.so.6 (0x28267000)
        libc.so.7 => /lib/libc.so.7 (0x2827b000)
        libthr.so.3 => /lib/libthr.so.3 (0x2839d000)
        librt.so.1 => /usr/lib/librt.so.1 (0x283bd000)



>How-To-Repeat:

Create a FreeBSD-9.0 host (for example an AWS instance, AMI ami-8cce3fe5).
bootstrap pkgsrc
cd /usr/pkgsrc/archivers/xz
bmake install

>Fix:
        



Home | Main Index | Thread Index | Old Index