[Pkg-freeipa-devel] Bug#963291: nss-pem: FTBFS: pfind.c:279:10: error: ‘CKO_NETSCAPE_TRUST’ undeclared (first use in this function); did you mean ‘CKO_NSS_TRUST’?

Lucas Nussbaum lucas at debian.org
Sun Jun 21 20:54:18 BST 2020


Source: nss-pem
Version: 1.0.5-1
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20200620 ftbfs-bullseye

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.

Relevant part (hopefully):
> /usr/bin/cc -DHAVE_LOWKEYTI_H -Dnsspem_EXPORTS -I/usr/include/nss -I/usr/include/nspr  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -I../nss/dist/private/nss -fPIC   -o CMakeFiles/nsspem.dir/pinst.c.o   -c /<<PKGBUILDDIR>>/src/pinst.c
> /<<PKGBUILDDIR>>/src/pfind.c: In function ‘collect_objects’:
> /<<PKGBUILDDIR>>/src/pfind.c:279:10: error: ‘CKO_NETSCAPE_TRUST’ undeclared (first use in this function); did you mean ‘CKO_NSS_TRUST’?
>   279 |     case CKO_NETSCAPE_TRUST:
>       |          ^~~~~~~~~~~~~~~~~~
>       |          CKO_NSS_TRUST
> /<<PKGBUILDDIR>>/src/pfind.c:279:10: note: each undeclared identifier is reported only once for each function it appears in
> /<<PKGBUILDDIR>>/src/pfind.c:283:10: error: ‘CKO_NETSCAPE_CRL’ undeclared (first use in this function); did you mean ‘CKO_NSS_CRL’?
>   283 |     case CKO_NETSCAPE_CRL:
>       |          ^~~~~~~~~~~~~~~~
>       |          CKO_NSS_CRL
> /<<PKGBUILDDIR>>/src/pfind.c:286:10: error: ‘CKO_NETSCAPE_SMIME’ undeclared (first use in this function); did you mean ‘CKO_NSS_SMIME’?
>   286 |     case CKO_NETSCAPE_SMIME:
>       |          ^~~~~~~~~~~~~~~~~~
>       |          CKO_NSS_SMIME
> [ 50%] Building C object CMakeFiles/nsspem.dir/pobject.c.o
> /usr/bin/cc -DHAVE_LOWKEYTI_H -Dnsspem_EXPORTS -I/usr/include/nss -I/usr/include/nspr  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -I../nss/dist/private/nss -fPIC   -o CMakeFiles/nsspem.dir/pobject.c.o   -c /<<PKGBUILDDIR>>/src/pobject.c
> /<<PKGBUILDDIR>>/src/pfind.c:289:10: error: ‘CKO_NETSCAPE_BUILTIN_ROOT_LIST’ undeclared (first use in this function); did you mean ‘CKO_NSS_BUILTIN_ROOT_LIST’?
>   289 |     case CKO_NETSCAPE_BUILTIN_ROOT_LIST:
>       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>       |          CKO_NSS_BUILTIN_ROOT_LIST
> make[4]: *** [CMakeFiles/nsspem.dir/build.make:118: CMakeFiles/nsspem.dir/pfind.c.o] Error 1

The full build log is available from:
   http://qa-logs.debian.net/2020/06/20/nss-pem_1.0.5-1_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the Pkg-freeipa-devel mailing list