Gentoo Archives: gentoo-amd64

From: Duncan <1i5t5.duncan@×××.net>
To: gentoo-amd64@l.g.o
Subject: [gentoo-amd64] Re: sys-apps/util-linux-2.14.2
Date: Wed, 11 Feb 2009 11:21:55
Message-Id: pan.2009.02.11.11.21.44@cox.net
In Reply to: [gentoo-amd64] sys-apps/util-linux-2.14.2 by Thanasis
1 Thanasis <thanasis@××××××××××.org> posted 4992A645.1010903@××××××××××.org,
2 excerpted below, on Wed, 11 Feb 2009 12:19:49 +0200:
3
4 >>>> Emerging (1 of 1) sys-apps/util-linux-2.14.2
5 [snip]
6 > * Failed Patch: util-linux-ng-2.14.1-20081015.diff !
7
8 $ ls -l /pkg/All/util-linux-2.14.2.tbz2
9 -rw-r--r-- 1 root root 595884 2009-02-10 07:24
10 /pkg/All/util-linux-2.14.2.tbz2
11 $
12
13 It obviously merged fine here. That's the FEATURES=buildpkg package date.
14
15 Maybe it has to do with USE flags? If you got a corrupted diff, it would
16 have failed the integrity/checksums tests, so it can't be that. FWIW,
17 here are my USE flags (emerge -vp output):
18
19
20 [ebuild R ] sys-apps/util-linux-2.14.2 USE="slang unicode
21 -crypt -loop-aes -nls -old-linux (-selinux) (-uclibc)" 0 kB
22
23 I looked up my log from the emerge and indeed, there are no patches
24 applied, so the one your log shows is either a USE flag dependent patch
25 or it changed without a version bump and I happened to get it either
26 before the patch was applied or after it was removed.
27
28 ... Yes indeed! Checking the ebuild, I see the following:
29
30 [if the version isn't the -9999 live git version]
31
32 SRC_URI="mirror://kernel/linux/utils/util-linux-ng/v${PV:0:4}/
33 ${MY_P}.tar.bz2
34 loop-aes? ( http://loop-aes.sourceforge.net/updates/util-linux-
35 ng-2.14.1-20081015.diff.bz2 )"
36
37 So it only tries to apply that diff if USE=loop-aes. Also, not the
38 versioning on the diff. Obviously the code section that patch is against
39 changed between .1 and .2, so the diff against .1 no longer applies.
40
41 If you don't need the encrypted loop-aes support, try changing your USE
42 flag. If you do, it looks like you have to wait until someone fixes the
43 patch -- assuming it's not been merged into the mainline code, a good
44 reason for the patch not to apply!
45
46 --
47 Duncan - List replies preferred. No HTML msgs.
48 "Every nonfree program has a lord, a master --
49 and if you use the program, he is your master." Richard Stallman

Replies

Subject Author
Re: [gentoo-amd64] Re: sys-apps/util-linux-2.14.2 Thanasis <thanasis@××××××××××.org>