Package: libpam-ssh Version: 2.0-1 Usertags: goto-cc During a rebuild of all packages in a clean sid chroot (and cowbuilder+pbuilder) the build failed with the following error. Please note that we use our research compiler tool-chain (using tools from the cbmc package), which permits extended reporting on type inconsistencies at link time.
[...] libtool: link: gcc -shared -fPIC -DPIC .libs/misc.o .libs/atomicio.o .libs/authfd.o .libs/rsa.o .libs/authfile.o .libs/bufec.o .libs/bufbn.o .libs/bufaux.o .libs/buffer.o .libs/cipher.o .libs/acss.o .libs/cipher-acss.o .libs/cipher-3des1.o .libs/cipher-bf1.o .libs/cipher-ctr.o .libs/key.o .libs/cleanup.o .libs/fatal.o .libs/log.o .libs/pam_ssh.o .libs/rijndael.o .libs/xmalloc.o .libs/pam_ssh_log.o .libs/strlcpy.o .libs/strnvis.o .libs/pam_get_pass.o .libs/pam_std_option.o .libs/openpam_borrow_cred.o .libs/openpam_restore_cred.o -lpam -lcrypto -O2 -Wl,--version-script -Wl,debian/pam_ssh.version -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-soname -Wl,pam_ssh.so -o .libs/pam_ssh.so error: conflicting function declarations "ssh_aes_ctr_iv" old definition in module cipher file cipher.c line 67 void (struct evp_cipher_ctx_st *, signed int, unsigned char *, unsigned int) new definition in module cipher-ctr file cipher-ctr.c line 121 void (struct evp_cipher_ctx_st *evp, signed int doset, unsigned char *iv, unsigned long int len) Makefile:493: recipe for target 'pam_ssh.la' failed make[2]: *** [pam_ssh.la] Error 64 make[2]: Leaving directory '/srv/jenkins-slave/workspace/sid-goto-cc-libpam-ssh/libpam-ssh-2.0' Makefile:403: recipe for target 'all' failed make[1]: *** [all] Error 2 For any platform with sizeof(unsigned)<sizeof(unsigned long) this code will have undefined behaviour as some bytes of the "len" parameter will take an arbitrary value. Best, Michael
pgp0Z_9BAWmxe.pgp
Description: PGP signature