Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#159 closed defect (fixed)

chicken-install fails to check required versions properly

Reported by: Ivan Raikov Owned by:
Priority: critical Milestone:
Component: core tools Version: 4.3.x
Keywords: Cc:
Estimated difficulty:

Description

Installing an old version of svn-client and then installing qwiki results in the following error:

Error: (string=?) bad argument type: ("svn-client" . "0.11")

It appears that the version comparison code in chicken-install is broken.

Change History (7)

comment:1 Changed 15 years ago by felix winkelmann

Can you give me a backtrace or something?

comment:2 in reply to:  1 Changed 15 years ago by Ivan Raikov

Replying to felix:

Can you give me a backtrace or something?

Below is the full output of chicken-install. How do I get it to print a backtrace?

igr@pequod:~$ ~/bin/chicken/bin/chicken-install qwiki
retrieving ...
connecting to host "chicken.kitten-technologies.co.uk", port 80 ...
requesting "/henrietta.cgi?name=qwiki" ...
reading response ...
HTTP/1.1 200 OK
Date: Wed, 13 Jan 2010 07:34:59 GMT
Server: Apache
Connection: close
Transfer-Encoding: chunked
Content-Type: text/plain
reading chunks ...
reading files ...

./qwiki-nowiki.scm
./qwiki.setup
./qwiki.scm
./qwiki-sxml.scm
./qwiki-search.scm
./qwiki-install.scm
./qwiki-svn.scm
./qwiki.meta
./qwiki-post-commit-hook.scm

qwiki located at /tmp/chicken-install-316.tmp/qwiki

checking dependencies for `qwiki' ...

The following installed extensions are outdated, because `qwiki' requires later versions:

svn-client (0.10 -> 0.11)

Do you want to replace the existing extensions? (yes/no/abort) yes

upgrade: svn-client

removing previously installed extension `svn-client' ...

rm -fr /home/igr/bin/chicken/lib/chicken/4/svn-client.so
rm -fr /home/igr/bin/chicken/lib/chicken/4/svn-client.import.so
rm -fr /home/igr/bin/chicken/lib/chicken/4/svn-client.setup-info

retrieving ...
connecting to host "chicken.kitten-technologies.co.uk", port 80 ...
requesting "/henrietta.cgi?name=svn-client" ...
reading response ...
HTTP/1.1 200 OK
Date: Wed, 13 Jan 2010 07:35:04 GMT
Server: Apache
Connection: close
Transfer-Encoding: chunked
Content-Type: text/plain
reading chunks ...
reading files ...

./svn-client.setup
./svn-client.scm
./svn-client.meta

svn-client located at /tmp/chicken-install-316.tmp/svn-client

checking dependencies for `svn-client' ...

Error: (string=?) bad argument type: ("svn-client" . "0.11")

comment:3 Changed 15 years ago by felix winkelmann

You'll need a debug-version of chicken (DEBUGBUILD=1 in Make-config) to
see a backtrace.

comment:4 Changed 15 years ago by felix winkelmann

Priority: majorcritical

comment:5 in reply to:  3 Changed 15 years ago by Ivan Raikov

I have built chicken with DEBUGBUILD=1 but still no backtrace.

Replying to felix:

You'll need a debug-version of chicken (DEBUGBUILD=1 in Make-config) to
see a backtrace.

comment:6 Changed 15 years ago by felix winkelmann

Resolution: fixed
Status: newclosed

Fixed in 2c7c6cca5 (master)

comment:7 Changed 15 years ago by (none)

Milestone 4.4.0 deleted

Note: See TracTickets for help on using tickets.