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#25998 - [iproute2] perl package

Attached to Project: Arch Linux
Opened by Mick (earnon) - Tuesday, 13 September 2011, 22:08 GMT
Last edited by Ionut Biru (wonder) - Monday, 09 January 2012, 15:09 GMT
Task Type Feature Request
Category Packages: Core
Status Closed
Assigned To Ronald van Haren (pressh)
Ionut Biru (wonder)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
The 'iproute2' binaries doesn't need 'perl' package.


Additional info:
* package version(s): 2.6.39-1


Steps to reproduce:
In a terminal, use the next command

[root@host ~]# ldd $(pacman -Ql iproute2 | grep 'bin/[a-z]' | cut -d' ' -f2) | grep perl
nothing

[root@host ~]# file $(pacman -Ql iproute2 | cut -d' ' -f2) | grep perl
/usr/share/doc/iproute2/examples/diffserv/afcbq: a /usr/bin/perl script, ASCII text executable
/usr/share/doc/iproute2/examples/diffserv/ef-prio: a /usr/bin/perl script, ASCII text executable
/usr/share/doc/iproute2/examples/diffserv/efcbq: a /usr/bin/perl script, ASCII text executable

[root@host ~]# ls -l /usr/share/doc/iproute2/examples/diffserv/{afcbq,ef-prio,efcbq}
-rw-r--r-- 1 root root XXXX Jul 19 00:47 /usr/share/doc/iproute2/examples/diffserv/<file>

[root@host ~]# /usr/share/doc/iproute2/examples/diffserv/afcbq //same with 'ef-prio' and 'efcbq'
-bash: /usr/share/doc/iproute2/examples/diffserv/afcbq: Permission denied


Solutions:
Add 'perl' package in optional depends and change the right on the perl's script (add 'x' for execution)
Or remove this package because theses scripts are not necessary (script in 'doc/examples' directory and no right for execution)
This task depends upon

Closed by  Ionut Biru (wonder)
Monday, 09 January 2012, 15:09 GMT
Reason for closing:  Fixed
Additional comments about closing:  iproute2-3.2.0-1

perl dependency dropped as is used only in examples but not in any iproute2 commands
Comment by Alexander Vladimirov (idkfa) - Sunday, 25 September 2011, 15:31 GMT
I think perl should be optional dependency, because iproute2 programs do not require it. It's just a few example scripts which are not even likely to run depend on it.
Comment by Mick (earnon) - Saturday, 05 November 2011, 21:46 GMT
I prefer this choice too.

Loading...