Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 931286 - app-admin/setools-4.5.1 fails to compile: patch -p1 failed with setools-4.4.2-remove-gui.patch
Summary: app-admin/setools-4.5.1 fails to compile: patch -p1 failed with setools-4.4.2...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: SE Linux Bugs
URL:
Whiteboard:
Keywords: PATCH, PullRequest
: 931317 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-05-06 06:48 UTC by Agostino Sarubbo
Modified: 2025-01-28 16:11 UTC (History)
3 users (show)

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


Attachments
build.log (build.log,43.29 KB, text/plain)
2024-05-06 06:48 UTC, Agostino Sarubbo
Details
remove-gui patch for v4.5.1 (setools-4.5.1-remove-gui.patch,1.17 KB, patch)
2024-05-15 08:20 UTC, Jan Breig
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2024-05-06 06:48:13 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: app-admin/setools-4.5.1 fails to compile.
Discovered on: amd64 (internal ref: ci)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0014
Comment 1 Agostino Sarubbo gentoo-dev 2024-05-06 06:48:14 UTC
Created attachment 892331 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-05-06 06:48:14 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


1 out of 1 hunk FAILED -- saving rejects to file setup.py.rej
 *             environment, line 2305:  Called __helpers_die 'patch -p1  failed with /var/tmp/portage/app-admin/setools-4.5.1/files/setools-4.4.2-remove-gui.patch'
Hunk #1 FAILED at 139.
 *   patch -p1  failed with /var/tmp/portage/app-admin/setools-4.5.1/files/setools-4.4.2-remove-gui.patch
Comment 3 Agostino Sarubbo gentoo-dev 2024-05-06 20:28:10 UTC
*** Bug 931317 has been marked as a duplicate of this bug. ***
Comment 4 Jan Breig 2024-05-15 08:20:44 UTC
Created attachment 892958 [details, diff]
remove-gui patch for v4.5.1

Patch adapted for 4.5.1.

This will break again in the next release because upstream moved the patched part to pyproject.toml in https://github.com/SELinuxProject/setools/commit/2661b1af6d76a5c3c2fd2035b1f86314a1c10470
Comment 5 Larry the Git Cow gentoo-dev 2024-06-07 20:15:46 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=010e5171befaae2ecf8677b5d8e306bbebf0ae87

commit 010e5171befaae2ecf8677b5d8e306bbebf0ae87
Author:     Kenton Groombridge <concord@gentoo.org>
AuthorDate: 2024-06-07 20:11:55 +0000
Commit:     Kenton Groombridge <concord@gentoo.org>
CommitDate: 2024-06-07 20:11:55 +0000

    app-admin/setools: update remove gui patch for 4.5.1
    
    Thanks-to: Jan Breig
    Closes: https://bugs.gentoo.org/931286
    Signed-off-by: Kenton Groombridge <concord@gentoo.org>

 .../setools/files/setools-4.5.1-remove-gui.patch    | 21 +++++++++++++++++++++
 app-admin/setools/setools-4.5.1.ebuild              |  2 +-
 2 files changed, 22 insertions(+), 1 deletion(-)
Comment 6 Larry the Git Cow gentoo-dev 2025-01-28 16:11:29 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39bbb03b44c15e9cdcfa32c515c397cb14b19fac

commit 39bbb03b44c15e9cdcfa32c515c397cb14b19fac
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2025-01-27 21:43:21 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2025-01-28 16:10:23 +0000

    app-admin/setools: IUSE X -> gui, sync 9999 with 4.5.1
    
    Amends 010e5171befaae2ecf8677b5d8e306bbebf0ae87,
    ca6cab88cb35b736b29124546e383618ab2e84a2,
    34a8e3101f299d9aba988a629a8538801b4a9db0
    
    Bug: https://bugs.gentoo.org/931286
    Bug: https://bugs.gentoo.org/933780
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 app-admin/setools/files/setools-4.4.2-remove-gui.patch | 18 ------------------
 app-admin/setools/setools-4.5.1.ebuild                 | 10 +++++-----
 app-admin/setools/setools-9999.ebuild                  | 16 +++++++++-------
 profiles/arch/mips/package.use.mask                    |  4 ++--
 4 files changed, 16 insertions(+), 32 deletions(-)