Date: Sun, 06 Nov 2016 18:31:33 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 214276] archivers/rpm4: rpm -i fails with Undefined symbol "nspr_use_zone_allocator" Message-ID: <bug-214276-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D214276 Bug ID: 214276 Summary: archivers/rpm4: rpm -i fails with Undefined symbol "nspr_use_zone_allocator" Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: johans@FreeBSD.org Reporter: chuck@tuffli.net Flags: maintainer-feedback?(johans@FreeBSD.org) Assignee: johans@FreeBSD.org Created attachment 176693 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D176693&action= =3Dedit output from running rpm through truss Using rpm to install a CentOS package on -CURRENT fails with the error: # rpm --root /tst/linux/ -i /tst/linux/var/cache/yum/base/packages/vim-minimal-7.4.629-5.el6.x86_64.rpm warning: /tst/linux/var/cache/yum/base/packages/vim-minimal-7.4.629-5.el6.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY error: Failed to resolve symbol syslog_hooks: Undefined symbol "nspr_use_zone_allocator" error: error reading from file /tst/linux/var/cache/yum/base/packages/vim-minimal-7.4.629-5.el6.x86_64.rpm Listing the contents of the package appears to work: # rpm --root /tst/linux/ -qlp /tst/linux/var/cache/yum/base/packages/vim-minimal-7.4.629-5.el6.x86_64.rpm= =20 warning: /tst/linux/var/cache/yum/base/packages/vim-minimal-7.4.629-5.el6.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY /bin/ex /bin/rvi /bin/rview /bin/vi /bin/view /etc/virc All .rpm's appear to have the same issue, so I don't suspect it is a problem with the particular archive. The syslog.so from rpm4 appears to be pointed at the correct library: # grep -r nspr_use_zone_allocator /usr/local/lib* Binary file /usr/local/lib/firefox/libxul.so matches Binary file /usr/local/lib/libnspr4.a matches Binary file /usr/local/lib/libnspr4.so matches # ldd /usr/local/lib/rpm-plugins/syslog.so | grep nspr libnspr4.so =3D> /usr/local/lib/libnspr4.so (0x803477000) # pkg which /usr/local/lib/libnspr4.so /usr/local/lib/libnspr4.so was installed by package nspr-4.13_1 # pkg info nspr-4.13_1 nspr-4.13_1 Name : nspr Version : 4.13_1 Installed on : Sat Oct 29 09:43:14 2016 PDT Origin : devel/nspr Architecture : freebsd:12:x86:64 Other software info: # pkg info rpm4 rpm4-4.12.0.1_3 Name : rpm4 Version : 4.12.0.1_3 Installed on : Sat Oct 29 09:43:15 2016 PDT Origin : archivers/rpm4 Architecture : freebsd:12:x86:64 # uname -a FreeBSD chuck-laptop 12.0-CURRENT FreeBSD 12.0-CURRENT #14 1717ae3(drm-next-4.7): Fri Oct 28 13:49:49 UTC 2016=20=20=20=20 root@gauntlet:/usr/obj/usr/src/sys/GENERIC amd64 rpm URL : http://mirror.atlantic.net/centos/6.8/os/x86_64/Packages/vim-minimal-7.4.62= 9-5.el6.x86_64.rpm Output from truss is attached in case that is of use. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-214276-13>