Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 737696 - net-libs/libpcap: use BDEPEND with EAPI 7
Summary: net-libs/libpcap: use BDEPEND with EAPI 7
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:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-08-17 17:50 UTC by David Michael
Modified: 2020-08-18 11:16 UTC (History)
1 user (show)

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 David Michael 2020-08-17 17:50:59 UTC
All ebuilds after 1.9.1 are using EAPI 7, but none defines BDEPEND.  They all have tools defined in DEPEND that must be natively executable.

Reproducible: Always

Steps to Reproduce:
1. cross-emerge -v net-libs/libpcap

Actual Results:  
Required tools like bison and flex get cross-compiled.

Expected Results:  
They need to be installed natively so they are usable.

--- net-libs/libpcap/libpcap-1.9.1-r3.ebuild
+++ net-libs/libpcap/libpcap-1.9.1-r3.ebuild
@@ -25,8 +25,8 @@
 	rdma? ( sys-cluster/rdma-core )
 	usb? ( virtual/libusb:1[${MULTILIB_USEDEP}] )
 "
-DEPEND="
-	${RDEPEND}
+DEPEND="${RDEPEND}"
+BDEPEND="
 	sys-devel/flex
 	virtual/yacc
 	dbus? ( virtual/pkgconfig )
Comment 1 Larry the Git Cow gentoo-dev 2020-08-18 11:16:15 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43718991a778f90b6414dcc432bfa282a02592aa

commit 43718991a778f90b6414dcc432bfa282a02592aa
Author:     Jeroen Roovers <jer@gentoo.org>
AuthorDate: 2020-08-18 11:15:29 +0000
Commit:     Jeroen Roovers <jer@gentoo.org>
CommitDate: 2020-08-18 11:16:13 +0000

    net-libs/libpcap: Set BDEPEND
    
    Package-Manager: Portage-3.0.3, Repoman-3.0.0
    Closes: https://bugs.gentoo.org/737696
    Signed-off-by: Jeroen Roovers <jer@gentoo.org>

 net-libs/libpcap/libpcap-1.9.1-r3.ebuild | 2 ++
 net-libs/libpcap/libpcap-9999.ebuild     | 2 ++
 2 files changed, 4 insertions(+)