Christopher Baines <m...@cbaines.net> skribis: > Christopher Baines <m...@cbaines.net> writes: > >> I noticed through the Guix Data Service that some narinfo files from >> ci.guix.gnu.org have an excessive NarSize. >> >> These are the three that I've found, but there could be more. >> >> >> /gnu/store/qln574djfgl8h9glij9id8jips7nnrlw-flightgear-2018.3.5 >> NarSize: 18446744072099351584 >> >> /gnu/store/qhix6afvy2a6n7hlx4qgdns461p8kdnv-repeat-masker-4.1.1 >> NarSize: 18446744071612438544 >> >> /gnu/store/wd9z64xpck56xzf52jwlpg8vb610b0ym-repeat-masker-4.1.1 >> NarSize: 18446744071612438544 > > Guix gives the following error when it encounters one of these bad > narinfos: > > error: integer expected from stream
I guess ‘guix substitute --query’ reads the narinfo, passes the negative integer as is to the daemon (for ‘query-path-info’ RPCs), which rightfully complains. It would be nice for ‘guix publish’ to not emit broken narinfos, and perhaps we can also add extra checks in the (guix narinfo) reader. Ludo’.