Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 595212 - app-admin/stow-2.2.2: should subslot-dep on perl
Summary: app-admin/stow-2.2.2: should subslot-dep on perl
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: erik falor
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-26 14:30 UTC by bitozoid
Modified: 2016-10-22 21:33 UTC (History)
4 users (show)

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


Attachments
patch to add subslop dependency (stow-2.2.2-r1.ebuild.patch,247 bytes, patch)
2016-10-18 04:40 UTC, erik falor
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description bitozoid 2016-09-26 14:30:10 UTC
stow depends on dev-lang/perl, but it stops working when upgrading perl, so the ebuild should have a dependency with the installed version of perl:

$ stow
Can't locate Stow.pm in @INC (you may need to install the Stow module) (@INC contains: /etc/perl /usr/local/lib64/perl5/5.22.2/x86_64-linux /usr/local/lib64/perl5/5.22.2 /usr/lib64/perl5/vendor_perl/5.22.2/x86_64-linux /usr/lib64/perl5/vendor_perl/5.22.2 /usr/local/lib64/perl5 /usr/lib64/perl5/vendor_perl /usr/lib64/perl5/5.22.2/x86_64-linux /usr/lib64/perl5/5.22.2 .) at /usr/bin/stow line 418.
BEGIN failed--compilation aborted at /usr/bin/stow line 418.
Comment 1 bitozoid 2016-09-26 14:35:47 UTC
It seems that perl-cleaner fixes that.
Comment 2 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2016-09-26 14:39:57 UTC
Needs a dev-lang/perl:= subslot dep in RDEPEND so that upgrading perl's causes a package rebuild.

perl-cleaner is more a stop-gap for portage not quite being smart enough and us not having enough subslot deps.
Comment 3 erik falor 2016-10-18 04:40:56 UTC
Created attachment 450606 [details, diff]
patch to add subslop dependency

Patch to incorporate subslot dependency -> app-admin/stow-2.2.2-r1
Comment 4 Andreas K. Hüttel archtester gentoo-dev 2016-10-22 21:33:51 UTC
Thanks, applied (also fixed module directory)

commit f2d0ba92dc9f05c920045c112e85e06932c83582
Author: Andreas K. Hüttel <dilfridge@gentoo.org>
Date:   Sat Oct 22 23:31:52 2016 +0200

    app-admin/stow: Fix perl module installation directory
    
    Package-Manager: portage-2.3.2

 app-admin/stow/stow-2.2.2-r1.ebuild | 7 +++++++
 1 file changed, 7 insertions(+)

commit 0b3cd9311d02854e2887450eb02dada01147a1c2
Author: Erik Falor <ewfalor@gmail.com>
Date:   Sat Oct 22 23:25:04 2016 +0200

    app-admin/stow: Add slot operator in perl dependency, bug 595212

 app-admin/stow/{stow-2.2.2.ebuild => stow-2.2.2-r1.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)