Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 664386 - net-irc/irssi has unconditional dependency on dev-lang/perl:=
Summary: net-irc/irssi has unconditional dependency on dev-lang/perl:=
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sven Wegener
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-23 19:58 UTC by Brian Evans (RETIRED)
Modified: 2018-08-24 10:03 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 Brian Evans (RETIRED) gentoo-dev 2018-08-23 19:58:36 UTC
Because of perl-module inherit and GENTOO_DEPEND_ON_PERL being unset, the eclass sets an unconditional dependency in irssi even if the perl USE is disabled.

I believe this is not the intended behavior so I suggest the following changes:

1) set GENTOO_DEPEND_ON_PERL="no" before the inherit


While we are at it:
2) Change eutils inherit to ltprune as no other function is used
Comment 1 Patrice Clement gentoo-dev 2018-08-24 09:51:06 UTC
Thanks Brian for the tip! I'm putting in an ebuild and will commit it shortly.
Comment 2 Larry the Git Cow gentoo-dev 2018-08-24 10:03:02 UTC
The bug has been closed via the following commit(s):

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

commit daff5816d12a0ac3158d81686abf0998bad1bcdb
Author:     Patrice Clement <monsieurp@gentoo.org>
AuthorDate: 2018-08-24 10:02:14 +0000
Commit:     Patrice Clement <monsieurp@gentoo.org>
CommitDate: 2018-08-24 10:02:54 +0000

    net-irc/irssi: finally remove Perl unconditional build dependency.
    
    GENTOO_DEPEND_ON_PERL="no" is now set just before the inherit phase to
    allow irssi to be built without linking to Perl unconditionally.
    
    Also swapped the eutils eclass inherit in favour of ltprune.
    
    Courtesy of Brian Evans <grknight@gentoo.org>.
    
    Closes: https://bugs.gentoo.org/664386
    Package-Manager: Portage-2.3.40, Repoman-2.3.9

 net-irc/irssi/irssi-1.0.7-r1.ebuild | 56 +++++++++++++++++++++++++++++++++++++
 net-irc/irssi/irssi-1.1.1-r1.ebuild | 56 +++++++++++++++++++++++++++++++++++++
 net-irc/irssi/irssi-9999.ebuild     |  4 ++-
 3 files changed, 115 insertions(+), 1 deletion(-)