Summary: | sys-apps/iproute2-4.13.0: does not respect CC | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Michał Górny <mgorny> |
Component: | Current packages | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED FIXED | ||
Severity: | major | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | sys-apps:iproute2-4.13.0:20170907-181119.log |
Description
Michał Górny
![]() ![]() ![]() ![]() The summary is misleading.
floppym@naomi iproute2 % sudo CC=clang ebuild iproute2-4.13.0.ebuild clean compile
>>> Compiling source in /x/portage/sys-apps/iproute2-4.13.0/work/iproute2-4.13.0 ...
make -j6
lib
make[1]: warning: -jN forced in submake: disabling jobserver mode.
make[1]: Entering directory '/x/portage/sys-apps/iproute2-4.13.0/work/iproute2-4.13.0/lib'
clang -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wold-style-definition -Wformat=2 -O2 -pipe -march=amdfam10 -I../include -DRESOLVE_HOSTNAMES -DLIBDIR=\"/lib64\" -DCONFDIR=\"/etc/iproute2\" -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -O2 -pipe -march=amdfam10 -DHAVE_SETNS -DHAVE_LIBMNL -fPIC -c -o libgenl.o libgenl.c
As the pasted 'emerge --info' states, I have CC set. I have no clue why it respects your 'clang' CC and it doesn't respect mine. Comparing older iproute2 ebuilds to newer (4.4.0 -> 4.13.0) shows the following CC variable difference: sed -i \ - -e '/^CC =/d' \ + -e '/^CC :=/d' \ Does one work where the other fails? The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0ab2fd19da8a60b3317abff6a8da3184f281365 commit c0ab2fd19da8a60b3317abff6a8da3184f281365 Author: Robin H. Johnson <robbat2@gentoo.org> AuthorDate: 2017-11-29 18:45:37 +0000 Commit: Robin H. Johnson <robbat2@gentoo.org> CommitDate: 2017-11-29 18:46:06 +0000 sys-apps/iproute2: respect CC Closes: https://bugs.gentoo.org/630268 Package-Manager: Portage-2.3.16, Repoman-2.3.6 sys-apps/iproute2/iproute2-4.10.0.ebuild | 2 +- sys-apps/iproute2/iproute2-4.11.0.ebuild | 2 +- sys-apps/iproute2/iproute2-4.12.0.ebuild | 2 +- sys-apps/iproute2/iproute2-4.13.0.ebuild | 2 +- sys-apps/iproute2/iproute2-4.14.0.ebuild | 2 +- sys-apps/iproute2/iproute2-4.14.1-r1.ebuild | 149 ++++++++++++++++++++++++++++ sys-apps/iproute2/iproute2-4.14.1.ebuild | 2 +- sys-apps/iproute2/iproute2-4.4.0.ebuild | 2 +- sys-apps/iproute2/iproute2-4.5.0.ebuild | 2 +- sys-apps/iproute2/iproute2-4.6.0.ebuild | 2 +- sys-apps/iproute2/iproute2-4.7.0.ebuild | 2 +- sys-apps/iproute2/iproute2-4.8.0.ebuild | 2 +- sys-apps/iproute2/iproute2-4.9.0.ebuild | 2 +- sys-apps/iproute2/iproute2-9999.ebuild | 2 +- 14 files changed, 162 insertions(+), 13 deletions(-) |