chicken-users
[Top][All Lists]
Advanced

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

chicken-install bug


From: siiky
Subject: chicken-install bug
Date: Mon, 3 Jul 2023 13:13:59 +0100
User-agent: Mozilla Thunderbird

Hi all,


I reported a chicken-install bug on IRC but figured it would be best to send an email in case people have missed it there.

The bug is that chicken-install fails to install/update an egg because of an error thrown by `make-pathname`.

I first encountered it trying to upgrade all my installed eggs. In particular, it failed trying to install sql-null. The root cause seems to be the `version` field of the egg file, which is a number instead of a string. Not sure it could make a difference, but I'm using the all-eggs repo.

In this paste[0] you'll find the error, possibly problematic egg files (i.e., files with a non-string `version` field), and two possible patches (one of which I send attached). Two of the egg files result in an "unterminated list" error (math:0.2.2 & message-digest-utils:4.2.2), but they're not the latest version so not problematic anymore.

The reason for the two patches is that I found 3 possible "bad uses" of `make-pathname`, but one of them alone fixes the original problem. Maybe chicken-install can fail in other scenarios, I just couldn't understand in which...


[0]: https://paste.call-cc.org/paste?id=8ad4220ef964af3976d87c142a248e60d2f52229


siiky

Attachment: 0001-Avoid-crashing-on-egg-files-with-non-string-version-.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]