Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 725406 - media-libs/libmng-2.0.3 fails src_configure ( C compiler cannot create executables ) due to direct call of "gcc"
Summary: media-libs/libmng-2.0.3 fails src_configure ( C compiler cannot create execut...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: tc-directly
  Show dependency tree
 
Reported: 2020-05-25 21:33 UTC by Kent Fredric (IRC: kent\n) (RETIRED)
Modified: 2021-03-13 17:03 UTC (History)
0 users

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


Attachments
config.log (config.log,7.25 KB, text/x-log)
2020-05-25 21:33 UTC, Kent Fredric (IRC: kent\n) (RETIRED)
Details
libmng-2.0.3:20200525-211636.log.gz (libmng-2.0.3:20200525-211636.log.gz,1.83 KB, application/gzip)
2020-05-25 21:34 UTC, Kent Fredric (IRC: kent\n) (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2020-05-25 21:33:45 UTC
Created attachment 641788 [details]
config.log

Without /usr/bin/gcc:

make -j3 --load-average=4 distclean 
/bin/sh ./config.status --recheck
running CONFIG_SHELL=/bin/sh /bin/sh ./configure --prefix=/usr --libdir=/usr/lib64 --with-lcms2 --no-create --no-recursion
checking for a BSD-compatible install... /usr/lib/portage/python3.7/ebuild-helpers/xattr/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in `/var/tmp/portage/media-libs/libmng-2.0.3/work/libmng-2.0.3':
configure: error: C compiler cannot create executables
See `config.log' for more details
make: *** [Makefile:384: config.status] Error 77


config.log:

configure:2311: checking for a BSD-compatible install
configure:2379: result: /usr/lib/portage/python3.7/ebuild-helpers/xattr/install -c
configure:2390: checking whether build environment is sane
configure:2445: result: yes
configure:2594: checking for a thread-safe mkdir -p
configure:2633: result: /bin/mkdir -p
configure:2640: checking for gawk
configure:2656: found /usr/bin/gawk
configure:2667: result: gawk
configure:2678: checking whether make sets $(MAKE)
configure:2700: result: yes
configure:2729: checking whether make supports nested variables
configure:2746: result: yes
configure:2939: checking for gcc
configure:2966: result: gcc
configure:3195: checking for C compiler version
configure:3204: gcc --version >&5
./configure: line 3206: gcc: command not found
configure:3215: $? = 127
configure:3204: gcc -v >&5
./configure: line 3206: gcc: command not found
configure:3215: $? = 127
configure:3204: gcc -V >&5
./configure: line 3206: gcc: command not found
configure:3215: $? = 127
configure:3204: gcc -qversion >&5
./configure: line 3206: gcc: command not found
configure:3215: $? = 127
configure:3235: checking whether the C compiler works
configure:3257: gcc -g -O2   conftest.c  >&5
./configure: line 3259: gcc: command not found
Comment 1 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2020-05-25 21:34:44 UTC
Created attachment 641790 [details]
libmng-2.0.3:20200525-211636.log.gz
Comment 2 Sergei Trofimovich (RETIRED) gentoo-dev 2020-05-25 21:37:44 UTC
Should already be fixed in https://gitweb.gentoo.org/repo/gentoo.git/commit/media-libs/libmng?id=8933084aa74fa58638bd21b5dc5de9420beb4db3
Comment 3 David Seifert gentoo-dev 2021-03-13 17:03:15 UTC
Fixed in 8933084aa74fa58638bd21b5dc5de9420beb4db3.