Skip to content

extract-source fails with "Can't locate IO/String.pm" in uscan

Hi, the uscan fallback codepath of extract-sources fails with the following error message:

Trying uscan --download --download-current-version ...
Can't locate IO/String.pm in @INC (you may need to install the IO::String module) (@INC entries checked: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.40.1 /usr/local/share/perl/5.40.1 /usr/lib/x86_64-linux-gnu/perl5/5.40 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.40 /usr/share/perl/5.40 /usr/local/lib/site_perl) at /usr/share/perl5/Devscripts/Uscan/Version4.pm line 7.
BEGIN failed--compilation aborted at /usr/share/perl5/Devscripts/Uscan/Version4.pm line 7.
Compilation failed in require at /usr/share/perl5/Devscripts/Uscan/WatchFile.pm line 236.

You can see an example of this issue at https://salsa.debian.org/gioele/bats-assert/-/jobs/8016347.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information