Gentoo Archives: gentoo-hardened

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