Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 390263

Summary: sys-libs/libcap-2.22: missing DEPEND on perl
Product: Gentoo Linux Reporter: Bruno <bonbons>
Component: [OLD] Core systemAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Bruno 2011-11-12 15:22:11 UTC
libcap needs perl to pre-process capability.h

Reproducible: Always

Steps to Reproduce:
1. emerge --depclean --with-bdeps=n
   (which removes perl as nothing depends on it since autotools
    are no more part of system)
2. emerge --oneshot libcap
Actual Results:  
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/sys-libs/libcap-2.22/work/libcap-2.22 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/sys-libs/libcap-2.22/work/libcap-2.22 ...
make -j2
make -C libcap all
make[1]: Entering directory `/var/tmp/portage/sys-libs/libcap-2.22/work/libcap-2.22/libcap'
=> making cap_names.list.h from /var/tmp/portage/sys-libs/libcap-2.22/work/libcap-2.22/libcap/../libcap/include/linux/capability.h
perl -e 'while ($l=<>) { if ($l =~ /^\#define[ \t](CAP[_A-Z]+)[ \t]+([0-9]+)\s+$/) { $tok=$1; $val=$2; $tok =~ tr/A-Z/a-z/; print "{\"$tok\",$val},\n"; } }' /var/tmp/portage/sys-libs/libcap-2.22/work/libcap-2.22/libcap/../libcap/include/linux/capability.h | fgrep -v 0x > cap_names.list.h
/bin/sh: perl: command not found
make[1]: *** [cap_names.list.h] Error 1
make[1]: Leaving directory `/var/tmp/portage/sys-libs/libcap-2.22/work/libcap-2.22/libcap'
make: *** [all] Error 2
emake failed
Comment 1 SpanKY gentoo-dev 2011-11-12 19:36:37 UTC
should be all set now in the tree; thanks for the report!

Commit message: Do not require perl to build
http://sources.gentoo.org/sys-libs/libcap/files/libcap-2.22-no-perl.patch?rev=1.1
http://sources.gentoo.org/sys-libs/libcap/libcap-2.22.ebuild?r1=1.7&r2=1.8