<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>210424</bug_id>
          
          <creation_ts>2008-02-17 00:39 0000</creation_ts>
          <short_desc>sys-libs/libcap-2.06 compile fails /bin/sh: indent: command not found</short_desc>
          <delta_ts>2008-02-18 15:58:57 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Core system</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>ninex@o2.pl</reporter>
          <assigned_to>base-system@gentoo.org</assigned_to>
          <cc>alchark@gmail.com</cc>
    
    <cc>dieterv@optionexplicit.be</cc>
    
    <cc>edge87@gmail.com</cc>
    
    <cc>florian@openwrt.org</cc>
    
    <cc>gentoo@altkai.ml1.net</cc>
    
    <cc>jdaluz@gmail.com</cc>
    
    <cc>mark_alec@gentoo.org</cc>
    
    <cc>ted@allgoodbits.org</cc>
    
    <cc>teidakankan@gmail.com</cc>

      

      
          <long_desc isprivate="0">
            <who>ninex@o2.pl</who>
            <bug_when>2008-02-17 00:39:16 0000</bug_when>
            <thetext>=&gt; making cap_names.c from &lt;linux/capability.h&gt;
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 &apos;s/[\{\&quot;]//g&apos; -e &apos;s/\}.*//&apos; -e &apos;1istruct __cap_token_s { const char *name; int index; };\n%{\nconst struct __cap_token_s *__cap_lookup_name(const char *, unsigned int);\n%}\n%%&apos; cap_names.sed | gperf --ignore-case --language=ANSI-C --readonly --null-strings --global-table --hash-function-name=__cap_hash_name --lookup-function-name=&quot;__cap_lookup_name&quot; -c -t -m20 | indent -kr &gt; _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&apos;
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=&quot;amd64 ~amd64&quot;
CBUILD=&quot;x86_64-pc-linux-gnu&quot;
CFLAGS=&quot;-march=nocona -pipe -O2 -fomit-frame-pointer&quot;
CHOST=&quot;x86_64-pc-linux-gnu&quot;
CONFIG_PROTECT=&quot;/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config&quot;
CONFIG_PROTECT_MASK=&quot;/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&quot;
CXXFLAGS=&quot;-march=nocona -pipe -O2 -fomit-frame-pointer&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;candy collision-protect distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch&quot;
GENTOO_MIRRORS=&quot;http://gentoo.prz.rzeszow.pl           http://distfiles.gentoo.org             http://www.ibiblio.org/pub/Linux/distributions/gentoo           http://dev.gentoo.org&quot;
LINGUAS=&quot;en pl&quot;
MAKEOPTS=&quot;-j3&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_RSYNC_OPTS=&quot;--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;/usr/local/portage&quot;
SYNC=&quot;rsync://rsync.gentoo.org/gentoo-portage&quot;
USE=&quot;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&quot; ALSA_CARDS=&quot;hda-intel&quot; ALSA_PCM_PLUGINS=&quot;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&quot; APACHE2_MODULES=&quot;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&quot; ELIBC=&quot;glibc&quot; INPUT_DEVICES=&quot;keyboard mouse&quot; KERNEL=&quot;linux&quot; LCD_DEVICES=&quot;bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text&quot; LINGUAS=&quot;en pl&quot; USERLAND=&quot;GNU&quot; VIDEO_CARDS=&quot;nvidia&quot;
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Reproducible: Always</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mark_alec@gentoo.org</who>
            <bug_when>2008-02-17 01:14:10 0000</bug_when>
            <thetext>I can confirm that emerging dev-util/indent allows libcap-2.06 to install.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>teidakankan@gmail.com</who>
            <bug_when>2008-02-17 01:30:28 0000</bug_when>
            <thetext>(In reply to comment #1)
&gt; I can confirm that emerging dev-util/indent allows libcap-2.06 to install.
&gt; 

... and so it does.  Thank You.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>gentoo@altkai.ml1.net</who>
            <bug_when>2008-02-17 02:40:27 0000</bug_when>
            <thetext>This is not the missing dep on indent, but another build error. I&apos;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 &apos;cap_get_fd&apos;:
cap_file.c:180: warning: implicit declaration of function &apos;fgetxattr&apos;
cap_file.c:180: warning: nested extern declaration of &apos;fgetxattr&apos;
cap_file.c: In function &apos;cap_get_file&apos;:
cap_file.c:210: warning: implicit declaration of function &apos;getxattr&apos;
cap_file.c:210: warning: nested extern declaration of &apos;getxattr&apos;
cap_file.c: In function &apos;cap_set_fd&apos;:
cap_file.c:246: warning: implicit declaration of function &apos;fremovexattr&apos;
cap_file.c:246: warning: nested extern declaration of &apos;fremovexattr&apos;
cap_file.c:253: warning: implicit declaration of function &apos;fsetxattr&apos;
cap_file.c:253: warning: nested extern declaration of &apos;fsetxattr&apos;
cap_file.c: In function &apos;cap_set_file&apos;:
cap_file.c:278: warning: implicit declaration of function &apos;removexattr&apos;
cap_file.c:278: warning: nested extern declaration of &apos;removexattr&apos;
cap_file.c:284: warning: implicit declaration of function &apos;setxattr&apos;
cap_file.c:284: warning: nested extern declaration of &apos;setxattr&apos;
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&apos;
make: *** [all] Error 2

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2008-02-17 06:30:41 0000</bug_when>
            <thetext>fixed in cvs

http://sources.gentoo.org/sys-libs/libcap/libcap-2.06.ebuild?r1=1.1&amp;r2=1.2</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ssuominen@gentoo.org</who>
            <bug_when>2008-02-17 07:50:22 0000</bug_when>
            <thetext>*** Bug 210437 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2008-02-17 11:34:11 0000</bug_when>
            <thetext>*** Bug 210453 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2008-02-17 12:32:54 0000</bug_when>
            <thetext>*** Bug 210456 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2008-02-17 15:21:50 0000</bug_when>
            <thetext>*** Bug 210479 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2008-02-17 19:32:35 0000</bug_when>
            <thetext>*** Bug 210515 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2008-02-18 15:58:57 0000</bug_when>
            <thetext>*** Bug 210592 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
      
    </bug>

</bugzilla>