NetBSD-Bugs archive

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

lib/43306: NetBSD 5.1_RC1 is not backwards binary compatible with 5.0



>Number:         43306
>Category:       lib
>Synopsis:       NetBSD 5.1_RC1 is not backwards binary compatible with 5.0
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    lib-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri May 14 15:20:00 +0000 2010
>Originator:     Robert Elz
>Release:        NetBSD 5.1_RC1
>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:
        NetBSD 5.1_RC1 contains /usr/X11R7/lib/libpixman-1.so.1
        NetBSD 5.0 contains /usr/X11R7/lib/libpixman-1.so.0  (and I
        suspect that 5.0.2 is the same as 5.0)

        Anything from 5.0 linked with -lpixman fails to find
        libpixman-1.so.0 

        pkgsrc has no compat50 package to work around this.

        I have no idea what category this PR should be filed under,
        I have it under lib as it is a library that is a problem,
        but it is an X library, so perhaps xsrc might have been
        better?   Or perhaps misc, or ...   Please move as appropriate.

>How-To-Repeat:
        By inspection of the various releases, or by attempting to run
        binaries compiled for 5.0 on a 5.1 system

        Since I compile all my pkgsrc binaries for (some) N.0 system
        this is a problem...  (Even anything new I compile would be
        compiled using pkg_comp with 5.0 installed in its sandbox,
        not 5.1)

        Note I did a clean (fresh) install of NetBSD 5.1_RC1, it was
        not an upgrade from 5.0, so there was no way for old libraries
        to hang around (just not being removed) - then I started
        pkg_add'ing binary packages I had compiled (earlier) against
        a 5.0 kernel/system.

>Fix:
        Best would be to distribute a binary (at least) for
        libpixman-1.so.0 (as well as libpixman-1.so.1) so that
        binaries compiled for either sytem can run.

        Alternatively, at least a compat50 pkgsrc package to install
        this missing library (and any others that I didn't
        notice yet).   (It needs to be possible to build this on
        NetBSD 5.0. not only on > 5.0)

        As a workaround, simply symlinking libpixman-1.so.1.0 to
        libpixman.so.0 worked for me (well enough to start firefox and
        seamonkey anyway, which 2 pkgsrc pachages I noticed that
        need libpixman-1 but were unable to locate the major version
        they needed).   That suggests that either the major version
        bump was not needed, or perhaps whatever changed affects
        very little (and yes, I know doing that was dangerous).



Home | Main Index | Thread Index | Old Index