We've had reports that on some platforms (using newer Perl versions like 5.36 - 5.34 still is ok) "pipedream -checkdeps" reports an error
Can't modify undef operator in scalar assignment at /home/sharp3/buster-2.10/scripts/../lib/perl5/BDG/Pipedream.pm line 138, near "undef;" Compilation failed in require at /home/sharp3/buster-2.10/scripts/pipedream line 22. BEGIN failed--compilation aborted at /home/sharp3/buster-2.10/scripts/pipedream line 22.
This is due to a missing semicolon on line 137:
our $numallchains = undef
should be
our $numallchains = undef;
In that case, you should be able to fix it via
sed -i "s/our \$numallchains = undef /our \$numallchains = undef;/g" $BDG_home/lib/perl5/BDG/Pipedream.pm
Linux distributions with Perl 5.36 (or above): Fedora 37 (released 11/2022), Fedora 38 (released 04/2023), Ubuntu 23.04 (released 04/2023), Debian 12 (released 06/2023).