Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 720884 - media-libs/libmng calls cc directly
Summary: media-libs/libmng calls cc directly
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: tc-directly
  Show dependency tree
 
Reported: 2020-05-04 06:26 UTC by Agostino Sarubbo
Modified: 2020-05-25 21:37 UTC (History)
0 users

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


Attachments
build.log (build.log,7.68 KB, text/plain)
2020-05-04 06:26 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 2020-05-04 06:26:39 UTC
This is an auto-filled bug because media-libs/libmng calls cc directly.
The issue was originally discovered on arm64, but it may be reproducible on other arches as well.
If you think that a different summary clarifies the issue better, feel free to change it.
Attached build log and emerge --info.

NOTE:
If you think it doesn't make sense fix these type of issues, I'd like to point out that won't be possible use a different CC implementation (like clang) by setting the CC variable. So this issue has been reproduced by setting the CC variable to aarch64-unknown-linux-gnu-gcc and by removing the /usr/bin/cc - /usr/bin/gcc binaries.
Comment 1 Agostino Sarubbo gentoo-dev 2020-05-04 06:26:50 UTC
Created attachment 635904 [details]
build.log

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2020-05-25 08:37:32 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8933084aa74fa58638bd21b5dc5de9420beb4db3

commit 8933084aa74fa58638bd21b5dc5de9420beb4db3
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2020-05-25 08:37:05 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2020-05-25 08:37:27 +0000

    media-libs/libmng: don't call 'gcc' in src_prepare(), bug #720884
    
    Before the change src_prepare() was calling 'emake distclean'.
    That forced reconfiguration with default CC=gcc.
    
    The change just deletes files which 'make distclean' would delete.
    
    Reported-by: Agostino Sarubbo
    Closes: https://bugs.gentoo.org/720884
    Package-Manager: Portage-2.3.100, Repoman-2.3.22
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>

 media-libs/libmng/libmng-2.0.3.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)