Subject: suse_devel package flawed
To: None <tech-pkg@netbsd.org>
From: Jan Schaumann <jschauma@netmeister.org>
List: tech-pkg
Date: 07/15/2005 14:34:47
--wHh0aNzodMFDTGdO
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi,

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 round 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).

What's up with that?

-Jan

--=20
If you can read this, you're not the president.

--wHh0aNzodMFDTGdO
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (NetBSD)

iD8DBQFC2AHHfFtkr68iakwRAid0AJ99zK+8Wiy0udzl2/13tV38iOchzgCggCOY
CBTocStVoEBp1M7GphFpnAg=
=g+Ji
-----END PGP SIGNATURE-----

--wHh0aNzodMFDTGdO--