[Bug 1965163] [NEW] mit-scheme: FTBFS with OpenSSL 3.0

Launchpad Bug Tracker 1965163 at bugs.launchpad.net
Wed Mar 16 17:39:48 UTC 2022


You have been subscribed to a public bug by Nick Rosbrook (enr0n):

Imported from Debian bug http://bugs.debian.org/1006507:

Source: mit-scheme
Version: 11.2-2
Severity: important
Tags: bookworm sid
User: pkg-openssl-devel at lists.alioth.debian.org
Usertags: ftbfs-3.0

Your package is failing to build using OpenSSL 3.0 with the
following error:

| gcc -DHAVE_CONFIG_H -DMIT_SCHEME -DDEFAULT_LIBRARY_PATH=\"/usr/lib/x86_64-linux-gnu/mit-scheme\" -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I. -O3 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -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 -Wstrict-prototypes -Wtype-limits -Wundef -Wuninitialized -Wwrite-strings -Wno-error=stringop-truncation -Werror -o chacha12.o -c chacha12.c
| In file included from chacha12.c:49:
| chacha.i:80:22: error: argument 1 of type ‘uint8_t *’ {aka ‘unsigned char *’} declared as a pointer [-Werror=array-parameter=]
|    80 | chacha_core(uint8_t *out, const uint8_t *in, const uint8_t *k,
|       |             ~~~~~~~~~^~~
| In file included from chacha.i:34,
|                  from chacha12.c:49:
| chacha.h:44:23: note: previously declared as an array ‘uint8_t[64]’ {aka ‘unsigned char[64]’}
|    44 | void    chacha12_core(uint8_t[chacha_core_OUTPUTBYTES],
|       |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| In file included from chacha12.c:49:
| chacha.i:80:42: error: argument 2 of type ‘const uint8_t *’ {aka ‘const unsigned char *’} declared as a pointer [-Werror=array-parameter=]
|    80 | chacha_core(uint8_t *out, const uint8_t *in, const uint8_t *k,
|       |                           ~~~~~~~~~~~~~~~^~
| In file included from chacha.i:34,
|                  from chacha12.c:49:
| chacha.h:45:13: note: previously declared as an array ‘const uint8_t[16]’ {aka ‘const unsigned char[16]’}
|    45 |             const uint8_t[chacha_core_INPUTBYTES],
|       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| In file included from chacha12.c:49:
| chacha.i:80:61: error: argument 3 of type ‘const uint8_t *’ {aka ‘const unsigned char *’} declared as a pointer [-Werror=array-parameter=]
|    80 | chacha_core(uint8_t *out, const uint8_t *in, const uint8_t *k,
|       |                                              ~~~~~~~~~~~~~~~^
| In file included from chacha.i:34,
|                  from chacha12.c:49:
| chacha.h:46:13: note: previously declared as an array ‘const uint8_t[32]’ {aka ‘const unsigned char[32]’}
|    46 |             const uint8_t[chacha_core_KEYBYTES],
|       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| In file included from chacha12.c:49:
| chacha.i:81:20: error: argument 4 of type ‘const uint8_t *’ {aka ‘const unsigned char *’} declared as a pointer [-Werror=array-parameter=]
|    81 |     const uint8_t *c)
|       |     ~~~~~~~~~~~~~~~^
| In file included from chacha.i:34,
|                  from chacha12.c:49:
| chacha.h:47:13: note: previously declared as an array ‘const uint8_t[16]’ {aka ‘const unsigned char[16]’}
|    47 |             const uint8_t[chacha_core_CONSTBYTES]);
|       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| cc1: all warnings being treated as errors
| make[4]: *** [Makefile:182: chacha12.o] Error 1
| make[4]: Leaving directory '/<<PKGBUILDDIR>>/src/microcode'
| make[3]: *** [Makefile:796: microcode/scheme] Error 2
| make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
| make[2]: *** [Makefile:699: all] Error 2
| make[2]: Leaving directory '/<<PKGBUILDDIR>>/src'
| dh_auto_build: error: cd src && make -j1 returned exit code 2

For more information see:
https://www.openssl.org/docs/man3.0/man7/migration_guide.html

Sebastian

** Affects: mit-scheme (Ubuntu)
     Importance: Undecided
     Assignee: Nick Rosbrook (enr0n)
         Status: New

** Affects: mit-scheme (Debian)
     Importance: Undecided
         Status: New


** Tags: update-excuse
-- 
mit-scheme: FTBFS with OpenSSL 3.0
https://bugs.launchpad.net/bugs/1965163
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is subscribed to the bug report.



More information about the Ubuntu-sponsors mailing list