GNU bug report logs -
#78933
compilation error after recent 'od' changes
Previous Next
To reply to this bug, email your comments to 78933 AT debbugs.gnu.org.
There is no need to reopen the bug first.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-coreutils <at> gnu.org
:
bug#78933
; Package
coreutils
.
(Mon, 30 Jun 2025 19:48:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Bruno Haible <bruno <at> clisp.org>
:
New bug report received and forwarded. Copy sent to
bug-coreutils <at> gnu.org
.
(Mon, 30 Jun 2025 19:48:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
After this week's changes in 'od', the CI reports a compilation error
on macOS:
gcc -I. -I.. -I./lib -Ilib -I../lib -Isrc -I../src -I/Users/runner/include -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/opt/libiconv/include -Wall -Wno-format-extra-args -Wno-implicit-const-int-float-conversion -Wno-tautological-constant-out-of-range-compare -g -O2 -MT src/od.o -MD -MP -MF $depbase.Tpo -c -o src/od.o ../src/od.c &&\
mv -f $depbase.Tpo $depbase.Po
../src/od.c:162:16: error: static assertion failed due to requirement '(sizeof (width_bytes) / sizeof *(width_bytes)) == N_SIZE_SPECS': static assertion failed
162 | static_assert (ARRAY_CARDINALITY (width_bytes) == N_SIZE_SPECS);
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Bruno
Reply sent
to
Paul Eggert <eggert <at> cs.ucla.edu>
:
You have taken responsibility.
(Mon, 30 Jun 2025 22:44:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
Bruno Haible <bruno <at> clisp.org>
:
bug acknowledged by developer.
(Mon, 30 Jun 2025 22:44:02 GMT)
Full text and
rfc822 format available.
Message #10 received at 78933-done <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
On 2025-06-30 12:47, Bruno Haible via GNU coreutils Bug Reports wrote:
> 162 | static_assert (ARRAY_CARDINALITY (width_bytes) == N_SIZE_SPECS);
> | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Thanks for reporting that. I installed the attached to fix it.
[0001-od-port-to-Apple-clang-14.patch (text/x-patch, attachment)]
This bug report was last modified 4 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.