[Bug 214276] archivers/rpm4: rpm -i fails with Undefined symbol "nspr_use_zone_allocator"

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Nov 6 18:31:34 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=214276

            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 at FreeBSD.org
          Reporter: chuck at tuffli.net
             Flags: maintainer-feedback?(johans at FreeBSD.org)
          Assignee: johans at FreeBSD.org

Created attachment 176693
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=176693&action=edit
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 
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 => /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    
root at 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.629-5.el6.x86_64.rpm

Output from truss is attached in case that is of use.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list