As written in the title, logrotate fails its test suite when /bin/sh points to a shell that is not bash (in my case, it's dash). However, there are bashisms in the test scripts and configuration and once we eliminate those bashisms, the test suite passes. Reproducible: Always Steps to Reproduce: 1. FEATURES="test" emerge logrotate 2. 3. Actual Results: emake failed (test phase) Expected Results: logrotate installed on system
Created attachment 422618 [details, diff] logrotate-3.9.1-nobashisms-in-test-r2.patch
Created attachment 422620 [details, diff] logrotate-3.9.1-r1.ebuild.patch
Created attachment 422622 [details, diff] logrotate-3.9.1-r1.ebuild.patch
Created attachment 422624 [details] emerge --info
Created attachment 422626 [details] build.log from emerge
Thanks for the report and patches. Upstream issue.submitted: https://github.com/logrotate/logrotate/issues/15
Fixed in version 3.9.2: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0cb2e1a56954a0ae8621953eb95584c999617e5d