tandem-test
is failing in devtools
build with pkgctl build
. Is clean chroot building no longer supported?
Edit: Disregard, tandem-test
does not like that I changed my makepkg.conf
default CFLAGS to use x86-64-v3
instead of x86-64
.
Git Clone URL: | https://aur.archlinux.org/celt.git (read-only, click to copy) |
---|---|
Package Base: | celt |
Description: | Low-latency audio communication codec |
Upstream URL: | https://gitlab.xiph.org/xiph/celt/ |
Licenses: | BSD-2-Clause |
Submitter: | dbermond |
Maintainer: | dbermond (dvzrv) |
Last Packager: | dbermond |
Votes: | 24 |
Popularity: | 0.29 |
First Submitted: | 2022-07-19 22:20 (UTC) |
Last Updated: | 2024-08-30 21:50 (UTC) |
tandem-test
is failing in devtools
build with pkgctl build
. Is clean chroot building no longer supported?
Edit: Disregard, tandem-test
does not like that I changed my makepkg.conf
default CFLAGS to use x86-64-v3
instead of x86-64
.
I've pushed an update. The buffer overflow error in tandem-test should be fixed by now.
Tandem test still failing, following https://aur.archlinux.org/packages/celt#comment-906726, passing -j1
in check() worked with makepkg but not with devtools
tandem-test error was resolved for me via
diff --git a/tests/tandem-test.c b/tests/tandem-test.c
index 3070d1d..015b2ef 100644
--- a/tests/tandem-test.c
+++ b/tests/tandem-test.c
@@ -125,7 +125,7 @@ int async_tandem(int rate, int frame_size, int channels, int bitrate_min,
for (i = 0; i < 8; i++) {
for (j = 0; j < channels; j++)
carry[j] = pcm[frame_size * channels - (channels - j)];
- memmove(pcm + channels, pcm, sizeof(short) * frame_size * channels);
+ memmove(pcm + channels, pcm, sizeof(short) * (frame_size - 1) * channels);
for (j = 0; j < channels; j++)
pcm[j] = carry[j];
I've messaged the repo maintainers since it's technically a memory safety problem (only during build), but I assume it's more or less archived at this point. It's fixed in their migration to Opus, which we should probably be moving towards anyways.
(xiph webmaster emailed as of 2024-05-31; my patience isn't the best)
Same issue for me here too: tandem-test fails. Same failure either way for me using makepkg or yay. I also did also comment out MAKEFLAGS and I am opting for a clean build each time.
I ended up just adding the pro-audio-legacy repository and getting it from there.
Same issue here.
tandem-test keeps failing with a buffer overflow error, regardless of how I build it
`============================ : tests/test-suite.log ============================
.. contents:: :depth: 2
*** buffer overflow detected ***: terminated FAIL tandem-test (exit status: 134)`
Might be coincidence (only tried this once), but tandem-test kept failing for me until I stopped using MAKEFLAGS to increase the number of cores. Succeeded first try after that.
@meithan & @flomax Confirmed solution. I just opted for clean building it, and it installed without any issues whatsoever. Thanks for the tip.
Pinned Comments
dvzrv commented on 2022-11-05 13:44 (UTC)
This package is also available in the unofficial repository [pro-audio-legacy]
dbermond commented on 2022-07-21 21:17 (UTC)
AUR helpers are not supported, please use makepkg. Building fine for me.