Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 421609 - dev-util/ccache-3.1.7 should DEPEND on test? ( dev-lang/perl )
Summary: dev-util/ccache-3.1.7 should DEPEND on test? ( dev-lang/perl )
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-17 16:17 UTC by Leon Schoorl
Modified: 2012-06-24 03:28 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,12.77 KB, text/plain)
2012-06-17 16:18 UTC, Leon Schoorl
Details

Note You need to log in before you can comment on or make changes to this bug.
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