Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 679728 - >=net-firewall/xtables-addons-3.2 USE=xtables_addons_geoip should depend on dev-perl/Net-CIDR-Lite - /lib/xtables-addons/xt_geoip_build: Can't locate Net/CIDR/Lite.pm in @INC
Summary: >=net-firewall/xtables-addons-3.2 USE=xtables_addons_geoip should depend on d...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Anthony Basile
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-07 23:08 UTC by Sylvain CANOINE
Modified: 2019-06-17 16:06 UTC (History)
2 users (show)

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


Attachments
patch for xtables-addons-3.2.ebuild (file_679728.txt,378 bytes, patch)
2019-06-16 10:01 UTC, Ruediger Hahn
Details | Diff
patch to add dependency for Net-CIDR-Lite into xtables-addons-3.3.ebuild (file_679728.txt,414 bytes, patch)
2019-06-16 17:49 UTC, Ruediger Hahn
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sylvain CANOINE 2019-03-07 23:08:03 UTC
After unmasking and updating =net-firewall/xtables-addons-3.2 I get this error message :

$ /lib/xtables-addons/xt_geoip_build 
Can't locate Net/CIDR/Lite.pm in @INC (you may need to install the Net::CIDR::Lite module) (@INC contains: /etc/perl /usr/local/lib64/perl5/5.26.2/x86_64-linux-thread-multi /usr/local/lib64/perl5/5.26.2 /usr/lib64/perl5/vendor_perl/5.26.2/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.26.2 /usr/local/lib64/perl5 /usr/lib64/perl5/vendor_perl /usr/lib64/perl5/5.26.2/x86_64-linux-thread-multi /usr/lib64/perl5/5.26.2) at /lib/xtables-addons/xt_geoip_build line 8.
BEGIN failed--compilation aborted at /lib/xtables-addons/xt_geoip_build line 8.

Manually emerging dev-perl/Net-CIDR-Lite solves the problem.

Related upstream commit :
https://sourceforge.net/p/xtables-addons/xtables-addons/ci/256ac1a4f6fe8db66031948c80fb066de5695a6e/

Reproducible: Always
Comment 1 Ruediger Hahn 2019-06-16 10:01:38 UTC
Created attachment 579896 [details, diff]
patch for xtables-addons-3.2.ebuild

I can confirm this issue and attached a small patch for xtables-addons-3.2.ebuild which just adds the required dependency.
Comment 2 Ruediger Hahn 2019-06-16 17:49:29 UTC
Created attachment 579940 [details, diff]
patch to add dependency for Net-CIDR-Lite into xtables-addons-3.3.ebuild

The problem is the same with xtables-addons-3.3.
Comment 3 Anthony Basile gentoo-dev 2019-06-17 16:06:23 UTC
(In reply to Ruediger Hahn from comment #2)
> Created attachment 579940 [details, diff] [details, diff]
> patch to add dependency for Net-CIDR-Lite into xtables-addons-3.3.ebuild
> 
> The problem is the same with xtables-addons-3.3.

Okay i fixed this in 3.3 and removed older versions.  If there are any users of this package that want it stabilized, open a stabilization bug in a couple of weeks.