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: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: SE Linux Bugs
URL:
Whiteboard:
Keywords:
: 931317 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-05-06 06:48 UTC by Agostino Sarubbo
Modified: 2024-05-15 08:20 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