media-libs/libsndfile-1.0.19 fails its tests. Running the tests as root (without sandbox) works fine, though. ========================== ./lossy_comp_test aiff_ima ========================== test_float_peak : peak_float.aiff ......... ok read_write_peak_test : rw_peak.aiff ............ ok update_header_test : header.aiff ............. ok update_seek_short_test : header_short.aiff ....... ok update_seek_int_test : header_int.aiff ......... ok update_seek_float_test : header_float.aiff ....... ok update_seek_double_test : header_double.aiff ...... ok header_shrink_test : header_shrink.wav ....... ok extra_header_test : extra.aiff .............. ok zero_data_test : zerolen.aiff ............ ok filesystem_full_test : /dev/full ............... Line 300 : Error bad error string : System error : Permission denied.. make[1]: *** [check] Error 1 make[1]: Leaving directory `/var/tmp/portage/media-libs/libsndfile-1.0.19/work/libsndfile-1.0.19/tests' make: *** [check-recursive] Error 1
got same problem. adding "addwrite /dev/full" into the ebuild solved it. (the test expects to receive error "No space left on device" and it gets "Permission denied" from sandbox)
I get this on a PA-RISC machine: filesystem_full_test : /dev/full ............... ok So at least post your `emerge --info' and possibly set the Hardware and OS fields to reflect your setup.
Created attachment 189130 [details] emerge --info output
after upgrading sandbox-1.6-r2 from 1.2.18.1-r2, it works fine might be somehow related to bug 137240? there was no sandbox violation report in build.log though.
(In reply to comment #4) > after upgrading sandbox-1.6-r2 from 1.2.18.1-r2, it works fine Confirmed, when I filed the bug I was still using sandbox 1.2. I now have sandbox 1.6-r2 installed and libsndfile just installed as expected with all tests passing.
Reassingning to sound herd. Maybe they want to add some dependency on sys-apps/sandbox when tests are enabled...
(In reply to comment #6) > Reassingning to sound herd. Maybe they want to add some dependency on > sys-apps/sandbox when tests are enabled... > Nah.. The required sandbox is in stable, good enough for us