tcpdump-4.9.3.ebuild passes this to configure: $(use_with ssl crypto "${EPREFIX}/usr") When cross-compiling, ${EPREFIX} points to a host directory, which is obviously incorrect. Should use ${ESYSROOT} instead. Reproducible: Always Steps to Reproduce: 1. Cross-compile tcpdump: ${TARGET}-emerge -v1 tcpdump Actual Results: -I/usr/include in CFLAGS Expected Results: -I${TARGET}/usr/include in build path
https://github.com/gentoo/gentoo/pull/13610
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aee131e3413623ee4abf00bab3421b2ce4e5dc01 commit aee131e3413623ee4abf00bab3421b2ce4e5dc01 Author: Mattias Nissler <mnissler@chromium.org> AuthorDate: 2019-11-12 10:11:34 +0000 Commit: Jeroen Roovers <jer@gentoo.org> CommitDate: 2019-11-12 10:12:49 +0000 net-analyzer/tcpdump: Use ESYSROOT for crypto location Package-Manager: Portage-2.3.79, Repoman-2.3.18 Fixes: https://bugs.gentoo.org/699802 Signed-off-by: Jeroen Roovers <jer@gentoo.org> net-analyzer/tcpdump/tcpdump-4.9.3.ebuild | 2 +- net-analyzer/tcpdump/tcpdump-9999.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)