--- Begin Message ---
Package: src:lsh-utils
Version: 2.1-12
Severity: normal
Tags: sid bullseye
User: [email protected]
Usertags: ftbfs-gcc-10
Please keep this issue open in the bug tracker for the package it
was filed for. If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.
The package fails to build in a test rebuild on at least amd64 with
gcc-10/g++-10, but succeeds to build with gcc-9/g++-9. The
severity of this report will be raised before the bullseye release,
so nothing has to be done for the buster release.
The full build log can be found at:
http://people.debian.org/~doko/logs/gcc10-20200225/lsh-utils_2.1-12_unstable_gcc10.log
The last lines of the build log are at the end of this report.
To build with GCC 10, either set CC=gcc-10 CXX=g++-10 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.
apt-get -t=experimental install g++
Common build failures are new warnings resulting in build failures with
-Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-10/porting_to.html
[...]
| char *
In file included from lsh-make-seed.c:82:
/usr/include/nettle/yarrow.h:105:34: note: expected ‘const uint8_t *’ {aka
‘const unsigned char *’} but argument is of type ‘char *’
105 | size_t length, const uint8_t *data);
| ~~~~~~~~~~~~~~~^~~~
lsh-make-seed.c: In function ‘get_dev_mem’:
lsh-make-seed.c:363:35: warning: unused parameter ‘ctx’ [-Wunused-parameter]
363 | get_dev_mem(struct yarrow256_ctx *ctx, enum source_type source)
| ~~~~~~~~~~~~~~~~~~~~~~^~~
lsh-make-seed.c:363:57: warning: unused parameter ‘source’ [-Wunused-parameter]
363 | get_dev_mem(struct yarrow256_ctx *ctx, enum source_type source)
| ~~~~~~~~~~~~~~~~~^~~~~~
lsh-make-seed.c: In function ‘get_system’:
lsh-make-seed.c:1037:16: warning: comparison of integer expressions of
different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
1037 | if (res > linux_proc_sources[i].limit)
| ^
gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes
-Wmissing-declarations -Wstrict-prototypes -Wpointer-arith
-Wbad-function-cast -Wnested-externs -c -o lsh-execuv.o lsh-execuv.c
lshd.c: In function ‘main_argp_parser’:
lshd.c:699:10: warning: ‘host’ may be used uninitialized in this function
[-Wmaybe-uninitialized]
699 | : io_resolv_address(host, "ssh", 22, &self->local)))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes
-Wmissing-declarations -Wstrict-prototypes -Wpointer-arith
-Wbad-function-cast -Wnested-externs -c -o lsh-krb-checkpw.o lsh-krb-checkpw.c
lsh-krb-checkpw.c: In function ‘main’:
lsh-krb-checkpw.c:98:15: warning: unused variable ‘ccache’ [-Wunused-variable]
98 | krb5_ccache ccache;
| ^~~~~~
lsh-krb-checkpw.c:135:7: warning: ‘server’ may be used uninitialized in this
function [-Wmaybe-uninitialized]
135 | if (krb5_verify_init_creds(context, &creds, server,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
136 | NULL, NULL, NULL)) {
| ~~~~~~~~~~~~~~~~~
gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes
-Wmissing-declarations -Wstrict-prototypes -Wpointer-arith
-Wbad-function-cast -Wnested-externs -c -o lsh-pam-checkpw.o lsh-pam-checkpw.c
rm -f liblsh.a
ar cru liblsh.a abstract_io.o abstract_crypto.o algorithms.o alist.o atoms.o
channel.o channel_commands.o channel_forward.o charset.o client.o
client_escape.o client_keyexchange.o client_pty.o client_session.o
client_userauth.o client_x11.o combinators.o command.o compress.o
parse_config.o connection.o connection_commands.o crypto.o daemon.o debug.o
dh_exchange.o dsa.o exception.o format.o gc.o gateway.o gateway_channel.o
gateway_commands.o handshake.o interact.o io.o io_commands.o keyexchange.o
list.o lookup_verifier.o lock_file.o lsh_string.o parse.o pkcs5.o
publickey_crypto.o queue.o randomness.o read_data.o read_file.o read_line.o
read_packet.o reaper.o resource.o rsa.o server.o server_authorization.o
server_keyexchange.o server_password.o server_publickey.o server_pty.o
server_session.o server_userauth.o server_x11.o sexp.o socks.o spki.o
srp_exchange.o string_buffer.o suspend.o tcpforward.o tcpforward_commands.o
translate_signal.o tty.o unix_interact.o unix_process.o unix_rando
m.o unix_user.o userauth.o werror.o write_buffer.o write_packet.o xalloc.o
xauth.o zlib.o
ar: `u' modifier ignored since `D' is the default (see `U')
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
-Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes
-Wmissing-declarations -Wstrict-prototypes -Wpointer-arith
-Wbad-function-cast -Wnested-externs -Wl,-z,defs -Wl,--as-needed -Wl,-z,relro
-o lsh-execuv lsh-execuv.o -lpam -lutil -lcrypt -lXau -lwrap -lz -loop -lgmp
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
-Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes
-Wmissing-declarations -Wstrict-prototypes -Wpointer-arith
-Wbad-function-cast -Wnested-externs -Wl,-z,defs -Wl,--as-needed -Wl,-z,relro
-o lsh-krb-checkpw lsh-krb-checkpw.o -lkrb5 -lpam -lutil -lcrypt -lXau -lwrap
-lz -loop -lgmp
ranlib liblsh.a
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
-Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes
-Wmissing-declarations -Wstrict-prototypes -Wpointer-arith
-Wbad-function-cast -Wnested-externs -Wl,-z,defs -Wl,--as-needed -Wl,-z,relro
-o lsh lsh.o liblsh.a spki/libspki.a -lnettle -lhogweed -lpam -lutil -lcrypt
-lXau -lwrap -lz -loop -lgmp
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
-Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes
-Wmissing-declarations -Wstrict-prototypes -Wpointer-arith
-Wbad-function-cast -Wnested-externs -Wl,-z,defs -Wl,--as-needed -Wl,-z,relro
-o lshg lshg.o dummy.o liblsh.a -lpam -lutil -lcrypt -lXau -lwrap -lz -loop
-lgmp
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
-Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes
-Wmissing-declarations -Wstrict-prototypes -Wpointer-arith
-Wbad-function-cast -Wnested-externs -Wl,-z,defs -Wl,--as-needed -Wl,-z,relro
-o lsh-keygen lsh-keygen.o liblsh.a spki/libspki.a -lnettle -lhogweed -lpam
-lutil -lcrypt -lXau -lwrap -lz -loop -lgmp
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
-Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes
-Wmissing-declarations -Wstrict-prototypes -Wpointer-arith
-Wbad-function-cast -Wnested-externs -Wl,-z,defs -Wl,--as-needed -Wl,-z,relro
-o lsh-writekey lsh-writekey.o liblsh.a spki/libspki.a -lnettle -lhogweed
-lpam -lutil -lcrypt -lXau -lwrap -lz -loop -lgmp
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
-Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes
-Wmissing-declarations -Wstrict-prototypes -Wpointer-arith
-Wbad-function-cast -Wnested-externs -Wl,-z,defs -Wl,--as-needed -Wl,-z,relro
-o lsh-decrypt-key lsh-decrypt-key.o liblsh.a spki/libspki.a -lnettle -lhogweed
-lpam -lutil -lcrypt -lXau -lwrap -lz -loop -lgmp
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
-Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes
-Wmissing-declarations -Wstrict-prototypes -Wpointer-arith
-Wbad-function-cast -Wnested-externs -Wl,-z,defs -Wl,--as-needed -Wl,-z,relro
-o lsh-decode-key lsh-decode-key.o liblsh.a spki/libspki.a -lnettle -lhogweed
-lpam -lutil -lcrypt -lXau -lwrap -lz -loop -lgmp
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
-Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes
-Wmissing-declarations -Wstrict-prototypes -Wpointer-arith
-Wbad-function-cast -Wnested-externs -Wl,-z,defs -Wl,--as-needed -Wl,-z,relro
-o lsh-export-key lsh-export-key.o liblsh.a spki/libspki.a -lnettle -lhogweed
-lpam -lutil -lcrypt -lXau -lwrap -lz -loop -lgmp
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
-Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes
-Wmissing-declarations -Wstrict-prototypes -Wpointer-arith
-Wbad-function-cast -Wnested-externs -Wl,-z,defs -Wl,--as-needed -Wl,-z,relro
-o lsh-make-seed lsh-make-seed.o liblsh.a spki/libspki.a -lnettle -lhogweed
-lpam -lutil -lcrypt -lXau -lwrap -lz -loop -lgmp
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
-Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes
-Wmissing-declarations -Wstrict-prototypes -Wpointer-arith
-Wbad-function-cast -Wnested-externs -Wl,-z,defs -Wl,--as-needed -Wl,-z,relro
-o srp-gen srp-gen.o liblsh.a spki/libspki.a -lnettle -lhogweed -lpam -lutil
-lcrypt -lXau -lwrap -lz -loop -lgmp
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
-Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes
-Wmissing-declarations -Wstrict-prototypes -Wpointer-arith
-Wbad-function-cast -Wnested-externs -Wl,-z,defs -Wl,--as-needed -Wl,-z,relro
-o lshd lshd.o liblsh.a spki/libspki.a -lnettle -lhogweed -lpam -lutil -lcrypt
-lXau -lwrap -lz -loop -lgmp
/usr/bin/ld: liblsh.a(server_authorization.o):./src/server_userauth.h:108:
multiple definition of `server_userauth_none_preauth';
lshd.o:./src/server_userauth.h:108: first defined here
/usr/bin/ld: liblsh.a(server_keyexchange.o):./src/server_userauth.h:108:
multiple definition of `server_userauth_none_preauth';
lshd.o:./src/server_userauth.h:108: first defined here
/usr/bin/ld: liblsh.a(server_password.o):./src/server_userauth.h:108: multiple
definition of `server_userauth_none_preauth';
lshd.o:./src/server_userauth.h:108: first defined here
/usr/bin/ld: liblsh.a(server_publickey.o):./src/server_userauth.h:108: multiple
definition of `server_userauth_none_preauth';
lshd.o:./src/server_userauth.h:108: first defined here
/usr/bin/ld: liblsh.a(server_session.o):./src/server_session.h:62: multiple
definition of `x11_req_handler'; lshd.o:./src/server_session.h:62: first
defined here
/usr/bin/ld: liblsh.a(server_session.o):./src/server_userauth.h:108: multiple
definition of `server_userauth_none_preauth';
lshd.o:./src/server_userauth.h:108: first defined here
/usr/bin/ld: liblsh.a(server_userauth.o):./src/server_userauth.h:108: multiple
definition of `server_userauth_none_preauth';
lshd.o:./src/server_userauth.h:108: first defined here
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
-Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes
-Wmissing-declarations -Wstrict-prototypes -Wpointer-arith
-Wbad-function-cast -Wnested-externs -Wl,-z,defs -Wl,--as-needed -Wl,-z,relro
-o lsh-pam-checkpw lsh-pam-checkpw.o liblsh.a spki/libspki.a -lnettle -lhogweed
-lpam -lutil -lcrypt -lXau -lwrap -lz -loop -lgmp
/usr/bin/ld: liblsh.a(unix_user.o):./src/server_userauth.h:108: multiple
definition of `server_userauth_none_preauth';
lshd.o:./src/server_userauth.h:108: first defined here
collect2: error: ld returned 1 exit status
make[5]: *** [Makefile:926: lshd] Error 1
make[5]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[4]: *** [Makefile:1105: all-recursive] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[3]: *** [Makefile:757: all] Error 2
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[2]: *** [Makefile:395: all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [Makefile:336: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:43: build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
--- End Message ---