Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 785124 - [guru] media-video/mpv-mpris-0.5 calls cc directly
Summary: [guru] media-video/mpv-mpris-0.5 calls cc directly
Status: RESOLVED FIXED
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Oliver Freyermuth
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: qa-guru
  Show dependency tree
 
Reported: 2021-04-22 22:00 UTC by Agostino Sarubbo
Modified: 2021-04-25 14:05 UTC (History)
1 user (show)

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


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

Issue: media-video/mpv-mpris-0.5 calls cc directly.
Discovered on: amd64 (internal ref: guru_tinderbox)

NOTE:
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] and set the CC variable to x86_64-pc-linux-gnu-gcc.
Comment 1 Agostino Sarubbo gentoo-dev 2021-04-22 22:00:10 UTC
Created attachment 701784 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2021-04-22 22:00:13 UTC
Possible context of error(s):

/bin/sh: line 1: cc: command not found
Comment 3 Oliver Freyermuth 2021-04-22 22:19:05 UTC
Thanks for the report, should be fixed with:
https://github.com/gentoo/guru/commit/48ba306a591d62cad7b1b8d91d7822c414377ea1
(still in dev).
Comment 4 Marco Sirabella 2021-04-23 03:00:24 UTC
I think PKG_CONFIG needs to be passed from tc-getPKG_CONFIG too
Comment 5 Oliver Freyermuth 2021-04-23 07:06:16 UTC
(In reply to Marco Sirabella from comment #4)
> I think PKG_CONFIG needs to be passed from tc-getPKG_CONFIG too

Indeed, good catch!
Fixed in:
https://github.com/gentoo/guru/commit/5b8ea731eb48e9a81545c069643029734776e2fe
Comment 6 Larry the Git Cow gentoo-dev 2021-04-23 08:47:24 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=48ba306a591d62cad7b1b8d91d7822c414377ea1

commit 48ba306a591d62cad7b1b8d91d7822c414377ea1
Author:     Oliver Freyermuth <o.freyermuth@googlemail.com>
AuthorDate: 2021-04-22 22:18:09 +0000
Commit:     Oliver Freyermuth <o.freyermuth@googlemail.com>
CommitDate: 2021-04-22 22:18:09 +0000

    media-video/mpv-mpris: Do not call cc directly.
    
    Closes: https://bugs.gentoo.org/785124
    Package-Manager: Portage-3.0.17, Repoman-3.0.2
    Signed-off-by: Oliver Freyermuth <o.freyermuth@googlemail.com>

 media-video/mpv-mpris/mpv-mpris-0.5.ebuild  | 8 +++++++-
 media-video/mpv-mpris/mpv-mpris-9999.ebuild | 8 +++++++-
 2 files changed, 14 insertions(+), 2 deletions(-)
Comment 7 Agostino Sarubbo gentoo-dev 2021-04-25 14:05:27 UTC
Changing TRACKER as requested by QA.