pkgsrc-Bugs archive

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

pkg/41855: www/midori link errors (library path not correct?)



>Number:         41855
>Category:       pkg
>Synopsis:       www/midori link errors (library path not correct?)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Aug 09 09:25:00 +0000 2009
>Originator:     Robert Elz
>Release:        NetBSD 4.0_STABLE
>Organization:
        Prince of Songkla University
>Environment:
System: NetBSD jade.coe.psu.ac.th 4.0_STABLE NetBSD 4.0_STABLE 
(JADE-1.696-20080517) #9: Fri May 23 18:55:13 ICT 2008 
kre%jade.coe.psu.ac.th@localhost:/usr/obj/4/kernels/JADE i386
Architecture: i386
Machine: i386
>Description:
        www/midori's build complains that it is unable to locate three
        libraries, and then (unsurprisinging given that) detects a
        large number of undefined symbols while linking.

        One possiblity (just a guess) for the problem might be
        missing dependencies.

>How-To-Repeat:
        I use pkg_comp with libkver and NetBSD 4.0 release sets
        installed (except x*) in the pkg_comp arena, to simulate
        a fairly pure NetBSD 4.0 environment.  I use pkgsrc modular xorg
        for X (it is possible, perhaps even likely, that none of that
        is relevant for this problem).

        When building www/midori expect to see ...

[68/97] cc_link: _build_/default/midori/main_3.o -> 
_build_/default/midori/midori
ld: warning: libicui18n.so.40, needed by 
/pkg_comp/obj/pkgsrc/www/midori/4x/.buildlink/lib/libwebkit-1.0.so, not found 
(try using -rpath or -rpath-link)
ld: warning: libicuuc.so.40, needed by 
/pkg_comp/obj/pkgsrc/www/midori/4x/.buildlink/lib/libwebkit-1.0.so, not found 
(try using -rpath or -rpath-link)
ld: warning: libicudata.so.40, needed by 
/pkg_comp/obj/pkgsrc/www/midori/4x/.buildlink/lib/libwebkit-1.0.so, not found 
(try using -rpath or -rpath-link)
/pkg_comp/obj/pkgsrc/www/midori/4x/.buildlink/lib/libwebkit-1.0.so: undefined 
reference to `ucnv_getAlias_4_0'
/pkg_comp/obj/pkgsrc/www/midori/4x/.buildlink/lib/libwebkit-1.0.so: undefined 
reference to `ubrk_isBoundary_4_0'
/pkg_comp/obj/pkgsrc/www/midori/4x/.buildlink/lib/libwebkit-1.0.so: undefined 
reference to `ucnv_setToUCallBack_4_0'
/pkg_comp/obj/pkgsrc/www/midori/4x/.buildlink/lib/libwebkit-1.0.so: undefined 
reference to `uset_addRange_4_0'

        [ many other similar looking undefined references deleted for this PR ]

Build failed
 -> task failed (err #1): 
        {task: cc_link main_3.o -> midori}
gmake: *** [all] Error 1
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/www/midori

        It is perhaps relevant that all the undefined symbols are
        referenced from .buildlink/lib/libwebkit-1.0.so (even the
        ones I removed above) which might indicate a problem with
        webkit-gtk's buildlink3.mk or something ??

        Earlier in the pkg_comp build, there appears ...
        - edited to remove extraneous output, while each line
        here is as it appeared, other irrelevant lines (for example,
        showing dependencies being installed, their messages, etc,
        have been deleted).

===> Installing dependencies for midori-0.1.9
=> Build dependency py25-docutils>=0.4: found py25-docutils-0.5
=> Build dependency librsvg>=2.18: found librsvg-2.26.0
=> Build dependency libtool-base>=1.5.18nb5: found libtool-base-1.5.26nb2
=> Build dependency intltool>=0.40.0: found intltool-0.40.6
=> Build dependency gmake>=3.81: found gmake-3.81
=> Build dependency perl>=5.0: found perl-5.10.0nb6
=> Build dependency pkg-config>=0.19: found pkg-config-0.23nb1
=> Build dependency renderproto>=0.9.3nb1: found renderproto-0.11
=> Build dependency kbproto>=1.0.2: found kbproto-1.0.3
=> Build dependency xproto>=7.0.9: found xproto-7.0.15
=> Build dependency fixesproto>=3.0.0: found fixesproto-4.0
=> Build dependency xextproto>=7.0: found xextproto-7.0.5
=> Build dependency inputproto>=1.4: found inputproto-1.5.1
=> Build dependency randrproto>=1.2.0: found randrproto-1.3.0
=> Build dependency xineramaproto>=1.1.1: found xineramaproto-1.1.2
===> Binary install for gperf>=3.0.1
gperf-3.0.4 successfully installed.
=> Build dependency checkperms>=1.1: found checkperms-1.10
===> Binary install for gnome-themes-[0-9]*
gnome-themes-2.26.3.1 successfully installed.
=> Full dependency libidn>=0.6.1nb1: found libidn-1.15
===> Binary install for libsexy>=0.1.8nb1
libsexy-0.1.11 successfully installed.
=> Full dependency libxml2>=2.6.23nb1: found libxml2-2.7.3
=> Full dependency gtk2+>=2.8.17nb1: found gtk2+-2.16.5
=> Full dependency hicolor-icon-theme>=0.9nb1: found hicolor-icon-theme-0.10nb1
=> Full dependency python25>=2.5.2: found python25-2.5.4nb1
=> Full dependency libsoup24>=2.26.0: found libsoup24-2.26.3
=> Full dependency desktop-file-utils>=0.10nb1: found desktop-file-utils-0.15
===> Binary install for webkit-gtk>=1.1.3nb1
webkit-gtk-1.1.10 successfully installed.
===> Binary install for libunique>=1.0.4
libunique-1.0.8 successfully installed. 
===> Binary install for libnotify>=0.3.2nb1  
libnotify-0.4.5 successfully installed.
===> Overriding tools for midori-0.1.9
===> Extracting for midori-0.1.9
===> Patching for midori-0.1.9

        (etc).

        None of those (to my untrained eye) looks as if it would
        be an obvious source for any of the missing libraries
        (but I didn't go searching them all).

        Lastly, pkg_info of the webkit-gtk-1.1.10.tgz file that
        would have been installed just above says ...

Requires:
sqlite3>=3.2.7nb1
freetype2>=2.1.10nb1
jpeg>=6bnb2
png>=1.2.9nb2
gstreamer0.10>=0.10.2nb1
gst-plugins0.10-base>=0.10.2nb1
libsoup24>=2.26.0
enchant>=1.1.6nb1
icu>=4.0
libxslt>=1.1.15nb1
gtk2+>=2.10
libXt>=1.0.0

        and (in particular) I see no sign of any attempt by anything
        to have installed (or checked for) icu>=4.0 being installed
        (and that one - again to my untrained eye - looks very much
        as if it may be where the missing libraries should have originated).

        So, perhaps there's some pkg_add bug lurking in the latest
        pkgtools ??

        The full (unedited) part of midori's install/build log related
        to the webkit-gtk install is ...

=> Full dependency webkit-gtk>=1.1.3nb1: NOT found
=> Verifying bin-install for ../../www/webkit-gtk
===> Binary install for webkit-gtk>=1.1.3nb1
=> Installing webkit-gtk>=1.1.3nb1 from /pkg_comp/packages/All
===========================================================================
$NetBSD: MESSAGE,v 1.2 2008/10/14 09:19:40 wiz Exp $

For whichever spell-checkers you've installed (perhaps indirectly
by selecting options to this package), you need to install one
or more language-specific dictionaries.

===========================================================================
webkit-gtk-1.1.10 successfully installed.
=> Returning to build of midori-0.1.9

        Note: I am explicitly *not* claiming that icu was not installed
        at the time - it is now installed in the pkg_comp sandbox
        which was used for this build, but it is possible that happened
        as a result of some later package being built.   However, it
        probably was installed correctly, as the pkg_info output in the
        sandbox (pkg_comp chroot) shows icu (4.2.1) immediately before
        webkit-gtk which would suggest that it was installed as a dependency
        of webkit-gtk (and just nothing about it appears in the build log).

        Enough ramblings...

>Fix:
        ???



Home | Main Index | Thread Index | Old Index