pkgsrc-Bugs archive

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

pkg/43050: math/mpfr (& others??) needs a revbump

>Number:         43050
>Category:       pkg
>Synopsis:       math/mpfr (& others??) needs a revbump
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Mar 24 05:35:00 +0000 2010
>Originator:     Robert Elz
>Release:        NetBSD 4.0 / i386   pkgsrc current 2010-03-24
        Prince of Songkla University
System: NetBSD 4.0_STABLE NetBSD 4.0_STABLE 
(JADE-1.696-20080517) #9: Fri May 23 18:55:13 ICT 2008 i386
Architecture: i386
Machine: i386
        The update of devel/gmp from version 4.3.1 to version 5.0.1
        changed the major version of its shared lib from

        math/mpfr installs a shares lib with a runtime dependency
        upon - when the version of was
        changed, mpfr needs to be rebuilt so it can link against
        the correct version.

        The pkgsrc way of achieving that is the (in)famous recursive
        revbump - either that wasn't done at all in this case, or
        (at the very least) math/mpfr was missed.

        I found this attempting to build the latest version of
        lang/gcc44 - the build failed claiming that while building
        libgcc it was unable to determine the suffix of object
        files ...

        The reason turned out to be that (even though there was
        for the program being compiled no rational reason to need
        any of this) the test program was linking against
        and that one (installed from my latest binary package building
        of math/mpfr - predating the gmp update) required,
        but installing devel/gmp had installed

pkg_comp:default.conf# ldd 
        -lgmp.10 => /usr/pkg/lib/
        -lstdc++.6 => /usr/lib/
        -lm.0 => /usr/lib/
        -lm.0 => /usr/lib/
        -lgcc_s.1 => /usr/lib/
        -lgmp.3 => not found

        Rebuilding math/mpfr fixed that problem.

        Do a recursive revbump for the devel/gmp update if that
        has not already been done (but not for any packages that
        have been updated for other reasons in the past month or so).

        Or, at the very least, revbump math/mpfr

Home | Main Index | Thread Index | Old Index