Bug#1072404: chromaprint: FTBFS with ffmpeg 7.0: dh_auto_test: error: cd obj-aarch64-linux-gnu && make -j2 check ARGS\+=--verbose ARGS\+=-j2 returned exit code 2
Source: chromaprint
Version: 1.5.1-5
Severity: important
Tags: trixie sid ftbfs
Usertags: ffmpeg-7.0
Hi,
during a rebuild of the reverse dependencies for the transition to
ffmpeg 7.0, your package failed to build
Relevant part (hopefully):
> make[4]: Entering directory '/<<PKGBUILDDIR>>/obj-aarch64-linux-gnu'
> cd /<<PKGBUILDDIR>>/obj-aarch64-linux-gnu/tests && ./all_tests
> [==========] Running 94 tests from 25 test suites.
> [----------] Global test environment set-up.
> [----------] 11 tests from API
> [ RUN ] API.TestFp
> [ OK ] API.TestFp (8 ms)
> [ RUN ] API.Test2SilenceFp
> [ OK ] API.Test2SilenceFp (4 ms)
> [ RUN ] API.Test2SilenceRawFp
> [ OK ] API.Test2SilenceRawFp (4 ms)
> [ RUN ] API.TestEncodeFingerprint
> [ OK ] API.TestEncodeFingerprint (0 ms)
> [ RUN ] API.TestEncodeFingerprintBase64
> [ OK ] API.TestEncodeFingerprintBase64 (0 ms)
> [ RUN ] API.TestDecodeFingerprint
> [ OK ] API.TestDecodeFingerprint (0 ms)
> [ RUN ] API.TestHashFingerprint
> [ OK ] API.TestHashFingerprint (0 ms)
> [ RUN ] API.TestDecodeFingerprintOutOfRange
> [ OK ] API.TestDecodeFingerprintOutOfRange (0 ms)
> [ RUN ] API.TestDecodeFingerprintEmpty
> [ OK ] API.TestDecodeFingerprintEmpty (0 ms)
> [ RUN ] API.TestDecodeFingerprintNull
> FingerprintDecompressor::Decompress() -- Invalid fingerprint (shorter than 4 bytes)
> [ OK ] API.TestDecodeFingerprintNull (0 ms)
> [ RUN ] API.TestDecodeFingerprintCoustidFingerprint
> FingerprintDecompressor::Decompress() -- Invalid fingerprint (too short, not enough input for normal bits)
> [ OK ] API.TestDecodeFingerprintCoustidFingerprint (0 ms)
> [----------] 11 tests from API (18 ms total)
>
> [----------] 11 tests from Utils
> [ RUN ] Utils.PrepareHammingWindow
> [ OK ] Utils.PrepareHammingWindow (0 ms)
> [ RUN ] Utils.ApplyWindow
> [ OK ] Utils.ApplyWindow (0 ms)
> [ RUN ] Utils.Sum
> [ OK ] Utils.Sum (0 ms)
> [ RUN ] Utils.EuclideanNorm
> [ OK ] Utils.EuclideanNorm (0 ms)
> [ RUN ] Utils.NormalizeVector
> [ OK ] Utils.NormalizeVector (0 ms)
> [ RUN ] Utils.NormalizeVectorNearZero
> [ OK ] Utils.NormalizeVectorNearZero (0 ms)
> [ RUN ] Utils.NormalizeVectorZero
> [ OK ] Utils.NormalizeVectorZero (0 ms)
> [ RUN ] Utils.IsNaN
> [ OK ] Utils.IsNaN (0 ms)
> [ RUN ] Utils.CountSetBits32
> [ OK ] Utils.CountSetBits32 (0 ms)
> [ RUN ] Utils.CountSetBits64
> [ OK ] Utils.CountSetBits64 (0 ms)
> [ RUN ] Utils.LoadAudioFile
> [ OK ] Utils.LoadAudioFile (0 ms)
> [----------] 11 tests from Utils (0 ms total)
>
> [----------] 1 test from Quantizer
> [ RUN ] Quantizer.Quantize
> [ OK ] Quantizer.Quantize (0 ms)
> [----------] 1 test from Quantizer (0 ms total)
>
> [----------] 1 test from Filter
> [ RUN ] Filter.Filter0
> [ OK ] Filter.Filter0 (0 ms)
> [----------] 1 test from Filter (0 ms total)
>
> [----------] 8 tests from FilterUtils
> [ RUN ] FilterUtils.CompareSubtract
> [ OK ] FilterUtils.CompareSubtract (0 ms)
> [ RUN ] FilterUtils.CompareSubtractLog
> [ OK ] FilterUtils.CompareSubtractLog (0 ms)
> [ RUN ] FilterUtils.Filter0
> [ OK ] FilterUtils.Filter0 (0 ms)
> [ RUN ] FilterUtils.Filter1
> [ OK ] FilterUtils.Filter1 (0 ms)
> [ RUN ] FilterUtils.Filter2
> [ OK ] FilterUtils.Filter2 (0 ms)
> [ RUN ] FilterUtils.Filter3
> [ OK ] FilterUtils.Filter3 (0 ms)
> [ RUN ] FilterUtils.Filter4
> [ OK ] FilterUtils.Filter4 (0 ms)
> [ RUN ] FilterUtils.Filter5
> [ OK ] FilterUtils.Filter5 (0 ms)
> [----------] 8 tests from FilterUtils (0 ms total)
>
> [----------] 6 tests from AudioProcessor
> [ RUN ] AudioProcessor.Accessors
> [ OK ] AudioProcessor.Accessors (0 ms)
> [ RUN ] AudioProcessor.PassThrough
> [ OK ] AudioProcessor.PassThrough (0 ms)
> [ RUN ] AudioProcessor.StereoToMono
> [ OK ] AudioProcessor.StereoToMono (1 ms)
> [ RUN ] AudioProcessor.ResampleMono
> [ OK ] AudioProcessor.ResampleMono (3 ms)
> [ RUN ] AudioProcessor.ResampleMonoNonInteger
> [ OK ] AudioProcessor.ResampleMonoNonInteger (3 ms)
> [ RUN ] AudioProcessor.StereoToMonoAndResample
> [ OK ] AudioProcessor.StereoToMonoAndResample (3 ms)
> [----------] 6 tests from AudioProcessor (12 ms total)
>
> [----------] 3 tests from SimHash
> [ RUN ] SimHash.Empty
> [ OK ] SimHash.Empty (0 ms)
> [ RUN ] SimHash.Normal
> [ OK ] SimHash.Normal (0 ms)
> [ RUN ] SimHash.CompareCropped
> [ OK ] SimHash.CompareCropped (0 ms)
> [----------] 3 tests from SimHash (0 ms total)
>
> [----------] 1 test from Chromaprint
> [ RUN ] Chromaprint.BasicImage
> [ OK ] Chromaprint.BasicImage (4 ms)
> [----------] 1 test from Chromaprint (4 ms total)
>
> [----------] 6 tests from Chroma
> [ RUN ] Chroma.NormalA
> [ OK ] Chroma.NormalA (0 ms)
> [ RUN ] Chroma.NormalGSharp
> [ OK ] Chroma.NormalGSharp (0 ms)
> [ RUN ] Chroma.NormalB
> [ OK ] Chroma.NormalB (0 ms)
> [ RUN ] Chroma.InterpolatedB
> [ OK ] Chroma.InterpolatedB (0 ms)
> [ RUN ] Chroma.InterpolatedA
> [ OK ] Chroma.InterpolatedA (0 ms)
> [ RUN ] Chroma.InterpolatedGSharp
> [ OK ] Chroma.InterpolatedGSharp (0 ms)
> [----------] 6 tests from Chroma (0 ms total)
>
> [----------] 3 tests from ChromaFilter
> [ RUN ] ChromaFilter.Blur2
> [ OK ] ChromaFilter.Blur2 (0 ms)
> [ RUN ] ChromaFilter.Blur3
> [ OK ] ChromaFilter.Blur3 (0 ms)
> [ RUN ] ChromaFilter.Diff
> [ OK ] ChromaFilter.Diff (0 ms)
> [----------] 3 tests from ChromaFilter (0 ms total)
>
> [----------] 2 tests from ChromaResampler
> [ RUN ] ChromaResampler.Test1
> [ OK ] ChromaResampler.Test1 (0 ms)
> [ RUN ] ChromaResampler.Test2
> [ OK ] ChromaResampler.Test2 (0 ms)
> [----------] 2 tests from ChromaResampler (0 ms total)
>
> [----------] 6 tests from FingerprintCompressor
> [ RUN ] FingerprintCompressor.OneItemOneBit
> [ OK ] FingerprintCompressor.OneItemOneBit (0 ms)
> [ RUN ] FingerprintCompressor.OneItemThreeBits
> [ OK ] FingerprintCompressor.OneItemThreeBits (0 ms)
> [ RUN ] FingerprintCompressor.OneItemOneBitExcept
> [ OK ] FingerprintCompressor.OneItemOneBitExcept (0 ms)
> [ RUN ] FingerprintCompressor.OneItemOneBitExcept2
> [ OK ] FingerprintCompressor.OneItemOneBitExcept2 (0 ms)
> [ RUN ] FingerprintCompressor.TwoItems
> [ OK ] FingerprintCompressor.TwoItems (0 ms)
> [ RUN ] FingerprintCompressor.TwoItemsNoChange
> [ OK ] FingerprintCompressor.TwoItemsNoChange (0 ms)
> [----------] 6 tests from FingerprintCompressor (0 ms total)
>
> [----------] 8 tests from FingerprintDecompressor
> [ RUN ] FingerprintDecompressor.OneItemOneBit
> [ OK ] FingerprintDecompressor.OneItemOneBit (0 ms)
> [ RUN ] FingerprintDecompressor.OneItemThreeBits
> [ OK ] FingerprintDecompressor.OneItemThreeBits (0 ms)
> [ RUN ] FingerprintDecompressor.OneItemOneBitExcept
> [ OK ] FingerprintDecompressor.OneItemOneBitExcept (0 ms)
> [ RUN ] FingerprintDecompressor.OneItemOneBitExcept2
> [ OK ] FingerprintDecompressor.OneItemOneBitExcept2 (0 ms)
> [ RUN ] FingerprintDecompressor.TwoItems
> [ OK ] FingerprintDecompressor.TwoItems (0 ms)
> [ RUN ] FingerprintDecompressor.TwoItemsNoChange
> [ OK ] FingerprintDecompressor.TwoItemsNoChange (0 ms)
> [ RUN ] FingerprintDecompressor.Invalid1
> FingerprintDecompressor::Decompress() -- Invalid fingerprint (too short, not enough input for normal bits)
> [ OK ] FingerprintDecompressor.Invalid1 (0 ms)
> [ RUN ] FingerprintDecompressor.Long
> [ OK ] FingerprintDecompressor.Long (0 ms)
> [----------] 8 tests from FingerprintDecompressor (0 ms total)
>
> [----------] 1 test from FingerprintMatcher
> [ RUN ] FingerprintMatcher.Match
> [ OK ] FingerprintMatcher.Match (0 ms)
> [----------] 1 test from FingerprintMatcher (0 ms total)
>
> [----------] 2 tests from SilenceRemover
> [ RUN ] SilenceRemover.PassThrough
> [ OK ] SilenceRemover.PassThrough (0 ms)
> [ RUN ] SilenceRemover.RemoveLeadingSilence
> [ OK ] SilenceRemover.RemoveLeadingSilence (0 ms)
> [----------] 2 tests from SilenceRemover (0 ms total)
>
> [----------] 1 test from MovingAverage
> [ RUN ] MovingAverage.Empty
> [ OK ] MovingAverage.Empty (0 ms)
> [----------] 1 test from MovingAverage (0 ms total)
>
> [----------] 6 tests from Gradient
> [ RUN ] Gradient.Empty
> [ OK ] Gradient.Empty (0 ms)
> [ RUN ] Gradient.OneElement
> [ OK ] Gradient.OneElement (0 ms)
> [ RUN ] Gradient.TwoElements
> [ OK ] Gradient.TwoElements (0 ms)
> [ RUN ] Gradient.ThreeElements
> [ OK ] Gradient.ThreeElements (0 ms)
> [ RUN ] Gradient.FourElements
> [ OK ] Gradient.FourElements (0 ms)
> [ RUN ] Gradient.OverrideInput
> [ OK ] Gradient.OverrideInput (0 ms)
> [----------] 6 tests from Gradient (0 ms total)
>
> [----------] 1 test from ReflectIterator
> [ RUN ] ReflectIterator.Iterate
> [ OK ] ReflectIterator.Iterate (0 ms)
> [----------] 1 test from ReflectIterator (0 ms total)
>
> [----------] 5 tests from BoxFilter
> [ RUN ] BoxFilter.Width1
> [ OK ] BoxFilter.Width1 (0 ms)
> [ RUN ] BoxFilter.Width2
> [ OK ] BoxFilter.Width2 (0 ms)
> [ RUN ] BoxFilter.Width3
> [ OK ] BoxFilter.Width3 (0 ms)
> [ RUN ] BoxFilter.Width4
> [ OK ] BoxFilter.Width4 (0 ms)
> [ RUN ] BoxFilter.Width5
> [ OK ] BoxFilter.Width5 (0 ms)
> [----------] 5 tests from BoxFilter (0 ms total)
>
> [----------] 2 tests from GaussianFilter
> [ RUN ] GaussianFilter.Test1
> [ OK ] GaussianFilter.Test1 (0 ms)
> [ RUN ] GaussianFilter.Test2
> [ OK ] GaussianFilter.Test2 (0 ms)
> [----------] 2 tests from GaussianFilter (0 ms total)
>
> [----------] 2 tests from FFTTest
> [ RUN ] FFTTest.Sine
> [ OK ] FFTTest.Sine (0 ms)
> [ RUN ] FFTTest.DC
> [ OK ] FFTTest.DC (0 ms)
> [----------] 2 tests from FFTTest (0 ms total)
>
> [----------] 1 test from AudioSlicerTest
> [ RUN ] AudioSlicerTest.Process
> [ OK ] AudioSlicerTest.Process (0 ms)
> [----------] 1 test from AudioSlicerTest (0 ms total)
>
> [----------] 4 tests from Base64
> [ RUN ] Base64.Base64Encode
> [ OK ] Base64.Base64Encode (0 ms)
> [ RUN ] Base64.Base64Decode
> [ OK ] Base64.Base64Decode (0 ms)
> [ RUN ] Base64.Base64EncodeLong
> [ OK ] Base64.Base64EncodeLong (0 ms)
> [ RUN ] Base64.Base64DecodeLong
> [ OK ] Base64.Base64DecodeLong (0 ms)
> [----------] 4 tests from Base64 (0 ms total)
>
> [----------] 1 test from RollingIntegralImageTest
> [ RUN ] RollingIntegralImageTest.All
> [ OK ] RollingIntegralImageTest.All (0 ms)
> [----------] 1 test from RollingIntegralImageTest (0 ms total)
>
> [----------] 1 test from FFmpegAudioReaderTest
> [ RUN ] FFmpegAudioReaderTest.ReadRaw
> ./src/audio/ffmpeg_audio_reader_test.cpp:18: Failure
> Expected equality of these values:
> 2
> reader.GetChannels()
> Which is: 1
>
> [ FAILED ] FFmpegAudioReaderTest.ReadRaw (7 ms)
> [----------] 1 test from FFmpegAudioReaderTest (7 ms total)
>
> [----------] Global test environment tear-down
> [==========] 94 tests from 25 test suites ran. (44 ms total)
> [ PASSED ] 93 tests.
> [ FAILED ] 1 test, listed below:
> [ FAILED ] FFmpegAudioReaderTest.ReadRaw
>
> 1 FAILED TEST
> make[4]: *** [tests/CMakeFiles/check.dir/build.make:73: tests/CMakeFiles/check] Error 1
> make[4]: Leaving directory '/<<PKGBUILDDIR>>/obj-aarch64-linux-gnu'
> make[3]: *** [CMakeFiles/Makefile2:327: tests/CMakeFiles/check.dir/all] Error 2
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-aarch64-linux-gnu'
> make[2]: *** [CMakeFiles/Makefile2:334: tests/CMakeFiles/check.dir/rule] Error 2
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-aarch64-linux-gnu'
> make[1]: *** [Makefile:263: check] Error 2
> make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-aarch64-linux-gnu'
> dh_auto_test: error: cd obj-aarch64-linux-gnu && make -j2 check ARGS\+=--verbose ARGS\+=-j2 returned exit code 2
The full build log is available from:
https://people.debian.org/~sramacher/ffmpeg-7.0/chromaprint_arm64.build
ffmpeg 7.0 is available in experimental.
Cheers
--
Sebastian Ramacher
Reply to: