[Bug 1965163] Re: mit-scheme: FTBFS with OpenSSL 3.0
Nick Rosbrook
1965163 at bugs.launchpad.net
Thu Mar 17 17:18:53 UTC 2022
** Patch added: "mit-scheme-lp-1965163.debdiff"
https://bugs.launchpad.net/ubuntu/+source/mit-scheme/+bug/1965163/+attachment/5570130/+files/mit-scheme-lp-1965163.debdiff
--
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1965163
Title:
mit-scheme: FTBFS with OpenSSL 3.0
Status in mit-scheme package in Ubuntu:
New
Status in mit-scheme package in Debian:
New
Bug description:
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
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mit-scheme/+bug/1965163/+subscriptions
More information about the Ubuntu-sponsors
mailing list