Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 715928 - sys-process/psmisc-23.3-r1: use BDEPEND with EAPI=7
Summary: sys-process/psmisc-23.3-r1: 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
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-02 16:42 UTC by David Michael
Modified: 2020-09-07 20:44 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-04-02 16:42:56 UTC
The latest ebuild version switched to EAPI 7, but it left build system dependencies in DEPEND instead of moving to BDEPEND.

Reproducible: Always

Steps to Reproduce:
1. emerge =sys-process/psmisc-23.3-r1  # with a sysroot configuration

Actual Results:  
It installs gettext and libtool and all of their dependencies in the sysroot.

Expected Results:  
It should just use all of this stuff in /.

I tested this:

--- sys-process/psmisc/psmisc-23.3-r1.ebuild
+++ sys-process/psmisc/psmisc-23.3-r1.ebuild
@@ -15,8 +15,8 @@
 RDEPEND=">=sys-libs/ncurses-5.7-r7:0=
 	nls? ( virtual/libintl )
 	selinux? ( sys-libs/libselinux )"
-DEPEND="${RDEPEND}
-	>=sys-devel/libtool-2.2.6b
+DEPEND="${RDEPEND}"
+BDEPEND=">=sys-devel/libtool-2.2.6b
 	nls? ( sys-devel/gettext )"
 
 DOCS=( AUTHORS ChangeLog NEWS README )
Comment 1 Larry the Git Cow gentoo-dev 2020-09-07 20:44:23 UTC
The bug has been closed via the following commit(s):

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

commit 260f87e53d80099084d05f31502865fd0a6f84b8
Author:     David Michael <fedora.dm0@gmail.com>
AuthorDate: 2020-09-03 12:25:01 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2020-09-07 20:43:56 +0000

    sys-process/psmisc: fix BDEPEND for EAPI 7
    
    Closes: https://bugs.gentoo.org/715928
    Package-Manager: Portage-3.0.4, Repoman-2.3.23
    Signed-off-by: David Michael <fedora.dm0@gmail.com>
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 sys-process/psmisc/psmisc-23.3-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)