src_configure() writes the config to 'Config': cat <<-EOF > Config TC_CONFIG_ATM := $(usex atm y n) TC_CONFIG_XT := $(usex iptables y n) TC_CONFIG_NO_XT := $(usex iptables n y) # We've locked in recent enough kernel headers #549948 TC_CONFIG_IPSET := y HAVE_BERKELEY_DB := $(usex berkdb y n) HAVE_MNL := $(usex minimal n y) HAVE_ELF := $(usex minimal n y) HAVE_SELINUX := $(usex selinux y n) IP_CONFIG_SETNS := ${setns} # Use correct iptables dir, #144265 #293709 IPT_LIB_DIR := $(use iptables && ${PKG_CONFIG} xtables --variable=xtlibdir) EOF But the 'configure' script does: # Output file which is input to Makefile CONFIG=config.mk 'Config' does nothing (there is no reference to it). The Makefile ends up running ./configure itself to generate config.mk, which makes all dependencies automagic. Note that config.mk doesn't seem to quite have the same contents as Config, so simply changing the filename may not be sufficient.
Good catch! Change happened in 4.14.0: https://github.com/shemminger/iproute2/commit/5f1df307b47f7f0b28a29d85418a3934cc3a83b2 iproute2 $ git tag --contains=5f1df307b47f7f0b28a29d85418a3934cc3a83b2 v4.14.0 v4.14.1
(In reply to Sergei Trofimovich from comment #1) > Good catch! Change happened in 4.14.0: > > https://github.com/shemminger/iproute2/commit/ > 5f1df307b47f7f0b28a29d85418a3934cc3a83b2 > > iproute2 $ git tag --contains=5f1df307b47f7f0b28a29d85418a3934cc3a83b2 > v4.14.0 > v4.14.1 I've got something of a fix in bug #639536#c7. After configure generates config.mk, you can append the old Config and this will override the previous values. A more elegant solution might sed the lines of config.mk.
The fix in bug #639536#c7 seems to work (if perhaps not the most elegant).
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5eafd8616730adc6677072d82c2c9e48c351b507 commit 5eafd8616730adc6677072d82c2c9e48c351b507 Author: Thomas Deutschmann <whissi@gentoo.org> AuthorDate: 2017-12-15 11:35:36 +0000 Commit: Thomas Deutschmann <whissi@gentoo.org> CommitDate: 2017-12-15 11:48:50 +0000 sys-apps/iproute2: Rev bump Closes: https://bugs.gentoo.org/640654 Bug: https://bugzilla.redhat.com/1514963 Package-Manager: Portage-2.3.18, Repoman-2.3.6 .../files/iproute2-4.14.1-fix-tc-actions.patch | 222 +++++++++++++++++++++ sys-apps/iproute2/iproute2-4.14.1-r2.ebuild | 146 ++++++++++++++ 2 files changed, 368 insertions(+)