<?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>242874</bug_id>
          
          <creation_ts>2008-10-20 10:12 0000</creation_ts>
          <short_desc>sys-apps/util-linux-2.14.1 fails to emerge with USE=loop-aes</short_desc>
          <delta_ts>2008-10-26 02:16:05 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>Ebuilds</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>fabio.coatti@gmail.com</reporter>
          <assigned_to>base-system@gentoo.org</assigned_to>
          <cc>aoz.syn@gmail.com</cc>
    
    <cc>brent.saner@gmail.com</cc>
    
    <cc>dkarasik@gmail.com</cc>
    
    <cc>polynomial-c@gentoo.org</cc>
    
    <cc>rob@wallace.gen.nz</cc>
    
    <cc>zeekec@mad.scientist.com</cc>

      

      
          <long_desc isprivate="0">
            <who>fabio.coatti@gmail.com</who>
            <bug_when>2008-10-20 10:12:04 0000</bug_when>
            <thetext>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:  
&gt;&gt;&gt; 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 &apos;/var/tmp/portage/sys-apps/util-linux-2.14.1/work/util-linux-ng-2.14-20080624.diff&apos;
 * environment, line 1138:  Called die
 * The specific snippet of code:
 * die &quot;Failed Patch: ${patchname}!&quot;;
 * 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 &apos;/var/tmp/portage/sys-apps/util-linux-2.14.1/temp/build.log&apos;.
 * The ebuild environment file is located at &apos;/var/tmp/portage/sys-apps/util-linux-2.14.1/temp/environment&apos;.
 *


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=&quot;amd64 ~amd64&quot;
CBUILD=&quot;x86_64-pc-linux-gnu&quot;
CFLAGS=&quot;-march=native -mtune=native -O3 -msse4a -mabm -pipe&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 /var/lib/hsqldb&quot;
CONFIG_PROTECT_MASK=&quot;/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&quot;
CXXFLAGS=&quot;-march=native -mtune=native -O3 -msse4a -mabm -pipe&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;distlocks parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch&quot;
GENTOO_MIRRORS=&quot;http://de-mirror.org/distro/gentoo/ &quot;
LANG=&quot;it_IT.utf8&quot;
LC_ALL=&quot;it_IT.utf8&quot;
LDFLAGS=&quot;-Wl,-O1&quot;
LINGUAS=&quot;it en&quot;
MAKEOPTS=&quot;-j6&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/overlay&quot;
SYNC=&quot;rsync://rsync.gentoo.org/gentoo-portage&quot;
USE=&quot;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&quot; ALSA_CARDS=&quot;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&quot; ALSA_PCM_PLUGINS=&quot;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&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;evdev&quot; KERNEL=&quot;linux&quot; LCD_DEVICES=&quot;bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text&quot; LINGUAS=&quot;it en&quot; USERLAND=&quot;GNU&quot; VIDEO_CARDS=&quot;nv nvidia vesa&quot;
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>aoz.syn@gmail.com</who>
            <bug_when>2008-10-20 15:20:20 0000</bug_when>
            <thetext>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</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>polynomial-c@gentoo.org</who>
            <bug_when>2008-10-20 19:15:37 0000</bug_when>
            <thetext>Created an attachment (id=169214)
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...</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2008-10-26 01:05:05 0000</bug_when>
            <thetext>*** Bug 243306 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2008-10-26 02:16:05 0000</bug_when>
            <thetext>added Lars&apos; patch to cvs

http://sources.gentoo.org/sys-apps/util-linux/util-linux-2.14.1.ebuild?r1=1.1&amp;r2=1.2</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>169214</attachid>
            <date>2008-10-20 19:15 0000</date>
            <desc>util-linux-2.14.1.ebuild.diff</desc>
            <filename>util-linux-2.14.1.ebuild.diff</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIC91c3IvcG9ydGFnZS9zeXMtYXBwcy91dGlsLWxpbnV4L3V0aWwtb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