Bug 210424 - sys-libs/libcap-2.06 compile fails /bin/sh: indent: command not found
Bug#: 210424 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: base-system@gentoo.org Reported By: ninex@o2.pl
Component: Core system
URL: 
Summary: sys-libs/libcap-2.06 compile fails /bin/sh: indent: command not found
Keywords:  
Status Whiteboard: 
Opened: 2008-02-17 00:39 0000
Description:   Opened: 2008-02-17 00:39 0000
=> making cap_names.c from <linux/capability.h>
x86_64-pc-linux-gnu-gcc 
-I/var/tmp/portage/sys-libs/libcap-2.06/work/libcap-2.06/libcap/../libcap/include
-I/var/tmp/portage/sys-libs/libcap-2.06/work/libcap-2.06/libcap/../libcap/include
_makenames.c -o _makenames
sed -e 's/[\{\"]//g' -e 's/\}.*//' -e '1istruct __cap_token_s { const char
*name; int index; };\n%{\nconst struct __cap_token_s *__cap_lookup_name(const
char *, unsigned int);\n%}\n%%' cap_names.sed | gperf --ignore-case
--language=ANSI-C --readonly --null-strings --global-table
--hash-function-name=__cap_hash_name --lookup-function-name="__cap_lookup_name"
-c -t -m20 | indent -kr > _caps_output.gperf
/bin/sh: indent: command not found
make[1]: *** [_caps_output.gperf] Error 127
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory
`/var/tmp/portage/sys-libs/libcap-2.06/work/libcap-2.06/libcap'
make: *** [all] Error 2

missing dependency?
ninex@kosh ~ $ emerge --info
Portage 2.1.4.4 (default-linux/amd64/2007.0, gcc-4.2.2, glibc-2.7-r1,
2.6.24-gentoo-r2 x86_64)
=================================================================
System uname: 2.6.24-gentoo-r2 x86_64 Intel(R) Core(TM)2 Duo CPU T7700 @
2.40GHz
Timestamp of tree: Sun, 17 Feb 2008 00:00:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.4
dev-lang/python:     2.5.1-r5
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.24
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -pipe -O2 -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf
/etc/gconf /etc/init.d /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=nocona -pipe -O2 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="candy collision-protect distlocks metadata-transfer parallel-fetch
sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.prz.rzeszow.pl          
http://distfiles.gentoo.org            
http://www.ibiblio.org/pub/Linux/distributions/gentoo          
http://dev.gentoo.org"
LINGUAS="en pl"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --stats --timeout=180 --exclude=/distfiles
--exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="7zip X a52 aac acpi alsa amd64 audacious bash-completion branding bzip2
caps cdparanoia chardet cups curl cxx dbus deprecated devil dga divx dri dts dv
dvd dvdr dvdread encode exif fbcon ffmpeg firefox flac fontconfig gif gnutls
gpm grub hal icons iconv ipv6 java jpeg jpeg2k kde kdeenablefinal laptop
lm_sensors logitech-mouse logrotate lzo mad midi mmx mmxext mng mp2 mp3 mpeg
ncurses network-cron nls no-old-linux nptl nptlonly nsplugin offensive ogg
opengl pam pcre pdf perl plugins png ppds python qt3 rar readline samba sdl
slang smp spell sse sse2 ssl ssse3 svg symlink syslog test themes theora
threads tiff truetype unicode utempter v4l2 voice vorbis wifi wma wmf wmp x264
xanim xcomposite xinerama xml xorg xscreensaver xv xvid zip zlib"
ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare
dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw
multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias
auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm
authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache
dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache
filter headers include info log_config logio mem_cache mime mime_magic
negotiation rewrite setenvif speling status unique_id userdir usertrack
vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses
text" LINGUAS="en pl" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL,
LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Reproducible: Always

------- Comment #1 From Mark Kowarsky 2008-02-17 01:14:10 0000 -------
I can confirm that emerging dev-util/indent allows libcap-2.06 to install.

------- Comment #2 From teidakankan@gmail.com 2008-02-17 01:30:28 0000 -------
(In reply to comment #1)
> I can confirm that emerging dev-util/indent allows libcap-2.06 to install.
> 

... and so it does.  Thank You.

------- Comment #3 From Kai 2008-02-17 02:40:27 0000 -------
This is not the missing dep on indent, but another build error. I'm using
gcc-4.1.2, everything else is current ~x86

i686-pc-linux-gnu-gcc -O2 -march=athlon-xp -pipe -Wall -Wwrite-strings
-Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes
-Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wall -Wwrite-strings
-Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes
-Wmissing-prototypes -Wnested-externs -Winline -Wshadow -fPIC
-I/var/tmp/portage/sys-libs/libcap-2.06/work/libcap-2.06/libcap/../libcap/include
-I/var/tmp/portage/sys-libs/libcap-2.06/work/libcap-2.06/libcap/../libcap/include
-Dlinux -include _caps_output.gperf -c cap_text.c -o cap_text.o
i686-pc-linux-gnu-gcc -O2 -march=athlon-xp -pipe -Wall -Wwrite-strings
-Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes
-Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wall -Wwrite-strings
-Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes
-Wmissing-prototypes -Wnested-externs -Winline -Wshadow -fPIC
-I/var/tmp/portage/sys-libs/libcap-2.06/work/libcap-2.06/libcap/../libcap/include
-I/var/tmp/portage/sys-libs/libcap-2.06/work/libcap-2.06/libcap/../libcap/include
-Dlinux -c cap_file.c -o cap_file.o
cap_file.c:8:24: error: attr/xattr.h: No such file or directory
cap_file.c: In function 'cap_get_fd':
cap_file.c:180: warning: implicit declaration of function 'fgetxattr'
cap_file.c:180: warning: nested extern declaration of 'fgetxattr'
cap_file.c: In function 'cap_get_file':
cap_file.c:210: warning: implicit declaration of function 'getxattr'
cap_file.c:210: warning: nested extern declaration of 'getxattr'
cap_file.c: In function 'cap_set_fd':
cap_file.c:246: warning: implicit declaration of function 'fremovexattr'
cap_file.c:246: warning: nested extern declaration of 'fremovexattr'
cap_file.c:253: warning: implicit declaration of function 'fsetxattr'
cap_file.c:253: warning: nested extern declaration of 'fsetxattr'
cap_file.c: In function 'cap_set_file':
cap_file.c:278: warning: implicit declaration of function 'removexattr'
cap_file.c:278: warning: nested extern declaration of 'removexattr'
cap_file.c:284: warning: implicit declaration of function 'setxattr'
cap_file.c:284: warning: nested extern declaration of 'setxattr'
make[1]: *** [cap_file.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory
`/var/tmp/portage/sys-libs/libcap-2.06/work/libcap-2.06/libcap'
make: *** [all] Error 2

------- Comment #4 From SpanKY 2008-02-17 06:30:41 0000 -------
fixed in cvs

http://sources.gentoo.org/sys-libs/libcap/libcap-2.06.ebuild?r1=1.1&r2=1.2

------- Comment #5 From Samuli Suominen 2008-02-17 07:50:22 0000 -------
*** Bug 210437 has been marked as a duplicate of this bug. ***

------- Comment #6 From Jakub Moc (RETIRED) 2008-02-17 11:34:11 0000 -------
*** Bug 210453 has been marked as a duplicate of this bug. ***

------- Comment #7 From Jakub Moc (RETIRED) 2008-02-17 12:32:54 0000 -------
*** Bug 210456 has been marked as a duplicate of this bug. ***

------- Comment #8 From Jakub Moc (RETIRED) 2008-02-17 15:21:50 0000 -------
*** Bug 210479 has been marked as a duplicate of this bug. ***

------- Comment #9 From Jakub Moc (RETIRED) 2008-02-17 19:32:35 0000 -------
*** Bug 210515 has been marked as a duplicate of this bug. ***

------- Comment #10 From Jakub Moc (RETIRED) 2008-02-18 15:58:57 0000 -------
*** Bug 210592 has been marked as a duplicate of this bug. ***