From owner-freebsd-ports-bugs@freebsd.org Sun Nov 6 18:31:34 2016 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A734FC33AFD for ; Sun, 6 Nov 2016 18:31:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 96298276 for ; Sun, 6 Nov 2016 18:31:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id uA6IVY8C007759 for ; Sun, 6 Nov 2016 18:31:34 GMT (envelope-from bugzilla-noreply@freebsd.org) 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" Date: Sun, 06 Nov 2016 18:31:33 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: chuck@tuffli.net X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: johans@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Nov 2016 18:31:34 -0000 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.=