Oh! Glad my blunder helped expose a bug, but wondering why I left an empty file 
around in the egg. I'll clean that up too.

Thanks!
Diego


On Sunday, November 16th, 2025 at 13:01, Mario Domenech Goulart 
<[email protected]> wrote:

> Hi,
> 
> The attached patches handle a chicken-install issue reported byDiego
> 
> 
> when fetching srfi-197, which contains an empty file (srfi-197-impl.scm):
> 
> $ chicken-install -r srfi-197
> fetching srfi-197
> 
> Error: (write-bytevector) bad argument type - not a bytevector: #!eof
> 
> I've put the fixes in two separate commits because I'm not sure the fix
> in 0002-egg-download.scm-Handle-empty-files.patch is the cleanest one.
> 
> As per why this issue is not caught by test-new-egg: test-new-egg
> doesn't use chicken-install to fetch eggs (it uses henrietta-cache), as
> at that point the eggs are not available in cache servers yet.
> 
> All the best.
> Mario
> --
> https://parenteses.org/mario

Reply via email to