Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 235328 - sys-fs/btrfs-progs: Compilation fails
Summary: sys-fs/btrfs-progs: Compilation fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Joe Peterson (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-21 02:00 UTC by Paulo da Silva
Modified: 2008-08-21 19:04 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 Paulo da Silva 2008-08-21 02:00:00 UTC
Compilation of sys-fs/btrfs-progs fails.

I have a system with USE=-acl and a kernel also without acl stuff.

Is acl needed for btrfs? If yes, the ebuild should check and/or issue some warning.
If not, the ebuild should be fixed.

x86_64-pc-linux-gnu-gcc -Wp,-MMD,./.convert.o.d,-MT,convert.o -Wall -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -march=nocona -O2 -pipe -fomit-frame-pointer -c convert.c
convert.c:29:21: warning: sys/acl.h: No such file or directory
convert.c: In function ‘ext2_acl_to_xattr’:
convert.c:703: error: ‘ACL_USER_OBJ’ undeclared (first use in this function)
convert.c:703: error: (Each undeclared identifier is reported only once
convert.c:703: error: for each function it appears in.)
convert.c:704: error: ‘ACL_GROUP_OBJ’ undeclared (first use in this function)
convert.c:705: error: ‘ACL_MASK’ undeclared (first use in this function)
convert.c:706: error: ‘ACL_OTHER’ undeclared (first use in this function)
convert.c:708: error: ‘ACL_UNDEFINED_ID’ undeclared (first use in this function)
convert.c:710: error: ‘ACL_USER’ undeclared (first use in this function)
convert.c:711: error: ‘ACL_GROUP’ undeclared (first use in this function)
make: *** [convert.o] Error 1
 *
 * ERROR: sys-fs/btrfs-progs-0.16-r1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2103:  Called die
 * The specific snippet of code:
 *       emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" convert || die
 *  The die message:
 *   (no error message)
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/log/portage/sys-fs:btrfs-progs-0.16-r1:20080821-015353.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-fs/btrfs-progs-0.16-r1/temp/environment'.
 *


Reproducible: Always




Portage 2.1.4.4 (default/linux/amd64/2008.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-tuxonice-r9 x86_64)
=================================================================
System uname: 2.6.24-tuxonice-r9 x86_64 Intel(R) Core(TM)2 Duo CPU T7700 @ 2.40GHz
Timestamp of tree: Wed, 20 Aug 2008 15:45:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.5.2-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe -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/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer"
DISTDIR="/GentooPalma/PKGS/distfiles"
FEATURES="ccache distcc distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="pt_PT.UTF-8"
LC_ALL="pt_PT.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="pt pt_PT pt_BR en"
MAKEOPTS="-j9"
PKGDIR="/GentooPalma/PKGS/packages64"
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.europe.gentoo.org/gentoo-portage"
USE="X Xaw3d a52 aac acpi alsa amd64 apm arts audiofile berkdb bidi bluetooth bzip2 cairo cdparanoia cdr cli cracklib crypt css cups curl dbus dga doc dri dts dvd dvdr dvdread eds emboss encode fam fbcon ffmpeg firefox flac foomaticdb fortran gdbm gif gphoto2 gpm gstreamer gtk hal iconv imagemagick imlib ipv6 isdnlog java java6 jpeg kde lcms libnotify libwww mad midi mikmod mmx mng motif mozilla mp3 mpeg msn mudflap multilib musepack nas ncurses net nls nptl nptlonly nsplugin nvidia ogg opengl openmp pam pcmcia pcre pdf perl pic png ppds pppd python qt3 qt3support qt4 quicktime readline reflection rtc scanner sdl session snmp socks5 speex spell spl sqlite sqlite3 sse sse2 ssl startup-notification subversion svg sysfs tcl tcpd tetex threads tiff tk truetype unicode usb userlocales v4l v4l2 vcd videos vorbis wifi wxwindows xine xml xorg xprint xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul 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="pt pt_PT pt_BR en" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa fbdev"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Joe Peterson (RETIRED) gentoo-dev 2008-08-21 19:04:28 UTC
The only program that needs acl is btrfs-convert.  I have fixed this to not build/install this program if not using acl USE flag (and to issue a warning).  No version bump.