This is an auto-filled bug because dev-libs/cyrus-sasl calls cc directly. The issue was originally discovered on arm64, but it may be reproducible on other arches as well. Attached build log and emerge --info. NOTE: To reproduce this issue you may want to temporarily move the /usr/bin/cc - /usr/bin/gcc binaries.
Created attachment 634084 [details] build.log build log and emerge --info
Problem is triggered by AX_PROG_CC_FOR_BUILD macro, as in bug #718876.
Actual usage of CC_FOR_BUILD, CFLAGS_FOR_BUILD and LDFLAGS_FOR_BUILD variables: $ grep -C4 _FOR_BUILD **/*.am include/Makefile.am-noinst_PROGRAMS = makemd5 include/Makefile.am- include/Makefile.am-makemd5_SOURCES = makemd5.c include/Makefile.am- include/Makefile.am:makemd5$(BUILD_EXEEXT) $(makemd5_OBJECTS): CC=$(CC_FOR_BUILD) include/Makefile.am:makemd5$(BUILD_EXEEXT) $(makemd5_OBJECTS): CFLAGS=$(CFLAGS_FOR_BUILD) include/Makefile.am:makemd5$(BUILD_EXEEXT): LDFLAGS=$(LDFLAGS_FOR_BUILD) include/Makefile.am- include/Makefile.am-md5global.h: makemd5$(BUILD_EXEEXT) Makefile include/Makefile.am- -rm -f $@ include/Makefile.am- ./$< $@
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f0534fa9a1ccae7e20a5e007c4b20d3dd3e5f0d commit 3f0534fa9a1ccae7e20a5e007c4b20d3dd3e5f0d Author: Sergei Trofimovich <slyfox@gentoo.org> AuthorDate: 2020-05-31 10:48:48 +0000 Commit: Sergei Trofimovich <slyfox@gentoo.org> CommitDate: 2020-05-31 10:49:03 +0000 dev-libs/cyrus-sasl: respect user's CC in CC_FOR_BUILD, bug #718868 Reported-by: Agostino Sarubbo Closes: https://bugs.gentoo.org/718868 Package-Manager: Portage-2.3.100, Repoman-2.3.22 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> dev-libs/cyrus-sasl/cyrus-sasl-2.1.27-r4.ebuild | 262 ++++++++++++++++++++++++ 1 file changed, 262 insertions(+)