Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#17663 - the command md5pass from syslinux fails to run.

Attached to Project: Arch Linux
Opened by Damjan Dimitrioski (gnu_D) - Thursday, 31 December 2009, 12:02 GMT
Last edited by Tobias Powalowski (tpowa) - Sunday, 03 January 2010, 10:14 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Tobias Powalowski (tpowa)
Architecture i686
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:


Additional info:
* syslinux 3.83-1
* command: md5pass

Steps to reproduce:
the command md5pass which is part of this package, fails to run because it depends of another package, this is the error>

Can't locate Crypt/PasswdMD5.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.10.1 /usr/share/perl5/site_perl/5.10.1 /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl /usr/lib/perl5/current /usr/lib/perl5/site_perl/current .) at /usr/bin/md5pass line 4.

Fix:
The dependencies of the syslinux does not include the perl-passwd-md5 package which is needed to run this command.

So this solution fixed the md5pass command, now the original PKGBUILD:
BEGIN failed--compilation aborted at /usr/bin/md5pass line 4.
Name : syslinux
Version : 3.83-1
URL : http://syslinux.org
Licenses : GPL
Groups : None
Provides : None
Depends On : *perl glibc mtools*
Optional Deps : None
Required By : usb-creator
Conflicts With : None
Replaces : None
Installed Size : 2419.00 K
Packager : Tobias Powalowski <tpowa@archlinux.org>
Architecture : i686
Build Date : Tue 27 Oct 2009 09:19:07 PM CET
Install Date : Sun 01 Nov 2009 01:47:49 AM CET
Install Reason : Explicitly installed
Install Script : No
Description : a boot loader for the Linux operating system which operates off an
MS-DOS/Windows FAT filesystem.

needs to be fixed:
Depends On : perl glibc mtools
to
Depends On : perl perl-passwd-md5 glibc mtools

Now the command works properly:
[gnu_d@Kolg ~]$ md5pass Dude
$1$mT7QweTK$Ta9QwPLNz96cBMz8sMjhE1
This task depends upon

Closed by  Tobias Powalowski (tpowa)
Sunday, 03 January 2010, 10:14 GMT
Reason for closing:  Fixed
Additional comments about closing:  3.84-2
Comment by Damjan Dimitrioski (gnu_D) - Thursday, 31 December 2009, 12:25 GMT
I apologise for not adding this too, but sha1pass fails too with this:

[gnu_d@Kolg ~]$ sha1pass
Can't locate Digest/SHA1.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.10.1 /usr/share/perl5/site_perl/5.10.1 /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl /usr/lib/perl5/current /usr/lib/perl5/site_perl/current .) at /usr/bin/sha1pass line 4.
BEGIN failed--compilation aborted at /usr/bin/sha1pass line 4.

Fix:
Install perl-digest-sha1-2 from extra.

Now it works:
[gnu_d@Kolg ~]$ sha1pass Dude
$4$cDHsKemm$+GSI5kWVbVu9xzszwNPQaqlBGiQ$

So overall:
Depends On : perl perl-passwd-md5 perl-digest-sha1-2 glibc mtools
Comment by Damjan Dimitrioski (gnu_D) - Thursday, 31 December 2009, 14:44 GMT
Comment by Tobias Powalowski (tpowa) - Saturday, 02 January 2010, 09:27 GMT
More an optdepend, normal syslinux doesn't need it.

Loading...