Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 273883 - sys-apps/util-linux-2.15.1 USE=loop-aes - Failed Patch: util-linux-ng-2.15-20090511.diff
Summary: sys-apps/util-linux-2.15.1 USE=loop-aes - Failed Patch: util-linux-ng-2.15-20...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL: http://loop-aes.sourceforge.net/updat...
Whiteboard:
Keywords:
: 274102 274289 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-06-12 15:15 UTC by Fabio Coatti
Modified: 2009-07-22 07:59 UTC (History)
6 users (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 Fabio Coatti 2009-06-12 15:15:47 UTC
sys-apps/util-linux-2.15.1 fail to install cause this error:
 * Applying util-linux-ng-2.15-20090511.diff ...

 * Failed Patch: util-linux-ng-2.15-20090511.diff !


Reproducible: Always

Steps to Reproduce:
1 emerge sys-apps/util-linux

Actual Results:  
* Failed Patch: util-linux-ng-2.15-20090511.diff !
 *  ( /var/tmp/portage/sys-apps/util-linux-2.15.1/work/util-linux-ng-2.15-20090511.diff )


Expected Results:  
util-linux installed 

PATCH COMMAND:   patch -p1 -g0 -E --no-backup-if-mismatch < /var/tmp/portage/sys-apps/util-linux-2.15.1/work/util-linux-ng-2.15-20090511.diff

============================================
patching file mount/Makefile.am
patching file mount/Makefile.in
Hunk #1 FAILED at 1.
Hunk #12 succeeded at 506 (offset 1 line).
Hunk #13 succeeded at 520 (offset 1 line).
Hunk #14 succeeded at 583 (offset 1 line).
Hunk #15 succeeded at 618 (offset 1 line).
Hunk #16 succeeded at 646 (offset 1 line).
Hunk #17 succeeded at 675 (offset 1 line).
Hunk #18 succeeded at 703 (offset 1 line).
Hunk #19 succeeded at 722 (offset 1 line).
Hunk #20 succeeded at 739 (offset 1 line).
Hunk #21 succeeded at 750 (offset 1 line).
Hunk #22 succeeded at 763 (offset 1 line).
Hunk #23 succeeded at 2148 (offset 1 line).
Hunk #24 FAILED at 2197.
Hunk #25 succeeded at 2210 (offset 1 line).
Hunk #26 succeeded at 2221 (offset 1 line).
Hunk #27 succeeded at 2241 (offset 1 line).
Hunk #28 succeeded at 2273 (offset 1 line).
Hunk #29 succeeded at 2308 (offset 1 line).
Hunk #30 succeeded at 2322 (offset 1 line).
Hunk #31 succeeded at 2350 (offset 1 line).
2 out of 31 hunks FAILED -- saving rejects to file mount/Makefile.in.rej
patching file mount/aes.c
patching file mount/aes.h
patching file mount/lomount.c
Hunk #2 FAILED at 24.
1 out of 2 hunks FAILED -- saving rejects to file mount/lomount.c.rej
patching file mount/lomount.h
patching file mount/loop.c
patching file mount/loop.h
patching file mount/losetup.8
patching file mount/loumount.c
patching file mount/mount.8
patching file mount/mount.c
Hunk #5 succeeded at 1006 (offset -3 lines).
Hunk #6 succeeded at 1049 (offset -3 lines).
Hunk #7 succeeded at 1079 (offset -3 lines).
Hunk #8 succeeded at 1087 (offset -3 lines).
Hunk #9 succeeded at 1112 (offset -3 lines).
Hunk #10 succeeded at 1134 (offset -3 lines).
Hunk #11 succeeded at 1196 (offset -3 lines).
Hunk #12 succeeded at 1232 (offset -3 lines).
Hunk #13 succeeded at 1280 (offset -3 lines).
patching file mount/rmd160.c
patching file mount/rmd160.h
patching file mount/sha512.c
patching file mount/sha512.h
patching file mount/swapon.8
patching file mount/swapon.c
patching file mount/umount.c
============================================


PATCH COMMAND:   patch -p2 -g0 -E --no-backup-if-mismatch < /var/tmp/portage/sys-apps/util-linux-2.15.1/work/util-linux-ng-2.15-20090511.diff

============================================
patching file Makefile.am
Hunk #1 FAILED at 14.
Hunk #2 FAILED at 28.
2 out of 2 hunks FAILED -- saving rejects to file Makefile.am.rej
patching file Makefile.in
Hunk #1 FAILED at 1.
Hunk #2 succeeded at 14 with fuzz 2 (offset -1 lines).
Hunk #3 FAILED at 83.
Hunk #4 FAILED at 163.
Hunk #5 succeeded at 94 with fuzz 2 (offset -137 lines).
Hunk #6 succeeded at 124 (offset -137 lines).
Hunk #7 succeeded at 182 (offset -137 lines).
Hunk #8 succeeded at 237 (offset -137 lines).
Hunk #9 succeeded at 279 (offset -137 lines).
Hunk #10 succeeded at 304 (offset -137 lines).
Hunk #11 succeeded at 333 (offset -137 lines).
Hunk #12 FAILED at 368.
Hunk #13 FAILED at 382.
Hunk #14 FAILED at 445.
Hunk #15 FAILED at 480.
Hunk #16 FAILED at 508.
Hunk #17 FAILED at 537.
Hunk #18 FAILED at 565.
Hunk #19 FAILED at 584.
Hunk #20 FAILED at 601.
Hunk #21 FAILED at 612.
Hunk #22 FAILED at 625.
Hunk #23 FAILED at 2010.
Hunk #24 FAILED at 2059.
Hunk #25 succeeded at 880 (offset -1329 lines).
Hunk #26 FAILED at 891.
Hunk #27 FAILED at 911.
Hunk #28 FAILED at 943.
Hunk #29 FAILED at 978.
Hunk #30 FAILED at 992.
Hunk #31 FAILED at 1020.
22 out of 31 hunks FAILED -- saving rejects to file Makefile.in.rej

emerge --info
Portage 2.2_rc33 (default/linux/amd64/2008.0/desktop, gcc-4.3.2, glibc-2.10.1-r0, 2.6.30 x86_64)
=================================================================
System uname: Linux-2.6.30-x86_64-AMD_Phenom-tm-_9850_Quad-Core_Processor-with-gentoo-2.0.1
Timestamp of tree: Fri, 12 Jun 2009 15:00:01 +0000
app-shells/bash:     4.0_p24
dev-java/java-config: 2.1.8-r1
dev-lang/python:     2.6.2-r1
dev-util/cmake:      2.6.4
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r3
sys-apps/sandbox:    2.0
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.29
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/kde/4.2/env /usr/kde/4.2/share/config /usr/kde/4.2/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/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=native -mtune=native -O3 -msse4a -mabm -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages 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_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/overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 3dnowprefetch X a52 aac aalib acl acpi aim alsa amd64 amrnb amrwb apache2 ares asf ass audiofile avahi bash-completion berkdb bidi bl bluetooth branding bri bzip2 cairo cdparanoia cdr cjk cli consolekit cracklib crypt cups curl dba dbus device-mapper dga dirac directfb divx divx4linux dri dts dv dvb dvd dvdnav dvdr dvdread edl eds emboss enca encode esd ethereal evo exif expat faac 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 ilbc imagemagick imap innodb ipod ipv6 isdnlog ithreads jabber java javascript jpeg kde kdeprefix kontact kvm ladspa lcms ldap libcaca libnotify live lm_sensors loop-aes lua lzo mad maildir mbox md5sum mdnsresponder-compat mhash midi mikmod mime mjpeg mmap mmx mmxext mng mozdevelop mozilla mp3 mp4 mpeg msn mtp mudflap multilib musepack mysql ncurses nemesi nepomuk network nfsv4 njb nls nptl nptlonly nsplugin nvidia offensive ofx ogg oggvorbis openal openexr opengl openmp oscar pam pcre pdf perl php plasma plotutils png pnm ppds pppd pvr python qt3support qt4 quicktime radio rar readline reflection rtc ruby samba sasl schroedinger sdl semantic-desktop session sha512 slang slp sndfile snmp sox speex spell spl sse sse2 sse4a ssh ssl startup-notification svg symlink sysfs tcltk tcpd theora threads tiff tk tremor truetype udev unicode usb utempter v4l v4l2 vcd vdpau vhosts videos vorbis wmf wmp wxwindows x264 xanim xface xft xine xml xorg xosd xpm xscreensaver xsl xulrunner xv xvid xvmc yahoo zlib zoran 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 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-06-12 16:02:01 UTC
The usual problem with the loop-aes patch. Just wait a while until there's an updated patch available.
If you don't need loop-aes just unset the USE flag for the time being...
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-06-14 15:18:07 UTC
*** Bug 274102 has been marked as a duplicate of this bug. ***
Comment 3 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-06-15 21:38:11 UTC
*** Bug 274289 has been marked as a duplicate of this bug. ***
Comment 4 Sunit Das 2009-06-23 16:12:23 UTC
Patch requested from upstream today.
Comment 5 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-06-24 19:16:32 UTC
New patch is availabe, see URL
Comment 6 Ashu Tiwary 2009-06-26 19:58:37 UTC
New ("correct"?) patch still doesn't apply correctly.  New patch URI:

http://loop-aes.sourceforge.net/updates/util-linux-ng-2.15.1-20090624.diff.bz2
Comment 7 Roman v. Gemmeren 2009-06-26 20:29:49 UTC
(In reply to comment #6)
> New ("correct"?) patch still doesn't apply correctly.  New patch URI:
> 
> http://loop-aes.sourceforge.net/updates/util-linux-ng-2.15.1-20090624.diff.bz2
> 
How did it fail on your computer?
Here the patch applies just fine:
strowi@Sleipnir ~/tmp/util-linux-ng-2.15.1> patch -p1 < ../util-linux-ng-2.15.1-20090624.diff
patching file mount/Makefile.am
patching file mount/Makefile.in
patching file mount/aes.c
patching file mount/aes.h
patching file mount/lomount.c
patching file mount/lomount.h
patching file mount/loop.c
patching file mount/loop.h
patching file mount/losetup.8
patching file mount/loumount.c
patching file mount/mount.8
patching file mount/mount.c
patching file mount/rmd160.c
patching file mount/rmd160.h
patching file mount/sha512.c
patching file mount/sha512.h
patching file mount/swapon.8
patching file mount/swapon.c
patching file mount/umount.c
Comment 8 Christophe Philemotte 2009-06-28 12:19:31 UTC
For me, on ~ppc, the patch http://loop-aes.sourceforge.net/updates/util-linux-ng-2.15.1-20090624.diff.bz2 works fine.
Comment 10 Joss Wright 2009-07-20 19:13:29 UTC
I just came across this issue on a ~x86 system. sys-apps/util-linux-2.16 seems to have the old URI for the patch, which fails.
Comment 11 SpanKY gentoo-dev 2009-07-22 07:59:55 UTC
new version -> new issue -> new bug