Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 622836

Summary: net-misc/ipv6calc-1.0.0 lacks dependency on dev-perl/URI ( fails tests: Can't locate URI/Escape.pm in @INC )
Product: Gentoo Linux Reporter: Kent Fredric (IRC: kent\n) (RETIRED) <kentnl>
Component: Current packagesAssignee: Anthony Basile <blueness>
Status: RESOLVED OBSOLETE    
Severity: normal CC: sam
Priority: Normal Keywords: TESTFAILURE
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 763981    
Attachments: build.log

Description Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2017-06-27 14:19:08 UTC
Created attachment 478160 [details]
build.log

Looking at where the test failure comes from, I'd say it needs to be a runtime dep too.

However:

> #dev-perl/URI is needed for web interface, that is not installed now

So if you want this as an "optional" dependency, it should still probably be installed for test.

Or possibly the tests need to be structured not to run that case if its unimportant.


 * Package:    net-misc/ipv6calc-1.0.0
 * Repository: gentoo
 * Maintainer: blueness@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux test userland_GNU
 * FEATURES:   preserve-libs sandbox test userpriv usersandbox


make[5]: Leaving directory '/var/tmp/portage/net-misc/ipv6calc-1.0.0/work/ipv6calc-1.0.0/lib'
make[4]: Leaving directory '/var/tmp/portage/net-misc/ipv6calc-1.0.0/work/ipv6calc-1.0.0/lib'
make[3]: Leaving directory '/var/tmp/portage/net-misc/ipv6calc-1.0.0/work/ipv6calc-1.0.0'
x86_64-pc-linux-gnu-gcc -o ipv6calc ipv6calc.o showinfo.o ipv6calchelp_local.o  -Wl,-O1 -Wl,--as-needed ../lib/libipv6calc.so.1.0.0 ../databases/lib/libipv6calc_db_wrapper.so.1.0.0 -lcrypto   -lm
make[2]: Leaving directory '/var/tmp/portage/net-misc/ipv6calc-1.0.0/work/ipv6calc-1.0.0/ipv6calc'
/var/tmp/portage/net-misc/ipv6calc-1.0.0/work/ipv6calc-1.0.0/ipv6calcweb
# Pseudo random selected
LD_LIBRARY_PATH=../lib:../databases/lib: ./test_ipv6calcweb.sh 2001:200:1:ea::1 || exit 1
INFO  : run 'ipv6calc' very basic output format tests
ERROR : output format reports an error: textkeyvalue
Can't locate URI/Escape.pm in @INC (you may need to install the URI::Escape module) (@INC contains: /etc/perl /usr/local/lib64/perl5/5.26.0/x86_64-linux /usr/local/lib64/perl5/5.26.0 /usr/lib64/perl5/vendor_perl/5.26.0/x86_64-linux /usr/lib64/perl5/vendor_perl/5.26.0 /usr/local/lib64/perl5 /usr/lib64/perl5/vendor_perl/5.26.0-RC1 /usr/lib64/perl5/vendor_perl/5.25.12 /usr/lib64/perl5/vendor_perl/5.25.11 /usr/lib64/perl5/vendor_perl/5.22.3 /usr/lib64/perl5/vendor_perl /usr/lib64/perl5/5.26.0/x86_64-linux /usr/lib64/perl5/5.26.0) at ./ipv6calcweb.cgi line 53.
BEGIN failed--compilation aborted at ./ipv6calcweb.cgi line 53.
make[1]: *** [Makefile:32: test] Error 1
make[1]: Leaving directory '/var/tmp/portage/net-misc/ipv6calc-1.0.0/work/ipv6calc-1.0.0/ipv6calcweb'
Result: 2
make: *** [Makefile:166: test] Error 2
Comment 1 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2018-10-10 10:31:39 UTC
0.99.2 fails the same way.