Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 300869 - sys-apps/util-linux-2.17 loop-aes patch fails
Summary: sys-apps/util-linux-2.17 loop-aes patch fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-13 18:29 UTC by James Ausmus
Modified: 2010-01-23 14:22 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch.out file (util-linux-2.16.1-loop-aes.patch.out,30.65 KB, text/plain)
2010-01-13 18:30 UTC, James Ausmus
Details
Corrected ebuild (util-linux-2.17.ebuild,2.57 KB, text/plain)
2010-01-23 11:06 UTC, sulfinu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description James Ausmus 2010-01-13 18:29:31 UTC
The loop-aes patch fails to apply on sys-apps/util-linux-2.17:

>>> Emerging (13 of 89) sys-apps/util-linux-2.17
 * util-linux-ng-2.17.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...            [ ok ]
 * util-linux-2.16.1-loop-aes.patch.bz2 RMD160 SHA1 SHA256 size ;-) ...  [ ok ]
 * checking ebuild checksums ;-) ...                                     [ ok ]
 * checking auxfile checksums ;-) ...                                    [ ok ]
 * checking miscfile checksums ;-) ...                                   [ ok ]
 * CPV:  sys-apps/util-linux-2.17                                              
 * REPO: gentoo                                                                
 * USE:  amd64 crypt elibc_glibc kernel_linux loop-aes multilib nls perl slang unicode userland_GNU
>>> Unpacking source...                                                                            
>>> Unpacking util-linux-ng-2.17.tar.bz2 to /var/tmp/portage/sys-apps/util-linux-2.17/work         
>>> Unpacking util-linux-2.16.1-loop-aes.patch.bz2 to /var/tmp/portage/sys-apps/util-linux-2.17/work
>>> Source unpacked in /var/tmp/portage/sys-apps/util-linux-2.17/work                               
>>> Preparing source in /var/tmp/portage/sys-apps/util-linux-2.17/work/util-linux-ng-2.17 ...       
 * Applying util-linux-2.16.1-loop-aes.patch ...                                                    

 * Failed Patch: util-linux-2.16.1-loop-aes.patch !
 *  ( /var/tmp/portage/sys-apps/util-linux-2.17/work/util-linux-2.16.1-loop-aes.patch )
 *                                                                                     
 * Include in your bugreport the contents of:                                          
 *                                                                                     
 *   /var/tmp/portage/sys-apps/util-linux-2.17/temp/util-linux-2.16.1-loop-aes.patch.out

 * ERROR: sys-apps/util-linux-2.17 failed:
 *   Failed Patch: util-linux-2.16.1-loop-aes.patch!

Reproducible: Always

Steps to Reproduce:
1. USE="loop-aes" emerge =sys-apps/util-linux-2.17
2.
3.




Portage 2.2_rc61 (default/linux/amd64/10.0/desktop, gcc-4.4.2, glibc-2.11-r1, 2.6.32-gentoo x86_64)
=================================================================                                  
                         System Settings                                                           
=================================================================                                  
System uname: Linux-2.6.32-gentoo-x86_64-Pentium-R-_Dual-Core_CPU_E5300_@_2.60GHz-with-gentoo-2.0.1
Timestamp of tree: Tue, 12 Jan 2010 22:30:01 +0000                                                 
app-shells/bash:     4.0_p35                                                                       
dev-java/java-config: 2.1.10                                                                       
dev-lang/python:     2.6.4, 3.1.1-r1                                                               
dev-util/cmake:      2.8.0                                                                         
sys-apps/baselayout: 2.0.1                                                                         
sys-apps/openrc:     0.5.3                                                                         
sys-apps/sandbox:    2.2                                                                           
sys-devel/autoconf:  2.13, 2.65                                                                    
sys-devel/automake:  1.8.5-r3, 1.9.6-r2, 1.10.3, 1.11.1                                            
sys-devel/binutils:  2.20                                                                          
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA PUEL dlj-1.1 sun-bcla-java-vm"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /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/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=native -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.osuosl.org http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
LINGUAS="en en_US"
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/layman/arcon /usr/local/portage/overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="R X Xaw3d a52 aac aalib abyss accessibility acl acpi additions addns addressbook ads aio akonadi alisp alsa amd64 amr amrnb amrwb ao apache2 applet archive ares artworkextra asn aspell assistant async asyncns atm atmo audio autoipd automount autotrace avahi avalon-framework avalon-logkit bash-completion bazaar bcmath beagle berkdb bineditor binfilter bittorrent bittorrent-external bl bluetooth bonjour boo bookmarks branding bs2b bsf bugzilla bzip2 c3p0 cairo calendar canberra caps captury cblas cdaudio cdda cddax cddb cdio cdparanoia cdr cdrkit celt cgc cgraph chicken chm cifsupcall cisco cjk cleartype cli clisp cmake common-lisp community config-file consolekit context contrast contrib coverage cpudetection cracklib crypt cscope ctype ctypes-python cups cupsddk curl curlwrappers custom-cflags custom-cpuopts custom-cxxflags custom-optimization cviewer cvs cxx cyrillic daap dbus dc1394 debugger dell derby designer designer-plugin deskbar desktopglobe detex device-mapper dga dhcpcd dia digitalradio dirac directfb discouraged disk-partition diskio djvu dmx dns doc docbook dot dri dtmf dts dv dvb dvd dvdnav dvdr dvdread dvi dvi2tty dvipdfm ebook editor eds elf elisp embedded emboss enc enca encode epiphany epos epydoc esd evo examples exchange exif exiv2 expat extensible extensions extra extra-tools extraengine extrafilters extras faac faad facebook fakevim fam fame fastbuild fat fax fbcon festival ffmpeg fftw fidonet filter firefox fits flac flatfile flite floppy fltk fluidsynth fontconfig fontforge fortran fpx freetds freetts ftp fts3 fuse gadu galago gallium games gcdmaster gcj gconf gcrypt gd gdbm gdu gedit geolocation ggi gif gii gimp git glade glib glitz gmp gnokii gnome gnome-keyring gnome-print gnomecd gnutls google-gadgets gpg gpgme gphoto2 gpm gps graphics graphviz groupwise grp gs gsf gsm gstreamer gtk gtkhtml guile gunit h224 h281 h323 hal hash hdri hog hpcups hpijs html htmlhandbook http http-forms http-server httpd humanities hyperestraier iax ical iconv id3tag idea idn ieee1394 ifp imagemagick imap imlib indi inifile inotify ioctl iplayer iplsrc ipod iptc ipv6 irc italk ithreads itrax ivr ixj jabber jack jadetex java java5 java6 javamail javascript jbig jce jingle jms jmx joystick jpeg jpeg2k jsapi json juju karma kate kde kdehiddenvisibility kdrive kerberos kig-scripting kipi kmail kolab konqueror kontact kpathsea kqemu kvm ladspa lame laptop lash lasi lastfm latex latex3 lcms ldap ldap-sasl lensfun libass libburn libcaca libedit libextractor libffi libgcrypt libnl libnotify libproxy libsamplerate libsigsegv libssh2 libsysfs libtiger libv4l2 libwww lid lilo live llvm lm_sensors localsysmon log log4j loop-aes lqr lua lvm lzma lzo mad madwifi mail matroska mbrola md5sum mdnsresponder-compat meanwhile mecab mercurial messenger mhash mikmod mime mjpeg mktemp mmap mmx mmxext mng modplug module modules mono monolithic monolithic-build moonlight motif mozdevelop mp2 mp3 mp3rtp mp3tunes mp4 mpeg mplayer msn mssql mtp mudflap multilib multimedia musepack music musicbrainz mvl mysql mysqli mzscheme na_dd na_icons nas nautilus ncurses nepomuk nethack netjack network network-cron networking networkmanager new-hpcups new-login njb nls nntp nova npp nptl nptlonly nsplugin nss ntlm ntp nut nuv objc objc++ ocaml odbc odk offensive ogg omega onlineservices openal opencore-amr openexr opengl openmp openssl openvpn optimization optimized-qmake oscar otr oxygen pam pango parport pcntl pcre pda pdf pdo perforce perl phonon php physfs pipechan plasma playlist plotutils plugins pm-utils png pnm podcast policykit pop portaudio posix postproc ppds pppd pptp profiling pst pstricks pth publishers pulse pulseaudio pvr python python3 q32 qmake qos qpak qq qt3support qt4 qthelp qtscript quicktime quotas radio rar raster raw rcs rdesktop rdp readline recode redland reflection remote remoteosd remotesysmon resolvconf rfc4175 rle rplay rpm rss rtc rtf rtsp ruby samba sametime sasl sbc sbig scanner schroedinger science script sdk sdl sdl-image semantic-desktop sendmail serial server servletapi sesame2 session sftp sharedext sharedmem shm shmvideo shout shutdown sidebar simplexml sip sipim skins skype slang slp smbsharemodes smp sms smtp smux sndfile snmp soap sockets socks socks5 solver sound soundex soup source speex spell spl sql sqlite sqlite3 srt srtp sse sse2 ssh ssl ssse3 start-notification startup-notification stats stream strong-optimization stun subversion svg swat swig syncns sysfs syslog system-libvncserver sysvipc t1lib taglib tcl tcpd teamwork telepathy teletext telnet templates test-framework testbed tetex tex4ht tga theora threads threadsafe thumbnail thunar tidy tiff timezone timidity tk tokenizer tokyocabinet toolbar tools totem toy tracker truetype tts tunepimp tv_check tv_combiner twolame udev unicode upnp urandom url usb utils v4l v4l2 vboxwebsrv vcd vcdinfo vcdx vde vdpau vhook video video-file vim-pager vim-syntax vim-with-x visualization vlm vnc vorbis vpb vxml wad wav wavpack weather web webdav webdav-serf webinterface webkit webmail webpresence wicd winbind winpopup wireless wlm wmf wpd wpg wps wv2 wxwidgets wxwindows x264 xanim xcap xcb xcomposite xetex xft xindy xine xml xmldoclet xmlpatterns xmlreader xmlrpc xmlwriter xmp xorg xosd xpm xprint xscreensaver xsl xslt xulrunner xv xvid xvmc yahoo yv12 zeroconf zip zlib zvbi" 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vesa intel nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 James Ausmus 2010-01-13 18:30:36 UTC
Created attachment 216386 [details]
patch.out file
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2010-01-13 19:52:38 UTC
Confirmed.
Comment 3 Jan Schubert 2010-01-14 23:56:22 UTC
same here
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2010-01-15 00:03:40 UTC
Please, no more emerge --info's or "me too", "same problem" here comments. 

It's known to be broken.

http://loop-aes.sourceforge.net/updates/

Last update was for 2.16, and we backported it to 2.16.1 and 2.16.2, and I don't know if it's possible in case of 2.17 nor if we want to do it.

Loop Aes patch author should get his code reviewed and merged to upstream util-linux, but the code looks too intrusive at the moment.

So, please contact loop-eas+util-linux patch maintainer to update it for 2.17.
Comment 5 sulfinu 2010-01-23 09:49:09 UTC
Samuli, the link you gave shows that THERE IS a patch for 2.17!
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2010-01-23 10:07:44 UTC
Mike, I hope you don't mind me applying this,

+  23 Jan 2010; Samuli Suominen <ssuominen@gentoo.org>
+  util-linux-2.17.ebuild:
+  Update loop-aes patch to upstream SRC_URI wrt #300869, thanks to James
+  Ausmus and others.
Comment 7 sulfinu 2010-01-23 11:06:48 UTC
Created attachment 217214 [details]
Corrected ebuild

Tested on my machine.
Comment 8 Jan Schubert 2010-01-23 14:22:31 UTC
Seems to work, thx.

Should'nt there be an upgrade in the version number of the ebuild, something like util-linux-2.17-r1.ebuild? Some people may have masked =2.17 because of this issues....