Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 799848 - dev-libs/capstone-4.0.2-r2 uses a probably incorrect DISTUTILS_USE_SETUPTOOLS value
Summary: dev-libs/capstone-4.0.2-r2 uses a probably incorrect DISTUTILS_USE_SETUPTOOLS...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sergei Trofimovich (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on: 800147
Blocks: DISTUTILS_USE_SETUPTOOLS
  Show dependency tree
 
Reported: 2021-07-02 11:25 UTC by Agostino Sarubbo
Modified: 2021-09-10 10:07 UTC (History)
0 users

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


Attachments
build.log (build.log,115.02 KB, text/plain)
2021-07-02 11:25 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 2021-07-02 11:25:11 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-libs/capstone-4.0.2-r2 uses a probably incorrect DISTUTILS_USE_SETUPTOOLS value.
Discovered on: amd64 (internal ref: ci)

NOTE:
This machine uses GCC-11: https://gcc.gnu.org/gcc-11/porting_to.html
Comment 1 Agostino Sarubbo gentoo-dev 2021-07-02 11:25:14 UTC
Created attachment 720990 [details]
build.log

build log and emerge --info
Comment 2 Sergei Trofimovich (RETIRED) gentoo-dev 2021-07-03 06:43:36 UTC
(In reply to Agostino Sarubbo from comment #1)
> Created attachment 720990 [details]
> build.log
> 
> build log and emerge --info

Can you tweak your build.log to be in form of `emerge -v1` where used USE flags for built package are seen in the header? It's not immediately obvious of USE=python is active or not (I think it's not).

Here is a warning from context:

 * QA Notice: DISTUTILS_USE_SETUPTOOLS value is probably incorrect
 *   have:     DISTUTILS_USE_SETUPTOOLS=bdepend (or unset)
 *   expected: DISTUTILS_USE_SETUPTOOLS=no
Comment 3 Sergei Trofimovich (RETIRED) gentoo-dev 2021-07-03 07:19:48 UTC
Filed bug #800147 to clarify. I'm not sure the check is expected to handle optional depends.
Comment 4 Sergei Trofimovich (RETIRED) gentoo-dev 2021-07-03 08:31:46 UTC
The check was tweaked by https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3156d07f30384ec0669d2fdda1a46a83431781e5