Summary
chicken-install fails to check required versions properly
Metadata
- Id: 650aec33937dd2edc60f07d81d4751e43c0a6da3
- Trac id: 159
- Type: defect
- Reporter: iraikov
- Owner:
- Cc:
- Status: closed
- Component: core tools
- Estimated difficulty:
- Resolution: fixed
- Priority: critical
- Milestone:
- Version: 4.3.x
- Changetime: 2010-03-11 10:33:12 UTC
- Created: 2010-01-13 07:52:28 UTC
- Keywords:
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.
Changes and comments
[2010-01-13 08:00:04 UTC] felix wrote:
Can you give me a backtrace or something?
[2010-01-13 08:37:40 UTC] iraikov wrote:
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")
[2010-01-13 08:50:30 UTC] felix wrote:
You'll need a debug-version of chicken (DEBUGBUILD=1 in Make-config) to see a backtrace.
[2010-01-13 19:08:06 UTC] felix changed priority from major to critical
[2010-01-14 02:03:48 UTC] iraikov wrote:
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.
[2010-01-15 16:08:40 UTC] felix changed status from new to closed
[2010-01-15 16:08:40 UTC] felix set resolution to fixed
[2010-01-15 16:08:40 UTC] felix wrote:
Fixed in 2c7c6cca5 (master)