Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 729076 - sys-apps/bubblewrap: use BDEPEND with EAPI 7
Summary: sys-apps/bubblewrap: 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 Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2020-06-22 02:41 UTC by David Michael
Modified: 2020-07-29 19:56 UTC (History)
2 users (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-06-22 02:41:48 UTC
The ebuild uses EAPI 7, but it does not define BDEPEND.  That makes it cross-compile dependencies that need to be executed natively.

Reproducible: Always

Steps to Reproduce:
1. emerge -v sys-apps/bubblewrap  # with a sysroot profile

Actual Results:  
It cross-compiles pkgconfig and XML stuff.

Expected Results:  
That stuff should be used from /.

This fixes it.

--- a/sys-apps/bubblewrap/bubblewrap-0.4.1.ebuild
+++ b/sys-apps/bubblewrap/bubblewrap-0.4.1.ebuild
@@ -19,7 +19,8 @@
 	sys-libs/libcap
 	selinux? ( >=sys-libs/libselinux-2.1.9 )
 "
-DEPEND="${RDEPEND}
+DEPEND="${RDEPEND}"
+BDEPEND="
 	app-text/docbook-xml-dtd:4.3
 	app-text/docbook-xsl-stylesheets
 	dev-libs/libxslt
Comment 1 Larry the Git Cow gentoo-dev 2020-07-29 19:56:47 UTC
The bug has been closed via the following commit(s):

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

commit f400d18a195640088f645306a1a75f31d8df8fe6
Author:     Mart Raudsepp <leio@gentoo.org>
AuthorDate: 2020-07-29 19:12:52 +0000
Commit:     Mart Raudsepp <leio@gentoo.org>
CommitDate: 2020-07-29 19:56:28 +0000

    sys-apps/bubblewrap: fix missing BDEPEND
    
    Closes: https://bugs.gentoo.org/729076
    Package-Manager: Portage-2.3.84, Repoman-2.3.20
    Signed-off-by: Mart Raudsepp <leio@gentoo.org>

 sys-apps/bubblewrap/bubblewrap-0.4.1.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)