Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 699802 - net-analyzer/tcpdump uses incorrect openssl install location for cross-compiling
Summary: net-analyzer/tcpdump uses incorrect openssl install location for cross-compiling
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Netmon project
URL: https://bugs.chromium.org/p/chromium/...
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2019-11-11 09:30 UTC by Mattias Nissler
Modified: 2019-12-03 21:14 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mattias Nissler 2019-11-11 09:30:25 UTC
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
Comment 1 Mattias Nissler 2019-11-11 09:35:17 UTC
https://github.com/gentoo/gentoo/pull/13610
Comment 2 Larry the Git Cow gentoo-dev 2019-11-12 10:12:53 UTC
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(-)