Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 390263 - sys-libs/libcap-2.22: missing DEPEND on perl
Summary: sys-libs/libcap-2.22: missing DEPEND on perl
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-12 15:22 UTC by Bruno
Modified: 2011-11-12 19:36 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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