Help - Search - Members - Calendar
Full Version: Flac 1.1.4 make check: 2 of 7 tests failed
Hydrogenaudio Forums > Lossless Audio Compression > FLAC
Corwin
I compiled flac on my Debian Duo Core box and it seems happy, but when I do a "make check: it ends in:

noise (--channels=8 --bps=24 -8 -e --lax -b 65535 --disable-verbatim-subframes --disable-constant-subframes --disable-fixed-subframes): encode...decode...compare...OK
PASS: ./test_streams.sh
===================
2 of 7 tests failed
===================
make[3]: *** [check-TESTS] Error 1
make[3]: Leaving directory `/home/michael/Desktop/flac-1.1.4/test'
make[2]: *** [check-am] Error 2
make[2]: Leaving directory `/home/michael/Desktop/flac-1.1.4/test'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/home/michael/Desktop/flac-1.1.4/test'
make: *** [check-recursive] Error 1
root@corwin:/home/michael/Desktop/flac-1.1.4


Any clue what I should look for or if this is a common problem? It's not coming up on Google.

Michael
Corwin
QUOTE(Corwin @ May 20 2007, 02:07) *

2 of 7 tests failed


Wow, there's a ton of info that goes to STDERR, but these are the two error lines. I'm guessing ./configure is missing some header somewhere:

ERROR during test_libFLAC
ERROR during test_libFLAC++
rt-1-24-1.wav: WARNING: legacy WAVE file has format type 1 but bits-per-sample=24
rt-1-24-111.wav: WARNING: legacy WAVE file has format type 1 but bits-per-sample=24

Egor
QUOTE(Corwin @ May 21 2007, 02:21) *
rt-1-24-1.wav: WARNING: legacy WAVE file has format type 1 but bits-per-sample=24
rt-1-24-111.wav: WARNING: legacy WAVE file has format type 1 but bits-per-sample=24

FLAC 1.1.3 and 1.1.4 show this warning if a 24-bit WAVE file is WAVEFORMATEX. Josh said he might remove this warning.
QUOTE(jcoalson @ Oct 11 2006, 22:11) *
I might remove this warning since I think for 24bps all programs write samples the same way.

jcoalson
the warnings won't cause the tests to fail. I'd have to see all the stderr output but if it says test_libFLAC and test_libFLAC++ are failing, those tests don't have much output so you should be able to post it here verbatim or upload.

Josh
Corwin
QUOTE(jcoalson @ May 20 2007, 20:54) *

the warnings won't cause the tests to fail. I'd have to see all the stderr output but if it says test_libFLAC and test_libFLAC++ are failing, those tests don't have much output so you should be able to post it here verbatim or upload.

Josh


Here's the output:

++++++ testing level 1 interface
simple iterator on read-only file
generating FLAC file for test
testing 'metadata.flac'... 0... 1... 2... content... PASSED
is writable = 1
ERROR: iterator claims file is writable when tester thinks it should not be; are you running as root?

ERROR during test_libFLAC
FAIL: ./test_libFLAC.sh

+++ libFLAC++ unit test: FLAC::Encoder::Stream (layer: Stream, format: FLAC)


To answer the question, yes, I've done chown -R user.user for both a user and root and then run make check. this output was run as root.

If I directly execute the scripts test_libFLAC.sh and test_libFLAC++.sh they report the error.

Thank you for the help.
Michael
jcoalson
the chown won't affect it, you have to run as someone other than root.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.