pkgsrc-Bugs archive

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

pkg/41345: lang/clisp needs a revbump



>Number:         41345
>Category:       pkg
>Synopsis:       lang/clisp needs a revbump
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon May 04 05:35: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:
        lang/clisp was last changed last November (approx), a binary
        package built then says ...

Requires:
ffcall>=1.10nb1
readline>=5.0
glib2>=2.14.3
pcre>=6.2
libsigsegv>=2.4

        readline was updated in Feb, and is now 6.0 (which is >= 5.0
        and so satisfies the pkgsrc dependency).

        However, readline 6.0 provides libreadline.so.6 whereas
        the older clisp binary was linked against the previous
        version of readline (which provided libreadline.so.5)
        which is no longer available to be found.

        Assuming the readline changes aren't API incompatible
        with clisp (I assume there must have been an ABI change
        for the lib major number to have been bumped) then simply
        rebuilding clisp should fix this.   A revbump (as ugly
        as it is for this purpose) would indicate that clisp
        needs to be rebuilt, which should have it link against
        the newer readline.

>How-To-Repeat:
        Attempt to build math/maxima with binary packages of
        clisp and readline, built at the time of each of their
        most recent updates.

        Expect to see ...

===> Binary install for clisp-[0-9]*
=> Installing clisp-[0-9]* from /pkg_comp/packages/All
readline-6.0: registering info file /usr/pkg/info/history.info
readline-6.0: registering info file /usr/pkg/info/readline.info
readline-6.0: registering info file /usr/pkg/info/rluserman.info
clisp-2.47 successfully installed.

        clisp installed as a dependency, which in turn brings
        in readline.

        Then later, clisp is used ...

clisp enabled. Executable name: "clisp"
clisp runtime is ""
default lisp: clisp
wish executable name: "wish"
===> Building for maxima-5.18.1
Making all in src
test -d binary-clisp || mkdir binary-clisp
clisp -norc -q -x '(progn (load "../lisp-utils/defsystem.lisp") (funcall 
(intern (symbol-name :operate-on-system) :mk) "maxima" :compile :verbose t))' 
&&  clisp-norc -q -x '(progn (load "../lisp-utils/defsystem.lisp") (funcall 
(intern (symbol-name :operate-on-system) :mk) "maxima" :load :verbose t) 
(ext:saveinitmem "binary-clisp/maxima.mem" :init-function (function 
cl-user::run)))'
Shared object "libreadline.so.5" not found
*** Error code 1

>Fix:
        Workaround is to remove the clisp binary package and rebuild
        it, which is best caused by a lang/clisp revbump so all the old
        binary packages or clisp that (might have been linked against
        readline 5) get obsoleted and replaced wth new ones.

        Anything else that both is older than readline and uses it
        is likely to need the same treatment.

        The correct fix is to do something about the horrid pkgsrc
        binary dependency system, which is 100% bogus as it is now.



Home | Main Index | Thread Index | Old Index