Page MenuHomePhabricator

Buster grid problem: some perl modules are missing
Closed, ResolvedPublic

Description

While migrating (my tool) to the Buster job grid I ran into this problem:

i called
jsub -once -j y -release buster -quiet -v LC_ALL=en_US.UTF-8 /data/project/camelbot/bot/camelbot.pl
but the command did not succeed because of missing perl modules, e.g. File::Slurp.

see https://gitlab.com/wp-seth/camelbot/-/blob/master/Makefile.PL#L13-28 for a list of modules i need.

i guess i need the following debian packages:
libdatetime-format-epoch-perl libdatetime-format-human-duration-perl libdatetime-format-mysql-perl libdatetime-perl libfile-slurp-perl libterm-readkey-perl libyaml-perl libdate-calc-perl libmediawiki-bot-perl libtie-ixhash-perl
and maybe also:
libbot-basicbot-perl libfile-chmod-perl libfile-spec-perl libfile-touch-perl libipc-run-perl libterm-readline-gnu-perl libtext-diff-perl libtext-asciitable-perl libreadonly-perl libwww-mechanize-perl

related: https://phabricator.wikimedia.org/T214343

Event Timeline

i guess, this gets some kind of urgent, as buster is the new default now.
my script at toolforge is only running if i use the -release=stretch param.

Change 805859 had a related patch set uploaded (by Majavah; author: Majavah):

[operations/puppet@production] P:toolforge: exec_env: install libfile-slurp-perl

https://gerrit.wikimedia.org/r/805859

Change 805859 merged by David Caro:

[operations/puppet@production] P:toolforge: exec_env: install libfile-slurp-perl

https://gerrit.wikimedia.org/r/805859

taavi claimed this task.
taavi subscribed.

Hi and sorry for the delay!

Out of the list of packages you provided, libfile-slurp-perl is the only package installed on the stretch grid but not on buster. I suspect that it's installed as a dependency of some package on stretch but not on buster. The above patch installs it on buster too, it should roll out everywhere within the next 30 minutes. Please re-open if you need any more packages installed.

ah, great! thanks! it works! 👍

Change 806242 had a related patch set uploaded (by Majavah; author: Majavah):

[operations/docker-images/toollabs-images@master] perl: add libfile-slurp-perl package

https://gerrit.wikimedia.org/r/806242

Change 806242 merged by jenkins-bot:

[operations/docker-images/toollabs-images@master] perl: add libfile-slurp-perl package

https://gerrit.wikimedia.org/r/806242