Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 718868 - dev-libs/cyrus-sasl calls cc directly
Summary: dev-libs/cyrus-sasl calls cc directly
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-04-22 15:48 UTC by Agostino Sarubbo
Modified: 2020-05-31 10:49 UTC (History)
0 users

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


Attachments
build.log (build.log,12.45 KB, text/plain)
2020-04-22 15: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 2020-04-22 15:48:09 UTC
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.
Comment 1 Agostino Sarubbo gentoo-dev 2020-04-22 15:48:22 UTC
Created attachment 634084 [details]
build.log

build log and emerge --info
Comment 2 Arfrever Frehtes Taifersar Arahesis 2020-04-22 23:12:26 UTC
Problem is triggered by AX_PROG_CC_FOR_BUILD macro, as in bug #718876.
Comment 3 Arfrever Frehtes Taifersar Arahesis 2020-04-23 04:21:33 UTC
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-    ./$< $@
Comment 4 Larry the Git Cow gentoo-dev 2020-05-31 10:49:09 UTC
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(+)