Summary: | app-crypt/johntheripper-jumbo-1.9.0: Perl lib files are not installed | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Daniel Peters <sir_tuam> |
Component: | Current packages | Assignee: | Rick Farina (Zero_Chaos) <zerochaos> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | jstein, korte, sam |
Priority: | Normal | Keywords: | PullRequest |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://github.com/gentoo/gentoo/pull/27318 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 832452 |
Description
Daniel Peters
2022-01-05 22:17:00 UTC
Could it be a problem with the path(s)? pdf2john.pl Can't locate ExifTool.pm in @INC (you may need to install the ExifTool module) (@INC contains: /usr/share/john/lib /etc/perl /usr/local/lib64/perl5/5.34/aarch64-linux-thread-multi /usr/local/lib64/perl5/5.34 /usr/lib64/perl5/vendor_perl/5.34/aarch64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.34 /usr/lib64/perl5 /5.34/aarch64-linux-thread-multi /usr/lib64/perl5/5.34) at /usr/bin/pdf2john.pl line 40. BEGIN failed--compilation aborted at /usr/bin/pdf2john.pl line 40. cd /usr/lib64/perl5/vendor_perl/5.34 cp Image/ExifTool.pm . pdf2john.pl Name "ExifTool::langs" used only once: possible typo at /usr/bin/pdf2john.pl line 772. Name "ExifTool::charsetName" used only once: possible typo at /usr/bin/pdf2john.pl line 590. Name "ExifTool::langName" used only once: possible typo at /usr/bin/pdf2john.pl line 772. Name "ExifTool::configFile" used only once: possible typo at /usr/bin/pdf2john.pl line 37. Can't locate object method "new" via package "ExifTool" at /usr/bin/pdf2john.pl line 404. As far as I understand this could be related: * https://bugs.archlinux.org/task/63626 * https://github.com/openwall/john/issues/4089 I found a workaround for me: sudo bash mkdir /usr/share/john/lib cd /usr/share/john/lib wget https://github.com/openwall/john/raw/bleeding-jumbo/run/lib/RandomAccess.pm wget https://github.com/openwall/john/raw/bleeding-jumbo/run/lib/PDF.pm wget https://github.com/openwall/john/raw/bleeding-jumbo/run/lib/ExifTool.pm If I understand it right: > Yes, the exif lib distributed with john isn't anything similar or compatible to the latest official Image::ExifTool module, in fact it was never meant to be compatible as the use statement explicitly just includes ExifTool instead of Image::ExifTool. from: https://github.com/openwall/john/issues/4089#issuecomment-527456862 (In reply to korte from comment #1) > Could it be a problem with the path(s)? No. The required files are in the workdir under run/lib . They can be installed from there into /usr/share/john/lib (no need for downloading them separately). The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=000432917e31a8f0dbbacde06951ac9a70342be7 commit 000432917e31a8f0dbbacde06951ac9a70342be7 Author: matoro <matoro@users.noreply.github.com> AuthorDate: 2022-09-18 03:29:25 +0000 Commit: Rick Farina <zerochaos@gentoo.org> CommitDate: 2022-10-02 02:10:44 +0000 app-crypt/johntheripper-jumbo: install bundled perl deps Several perl scripts e.g. pdf2john.pl need these local bundled perl deps installed. They are pretty heavily forked from the original upstream versions, and locally contained to this package. Closes: https://bugs.gentoo.org/830660 Signed-off-by: Rick Farina <zerochaos@gentoo.org> .../johntheripper-jumbo-1.9.0_p20211129-r1.ebuild | 159 +++++++++++++++++++++ 1 file changed, 159 insertions(+) |