Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 894032 - dev-python/pylint-venv-2.3.0 fails to compile (HARDENED-SYSTEM): Failing install because of stray top-level files in site-packages
Summary: dev-python/pylint-venv-2.3.0 fails to compile (HARDENED-SYSTEM): Failing inst...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-12 12:19 UTC by Agostino Sarubbo
Modified: 2023-02-24 13:10 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,53.80 KB, text/plain)
2023-02-12 12:19 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2023-02-12 12:19:33 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/pylint-venv-2.3.0 fails to compile (HARDENED-SYSTEM).
Discovered on: amd64 (internal ref: hardened_tinderbox)

NOTE:
(HARDENED-SYSTEM) in the summary means that the bug was found on a machine that runs an hardened profile with -D_FORTIFY_SOURCE=3 and -D_GLIBCXX_ASSERTIONS (https://www.gentoo.org/support/news-items/2023-01-01-hardening-fortify-assertions.html) but this bug MAY or MAY NOT BE related to the changes related to hardened.
Comment 1 Agostino Sarubbo gentoo-dev 2023-02-12 12:19:34 UTC
Created attachment 850434 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2023-02-12 12:19:35 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


 *               die "Failing install because of stray top-level files in site-packages";
 *   Failing install because of stray top-level files in site-packages
Comment 3 Oliver Koch 2023-02-23 07:18:39 UTC
It does not seem to be related to hardened. I have the same problem on a non-hardened machine:
 * The following unexpected files/directories were found top-level
 * in the site-packages directory:
 * 
 *   /usr/lib/python3.10/site-packages/README.rst
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2023-02-24 13:10:22 UTC
This is fixed in 3.0.0+.