Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 May 2021 18:09:43 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 256127] security/nss - linker command failed with exit code 1
Message-ID:  <bug-256127-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D256127

            Bug ID: 256127
           Summary: security/nss - linker command failed with exit code 1
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: gecko@FreeBSD.org
          Reporter: weldon@excelsus.com
          Assignee: gecko@FreeBSD.org
             Flags: maintainer-feedback?(gecko@FreeBSD.org)

v3.65 on FreeBSD 12.2 amd64 fails to complile.   Noticed this while trying =
to
upgrade bind.  I tried with completely clean ports collection.  Last version
successfully installed on system was 3.63 (compiled from ports)

root@senna:/usr/ports/security/nss # uname -a
FreeBSD senna 12.2-RELEASE-p6 FreeBSD 12.2-RELEASE-p6 r369569 GENERIC  amd64



gmake[4]: Entering directory
'/usr/ports/security/nss/work/nss-3.65/nss/cmd/derdump'
cc -B/usr/local/bin -o FreeBSD12.2_OPT.OBJ/dbtest.o -c -std=3Dc99 -O2 -pipe=
=20
-I/usr/local/include/nspr -Wno-error=3Dunused-function -fstack-protector-st=
rong
-fno-strict-aliasing   -fPIC -Wall -Wno-switch -DFREEBSD -DHAVE_STRERROR
-DHAVE_BSD_FLOCK -Wall -Wshadow -Qunused-arguments -Wno-parentheses-equality
-Wno-array-bounds -Wno-unevaluated-expression -DNSS_NO_GCC48 -DXP_UNIX -UDE=
BUG
-DNDEBUG -D_THREAD_SAFE -D_REENTRANT -DNSS_NO_INIT_SUPPORT -DUSE_UTIL_DIREC=
TLY
-DNO_NSPR_10_SUPPORT -DSSL_DISABLE_DEPRECATED_CIPHER_SUITE_NAMES
-I./../dist/FreeBSD12.2_OPT.OBJ/include -I./../dist/public/
-I./../dist/private/   -fPIC -Wall -Wno-switch -DFREEBSD -DHAVE_STRERROR
-DHAVE_BSD_FLOCK -Wall -Wshadow -Qunused-arguments -Wno-parentheses-equality
-Wno-array-bounds -Wno-unevaluated-expression -DNSS_NO_GCC48 -DXP_UNIX -UDE=
BUG
-DNDEBUG -D_THREAD_SAFE -D_REENTRANT -DNSS_NO_INIT_SUPPORT -DUSE_UTIL_DIREC=
TLY
-DNO_NSPR_10_SUPPORT -DSSL_DISABLE_DEPRECATED_CIPHER_SUITE_NAMES
-I./../dist/FreeBSD12.2_OPT.OBJ/include -I./../dist/public/
-I./../dist/private/   -fPIC -Wall -Wno-switch -DFREEBSD -DHAVE_STRERROR
-DHAVE_BSD_FLOCK -Wall -Wshadow -Qunused-arguments -Wno-parentheses-equality
-Wno-array-bounds -Wno-unevaluated-expression -DNSS_NO_GCC48 -DXP_UNIX -UDE=
BUG
-DNDEBUG -D_THREAD_SAFE -D_REENTRANT -DNSS_NO_INIT_SUPPORT -DUSE_UTIL_DIREC=
TLY
-DNO_NSPR_10_SUPPORT -DSSL_DISABLE_DEPRECATED_CIPHER_SUITE_NAMES
-I../../dist/FreeBSD12.2_OPT.OBJ/include -I../../dist/public/
-I../../dist/private/ -I../../dist/public/nss -I../../dist/public/nspr
-I../../dist/public/libdbm -I../../dist/FreeBSD12.2_OPT.OBJ/../public/secur=
ity
-I./include    -fPIC -Wall -Wno-switch -DFREEBSD -DHAVE_STRERROR
-DHAVE_BSD_FLOCK -Wall -Wshadow -Qunused-arguments -Wno-parentheses-equality
-Wno-array-bounds -Wno-unevaluated-expression -DNSS_NO_GCC48 -DXP_UNIX -UDE=
BUG
-DNDEBUG -D_THREAD_SAFE -D_REENTRANT -DNSS_NO_INIT_SUPPORT -DUSE_UTIL_DIREC=
TLY
-DNO_NSPR_10_SUPPORT -DSSL_DISABLE_DEPRECATED_CIPHER_SUITE_NAMES
-I../../../dist/FreeBSD12.2_OPT.OBJ/include -I../../../dist/public/nss
-I../../../dist/private/nss -I../../../dist/public/seccmd
-I../../../dist/public/dbm  dbtest.c
/usr/local/bin/ld: ../../../dist/FreeBSD12.2_OPT.OBJ/lib/libnss3.so: undefi=
ned
reference to `PR_ASSERT_ARG'
cc: error: linker command failed with exit code 1 (use -v to see invocation)
cc -B/usr/local/bin -o FreeBSD12.2_OPT.OBJ/derdump.o -c -std=3Dc99 -O2 -pip=
e=20
-I/usr/local/include/nspr -Wno-error=3Dunused-function -fstack-protector-st=
rong
-fno-strict-aliasing   -fPIC -Wall -Wno-switch -DFREEBSD -DHAVE_STRERROR
-DHAVE_BSD_FLOCK -Wall -Wshadow -Qunused-arguments -Wno-parentheses-equality
-Wno-array-bounds -Wno-unevaluated-expression -DNSS_NO_GCC48 -DXP_UNIX -UDE=
BUG
-DNDEBUG -D_THREAD_SAFE -D_REENTRANT -DNSS_NO_INIT_SUPPORT -DUSE_UTIL_DIREC=
TLY
-DNO_NSPR_10_SUPPORT -DSSL_DISABLE_DEPRECATED_CIPHER_SUITE_NAMES
-I./../dist/FreeBSD12.2_OPT.OBJ/include -I./../dist/public/
-I./../dist/private/   -fPIC -Wall -Wno-switch -DFREEBSD -DHAVE_STRERROR
-DHAVE_BSD_FLOCK -Wall -Wshadow -Qunused-arguments -Wno-parentheses-equality
-Wno-array-bounds -Wno-unevaluated-expression -DNSS_NO_GCC48 -DXP_UNIX -UDE=
BUG
-DNDEBUG -D_THREAD_SAFE -D_REENTRANT -DNSS_NO_INIT_SUPPORT -DUSE_UTIL_DIREC=
TLY
-DNO_NSPR_10_SUPPORT -DSSL_DISABLE_DEPRECATED_CIPHER_SUITE_NAMES
-I./../dist/FreeBSD12.2_OPT.OBJ/include -I./../dist/public/
-I./../dist/private/   -fPIC -Wall -Wno-switch -DFREEBSD -DHAVE_STRERROR
-DHAVE_BSD_FLOCK -Wall -Wshadow -Qunused-arguments -Wno-parentheses-equality
-Wno-array-bounds -Wno-unevaluated-expression -DNSS_NO_GCC48 -DXP_UNIX -UDE=
BUG
-DNDEBUG -D_THREAD_SAFE -D_REENTRANT -DNSS_NO_INIT_SUPPORT -DUSE_UTIL_DIREC=
TLY
-DNO_NSPR_10_SUPPORT -DSSL_DISABLE_DEPRECATED_CIPHER_SUITE_NAMES
-I../../dist/FreeBSD12.2_OPT.OBJ/include -I../../dist/public/
-I../../dist/private/ -I../../dist/public/nss -I../../dist/public/nspr
-I../../dist/public/libdbm -I../../dist/FreeBSD12.2_OPT.OBJ/../public/secur=
ity
-I./include    -fPIC -Wall -Wno-switch -DFREEBSD -DHAVE_STRERROR
-DHAVE_BSD_FLOCK -Wall -Wshadow -Qunused-arguments -Wno-parentheses-equality
-Wno-array-bounds -Wno-unevaluated-expression -DNSS_NO_GCC48 -DXP_UNIX -DNS=
PR20
-UDEBUG -DNDEBUG -D_THREAD_SAFE -D_REENTRANT -DNSS_NO_INIT_SUPPORT
-DUSE_UTIL_DIRECTLY -DNO_NSPR_10_SUPPORT
-DSSL_DISABLE_DEPRECATED_CIPHER_SUITE_NAMES
-I../../../dist/FreeBSD12.2_OPT.OBJ/include -I../../../dist/public/nss=20
-I../../../dist/private/nss  -I../../../dist/public/seccmd
-I../../../dist/public/dbm  derdump.c
/usr/local/bin/ld: ../../../dist/FreeBSD12.2_OPT.OBJ/lib/libnss3.so: undefi=
ned
reference to `PR_ASSERT_ARG'
cc: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[4]: *** [../../coreconf/rules.mk:165: FreeBSD12.2_OPT.OBJ/addbuiltin]
Error 1
gmake[4]: Leaving directory
'/usr/ports/security/nss/work/nss-3.65/nss/cmd/addbuiltin'
gmake[3]: *** [../coreconf/rules.mk:44: addbuiltin] Error 2
gmake[3]: *** Waiting for unfinished jobs....
gmake[4]: *** [../../coreconf/rules.mk:165: FreeBSD12.2_OPT.OBJ/atob] Error=
 1
gmake[4]: Leaving directory
'/usr/ports/security/nss/work/nss-3.65/nss/cmd/atob'
gmake[3]: *** [../coreconf/rules.mk:44: atob] Error 2
/usr/local/bin/ld: ../../../dist/FreeBSD12.2_OPT.OBJ/lib/libnss3.so: undefi=
ned
reference to `PR_ASSERT_ARG'
cc: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[4]: *** [../../coreconf/rules.mk:165: FreeBSD12.2_OPT.OBJ/crlutil] Er=
ror
1
gmake[4]: Leaving directory
'/usr/ports/security/nss/work/nss-3.65/nss/cmd/crlutil'
gmake[3]: *** [../coreconf/rules.mk:44: crlutil] Error 2
/usr/local/bin/ld: ../../../dist/FreeBSD12.2_OPT.OBJ/lib/libnss3.so: undefi=
ned
reference to `PR_ASSERT_ARG'
cc: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[4]: *** [../../coreconf/rules.mk:165: FreeBSD12.2_OPT.OBJ/certutil] E=
rror
1
gmake[4]: Leaving directory
'/usr/ports/security/nss/work/nss-3.65/nss/cmd/certutil'
gmake[3]: *** [../coreconf/rules.mk:44: certutil] Error 2
/usr/local/bin/ld: ../../../dist/FreeBSD12.2_OPT.OBJ/lib/libnss3.so: undefi=
ned
reference to `PR_ASSERT_ARG'
/usr/local/bin/ld: ../../../dist/FreeBSD12.2_OPT.OBJ/lib/libnss3.so: undefi=
ned
reference to `PR_ASSERT_ARG'
cc: error: linker command failed with exit code 1 (use -v to see invocation)
cc: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[4]: *** [../../coreconf/rules.mk:165: FreeBSD12.2_OPT.OBJ/btoa] Error=
 1
gmake[4]: Leaving directory
'/usr/ports/security/nss/work/nss-3.65/nss/cmd/btoa'
gmake[3]: *** [../coreconf/rules.mk:44: btoa] Error 2
gmake[4]: *** [../../coreconf/rules.mk:165: FreeBSD12.2_OPT.OBJ/crmftest] E=
rror
1
gmake[4]: Leaving directory
'/usr/ports/security/nss/work/nss-3.65/nss/cmd/crmftest'
gmake[3]: *** [../coreconf/rules.mk:44: crmftest] Error 2
rm -f FreeBSD12.2_OPT.OBJ/derdump
cc -B/usr/local/bin -o FreeBSD12.2_OPT.OBJ/derdump -O2 -pipe=20
-I/usr/local/include/nspr -Wno-error=3Dunused-function -fstack-protector-st=
rong
-fno-strict-aliasing   -fPIC -Wall -Wno-switch -DFREEBSD -DHAVE_STRERROR
-DHAVE_BSD_FLOCK -Wall -Wshadow -Qunused-arguments -Wno-parentheses-equality
-Wno-array-bounds -Wno-unevaluated-expression -DNSS_NO_GCC48 -DXP_UNIX -UDE=
BUG
-DNDEBUG -D_THREAD_SAFE -D_REENTRANT -DNSS_NO_INIT_SUPPORT -DUSE_UTIL_DIREC=
TLY
-DNO_NSPR_10_SUPPORT -DSSL_DISABLE_DEPRECATED_CIPHER_SUITE_NAMES
-I./../dist/FreeBSD12.2_OPT.OBJ/include -I./../dist/public/
-I./../dist/private/   -fPIC -Wall -Wno-switch -DFREEBSD -DHAVE_STRERROR
-DHAVE_BSD_FLOCK -Wall -Wshadow -Qunused-arguments -Wno-parentheses-equality
-Wno-array-bounds -Wno-unevaluated-expression -DNSS_NO_GCC48 -DXP_UNIX -UDE=
BUG
-DNDEBUG -D_THREAD_SAFE -D_REENTRANT -DNSS_NO_INIT_SUPPORT -DUSE_UTIL_DIREC=
TLY
-DNO_NSPR_10_SUPPORT -DSSL_DISABLE_DEPRECATED_CIPHER_SUITE_NAMES
-I./../dist/FreeBSD12.2_OPT.OBJ/include -I./../dist/public/
-I./../dist/private/   -fPIC -Wall -Wno-switch -DFREEBSD -DHAVE_STRERROR
-DHAVE_BSD_FLOCK -Wall -Wshadow -Qunused-arguments -Wno-parentheses-equality
-Wno-array-bounds -Wno-unevaluated-expression -DNSS_NO_GCC48 -DXP_UNIX -UDE=
BUG
-DNDEBUG -D_THREAD_SAFE -D_REENTRANT -DNSS_NO_INIT_SUPPORT -DUSE_UTIL_DIREC=
TLY
-DNO_NSPR_10_SUPPORT -DSSL_DISABLE_DEPRECATED_CIPHER_SUITE_NAMES
-I../../dist/FreeBSD12.2_OPT.OBJ/include -I../../dist/public/
-I../../dist/private/ -I../../dist/public/nss -I../../dist/public/nspr
-I../../dist/public/libdbm -I../../dist/FreeBSD12.2_OPT.OBJ/../public/secur=
ity
-I./include    -fPIC -Wall -Wno-switch -DFREEBSD -DHAVE_STRERROR
-DHAVE_BSD_FLOCK -Wall -Wshadow -Qunused-arguments -Wno-parentheses-equality
-Wno-array-bounds -Wno-unevaluated-expression -DNSS_NO_GCC48 -DXP_UNIX -DNS=
PR20
-UDEBUG -DNDEBUG -D_THREAD_SAFE -D_REENTRANT -DNSS_NO_INIT_SUPPORT
-DUSE_UTIL_DIRECTLY -DNO_NSPR_10_SUPPORT
-DSSL_DISABLE_DEPRECATED_CIPHER_SUITE_NAMES
-I../../../dist/FreeBSD12.2_OPT.OBJ/include -I../../../dist/public/nss=20
-I../../../dist/private/nss  -I../../../dist/public/seccmd
-I../../../dist/public/dbm  FreeBSD12.2_OPT.OBJ/derdump.o=20
-fstack-protector-strong  ../../../dist/FreeBSD12.2_OPT.OBJ/lib/libsectool.=
a=20
-L../../../dist/FreeBSD12.2_OPT.OBJ/lib -L../../../dist/FreeBSD12.2_OPT.OBJ=
/lib
-lnssutil3 -L/usr/local/lib -lplc4 -lplds4 -lnspr4  -lssl3 -lsmime3 -lnss3
-pthread
rm -f FreeBSD12.2_OPT.OBJ/dbtest
cc -B/usr/local/bin -o FreeBSD12.2_OPT.OBJ/dbtest -O2 -pipe=20
-I/usr/local/include/nspr -Wno-error=3Dunused-function -fstack-protector-st=
rong
-fno-strict-aliasing   -fPIC -Wall -Wno-switch -DFREEBSD -DHAVE_STRERROR
-DHAVE_BSD_FLOCK -Wall -Wshadow -Qunused-arguments -Wno-parentheses-equality
-Wno-array-bounds -Wno-unevaluated-expression -DNSS_NO_GCC48 -DXP_UNIX -UDE=
BUG
-DNDEBUG -D_THREAD_SAFE -D_REENTRANT -DNSS_NO_INIT_SUPPORT -DUSE_UTIL_DIREC=
TLY
-DNO_NSPR_10_SUPPORT -DSSL_DISABLE_DEPRECATED_CIPHER_SUITE_NAMES
-I./../dist/FreeBSD12.2_OPT.OBJ/include -I./../dist/public/
-I./../dist/private/   -fPIC -Wall -Wno-switch -DFREEBSD -DHAVE_STRERROR
-DHAVE_BSD_FLOCK -Wall -Wshadow -Qunused-arguments -Wno-parentheses-equality
-Wno-array-bounds -Wno-unevaluated-expression -DNSS_NO_GCC48 -DXP_UNIX -UDE=
BUG
-DNDEBUG -D_THREAD_SAFE -D_REENTRANT -DNSS_NO_INIT_SUPPORT -DUSE_UTIL_DIREC=
TLY
-DNO_NSPR_10_SUPPORT -DSSL_DISABLE_DEPRECATED_CIPHER_SUITE_NAMES
-I./../dist/FreeBSD12.2_OPT.OBJ/include -I./../dist/public/
-I./../dist/private/   -fPIC -Wall -Wno-switch -DFREEBSD -DHAVE_STRERROR
-DHAVE_BSD_FLOCK -Wall -Wshadow -Qunused-arguments -Wno-parentheses-equality
-Wno-array-bounds -Wno-unevaluated-expression -DNSS_NO_GCC48 -DXP_UNIX -UDE=
BUG
-DNDEBUG -D_THREAD_SAFE -D_REENTRANT -DNSS_NO_INIT_SUPPORT -DUSE_UTIL_DIREC=
TLY
-DNO_NSPR_10_SUPPORT -DSSL_DISABLE_DEPRECATED_CIPHER_SUITE_NAMES
-I../../dist/FreeBSD12.2_OPT.OBJ/include -I../../dist/public/
-I../../dist/private/ -I../../dist/public/nss -I../../dist/public/nspr
-I../../dist/public/libdbm -I../../dist/FreeBSD12.2_OPT.OBJ/../public/secur=
ity
-I./include    -fPIC -Wall -Wno-switch -DFREEBSD -DHAVE_STRERROR
-DHAVE_BSD_FLOCK -Wall -Wshadow -Qunused-arguments -Wno-parentheses-equality
-Wno-array-bounds -Wno-unevaluated-expression -DNSS_NO_GCC48 -DXP_UNIX -UDE=
BUG
-DNDEBUG -D_THREAD_SAFE -D_REENTRANT -DNSS_NO_INIT_SUPPORT -DUSE_UTIL_DIREC=
TLY
-DNO_NSPR_10_SUPPORT -DSSL_DISABLE_DEPRECATED_CIPHER_SUITE_NAMES
-I../../../dist/FreeBSD12.2_OPT.OBJ/include -I../../../dist/public/nss
-I../../../dist/private/nss -I../../../dist/public/seccmd
-I../../../dist/public/dbm  FreeBSD12.2_OPT.OBJ/dbtest.o=20
-fstack-protector-strong  ../../../dist/FreeBSD12.2_OPT.OBJ/lib/libsectool.=
a=20
-L../../../dist/FreeBSD12.2_OPT.OBJ/lib -L../../../dist/FreeBSD12.2_OPT.OBJ=
/lib
-lnssutil3 -L/usr/local/lib -lplc4 -lplds4 -lnspr4  -lssl3 -lsmime3 -lnss3
-pthread
/usr/local/bin/ld: ../../../dist/FreeBSD12.2_OPT.OBJ/lib/libnss3.so: undefi=
ned
reference to `PR_ASSERT_ARG'
cc: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[4]: *** [../../coreconf/rules.mk:165: FreeBSD12.2_OPT.OBJ/derdump] Er=
ror
1
gmake[4]: Leaving directory
'/usr/ports/security/nss/work/nss-3.65/nss/cmd/derdump'
gmake[3]: *** [../coreconf/rules.mk:44: derdump] Error 2
/usr/local/bin/ld: ../../../dist/FreeBSD12.2_OPT.OBJ/lib/libnss3.so: undefi=
ned
reference to `PR_ASSERT_ARG'
cc: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[4]: *** [../../coreconf/rules.mk:165: FreeBSD12.2_OPT.OBJ/dbtest] Err=
or 1
gmake[4]: Leaving directory
'/usr/ports/security/nss/work/nss-3.65/nss/cmd/dbtest'
gmake[3]: *** [../coreconf/rules.mk:44: dbtest] Error 2
gmake[3]: Leaving directory '/usr/ports/security/nss/work/nss-3.65/nss/cmd'
gmake[2]: *** [coreconf/rules.mk:44: cmd] Error 2
gmake[2]: Leaving directory '/usr/ports/security/nss/work/nss-3.65/nss'
gmake[1]: *** [manifest.mn:21: all] Error 2
gmake[1]: Leaving directory '/usr/ports/security/nss/work/nss-3.65/nss'
=3D=3D=3D> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the failure =
to
the maintainer.
*** Error code 1

Stop.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-256127-7788>