I looked into this a bit but am not clear on the right way to patch it. It seems to be only a few files; many others build ok. What other platforms do and don't work for nss now? gcc -o NetBSD6.1_STABLE_OPT.OBJ/secload.o -c -O -fPIC -DPIC -Di386 -ansi -Wall -Wno-switch -pipe -DNETBSD -Dunix -DHAVE_STRERROR -DHAVE_BSD_FLOCK -DXP_UNIX -UDEBUG -DNDEBUG -DUSE_UTIL_DIRECTLY -DNO_NSPR_10_SUPPORT -DSSL_DISABLE_DEPRECATED_CIPHER_SUITE_NAMES -I/usr/pkg/include/nspr -I/usr/X11R6/include -I./../dist/NetBSD6.1_STABLE_OPT.OBJ/include -I./../dist/public/ -I./../dist/private/ -I/usr/X11R6/include -I../../dist/NetBSD6.1_STABLE_OPT.OBJ/include -I../../dist/public/ -I../../dist/private/ -I/usr/X11R6/include -I../../../dist/NetBSD6.1_STABLE_OPT.OBJ/include -I../../../dist/public/nss -I../../../dist/private/nss secload.c gcc -o NetBSD6.1_STABLE_OPT.OBJ/secoid.o -c -O -fPIC -DPIC -Di386 -ansi -Wall -Wno-switch -pipe -DNETBSD -Dunix -DHAVE_STRERROR -DHAVE_BSD_FLOCK -DXP_UNIX -UDEBUG -DNDEBUG -DUSE_UTIL_DIRECTLY -DNO_NSPR_10_SUPPORT -DSSL_DISABLE_DEPRECATED_CIPHER_SUITE_NAMES -I/usr/pkg/include/nspr -I/usr/X11R6/include -I./../dist/NetBSD6.1_STABLE_OPT.OBJ/include -I./../dist/public/ -I./../dist/private/ -I/usr/X11R6/include -I../../dist/NetBSD6.1_STABLE_OPT.OBJ/include -I../../dist/public/ -I../../dist/private/ -I/usr/X11R6/include -I../../../dist/NetBSD6.1_STABLE_OPT.OBJ/include -I../../../dist/public/nss -I../../../dist/private/nss secoid.c In file included from secoid.c:1915:0: verref.h: In function 'SECOID_Init': verref.h:22:9: error: #pragma GCC diagnostic not allowed inside functions verref.h:23:9: error: #pragma GCC diagnostic not allowed inside functions verref.h:31:25: warning: unused variable '_nss_version_c' verref.h:39:9: error: #pragma GCC diagnostic not allowed inside functions ../../coreconf/rules.mk:388: recipe for target 'NetBSD6.1_STABLE_OPT.OBJ/secoid.o' failed gmake[2]: *** [NetBSD6.1_STABLE_OPT.OBJ/secoid.o] Error 1 gmake[2]: Leaving directory '/u0/n0/gdt/NetBSD-current/pkgsrc/devel/nss/work/nss-3.21/nss/lib/util' ../coreconf/rules.mk:101: recipe for target 'libs' failed gmake[1]: *** [libs] Error 2 gmake[1]: Leaving directory '/u0/n0/gdt/NetBSD-current/pkgsrc/devel/nss/work/nss-3.21/nss/lib' coreconf/rules.mk:101: recipe for target 'libs' failed gmake: *** [libs] Error 2 *** Error code 2 Stop. make: stopped in /u0/n0/gdt/NetBSD-current/pkgsrc/devel/nss *** Error code 1 Stop. make: stopped in /usr/pkgsrc/devel/nss
Attachment:
signature.asc
Description: PGP signature