pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/51791: librsvg-2.40.15nb1 linked bogusly



>Number:         51791
>Category:       pkg
>Synopsis:       librsvg-2.40.15nb1 linked bogusly
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jan 07 12:25:00 +0000 2017
>Originator:     Martin Husemann
>Release:        NetBSD 7.99.55
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD whoever-brings-the-night.aprisoft.de 7.99.55 NetBSD 7.99.55 (WHOEVER) #85: Thu Jan 5 09:49:20 CET 2017 martin%martins.aprisoft.de@localhost:/ssd/src/sys/arch/sparc64/compile/WHOEVER sparc64
Architecture: sparc64
Machine: sparc64
>Description:

As one of the last steps in the www/midori build, a few graphics are converted.
The makefile calls this command:

 /usr/pkg/bin/rsvg-convert --keep-aspect-ratio --format=png /usr/pkgobj/www/midori/work/midori-0.5.11/data/logo-shade.svg --output /usr/pkgobj/www/midori/work/midori-0.5.11/data/logo-shade.png

and on my machine it fails:

/usr/lib/libgcc_s.so.1: Undefined PLT symbol "__deregister_frame_info" (symnum = 63)


readelf says about the binary:

Dynamic section at offset 0x4108 contains 53 entries:
  Tag        Type                         Name/Value
 0x0000000000000001 (NEEDED)             Shared library: [librsvg-2.so.2]
 0x0000000000000001 (NEEDED)             Shared library: [libcroco-0.6.so.3]
 0x0000000000000001 (NEEDED)             Shared library: [libxml2.so.2]
 0x0000000000000001 (NEEDED)             Shared library: [liblzma.so.2]
 0x0000000000000001 (NEEDED)             Shared library: [libgdk_pixbuf-2.0.so.0]
 0x0000000000000001 (NEEDED)             Shared library: [libgio-2.0.so.0]
 0x0000000000000001 (NEEDED)             Shared library: [libgmodule-2.0.so.0]
 0x0000000000000001 (NEEDED)             Shared library: [libpangocairo-1.0.so.0]
 0x0000000000000001 (NEEDED)             Shared library: [libpangoft2-1.0.so.0]
 0x0000000000000001 (NEEDED)             Shared library: [libharfbuzz.so.0]
 0x0000000000000001 (NEEDED)             Shared library: [libpango-1.0.so.0]
 0x0000000000000001 (NEEDED)             Shared library: [libgthread-2.0.so.0]
 0x0000000000000001 (NEEDED)             Shared library: [libgobject-2.0.so.0]
 0x0000000000000001 (NEEDED)             Shared library: [libffi.so.6]
 0x0000000000000001 (NEEDED)             Shared library: [libglib-2.0.so.0]
 0x0000000000000001 (NEEDED)             Shared library: [libpcre.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libintl.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libcairo.so.2]
 0x0000000000000001 (NEEDED)             Shared library: [libpixman-1.so.2]
 0x0000000000000001 (NEEDED)             Shared library: [libfontconfig.so.2]
 0x0000000000000001 (NEEDED)             Shared library: [libfreetype.so.18]
 0x0000000000000001 (NEEDED)             Shared library: [libbz2.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libpng16.so.16]
 0x0000000000000001 (NEEDED)             Shared library: [libxcb-shm.so.0]
 0x0000000000000001 (NEEDED)             Shared library: [libxcb-render.so.0]
 0x0000000000000001 (NEEDED)             Shared library: [libxcb.so.2]
 0x0000000000000001 (NEEDED)             Shared library: [libXrender.so.2]
 0x0000000000000001 (NEEDED)             Shared library: [libX11.so.7]
 0x0000000000000001 (NEEDED)             Shared library: [libXext.so.7]
 0x0000000000000001 (NEEDED)             Shared library: [libz.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [librt.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libm.so.0]
 0x0000000000000001 (NEEDED)             Shared library: [libpthread.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libc.so.12]
 0x000000000000000f (RPATH)              Library rpath: [/usr/pkg/lib:/usr/X11R7/lib]
 0x000000000000000c (INIT)               0x101908
 0x000000000000000d (FINI)               0x103020
 0x0000000000000004 (HASH)               0x100210
 0x0000000000000005 (STRTAB)             0x100b58
 0x0000000000000006 (SYMTAB)             0x100450
 0x000000000000000a (STRSZ)              1822 (bytes)
 0x000000000000000b (SYMENT)             24 (bytes)
 0x0000000000000015 (DEBUG)              0x0
 0x0000000000000003 (PLTGOT)             0x204600
 0x0000000000000002 (PLTRELSZ)           1512 (bytes)
 0x0000000000000014 (PLTREL)             RELA
 0x0000000000000017 (JMPREL)             0x101320
 0x0000000000000007 (RELA)               0x101278
 0x0000000000000008 (RELASZ)             1680 (bytes)
 0x0000000000000009 (RELAENT)            24 (bytes)
 0x0000000070000001 (SPARC_REGISTER)     0x1
 0x0000000070000001 (SPARC_REGISTER)     0x2
 0x0000000000000000 (NULL)               0x0

and one of the .rela.dyn relocations refers to the missing symbol:

000000204548  004800000014 R_SPARC_GLOB_DAT  0000000000000000 __deregister_frame_inf + 0

objdump -T says:

0000000000000000  w   D  *UND*  0000000000000000 __deregister_frame_info

I guess this binary should have been linked against libgcc_s.so?

>How-To-Repeat:
s/a

>Fix:
n/a



Home | Main Index | Thread Index | Old Index