bugMIT/GNU Scheme - Bugs: bug #64477, FTBFS on openSUSE/Tumbleweed with...

 
 

bug #64477: FTBFS on openSUSE/Tumbleweed with gcc 13.1.1

Submitter:  Matej Cepl <mcepl>
Submitted:  Wed 26 Jul 2023 10:34:24 PM UTC
   
 
Category:  None Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Fixed Privacy:  Public
Assigned to:  riastradh Originator Name: 
Open/Closed:  Closed
Keywords: 
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 27 Jul 2023 01:33:13 AM UTC, comment #1: 

This was fixed two years ago and the fix is included in 12.1:

https://git.savannah.gnu.org/cgit/mit-scheme.git/commit/src/microcode/chacha.i?id=837bb3f1ca75f867e115bf3a195de2f78517dce1

(I don't expect any more releases to happen in the 11.x branch.)

Taylor R. Campbell <riastradh>
Group Member
Wed 26 Jul 2023 10:34:24 PM UTC, original submission:  

When building MIT Scheme 11.2 with gcc 13.1.1 the build fails with this error:

[   46s] + make
[   46s] (cd microcode && make all)
[   46s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/mit-scheme-11.2/src/microcode'
[   46s] gcc -DHAVE_CONFIG_H -DMIT_SCHEME -DDEFAULT_LIBRARY_PATH=\"/usr/local/lib/mit-scheme-x86-64-11.2\" -I. -I. -O3  -frounding-math -fno-builtin-floor -Wall -Wclobbered -Wempty-body -Wignored-qualifiers -Wimplicit-fallthrough -Wmissing-field-initializers -Wmissing-parameter-type -Wnested-externs -Wold-style-declaration -Woverride-init -Wpointer-arith -Wredundant-decls -Wshift-negative-value -Wtype-limits -Wundef -Wuninitialized -Wwrite-strings -Wno-error=stringop-truncation -Werror -o artutl.o -c artutl.c
[   46s] gcc -DHAVE_CONFIG_H -DMIT_SCHEME -DDEFAULT_LIBRARY_PATH=\"/usr/local/lib/mit-scheme-x86-64-11.2\" -I. -I. -O3  -frounding-math -fno-builtin-floor -Wall -Wclobbered -Wempty-body -Wignored-qualifiers -Wimplicit-fallthrough -Wmissing-field-initializers -Wmissing-parameter-type -Wnested-externs -Wold-style-declaration -Woverride-init -Wpointer-arith -Wredundant-decls -Wshift-negative-value -Wtype-limits -Wundef -Wuninitialized -Wwrite-strings -Wno-error=stringop-truncation -Werror -o avltree.o -c avltree.c
[   47s] gcc -DHAVE_CONFIG_H -DMIT_SCHEME -DDEFAULT_LIBRARY_PATH=\"/usr/local/lib/mit-scheme-x86-64-11.2\" -I. -I. -O3  -frounding-math -fno-builtin-floor -Wall -Wclobbered -Wempty-body -Wignored-qualifiers -Wimplicit-fallthrough -Wmissing-field-initializers -Wmissing-parameter-type -Wnested-externs -Wold-style-declaration -Woverride-init -Wpointer-arith -Wredundant-decls -Wshift-negative-value -Wtype-limits -Wundef -Wuninitialized -Wwrite-strings -Wno-error=stringop-truncation -Werror -o bkpt.o -c bkpt.c
[   47s] gcc -DHAVE_CONFIG_H -DMIT_SCHEME -DDEFAULT_LIBRARY_PATH=\"/usr/local/lib/mit-scheme-x86-64-11.2\" -I. -I. -O3  -frounding-math -fno-builtin-floor -Wall -Wclobbered -Wempty-body -Wignored-qualifiers -Wimplicit-fallthrough -Wmissing-field-initializers -Wmissing-parameter-type -Wnested-externs -Wold-style-declaration -Woverride-init -Wpointer-arith -Wredundant-decls -Wshift-negative-value -Wtype-limits -Wundef -Wuninitialized -Wwrite-strings -Wno-error=stringop-truncation -Werror -o bignum.o -c bignum.c
[   48s] gcc -DHAVE_CONFIG_H -DMIT_SCHEME -DDEFAULT_LIBRARY_PATH=\"/usr/local/lib/mit-scheme-x86-64-11.2\" -I. -I. -O3  -frounding-math -fno-builtin-floor -Wall -Wclobbered -Wempty-body -Wignored-qualifiers -Wimplicit-fallthrough -Wmissing-field-initializers -Wmissing-parameter-type -Wnested-externs -Wold-style-declaration -Woverride-init -Wpointer-arith -Wredundant-decls -Wshift-negative-value -Wtype-limits -Wundef -Wuninitialized -Wwrite-strings -Wno-error=stringop-truncation -Werror -o bigprm.o -c bigprm.c
[   48s] gcc -DHAVE_CONFIG_H -DMIT_SCHEME -DDEFAULT_LIBRARY_PATH=\"/usr/local/lib/mit-scheme-x86-64-11.2\" -I. -I. -O3  -frounding-math -fno-builtin-floor -Wall -Wclobbered -Wempty-body -Wignored-qualifiers -Wimplicit-fallthrough -Wmissing-field-initializers -Wmissing-parameter-type -Wnested-externs -Wold-style-declaration -Woverride-init -Wpointer-arith -Wredundant-decls -Wshift-negative-value -Wtype-limits -Wundef -Wuninitialized -Wwrite-strings -Wno-error=stringop-truncation -Werror -o bitstr.o -c bitstr.c
[   48s] gcc -DHAVE_CONFIG_H -DMIT_SCHEME -DDEFAULT_LIBRARY_PATH=\"/usr/local/lib/mit-scheme-x86-64-11.2\" -I. -I. -O3  -frounding-math -fno-builtin-floor -Wall -Wclobbered -Wempty-body -Wignored-qualifiers -Wimplicit-fallthrough -Wmissing-field-initializers -Wmissing-parameter-type -Wnested-externs -Wold-style-declaration -Woverride-init -Wpointer-arith -Wredundant-decls -Wshift-negative-value -Wtype-limits -Wundef -Wuninitialized -Wwrite-strings -Wno-error=stringop-truncation -Werror -o boot.o -c boot.c
[   48s] gcc -DHAVE_CONFIG_H -DMIT_SCHEME -DDEFAULT_LIBRARY_PATH=\"/usr/local/lib/mit-scheme-x86-64-11.2\" -I. -I. -O3  -frounding-math -fno-builtin-floor -Wall -Wclobbered -Wempty-body -Wignored-qualifiers -Wimplicit-fallthrough -Wmissing-field-initializers -Wmissing-parameter-type -Wnested-externs -Wold-style-declaration -Woverride-init -Wpointer-arith -Wredundant-decls -Wshift-negative-value -Wtype-limits -Wundef -Wuninitialized -Wwrite-strings -Wno-error=stringop-truncation -Werror -o bytevector.o -c bytevector.c
[   48s] gcc -DHAVE_CONFIG_H -DMIT_SCHEME -DDEFAULT_LIBRARY_PATH=\"/usr/local/lib/mit-scheme-x86-64-11.2\" -I. -I. -O3  -frounding-math -fno-builtin-floor -Wall -Wclobbered -Wempty-body -Wignored-qualifiers -Wimplicit-fallthrough -Wmissing-field-initializers -Wmissing-parameter-type -Wnested-externs -Wold-style-declaration -Woverride-init -Wpointer-arith -Wredundant-decls -Wshift-negative-value -Wtype-limits -Wundef -Wuninitialized -Wwrite-strings -Wno-error=stringop-truncation -Werror -o chacha12.o -c chacha12.c
[   48s] In file included from chacha12.c:49:
[   48s] chacha.i:80:22: error: argument 1 of type 'uint8_t ' {aka 'unsigned char '} declared as a pointer [-Werror=array-parameter=]
[   48s]    80 | chacha_core(uint8_t *out, const uint8_t *in, const uint8_t *k,
[   48s]       |             ~~~~~~~~~^~~
[   48s] In file included from chacha.i:34:
[   48s] chacha.h:44:23: note: previously declared as an array 'uint8_t[64]' {aka 'unsigned char[64]'}
[   48s]    44 | void    chacha12_core(uint8_t[chacha_core_OUTPUTBYTES],
[   48s]       |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[   48s] chacha.i:80:42: error: argument 2 of type 'const uint8_t ' {aka 'const unsigned char '} declared as a pointer [-Werror=array-parameter=]
[   48s]    80 | chacha_core(uint8_t *out, const uint8_t *in, const uint8_t *k,
[   48s]       |                           ~~~~~~~~~~~~~~~^~
[   48s] chacha.h:45:13: note: previously declared as an array 'const uint8_t[16]' {aka 'const unsigned char[16]'}
[   48s]    45 |             const uint8_t[chacha_core_INPUTBYTES],
[   48s]       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[   48s] chacha.i:80:61: error: argument 3 of type 'const uint8_t ' {aka 'const unsigned char '} declared as a pointer [-Werror=array-parameter=]
[   48s]    80 | chacha_core(uint8_t *out, const uint8_t *in, const uint8_t *k,
[   48s]       |                                              ~~~~~~~~~~~~~~~^
[   48s] chacha.h:46:13: note: previously declared as an array 'const uint8_t[32]' {aka 'const unsigned char[32]'}
[   48s]    46 |             const uint8_t[chacha_core_KEYBYTES],
[   48s]       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[   48s] chacha.i:81:20: error: argument 4 of type 'const uint8_t ' {aka 'const unsigned char '} declared as a pointer [-Werror=array-parameter=]
[   48s]    81 |     const uint8_t *c)
[   48s]       |     ~~~~~~~~~~~~~~~^
[   48s] chacha.h:47:13: note: previously declared as an array 'const uint8_t[16]' {aka 'const unsigned char[16]'}
[   48s]    47 |             const uint8_t[chacha_core_CONSTBYTES]);
[   48s]       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[   48s] cc1: all warnings being treated as errors
[   48s] make[1]: * [Makefile:182: chacha12.o] Error 1
[   48s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/mit-scheme-11.2/src/microcode'
[   48s] make: * [Makefile:796: microcode/scheme] Error 2
[   48s] error: Bad exit status from /var/tmp/rpm-tmp.363Y1m (%build)
[   48s]
[   48s] RPM build errors:
[   48s]     Bad exit status from /var/tmp/rpm-tmp.363Y1m (%build)
[   48s]
[   48s] tumbleweed-pkg.stitny failed "build mit-scheme.spec" at Wed Jul 26 22:31:19 UTC 2023.

Matej Cepl <mcepl>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #54974:  _log.txt added by mcepl (71KiB - text/plain - Complete build log with all packages used and steps taken to build)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by riastradh (Posted a comment)
  • -email is unavailable- added by mcepl (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2023-07-27 riastradh StatusNone Fixed
        Assigned toNone riastradh
        Open/ClosedOpen Closed
    2023-07-26 mcepl Attached File- Added _log.txt, #54974

    Back to the top

    Powered by Savane 3.12.
    Corresponding source code