Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 823695 - dev-python/mysql-connector-python-8.0.27 calls cc directly
Summary: dev-python/mysql-connector-python-8.0.27 calls cc directly
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux MySQL bugs team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: tc-directly
  Show dependency tree
 
Reported: 2021-11-14 08:48 UTC by Agostino Sarubbo
Modified: 2022-07-06 06:45 UTC (History)
2 users (show)

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


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

Issue: dev-python/mysql-connector-python-8.0.27 calls cc directly.
Discovered on: amd64 (internal ref: ci)

NOTE:
This machine uses GCC-11: https://gcc.gnu.org/gcc-11/porting_to.html
As per QA policy, toolchain tools must not be called directly because they can cause issue in cross-compiling and because is not possible use a different CC implementation (like clang). To reproduce, please use sys-devel/gcc-config[-native-symlinks], sys-devel/binutils-config[-native-symlinks].
Comment 1 Agostino Sarubbo gentoo-dev 2021-11-14 08:48:31 UTC
Created attachment 750978 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2021-11-14 08:48:33 UTC
Error(s) that match a know pattern:


error: [Errno 2] No such file or directory: 'gcc'
fatal: not a git repository (or any parent up to mount point /var/tmp)
error: [Errno 2] No such file or directory: 'gcc'
Comment 3 Thomas Deutschmann (RETIRED) gentoo-dev 2021-11-16 01:55:38 UTC
I am not sure what to do here. This is a false positive. The package doesn't compile anything. It is a pure python package. However, yes, it is calling gcc to display something?
Comment 4 Larry the Git Cow gentoo-dev 2022-07-06 06:44:54 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f3d57bd257f399303f5fe151b3643546fd3bad9

commit 6f3d57bd257f399303f5fe151b3643546fd3bad9
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-07-06 06:42:48 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-07-06 06:44:25 +0000

    dev-python/mysql-connector-python: treeclean
    
    Bug: https://bugs.gentoo.org/845756
    Bug: https://bugs.gentoo.org/823695
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-python/mysql-connector-python/Manifest         |  1 -
 dev-python/mysql-connector-python/metadata.xml     | 15 ------
 .../mysql-connector-python-8.0.27.ebuild           | 53 ----------------------
 profiles/package.mask                              |  8 ----
 4 files changed, 77 deletions(-)
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-07-06 06:45:23 UTC
Removed.