Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 176957 - sys-fs/udev-110 fails on selinux
Summary: sys-fs/udev-110 fails on selinux
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: udev maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-03 20:59 UTC by Xake
Modified: 2007-05-04 07:05 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 Xake 2007-05-03 20:59:54 UTC
GENPC    libvolume_id.pc
  AR       libvolume_id.a
  CC       libvolume_id.so.0.76.0
  RANLIB   libvolume_id.a
make[2]: Leaving directory `/var/tmp/portage/sys-fs/udev-110/work/udev-110/extras/volume_id/lib'
  LD       vol_id
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/bin/ld: warning: creating a DT_TEXTREL in object.
make[1]: Leaving directory `/var/tmp/portage/sys-fs/udev-110/work/udev-110/extras/volume_id'
make[1]: Entering directory `/var/tmp/portage/sys-fs/udev-110/work/udev-110/extras/rule_generator'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/var/tmp/portage/sys-fs/udev-110/work/udev-110/extras/rule_generator'
/usr/portage/sys-fs/udev/udev-110.ebuild: line 75: USE_SELINUX=true: command not found

!!! ERROR: sys-fs/udev-110 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  udev-110.ebuild, line 75:   Called die


$ emerge --info
Portage 2.1.2.5 (selinux/x86/2006.1, gcc-4.1.2, glibc-2.5-r1, 2.6.20-hardened-r2 i686)
=================================================================
System uname: 2.6.20-hardened-r2 i686 Pentium III (Coppermine)
Gentoo Base System release 1.13.0_alpha12
Timestamp of tree: Thu, 03 May 2007 19:50:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17.50.0.15
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.20-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/glftpd/etc /opt/glftpd/ftp-data /usr/lib/fax /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/php/apache1-php5/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=pentium3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distcc distlocks loadpolicy parallel-fetch sandbox selinux sesandbox sfperms strict test"
GENTOO_MIRRORS="ftp://ftp.sunet.se/pub/os/Linux/distributions/gentoo http://ds.thn.htu.se/linux/gentoo "
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/portage /usr/local/overlays/pieworld /usr/portage/local/layman/webapps-experimental"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="apache2 bash-completion berkdb bzip2 crypt cups curl fam glibc-omitfp gmp hardened ipv6 jpeg logrotate midi mysql ncurses nls nonfsv4 nptl nptlonly offensive pam parport pic png python readline selinux sensord serial srvdir sse ssl syslog tcpd test tiff unicode unzip x86 xattr xinetd zip zlib" 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="none"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Xake 2007-05-03 21:19:29 UTC
This bug is becouse of a missing \ in the ebuild at line 74. This makes every existing value for ${myconf} fail.

Proposed and tested patch seems to be:

--- /usr/portage/sys-fs/udev/udev-110.ebuild    2007-05-02 15:53:25.000000000 +0200
+++ udev-110.ebuild     2007-05-03 23:04:49.000000000 +0200
@@ -71,7 +71,7 @@
                EXTRAS="${extras}" \
                udevdir="/dev/" \
                CROSS_COMPILE=${mycross} \
-               OPTFLAGS=""
+               OPTFLAGS="" \
                ${myconf} || die
 }

Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-05-03 21:26:31 UTC
--- udev-110.ebuild	2007-05-02 15:53:25.000000000 +0200
+++ udev-110.ebuild	2007-05-03 23:24:47.000000000 +0200
@@ -71,7 +71,7 @@
 		EXTRAS="${extras}" \
 		udevdir="/dev/" \
 		CROSS_COMPILE=${mycross} \
-		OPTFLAGS=""
+		OPTFLAGS="" \
 		${myconf} || die
 }
Comment 3 Matthias Schwarzott gentoo-dev 2007-05-04 07:05:44 UTC
Ouch! Now it's fixed!