pkgsrc-Bugs archive

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

pkg/32998: devel/libgsf fails to link correctly (or something)



>Number:         32998
>Category:       pkg
>Synopsis:       devel/libgsf fails to link correctly (or something)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Mar 05 06:55:00 +0000 2006
>Originator:     Robert Elz
>Release:        NetBSD 3.99.15 (pkgsrc current as of 8 hours or so ago)
>Organization:
        Prince of Songkla University
>Environment:
System: NetBSD jade.coe.psu.ac.th 3.99.15 NetBSD 3.99.15 
(GENERIC-1.696-20060125) #8: Wed Jan 25 04:59:39 ICT 2006 
kre%jade.coe.psu.ac.th@localhost:/usr/obj/current/kernels/JADE_ASUS i386
        Compiling pkgsrc using pkg_comp with libkver & NetBSD 3.0 release
Architecture: i386
Machine: i386
>Description:
        dev/libgsf doesn't "make package", complaining about
        missing libtasn1 (this is after yesterday's update to
        both packages, libtasn1 is installed).

>How-To-Repeat:
        pkg_comp build devel./libgsf

        (probably:
                cd ..../pkgsrc/devel/libgsf
                make package
        but I haven't tried that way - it wouldnb't make what I want)

        What I see is ...

===> [Automatic manual page handling]
===> Registering installation for libgsf-1.14.0
libgsf-1.14.0 requires installed package GConf2-2.12.1nb1
libgsf-1.14.0 requires installed package glib2-2.10.0
libgsf-1.14.0 requires installed package gnome-vfs2-2.12.2nb2
libgsf-1.14.0 requires installed package libbonobo-2.10.1nb2
libgsf-1.14.0 requires installed package libxml2-2.6.23nb1
/usr/pkg/lib/libgsf-gnome-1.so:         -ltasn1.2 => not found
        -ltasn1.2 => not found
/usr/pkg/lib/libgsf-gnome-1.so.114:     -ltasn1.2 => not found
        -ltasn1.2 => not found
/usr/pkg/lib/libgsf-gnome-1.so.114.0.0:         -ltasn1.2 => not found
        -ltasn1.2 => not found
*** The above programs/libs will not find the listed shared libraries
    at runtime. Please fix the package (add -Wl,-R.../lib in the right places)!
*** Error code 1

Stop.

The library is installed however ...
jade# pkg_comp pkg_info | grep ^lib
libtool-base-1.5.22nb2 Generic shared library support script (the script itself)
libIDL-0.8.6nb1     CORBA Interface Definition Language parser
libxml2-2.6.23nb1   XML parser library from the GNOME project
libcfg+-0.6.2nb3    Command line and configuration file parsing library
libgpg-error-1.0nb1 Definitions of common error values for all GnuPG components
libgcrypt-1.2.2nb1  GNU cryptographic library
libbonobo-2.10.1nb2 GNOME2 Object activation framework library
libtasn1-0.3.0      ASN.1 structure parser library
librfuncs-1.0.7nb1  Provides missing POSIX *_r functions
libpixman-0.1.6     Pixel manipulation library
libgsf-1.14.0       GNOME2 structured file library

        Notice that libgsf does get installed (the "make install" works)
        so when this is fixed a revision bump is required.

>Fix:
        ??
        I tried including ../../security/libtasn1/buildlink3.mk
        in libgsf's Makefile, but that made no difference.   That's
        probably because something is explicitly looking for libtasn1.so.2
        whereas what's installed now is libtasn1.so.3


        Oh, of course - a bunch of other libraries are still old ones,
        haven't been recompiled as no revbump was done on them.
        This is what I see using ldd on the libraries above (the
        ones that I currently have installed) - of course there
        might be many more than this that require a revbump now
        (the pkg_comp arena I'm using is new today, it doesn't have
        much installed ini t).

pkg_comp:default.conf# for f in *.so
do
echo $f
ldd $f | grep tasn
done
libGL.so
libGLU.so
libGLw.so
libIDL-2.so
libORBit-2.so
libORBit-imodule-2.so
libORBitCosNaming-2.so
libOSMesa.so
libXcursor.so
libXfixes.so
libXft.so
libXrandr.so
libXrender.so
libatk-1.0.so
libbonobo-2.so
libbonobo-activation.so
libcairo.so
libcfg+.so
libexpat.so
libfam.so
libfontconfig.so
libfreetype.so
libgconf-2.so
libgcrypt.so
libgdk-x11-2.0.so
libgdk_pixbuf-2.0.so
libgdk_pixbuf_xlib-2.0.so
libglib-2.0.so
libglitz-glx.so
libglitz.so
libgmodule-2.0.so
libgnomevfs-2.so
        -ltasn1.2 => not found
        -ltasn1.2 => not found
libgnutls-extra.so
        -ltasn1.2 => not found
libgnutls-openssl.so
        -ltasn1.2 => not found
        -ltasn1.2 => not found
libgnutls.so
        -ltasn1.2 => not found
libgobject-2.0.so
libgpg-error.so
libgpgme-pthread.so
libgpgme.so
libgsf-1.so
libgsf-gnome-1.so
        -ltasn1.2 => not found
        -ltasn1.2 => not found
libgthread-2.0.so
libgtk-x11-2.0.so
libjpeg.so
liblcms.so
liblzo2.so
libmng.so
libntfs.so
libopencdk.so
libpango-1.0.so
libpangocairo-1.0.so
libpangoft2-1.0.so
libpangox-1.0.so
libpangoxft-1.0.so
libpixman.so
libpng.so
libpopt.so
librfuncs.so
libtasn1.so
libtasn1.so:
libtiff.so
libtiffxx.so
libxml2.so

        An alternative might be to revert the libgsf change
        (so libgsf goes back to being 1.2) and put the new
        libgsf in a new package (libgsf3 perhaps) - if that's
        done, make it so that both libgsf variants can be
        installed together however.




Home | Main Index | Thread Index | Old Index