Bug 242874 - sys-apps/util-linux-2.14.1 fails to emerge with USE=loop-aes
Bug#: 242874 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: fabio.coatti@gmail.com
Component: Ebuilds
URL: 
Summary: sys-apps/util-linux-2.14.1 fails to emerge with USE=loop-aes
Keywords:  
Status Whiteboard: 
Opened: 2008-10-20 10:12 0000
Description:   Opened: 2008-10-20 10:12 0000
util- linux 2.14.1 fails to emerge, probabily due to a missing diff file


Reproducible: Always

Steps to Reproduce:
1. emerge util-linux

Actual Results:  
>>> Unpacking util-linux-ng-2.14.1.tar.bz2 to /var/tmp/portage/sys-apps/util-linux-2.14.1/work
 * Applying util-linux-ng-2.14-20080624.diff ...

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

 *
 * ERROR: sys-apps/util-linux-2.14.1 failed.
 * Call stack:
 * ebuild.sh, line   49:  Called src_unpack
 * environment, line 2131:  Called epatch
'/var/tmp/portage/sys-apps/util-linux-2.14.1/work/util-linux-ng-2.14-20080624.diff'
 * environment, line 1138:  Called die
 * The specific snippet of code:
 * die "Failed Patch: ${patchname}!";
 * The die message:
 * Failed Patch: util-linux-ng-2.14-20080624.diff!
 *
 * If you need support, post the topmost build error, and the call stack if
relevant.
 * A complete build log is located at
'/var/tmp/portage/sys-apps/util-linux-2.14.1/temp/build.log'.
 * The ebuild environment file is located at
'/var/tmp/portage/sys-apps/util-linux-2.14.1/temp/environment'.
 *


Expected Results:  
util-linux merged 

kefk files # emerge --info
Portage 2.2_rc12 (default/linux/amd64/2008.0/desktop, gcc-4.3.2,
glibc-2.8_p20080602-r0, 2.6.27.1 x86_64)
=================================================================
System uname:
Linux-2.6.27.1-x86_64-AMD_Phenom-tm-_9850_Quad-Core_Processor-with-glibc2.2.5
Timestamp of tree: Mon, 20 Oct 2008 09:30:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.5.2-r8
dev-python/pycrypto: 2.0.1-r6
dev-util/cmake:      2.6.2
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.3.0-r1
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.26
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -mtune=native -O3 -msse4a -mabm -pipe"
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 /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/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/
/etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo
/etc/udev/rules.d"
CXXFLAGS="-march=native -mtune=native -O3 -msse4a -mabm -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks parallel-fetch preserve-libs protect-owned sandbox sfperms
strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://de-mirror.org/distro/gentoo/ "
LANG="it_IT.utf8"
LC_ALL="it_IT.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="it en"
MAKEOPTS="-j6"
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/overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 3dnowprefetch X a52 aac aalib acl acpi aim alsa amd64
apache2 ares asf audiofile avahi bash-completion berkdb bidi bl bluetooth
branding bri bzip2 cairo cdparanoia cdr cjk cli cracklib crypt cups curl dba
dbus device-mapper dga directfb divx divx4linux dri dv dvb dvd dvdr dvdread edl
eds emboss encode esd ethereal evo exif expat faad fam fame fbcon ffmpeg fftw
firefox flac force-cgi-redirect fortran ftp garmin gd gdbm gif gimp gmedia gmp
gnome gnutls gphoto2 gpm gstreamer gtk hal iconv icq idn ifp imagemagick imap
innodb ipod ipv6 isdnlog ithreads jabber jack java javascript jpeg kde kerberos
kvm lcms ldap libcaca libnotify live lm_sensors loop-aes lua lzo mad maildir
mbox mdnsresponder-compat mhash midi mikmod mime mjpeg mmap mmx mmxext mng
mozdevelop mozilla mp3 mp4 mpeg msn mtp mudflap multilib mysql ncurses network
nfsv4 njb nls nptl nptlonly nsplugin nvidia offensive ofx ogg oggvorbis openal
openexr opengl openmp oscar pam pcre pdf perl php plotutils png ppds pppd
python qt3 qt3support qt4 quicktime readline reflection rtc ruby samba sasl sdl
session slang slp sndfile snmp sox speex spell spl sse sse2 sse3 sse4a ssl
startup-notification svg symlink sysfs tcltk tcpd theora threads tiff tk
truetype udev unicode usb utempter v4l v4l2 vcd vhosts videos vorbis wmf wmp
wxwindows xanim xface xft xine xml xorg xosd xpm xsl xulrunner xv xvid xvmc
yahoo zlib zpm" 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="evdev" KERNEL="linux"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses
text" LINGUAS="it en" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK,
PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #1 From RB 2008-10-20 15:20:20 0000 -------
Confirmed.  Patch util-linux-ng-2.14-20080624.diff (for loop-aes) fails to
apply at the following:

mount/Makefile.am.rej
mount/Makefile.in.rej
mount/lomount.c.rej
mount/lomount.h.rej

------- Comment #2 From Lars Wendler (Polynomial-C) 2008-10-20 19:15:37 0000 -------
Created an attachment (id=169214) [details]
util-linux-2.14.1.ebuild.diff

A new patch for util-linux-2.14.1 is already available. These are the changes
necessary to the ebuild for the new patch...

------- Comment #3 From SpanKY 2008-10-26 01:05:05 0000 -------
*** Bug 243306 has been marked as a duplicate of this bug. ***

------- Comment #4 From SpanKY 2008-10-26 02:16:05 0000 -------
added Lars' patch to cvs

http://sources.gentoo.org/sys-apps/util-linux/util-linux-2.14.1.ebuild?r1=1.1&r2=1.2