- Package:
- src:alsa-scarlett-gui
- Source:
- src:alsa-scarlett-gui
- Submitter:
- Aurelien Jarno
- Date:
- 2026-09-09 15:09:02 UTC
- Severity:
- normal
- Tags:
Dear maintainer(s), alsa-scarlett-gui fails to build from source with glibc 2.43, currently in experimental. From the build log: | cc -MT error.o -MMD -MP -MF .deps/error.d -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/alsa-scarlett-gui-0.5.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Werror -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DVERSION=\"0.5.1-1\" -Wno-error=deprecated-declarations -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/gtk-4.0 -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glycin-2 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/pixman-1 -I/usr/include/graphene-1.0 -I/usr/lib/aarch64-linux-gnu/graphene-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -c -o error.o error.c | alsa-sim.c: In function ‘sim_card_name’: | alsa-sim.c:468:16: error: initialization discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers] | 468 | char *name = strrchr(fn, '/'); | | ^~~~~~~ | cc -MT fcp-shared.o -MMD -MP -MF .deps/fcp-shared.d -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/alsa-scarlett-gui-0.5.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Werror -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DVERSION=\"0.5.1-1\" -Wno-error=deprecated-declarations -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/gtk-4.0 -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glycin-2 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/pixman-1 -I/usr/include/graphene-1.0 -I/usr/lib/aarch64-linux-gnu/graphene-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -c -o fcp-shared.o fcp-shared.c | cc1: all warnings being treated as errors | make[2]: *** [Makefile:43: alsa-sim.o] Error 1 | make[2]: *** Waiting for unfinished jobs.... | error.c: In function ‘show_error’: | error.c:12:3: warning: ‘gtk_message_dialog_new’ is deprecated [-Wdeprecated-declarations] | 12 | GtkWidget *dialog = gtk_message_dialog_new( | | ^~~~~~~~~ | In file included from /usr/include/gtk-4.0/gtk/gtk.h:194, | from error.h:6, | from error.c:4: | /usr/include/gtk-4.0/gtk/deprecated/gtkmessagedialog.h:81:12: note: declared here | 81 | GtkWidget* gtk_message_dialog_new (GtkWindow *parent, | | ^~~~~~~~~~~~~~~~~~~~~~ | rm alsa-scarlett-gui-resources.c | make[2]: Leaving directory '/build/reproducible-path/alsa-scarlett-gui-0.5.1/src' | dh_auto_build: error: cd src && make -j128 INSTALL="install --strip-program=true" VERSION=0.5.1-1 returned exit code 2 | make[1]: *** [debian/rules:15: override_dh_auto_build] Error 25 | make[1]: Leaving directory '/build/reproducible-path/alsa-scarlett-gui-0.5.1' | make: *** [debian/rules:12: binary] Error 2 | dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2 The full build log is available here [1]. The issue is due to ISO C23 declaration of bsearch, memchr, strchr, strpbrk, strrchr, strstr, wcschr, wcspbrk, wcsrchr, wcsstr and wmemchr, which now returns a pointer to a const-qualified type when the input argument is a pointer to a const-qualified type [2]. I would like to thanks Emanuele Rocca for doing the arcbhive rebuild on a fast arm64 server. Regards Aurelien [1] https://people.debian.org/~ema/glibc-2.43-rebuilds/output-1/alsa-scarlett-gui_arm64.build [2] https://sourceware.org/git/?p=glibc.git;a=blob;f=NEWS;h=e271fb2e4d76903c77a302aaec1ca22ce31027d0;hb=f762ccf84f122d1354f103a151cba8bde797d521#l19
control: severity 1127629 serious control: severity 1128547 serious control: severity 1128734 serious control: severity 1128740 serious control: severity 1128528 serious control: severity 1128532 serious control: severity 1128534 serious control: severity 1128541 serious control: severity 1128544 serious control: severity 1128545 serious control: severity 1128548 serious control: severity 1128549 serious control: severity 1128551 serious control: severity 1128615 serious control: severity 1128678 serious control: severity 1128680 serious control: severity 1128681 serious control: severity 1128697 serious control: severity 1128736 serious control: severity 1128737 serious control: severity 1128738 serious control: severity 1128741 serious control: severity 1128742 serious control: severity 1128743 serious control: severity 1128750 serious control: severity 1128757 serious control: severity 1128761 serious control: severity 1128763 serious control: severity 1128764 serious control: severity 1128875 serious control: severity 1128952 serious control: severity 1128542 serious control: severity 1128679 serious control: severity 1128682 serious control: severity 1128744 serious control: severity 1128748 serious control: severity 1128867 serious Hi, With the upload of glibc 2.43 to unstable, the packages now FTBFS in unstable, hence upgrading the severity to serious. Note that as a quick workaround, it is possible to roll back to C/C++17 standard using -std=c17, -std=gnu17, std=c++17 or std=gnu++17. This was the default up to GCC 14, and GCC 15 changed it to C/C23. Regards Aurelien
We believe that the bug you reported is fixed in the latest version of
alsa-scarlett-gui, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 1128528@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Dale Richards <dale@dalerichards.net> (supplier of updated alsa-scarlett-gui package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Fri, 04 Sep 2026 11:29:13 +0100
Source: alsa-scarlett-gui
Built-For-Profiles: derivative.ubuntu noudeb
Architecture: source
Version: 1.0~beta9-2
Distribution: unstable
Urgency: medium
Maintainer: Dale Richards <dale@dalerichards.net>
Changed-By: Dale Richards <dale@dalerichards.net>
Closes: 1128528
Changes:
alsa-scarlett-gui (1.0~beta9-2) unstable; urgency=medium
.
* Fix FTBFS with glibc 2.43 / ISO C23 const-qualified string function
return types (Closes: #1128528):
- The reported failure (src/alsa-sim.c, strrchr() result assigned to a
non-const pointer) was already fixed upstream in the 1.0~beta9
release.
- Add patch 0004 to make the upstream -Werror optional, and build with
WERROR= so that a new diagnostic from a future toolchain or library
cannot turn into another FTBFS.
* d/copyright:
- Add missing licensing stanza for src/scarlett2.h, a kernel UAPI
header under GPL-2 with the Linux-syscall-note exception.
- Correct the src/gtkdial.* license short name to LGPL-3+ (the files
are LGPL-3-or-later).
* Add d/upstream/metadata (DEP-12).
* d/patches: Add DEP-3 metadata to the existing patches.
* d/watch: Migrate to version 5.
Checksums-Sha1:
43042cd045159ae3c9fd222722761c941e23757c 2057 alsa-scarlett-gui_1.0~beta9-2.dsc
80519688062656a5610d56ded839e7bc4158a55f 8412 alsa-scarlett-gui_1.0~beta9-2.debian.tar.xz
b4ee50946019a1fe11111452fde1f7583308c76a 7999 alsa-scarlett-gui_1.0~beta9-2_source.buildinfo
Checksums-Sha256:
83702ff4bb69ae3e2ba2a3289a66905925e144654436e1a1d62302dd1e7df379 2057 alsa-scarlett-gui_1.0~beta9-2.dsc
5a2d1080cd9a58b998499dce76ed16fee456c9139d659835a00649b0971e3aa2 8412 alsa-scarlett-gui_1.0~beta9-2.debian.tar.xz
5930bd6f95ee8af2c0756dc407f144771f73e09f3da398fc80ba6d6914bd0578 7999 alsa-scarlett-gui_1.0~beta9-2_source.buildinfo
Files:
cffb4208f016922f519f937c097b5a8a 2057 sound optional alsa-scarlett-gui_1.0~beta9-2.dsc
fc6a512edfcf22178764d229e1ef5af3 8412 sound optional alsa-scarlett-gui_1.0~beta9-2.debian.tar.xz
97139d04cc2d63d4d252b8e6381ac1c2 7999 sound optional alsa-scarlett-gui_1.0~beta9-2_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEdS3ifE3rFwGbS2Yjy3AxZaiJhNwFAmqhcGcACgkQy3AxZaiJ
hNwMsw//asTG3+pVBseYTHZFQZras9hclOlcDe82dXzxq35vdycy1JaoAZIIz24M
ra8CLVGl/c12/8Tp7S3PxYn75lUbABIdA794B5za7moDg4ruMTNCTqzjRJnwrqbr
qqvujZppFS/T7+lU5GknWpeCJzXcWdGxAtbniADT5gDYJn7WoyZewKc++VpzKMyQ
2L5Lk34p0Oi1j818cfI04bN8kdCXuR/fcj7KJCx1DpGn6MIGl3CYI0SHUdlMUGwH
7fVXi8NBuwOAS/76EXcKA7p9UOSJDLqhtkzUwQotn2iBKL3uAXLxmgEw+pRZtf6q
f2cilFmVhfTFCU/mwxrn3OGQXjxSOe93rGXdVfF6bXiC6ureyndS0zAbvL7QGh3H
YSVzi8utuCHFr2nIZBK5CAwkA/noZX6iyU86xhoXkqxxEoHEFgmOJgGNnbrP9Gj+
uMS1iNTdufAwoIaX53laesgHORb8bpv5iQ/SH3KKm3nk+p0SSYafFCm4dv1x2ryz
NWLvOq5ESVjMxj9wYaGRql37ICOmDiMK0rG+AHUUXDTKk/qPKpohUNSEgk6x4Ccw
dFbq10ARRX+aKqhwsUkgiFGeH4n/n9dKcYacTLJvJnQcmeqRNc3NxBJyRSnDXSUT
A9p6r5CKpOAUtq6aWHexH1f9YipCLurWOyjmnkKjy9w+ldnwRo8=
=6AdR
-----END PGP SIGNATURE-----