Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 358111 - util-linux-2.19 fails to build with loop-aes USE flag enabled
Summary: util-linux-2.19 fails to build with loop-aes USE flag enabled
Status: RESOLVED DUPLICATE of bug 354451
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (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-03-09 18:39 UTC by Theofilos Intzoglou
Modified: 2011-03-09 19:25 UTC (History)
1 user (show)

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 Theofilos Intzoglou 2011-03-09 18:39:51 UTC
If you have the loop-aes USE flag and try to build util-linux-2.19, the ebuild will try to apply a patch (util-linux-ng--2.18-20100706.diff) that was for the previous version of util-linux and it will fail.

Reproducible: Always
Comment 1 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2011-03-09 19:02:46 UTC
Please add your emerge --info as a comment and attach your complete build.log file to this bug report.
Comment 2 Theofilos Intzoglou 2011-03-09 19:09:25 UTC
Sure!

emerge --info:

Portage 2.2.0_alpha26 (default/linux/x86/10.0/desktop/kde, gcc-4.5.2, glibc-2.13-r1, 2.6.37-gentoo i686)
=================================================================
System uname: Linux-2.6.37-gentoo-i686-Intel-R-_Core-TM-2_CPU_T5600_@_1.83GHz-with-gentoo-2.0.1
Timestamp of tree: Wed, 09 Mar 2011 13:45:01 +0000
app-shells/bash:     4.2_p7
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.7.1-r1, 3.1.3-r1
dev-util/cmake:      2.8.4
sys-apps/baselayout: 2.0.1-r1
sys-apps/openrc:     0.7.0
sys-apps/sandbox:    2.5
sys-devel/autoconf:  2.13, 2.68
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.21
sys-devel/gcc:       4.5.2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.4-r1
sys-devel/make:      3.82
virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
Repositories: gentoo curstom
Installed sets: 
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="* -@EULA dlj-1.1 skype-eula AdobeFlash-10.1 googleearth PUEL"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=core2 -pipe -ggdb"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=core2 -pipe -ggdb"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS=""
GENTOO_MIRRORS="http://ftp.ntua.gr/pub/linux/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="el_GR.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="el en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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 a52 aac acl acpi alsa bash-completion berkdb bluetooth branding bzip2 cairo cdr chm cli clucene consolekit cracklib crypt cups cxx dbus djvu dri dts dvd dvdr ebook egl emboss encode exif fam ffmpeg firefox flac fluidsynth fontconfig fortran gdbm gdu geoip gif git gpm gs gtk iconv inotify ipv6 jpeg kde laptop lcms libnotify lm_sensors lzma mad mikmod mmx mng modules mp3 mp4 mpeg mudflap musicbrainz ncurses nls nptl nptlonly ogg opengl openmp pam pango pch pcre pdf perl phonon plasma png policykit ppds pppd pulseaudio python qt3support qt4 readline samba sdl semantic-desktop session smp spell sse sse2 ssl ssse3 startup-notification svg sysfs tcpd threads tiff truetype udev unicode upnp usb vim-syntax vorbis wicd x264 x86 xcb xinerama xml xorg xulrunner xv xvid zeroconf zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 cgi cgid 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" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="el en" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev intel vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

build.log:

 * Package:    sys-apps/util-linux-2.19
 * Repository: gentoo
 * Maintainer: base-system@gentoo.org
 * USE:        cramfs crypt elibc_glibc kernel_linux loop-aes nls perl unicode userland_GNU x86
 * FEATURES:   preserve-libs sandbox splitdebug userpriv usersandbox
 * Applying util-linux-ng-2.18-20100706.diff ...

 * Failed Patch: util-linux-ng-2.18-20100706.diff !
 *  ( /var/tmp/portage/sys-apps/util-linux-2.19/work/util-linux-ng-2.18-20100706.diff )
 * 
 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/portage/sys-apps/util-linux-2.19/temp/util-linux-ng-2.18-20100706.diff.out

 * ERROR: sys-apps/util-linux-2.19 failed (prepare phase):
 *   Failed Patch: util-linux-ng-2.18-20100706.diff!
 * 
 * Call stack:
 *     ebuild.sh, line   56:  Called src_prepare
 *   environment, line 3058:  Called epatch '/var/tmp/portage/sys-apps/util-linux-2.19/work/util-linux-ng-2.18-20100706.diff'
 *   environment, line 1655:  Called die
 * The specific snippet of code:
 *               die "Failed Patch: ${patchname}!";
 * 
 * If you need support, post the output of 'emerge --info =sys-apps/util-linux-2.19',
 * the complete build log and the output of 'emerge -pqv =sys-apps/util-linux-2.19'.
 * The complete build log is located at '/var/tmp/portage/sys-apps/util-linux-2.19/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-apps/util-linux-2.19/temp/environment'.
 * S: '/var/tmp/portage/sys-apps/util-linux-2.19/work/util-linux-2.19'
Comment 3 taaroa 2011-03-09 19:17:02 UTC
see #354451
Comment 4 Theofilos Intzoglou 2011-03-09 19:25:54 UTC
Sorry for that. I was sure there wasn't another bug report for this package :-/

*** This bug has been marked as a duplicate of bug 354451 ***