Should perl-compress-raw-lzma be dependency of john (1.9.0.jumbo1-6)?

I install john (1.9.0.jumbo1-6) via pamac successfully. When I try to use 7z2john. It turns out those:

[kearney@xx ]$ 7z2john 
Can't locate Compress/Raw/Lzma.pm in @INC (you may need to install the Compress::Raw::Lzma module) (@INC contains: /usr/lib/perl5/5.34/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/5.34/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/5.34/core_perl /usr/share/perl5/core_perl) at /usr/bin/7z2john line 6.
BEGIN failed--compilation aborted at /usr/bin/7z2john line 6.

That is quite easy to know the solution is install Lzma. Then I install perl-compress-raw-lzma (2.101-2) form AUR via pamac. Then it finally works.

[kearney@xx ]$ 7z2john 
Usage: /usr/bin/7z2john <7-Zip file>...

So I am curious about whether perl-compress-raw-lzma is the depend of john

pacman -Si john

Repository      : community
Name            : john
Version         : 1.9.0.jumbo1-6
Description     : John the Ripper password cracker
Architecture    : x86_64
URL             : https://www.openwall.com/john
Licenses        : GPL2  custom
Groups          : None
Provides        : None
Depends On      : openssl  gmp  libpcap  openmpi  gcc-libs  opencl-icd-loader
                  libxcrypt  libcrypt.so=2-64
Optional Deps   : bash-completion: completion for bash
                  lua: lua based john scripts
                  perl: perl based john scripts
                  ruby: ruby based john scripts
                  python: python based john scripts
Conflicts With  : None
Replaces        : None
Download Size   : 16.54 MiB
Installed Size  : 69.54 MiB
Packager        : Caleb Maclennan <alerque@archlinux.org>
Build Date      : Sat 25 Dec 2021 05:10:41 AM EST
Validated By    : MD5 Sum  SHA-256 Sum  Signature

Thanks for your reply. There are 8 depends and 5 optional depends. None of them is perl-compress-raw-lzma.

not really know what is the ponit :cold_face: