Subject: pkg/30784: suse_devel package flawed
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <jschauma@netmeister.org>
List: pkgsrc-bugs
Date: 07/19/2005 18:14:00
>Number: 30784
>Category: pkg
>Synopsis: suse_devel package flawed
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Jul 19 18:14:00 +0000 2005
>Originator: Jan Schaumann
>Release: NetBSD 2.0.2_STABLE
>Organization:
>Environment:
Architecture: i386
Machine: i386
>Description:
It seems that the suse_devel package as available from
ftp://ftp.netbsd.org/pub/NetBSD/packages/pkgsrc-2005Q2/NetBSD-2.0/i386/All/suse_devel-7.3nb2.tgz
is not working correctly:
# pkg_add ftp://ftp.netbsd.org/pub/NetBSD/packages/pkgsrc-2005Q2/NetBSD-2.0/i386/All/suse_devel-7.3nb2.tgz
pkg_add: Warning: package
`ftp://ftp.netbsd.org/pub/NetBSD/packages/pkgsrc-2005Q2/NetBSD-2.0/i386/All/suse_devel-7.3nb2.tgz'
was built for a different version of the OS:
pkg_add: NetBSD/i386 2.0 (pkg) vs. NetBSD/i386 2.0_STABLE (this host)
pkg_add: Overwriting /usr/pkg/emul/linux/usr/lib/libbfd-2.11.90.0.29.so
- pkg suse_devel-7.3nb2 bogus/conflicting?
pkg_add: Overwriting /usr/pkg/emul/linux/usr/lib/libbfd.a - pkg
suse_devel-7.3nb2 bogus/conflicting?
pkg_add: Overwriting
/usr/pkg/emul/linux/usr/lib/libopcodes-2.11.90.0.29.so - pkg
suse_devel-7.3nb2 bogus/conflicting?
pkg_add: Overwriting /usr/pkg/emul/linux/usr/lib/libopcodes.a - pkg
suse_devel-7.3nb2 bogus/conflicting?
tar: Unable to access emul/linux/usr/lib/libbfd-2.11.90.0.29.so (No such
file or directory)
tar: Unable to access emul/linux/usr/lib/libbfd.a (No such file or
directory)
tar: Unable to access emul/linux/usr/lib/libopcodes-2.11.90.0.29.so (No
such file or directory)
tar: Unable to access emul/linux/usr/lib/libopcodes.a (No such file or
directory)
tar: WARNING! These file names were not selected:
emul/linux/usr/lib/libbfd-2.11.90.0.29.so
emul/linux/usr/lib/libbfd.a
emul/linux/usr/lib/libopcodes-2.11.90.0.29.so
emul/linux/usr/lib/libopcodes.a
Executing 'ln -fs ../../lib/ldscripts
/usr/pkg/emul/linux/usr/i486-suse-linux/lib/ldscripts'
ln: /usr/pkg/emul/linux/usr/i486-suse-linux/lib/ldscripts: No such file
or directory
pkg_add: command 'ln -fs ../../lib/ldscripts
/usr/pkg/emul/linux/usr/i486-suse-linux/lib/ldscripts' failed
pkg_add: Overwriting /usr/pkg/emul/linux/usr/lib/libbfd.so - pkg
suse_devel-7.3nb2 bogus/conflicting?
pkg_add: Overwriting /usr/pkg/emul/linux/usr/lib/libopcodes.so - pkg
suse_devel-7.3nb2 bogus/conflicting?
tar: Unable to access emul/linux/usr/lib/libbfd.so (No such file or
directory)
tar: Unable to access emul/linux/usr/lib/libopcodes.so (No such file or
directory)
tar: End of archive volume 1 reached
tar: Unexpected EOF on archive file
tar: Sorry, unable to determine archive format.
tar: WARNING! These file names were not selected:
emul/linux/usr/lib/libbfd.so
emul/linux/usr/lib/libopcodes.so
pkg_add: can not invoke 107 byte /bin/tar pipeline: /bin/tar cf -
'emul/linux/usr/lib/libbfd.so'
'emul/linux/usr/lib/libopcodes.so'|/bin/tar xpf - -C /usr/pkg
ftp: No control connection for command.
Note that if I build the package myself, I will also have the same
problem with the same files
emul/linux/usr/lib/libbfd-2.11.90.0.29.so
emul/linux/usr/lib/libbfd.a
emul/linux/usr/lib/libopcodes-2.11.90.0.29.so
emul/linux/usr/lib/libopcodes.a
These files are found in the rpm, added to the PLIST, added to the .tgz
binary package but somehow pkg_add fails to extract them (regular
extraction via tar shows no problems).
>How-To-Repeat:
cd /usr/pkgsrc/*/suse_devel && make install
or
pkg_add ftp://ftp.netbsd.org/pub/NetBSD/packages/2.0/i386/All/suse_devel-7.3nb2.tgz
>Fix:
>Unformatted: