pkgsrc-Bugs archive

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

pkg/42006: math/qalculate needs a revbump



>Number:         42006
>Category:       pkg
>Synopsis:       math/qalculate needs a revbump
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Sep 07 15:10:00 +0000 2009
>Originator:     Robert Elz
>Release:        NetBSD 4.0 / i386   pkgsrc current
>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:
        math/qalculate depends upon libcln which recently received a
        new major version number - qalculate was fixed so it would build
        with the changes, but wasn't given a revbump

        Because of that, there's nothing to cause old binary packages to
        be considered out of date, and math/qalculate doesn't get
        rebuilt.

>How-To-Repeat:
        I found this when rebuilding math/qalculate-units (and others) which
        were given a revbump - they fail to build as ...

c++ -O2 -I/pkg_comp/obj/pkgsrc/math/qalculate-units/4x/.buildlink/include 
-I/pkg_comp/obj/pkgsrc/math/qalculate-units/4x/.buildlink/include/freetype2 
-Wl,-R/usr/pkg/lib -o qalculate-units qalcunits.o -pthread  
-L/pkg_comp/obj/pkgsrc/math/qalculate-units/4x/.buildlink/lib 
/pkg_comp/obj/pkgsrc/math/qalculate-units/4x/.buildlink/lib/libgtk-x11-2.0.so 
/pkg_comp/obj/pkgsrc/math/qalculate-units/4x/.buildlink/lib/libgdk-x11-2.0.so 
/pkg_comp/obj/pkgsrc/math/qalculate-units/4x/.buildlink/lib/libatk-1.0.so 
/pkg_comp/obj/pkgsrc/math/qalculate-units/4x/.buildlink/lib/libpangocairo-1.0.so
 /pkg_comp/obj/pkgsrc/math/qalculate-units/4x/.buildlink/lib/libXinerama.so 
/pkg_comp/obj/pkgsrc/math/qalculate-units/4x/.buildlink/lib/libXi.so 
/pkg_comp/obj/pkgsrc/math/qalculate-units/4x/.buildlink/lib/libXrandr.so 
/pkg_comp/obj/pkgsrc/math/qalculate-units/4x/.buildlink/lib/libXext.so 
/pkg_comp/obj/pkgsrc/math/qalculate-units/4x/.buildlink/lib/libXcursor.so 
/pkg_comp/obj/pkgsrc/math/qalculate-units/4x!
 /.buildlink/lib/libXfixes.so 
/pkg_comp/obj/pkgsrc/math/qalculate-units/4x/.buildlink/lib/libpangoft2-1.0.so 
/pkg_comp/obj/pkgsrc/math/qalculate-units/4x/.buildlink/lib/libcairo.so 
/pkg_comp/obj/pkgsrc/math/qalculate-units/4x/.buildlink/lib/libpixman-1.so 
/pkg_comp/obj/pkgsrc/math/qalculate-units/4x/.buildlink/lib/libglitz.so 
/pkg_comp/obj/pkgsrc/math/qalculate-units/4x/.buildlink/lib/libpng12.so 
/pkg_comp/obj/pkgsrc/math/qalculate-units/4x/.buildlink/lib/libXrender.so 
/pkg_comp/obj/pkgsrc/math/qalculate-units/4x/.buildlink/lib/libX11.so 
/pkg_comp/obj/pkgsrc/math/qalculate-units/4x/.buildlink/lib/libXau.so 
/pkg_comp/obj/pkgsrc/math/qalculate-units/4x/.buildlink/lib/libXdmcp.so 
/pkg_comp/obj/pkgsrc/math/qalculate-units/4x/.buildlink/lib/libpango-1.0.so 
/pkg_comp/obj/pkgsrc/math/qalculate-units/4x/.buildlink/lib/libfontconfig.so 
/pkg_comp/obj/pkgsrc/math/qalculate-units/4x/.buildlink/lib/libfreetype.so 
/pkg_comp/obj/pkgsrc/math/qalculate-units/4x/.buildlink/lib/libexpat.so /pk!
 g_comp/obj/pkgsrc/math/qalculate-units/4x/.buildlink/lib/libgd!
 k_pixbuf
-2.0.so 
/pkg_comp/obj/pkgsrc/math/qalculate-units/4x/.buildlink/lib/libgio-2.0.so 
/pkg_comp/obj/pkgsrc/math/qalculate-units/4x/.buildlink/lib/libgobject-2.0.so 
/pkg_comp/obj/pkgsrc/math/qalculate-units/4x/.buildlink/lib/libgmodule-2.0.so 
/pkg_comp/obj/pkgsrc/math/qalculate-units/4x/.buildlink/lib/libqalculate.so 
/pkg_comp/obj/pkgsrc/math/qalculate-units/4x/.buildlink/lib/libglib-2.0.so 
/pkg_comp/obj/pkgsrc/math/qalculate-units/4x/.buildlink/lib/libpcre.so -lintl 
/pkg_comp/obj/pkgsrc/math/qalculate-units/4x/.buildlink/lib/libxml2.so -lz -lm 
-lpthread /pkg_comp/obj/pkgsrc/math/qalculate-units/4x/.buildlink/lib/libcln.so 
  -Wl,--rpath -Wl,/pkg_comp/obj/pkgsrc/math/qalculate-units/4x/.buildlink/lib 
-Wl,--rpath -Wl,/pkg_comp/obj/pkgsrc/math/qalculate-units/4x/.buildlink/lib
ld: warning: libcln.so.4, needed by 
/pkg_comp/obj/pkgsrc/math/qalculate-units/4x/.buildlink/lib/libqalculate.so, 
not found (try using -rpath or -rpath-link)
/pkg_comp/obj/pkgsrc/math/qalculate-units/4x/.buildlink/lib/libqalculate.so: 
undefined reference to `global constructors keyed to 
cl_module__cl_RA_ring__firstglobalfun'
/pkg_comp/obj/pkgsrc/math/qalculate-units/4x/.buildlink/lib/libqalculate.so: 
undefined reference to `global constructors keyed to 
cl_module__cl_LF_globals__firstglobalfun'

        [and more like the last line for different symbols]

        Rebuilding math/qalculate allows qalculate-units to rebuild
        correctly (with no other changes needed).

>Fix:
        /PKGREVISION/s/2/3/

        (in math/qalculate/Makefile)

        I don't know if qalculate-gtk also needs a revbupm, but I'd suspect
        it probably does (but that's a guess, I haven't checked it).

        Any other packages that use libcln.so needs a revbump as well.



Home | Main Index | Thread Index | Old Index