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

Bug 421609

Summary: dev-util/ccache-3.1.7 should DEPEND on test? ( dev-lang/perl )
Product: Gentoo Linux Reporter: Leon Schoorl <leon>
Component: [OLD] DevelopmentAssignee: Robin Johnson <robbat2>
Status: RESOLVED FIXED    
Severity: normal CC: toolchain
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log

Description Leon Schoorl 2012-06-17 16:17:10 UTC
The testsuite of ccache uses perl and fails without it.

Either ccache should depend on perl when testing is enabled.
Or the suite should be patched to not use perl.

Perl is only used in test.sh on line 1469: perl -e 'print "A" x 4017' >$dir/result$i-4017.o

It replaced it with: echo AA..(4015 more A's) >$dir/result$i-4017.o
Which works, but is kind of stupid.


Reproducible: Always

Steps to Reproduce:
1. Not have perl installed (I started with a stage3)
2. Have FEATURES="test" enabled
3. emerge ccache
Actual Results:  
[...]
./test.sh: line 1469: perl: command not found
[...]
ERROR: dev-util/ccache-3.1.7 failed (test phase):
Comment 1 Leon Schoorl 2012-06-17 16:18:18 UTC
Created attachment 315601 [details]
build.log
Comment 2 SpanKY gentoo-dev 2012-06-24 03:28:14 UTC
should be all set now in the tree; thanks for the report!

Commit message: Update to EAPI=4, and avoid perl requirement in tests
http://sources.gentoo.org/dev-util/ccache/ccache-3.1.7.ebuild?r1=1.6&r2=1.7
http://sources.gentoo.org/dev-util/ccache/files/ccache-3.1.7-no-perl.patch?rev=1.1