Your message dated Wed, 12 Aug 2026 14:34:45 +0000
with message-id <[email protected]>
and subject line Bug#1128742: fixed in psychtoolbox-3 3.0.22.2+dfsg-9
has caused the Debian Bug report #1128742,
regarding psychtoolbox-3: FTBFS with glibc 2.43 due to ISO C23 const return
types
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1128742: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1128742
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: psychtoolbox-3
Version: 3.0.19.14.dfsg1-1
Severity: important
Tags: ftbfs upstream
Justification: fails to build from source
User: [email protected]
Usertags: glibc-2.43
Dear maintainer(s),
psychtoolbox-3 fails to build from source with glibc 2.43, currently in
experimental. From the build log:
| Common/Screen/PsychVideoCaptureSupportGStreamer.c: In function
‘PsychVideoBusCallback’:
| Common/Screen/PsychVideoCaptureSupportGStreamer.c:512:13: warning: this ‘if’
clause does not guard... [-Wmisleading-indentation]
| 512 | if (PsychPrefStateGet_Verbosity() > 4) printf("PTB-DEBUG:
Videobus: Message EOS received.\n"); fflush(NULL);
| | ^~
| Common/Screen/PsychVideoCaptureSupportGStreamer.c:512:108: note: ...this
statement, but the latter is misleadingly indented as if it were guarded by the
‘if’
| 512 | if (PsychPrefStateGet_Verbosity() > 4) printf("PTB-DEBUG:
Videobus: Message EOS received.\n"); fflush(NULL);
| |
^~~~~~
| Common/Screen/PsychVideoCaptureSupportGStreamer.c: At top level:
| Common/Screen/PsychVideoCaptureSupportGStreamer.c:687:1: warning: missing
initializer for field ‘_gst_reserved’ of ‘GstAppSinkCallbacks’
[-Wmissing-field-initializers]
| 687 | };
| | ^
| In file included from Common/Screen/PsychVideoCaptureSupportGStreamer.c:78:
| /usr/include/gstreamer-1.0/gst/app/gstappsink.h:86:16: note: ‘_gst_reserved’
declared here
| 86 | gpointer _gst_reserved[GST_PADDING - 2];
| | ^~~~~~~~~~~~~
| Common/Screen/PsychVideoCaptureSupportGStreamer.c: In function
‘CreateGStreamerElementFromString’:
| Common/Screen/PsychVideoCaptureSupportGStreamer.c:1670:27: warning:
assignment discards ‘const’ qualifier from pointer target type
[-Wdiscarded-qualifiers]
| 1670 | codecPipelineSpec = strstr(codecSpec, typeSpec);
| | ^
| Common/Screen/PsychVideoCaptureSupportGStreamer.c: In function
‘PsychGSVideoCaptureSetParameter’:
| Common/Screen/PsychVideoCaptureSupportGStreamer.c:5181:44: error: assignment
of read-only location ‘*(const char *)strstr(pname, (const char *)":CodecType")’
| 5181 | *(strstr(pname, ":CodecType")) = 0;
| | ^
| Common/Screen/PsychVideoCaptureSupportGStreamer.c:5122:11: warning: unused
variable ‘oldfvalue’ [-Wunused-variable]
| 5122 | float oldfvalue = FLT_MAX;
| | ^~~~~~~~~
| Common/Screen/PsychVideoCaptureSupportGStreamer.c: In function
‘PsychGSOpenVideoCaptureDevice’:
| Common/Screen/PsychVideoCaptureSupportGStreamer.c:3415:13: warning: ‘strncpy’
output truncated before terminating nul copying 14 bytes from a string of the
same length [-Wstringop-truncation]
| 3415 | strncpy(codecSpec, "DEFAULTenc ", strlen("DEFAULTenc
"));
| |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| error: mkoctfile: building exited with failure status
| error: ignoring const execution_exception& while preparing to exit
| make[1]: *** [debian/rules:59: build-stamp] Error 1
| make[1]: Leaving directory
'/build/reproducible-path/psychtoolbox-3-3.0.19.14.dfsg1'
| make: *** [debian/rules:36: 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 archive rebuild on
a fast arm64 server.
Regards
Aurelien
[1]
https://people.debian.org/~ema/glibc-2.43-rebuilds/output-1/psychtoolbox-3_arm64.build
[2]
https://sourceware.org/git/?p=glibc.git;a=blob;f=NEWS;h=e271fb2e4d76903c77a302aaec1ca22ce31027d0;hb=f762ccf84f122d1354f103a151cba8bde797d521#l19
--
Aurelien Jarno GPG: 4096R/1DDD8C9B
[email protected] http://aurel32.net
--- End Message ---
--- Begin Message ---
Source: psychtoolbox-3
Source-Version: 3.0.22.2+dfsg-9
Done: Étienne Mollier <[email protected]>
We believe that the bug you reported is fixed in the latest version of
psychtoolbox-3, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Étienne Mollier <[email protected]> (supplier of updated psychtoolbox-3
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 [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Wed, 12 Aug 2026 10:23:22 +0200
Source: psychtoolbox-3
Architecture: source
Version: 3.0.22.2+dfsg-9
Distribution: unstable
Urgency: medium
Maintainer: Debian Med Packaging Team
<[email protected]>
Changed-By: Étienne Mollier <[email protected]>
Closes: 1128742
Changes:
psychtoolbox-3 (3.0.22.2+dfsg-9) unstable; urgency=medium
.
* d/watch: move to more robust Github template scan.
* d/patches/*: provide dep3 headers.
* Fix-various-compile-errors-under-C23.patch: new.
This patch introduces an upstream commit that fixes build failures
showing up after upgrade to C23 and glibc 2.43.
Thanks to Mario Kleiner (Closes: #1128742)
* d/control: bump to debhelper-compat 14.
Checksums-Sha1:
50da55b905195f6d2fe906a6c8f15801f28a9154 3484
psychtoolbox-3_3.0.22.2+dfsg-9.dsc
b67ce3c93a282b48187c790565cdf38099b8c51e 59608
psychtoolbox-3_3.0.22.2+dfsg-9.debian.tar.xz
Checksums-Sha256:
beef1e18cba273d0e16212ecce85a612d86cda456113ee8d1895c8d9e1f075fd 3484
psychtoolbox-3_3.0.22.2+dfsg-9.dsc
c24c04f45258a745430ef80c40501754c592385232e836ba9282a52b23a13b8f 59608
psychtoolbox-3_3.0.22.2+dfsg-9.debian.tar.xz
Files:
23b0237e43648d195316048803a0e134 3484 science optional
psychtoolbox-3_3.0.22.2+dfsg-9.dsc
22e53146988ff9593b3fa381c5e7112a 59608 science optional
psychtoolbox-3_3.0.22.2+dfsg-9.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQJIBAEBCgAyFiEEj5GyJ8fW8rGUjII2eTz2fo8NEdoFAmp8fOUUHGVtb2xsaWVy
QGRlYmlhbi5vcmcACgkQeTz2fo8NEdoykA//ZNOcEu+ZxbO/cbH9O8rKLP5lMnt9
SD3mAEUiHcyVUi77cYdBVD86YS5/f957zlLkMtkQXqV2ZrHgRyBdEg+OIx+yp5pQ
PJbP1pkYVh9x9YOHuCk3fFX+rewkMpidOXdV3LAP9CPM9gn3ld3gr2NBKxZmnPi4
Rv5aR2GDoHsDapCewGYuf1QTq511arC2zR/xzykB+3qFVpEju8SgcL78btMcEdFc
HxAF381iDxzqmX4TKnpK7G/n6jo3LVJbKlUCr0WpaZg9vfd+Wy22TkfLlh4lsJx4
JBH0DFZI/4yoERk3PV8lWIM7lsFKkciNPTIu4H7fVDDljo5Q1heg95B2FtIDZz/V
oXQxaOZIwh5lkEZxpWYUfAYT5JHX9+WhzH+wfXveq2vWTAJ3FOLMJqdvYoaRkaA3
sCctP72UOC4FyPfH26/ADqhRnWTcAHHfup2L3Riq3Pu6dvp1OAXV+M8SqGn4OVaD
AxiuOt47jUY2AuySTojEjFfmTG6JLDfLE3kXv5/pwZZ5l+2pK0yPLzLycG9tn/vL
NFeMMRMmi+52ggk8RuTc6lEkD64veWAPcmpxO5Z0w/Vv662TA8YsqI/WaaG7yYJc
KwSaP1/BqS/Eo6JPzU16BHzAo6UEqkTtRaScUpESL8Oi+bQ/HfK1if8m37WBnIqJ
S4P3I8r2MhSiM8M=
=93ZK
-----END PGP SIGNATURE-----
pgpVuqpQu2bkX.pgp
Description: PGP signature
--- End Message ---