Bug 228691 - sys-apps/util-linux-2.14 fails with USE=loop-aes
Bug#: 228691 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: rufus-azrael@numericable.fr
Component: Applications
URL: 
Summary: sys-apps/util-linux-2.14 fails with USE=loop-aes
Keywords:  
Status Whiteboard: 
Opened: 2008-06-21 08:21 0000
Description:   Opened: 2008-06-21 08:21 0000
The compilation of util-linux-2.14 fails when applying the
util-linux-ng-2.13.1.diff patch :

>>> Starting src_unpack
>>> Unpacking util-linux-ng-2.14.tar.bz2 to /var/tmp/paludis/sys-apps-util-linux-2.14/work
tar jxf /usr/portage/distfiles/util-linux-ng-2.14.tar.bz2 --no-same-owner
>>> Unpacking loop-AES-v3.2c.tar.bz2 to /var/tmp/paludis/sys-apps-util-linux-2.14/work
tar jxf /usr/portage/distfiles/loop-AES-v3.2c.tar.bz2 --no-same-owner
 * Applying util-linux-ng-2.13.1.diff ...

 * Failed Patch: util-linux-ng-2.13.1.diff !
 *  (
/var/tmp/paludis/sys-apps-util-linux-2.14/work/loop-AES-v3.2c/util-linux-ng-2.13.1.diff
)
 * 
 * Include in your bugreport the contents of:
 * 
 *  
/var/tmp/paludis/sys-apps-util-linux-2.14/temp//util-linux-ng-2.13.1.diff-23546.out


!!! ERROR in sys-apps/util-linux-2.14:
!!! In epatch at line 2067
!!! Failed Patch: util-linux-ng-2.13.1.diff!

Reproducible: Always

------- Comment #1 From BedOS_Gui 2008-06-21 08:22:43 0000 -------
Created an attachment (id=157867) [details]
patch output

------- Comment #2 From drhopfen 2008-06-21 10:09:03 0000 -------
Same problem here.

------- Comment #3 From drhopfen 2008-06-21 10:24:02 0000 -------
Created an attachment (id=157879) [details]
emerge --info

------- Comment #4 From drhopfen 2008-06-21 10:24:57 0000 -------
Created an attachment (id=157881) [details]
util-linux-ng-2.13.1.diff-17227.out

------- Comment #5 From SpanKY 2008-06-21 10:42:53 0000 -------
util-linux stays broken until loop-aes gets updated upstream

------- Comment #6 From Carsten Lohrke 2008-06-21 22:38:18 0000 -------
*** Bug 228789 has been marked as a duplicate of this bug. ***

------- Comment #7 From Chris Walters 2008-06-23 10:15:56 0000 -------
I have submitted a request to the maintainers of loop-aes to release a new
version of the util-linux-ng patch for 2.14, since this is the problem and will
affect all distributions that try to use the old patch with the new version of
util-linux-ng.

------- Comment #8 From SpanKY 2008-06-23 13:14:52 0000 -------
thanks

------- Comment #9 From Chris Walters 2008-06-26 22:20:23 0000 -------
(In reply to comment #8)
> thanks

No problem.  The upstream has uploaded a new patch for this version of
util-linux to:
http://loop-aes.sourceforge.net/updates/

Should be easy enough to implement.

------- Comment #10 From Chris Walters 2008-06-28 15:35:35 0000 -------
Created an attachment (id=158755) [details]
The upstram patch for util-linux-2.14

Directly from the upstream web page.

------- Comment #11 From Chris Walters 2008-06-28 15:38:56 0000 -------
Created an attachment (id=158757) [details]
The gpg signature for the patch that I uploaded

This is the gpg signature for the upstream patch.  It should be used to test
it, before applying it.

------- Comment #12 From Chris Walters 2008-06-28 15:42:05 0000 -------
I uploaded the patch and the signature for util-linux-2.14 from the upstream
web site, for those who want it from here.  Please check the signature before
using it, as there is no guarantee that it didn't become corrupted along the
way.

------- Comment #13 From SpanKY 2008-06-28 16:18:28 0000 -------
added updated patch to the ebuild