Gentoo Archives: gentoo-hardened

From: Jason Zaman <perfinion@g.o>
To: gentoo-hardened@l.g.o
Subject: Re: [gentoo-hardened] Setools 4.1.0 emerge failure
Date: Sun, 05 Feb 2017 05:20:16
Message-Id: 20170205051950.GA5742@meriadoc.perfinion.com
In Reply to: [gentoo-hardened] Setools 4.1.0 emerge failure by Robert Sharp
1 On Fri, Feb 03, 2017 at 02:54:28PM +0000, Robert Sharp wrote:
2 > Hi,
3 > just emerged the new setools-4.1.0 and it falls over. I do not have X on
4 > this machine and it seems to fail when patching to remove the gui? Here
5 > are the details.
6
7 I fixed it yesterday, re-emerge and it'll work now.
8
9 Thanks,
10 Jason
11 >
12 > From emerge:
13 >
14 > [ebuild U ~] app-admin/setools-4.1.0::gentoo [4.0.1::gentoo] USE="-X
15 > -debug {-test}" PYTHON_TARGETS="python2_7 python3_4 -python3_5" 0 KiB
16 >
17 > And the error message, which comes up straight away:
18 >
19 > >>> Unpacking source...
20 > >>> Unpacking setools-4.1.0.tar.gz to
21 > /var/tmp/portage/app-admin/setools-4.1.0/work
22 > >>> Source unpacked in /var/tmp/portage/app-admin/setools-4.1.0/work
23 > >>> Preparing source in
24 > /var/tmp/portage/app-admin/setools-4.1.0/work/setools-4.1.0 ...
25 > * Applying setools-4.0.1-remove-gui.patch ...
26 > 1 out of 1 hunk FAILED -- saving rejects to file setup.py.rej
27 > [ !! ]
28 > * ERROR: app-admin/setools-4.1.0::gentoo failed (prepare phase):
29 > * patch -p1 failed with
30 > /usr/portage/app-admin/setools/files/setools-4.0.1-remove-gui.patch
31 >
32 >
33 > Quick google suggests the patch does not match the source file? Perhaps
34 > most people have the X flag enabled and have not met this yet? I can
35 > provide full details if this is not as simple as I think.
36 >
37 > Thanks
38 >
39 > Robert Sharp
40 >

Replies

Subject Author
Re: [gentoo-hardened] Setools 4.1.0 emerge failure Robert Sharp <selinux@×××××××××××××××.org>