Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 May 2018 11:32:56 +0000
From:      bugzilla-noreply@freebsd.org
To:        gnome@FreeBSD.org
Subject:   [Bug 228540] graphics/poppler: build fails after security/nss was updated to 3.37.1
Message-ID:  <bug-228540-6497@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 228540
           Summary: graphics/poppler: build fails after security/nss was
                    updated to 3.37.1
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: r00t@kaba1ah.org
                CC: gecko@FreeBSD.org, gnome@FreeBSD.org
                CC: gecko@FreeBSD.org, gnome@FreeBSD.org

Hello,

# uname -a
FreeBSD SRV-SYNTH 11.1-RELEASE-p8 FreeBSD 11.1-RELEASE-p8 #0 r330926: Wed M=
ar
14 15:26:58 CET 2018     r00t@SRV-SYNTH:/usr/obj/usr/src/sys/BSD11201711050=
1PHY
 amd64

# svnlite info /usr/ports | grep Rev
Revision: 470978
Last Changed Rev: 470978

I can't seem to build graphics/poppler anymore after security/nss was updat=
ed
to 3.37.1:

...
/bin/sh ../libtool  --tag=3DCXX   --mode=3Dlink c++  -fPIC -Wall
-Woverloaded-virtual -Wnon-virtual-dtor -Wcast-align -fno-exceptions=20
-fno-common -O2 -pipe -DLIBICONV_PLUG -fstack-protector -isystem
/usr/local/include -fno-strict-aliasing  -DLIBICONV_PLUG -isystem
/usr/local/include -std=3Dc++11  -fstack-protector -o pdf-fullrewrite
pdf-fullrewrite.o ../utils/libparseargs.la ../poppler/libpoppler.la -lz
-L/usr/local/lib
/bin/sh ../libtool  --tag=3DCXX   --mode=3Dlink c++  -fPIC -Wall
-Woverloaded-virtual -Wnon-virtual-dtor -Wcast-align -fno-exceptions=20
-fno-common -O2 -pipe -DLIBICONV_PLUG -fstack-protector -isystem
/usr/local/include -fno-strict-aliasing  -DLIBICONV_PLUG -isystem
/usr/local/include -std=3Dc++11  -fstack-protector -o perf-test perf-test.o
perf-test-preview-dummy.o ../poppler/libpoppler.la -L/usr/local/lib -lfreet=
ype=20
 -lz -L/usr/local/lib
libtool: link: c++ -fPIC -Wall -Woverloaded-virtual -Wnon-virtual-dtor
-Wcast-align -fno-exceptions -fno-common -O2 -pipe -DLIBICONV_PLUG
-fstack-protector -isystem /usr/local/include -fno-strict-aliasing
-DLIBICONV_PLUG -isystem /usr/local/include -std=3Dc++11 -fstack-protector =
-o
.libs/perf-test perf-test.o perf-test-preview-dummy.o=20
../poppler/.libs/libpoppler.so -L/usr/local/lib -lfreetype -lz -pthread
-Wl,-rpath -Wl,/usr/local/lib
libtool: link: c++ -fPIC -Wall -Woverloaded-virtual -Wnon-virtual-dtor
-Wcast-align -fno-exceptions -fno-common -O2 -pipe -DLIBICONV_PLUG
-fstack-protector -isystem /usr/local/include -fno-strict-aliasing
-DLIBICONV_PLUG -isystem /usr/local/include -std=3Dc++11 -fstack-protector =
-o
.libs/pdf-fullrewrite pdf-fullrewrite.o  ../utils/.libs/libparseargs.a
-L/usr/local/lib ../poppler/.libs/libpoppler.so -lz -pthread -Wl,-rpath
-Wl,/usr/local/lib
/usr/bin/ld: warning: libnss3.so, needed by ../poppler/.libs/libpoppler.so,=
 not
found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libsmime3.so, needed by ../poppler/.libs/libpoppler.s=
o,
not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libssl3.so, needed by ../poppler/.libs/libpoppler.so,=
 not
found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libnssutil3.so, needed by ../poppler/.libs/libpoppler=
.so,
not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libnss3.so, needed by ../poppler/.libs/libpoppler.so,=
 not
found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libsmime3.so, needed by ../poppler/.libs/libpoppler.s=
o,
not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libssl3.so, needed by ../poppler/.libs/libpoppler.so,=
 not
found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libnssutil3.so, needed by ../poppler/.libs/libpoppler=
.so,
not found (try using -rpath or -rpath-link)
../poppler/.libs/libpoppler.so: undefined reference to `HASH_Create@NSS_3.4'
../poppler/.libs/libpoppler.so: undefined reference to `NSS_Shutdown@NSS_3.=
2'
../poppler/.libs/libpoppler.so: undefined reference to
`CERT_GetCommonName@NSS_3.2'
../poppler/.libs/libpoppler.so: undefined reference to
`CERT_PKIXVerifyCert@NSS_3.12'
../poppler/.libs/libpoppler.so: undefined reference to `PORT_GetError@NSS_3=
.2'
../poppler/.libs/libpoppler.so: undefined reference to
`NSS_CMSSignerInfo_GetSigningCertificate@NSS_3.2'
../poppler/.libs/libpoppler.so: undefined reference to
`CERT_GetClassicOCSPEnabledSoftFailurePolicy@NSS_3.12'
../poppler/.libs/libpoppler.so: undefined reference to
`CERT_NewTempCertificate@NSS_3.12'
../poppler/.libs/libpoppler.so: undefined reference to
`SECOID_FindOIDTag@NSS_3.2'
../poppler/.libs/libpoppler.so: undefined reference to `NSS_Init@NSS_3.2'
../poppler/.libs/libpoppler.so: undefined reference to
`NSS_CMSMessage_CreateFromDER@NSS_3.2'
../poppler/.libs/libpoppler.so: undefined reference to
`NSS_CMSSignedData_GetDigestAlgs@NSS_3.2'
../poppler/.libs/libpoppler.so: undefined reference to `HASH_Update@NSS_3.4'
../poppler/.libs/libpoppler.so: undefined reference to
`SECMOD_AddNewModule@NSS_3.3'
../poppler/.libs/libpoppler.so: undefined reference to `HASH_Destroy@NSS_3.=
4'
../poppler/.libs/libpoppler.so: undefined reference to
`NSS_CMSSignerInfo_GetSigningTime@NSS_3.2'
../poppler/.libs/libpoppler.so: undefined reference to `PORT_Alloc@NSS_3.2'
../poppler/.libs/libpoppler.so: undefined reference to
`CERT_GetDefaultCertDB@NSS_3.2'
../poppler/.libs/libpoppler.so: undefined reference to
`NSS_CMSSignerInfo_Destroy@NSS_3.2'
../poppler/.libs/libpoppler.so: undefined reference to
`NSS_CMSMessage_ContentLevel@NSS_3.2'
../poppler/.libs/libpoppler.so: undefined reference to
`CERT_DestroyCertificate@NSS_3.2'
../poppler/.libs/libpoppler.so: undefined reference to
`NSS_CMSSignedData_Destroy@NSS_3.2'
../poppler/.libs/libpoppler.so: undefined reference to
`SECITEM_FreeItem@NSS_3.2'
../poppler/.libs/libpoppler.so: undefined reference to
`NSS_CMSSignedData_GetSignerInfo@NSS_3.2'
../poppler/.libs/libpoppler.so: undefined reference to `HASH_End@NSS_3.4'
../poppler/.libs/libpoppler.so: undefined reference to
`NSS_CMSMessage_IsSigned@NSS_3.4'
../poppler/.libs/libpoppler.so: undefined reference to
`NSS_CMSContentInfo_GetContent@NSS_3.2'
../poppler/.libs/libpoppler.so: undefined reference to `PORT_Free@NSS_3.2'
../poppler/.libs/libpoppler.so: undefined reference to
`NSS_CMSSignerInfo_Verify@NSS_3.16'
../poppler/.libs/libpoppler.so: undefined reference to
`NSS_CMSMessage_Destroy@NSS_3.2'
../poppler/.libs/libpoppler.so: undefined reference to
`HASH_GetHashTypeByOidTag@NSS_3.8'
c++: error: linker command failed with exit code 1 (use -v to see invocatio=
n)
gmake[3]: *** [Makefile:530: perf-test] Error 1
gmake[3]: *** Waiting for unfinished jobs....
../poppler/.libs/libpoppler.so: undefined reference to `HASH_Create@NSS_3.4'
../poppler/.libs/libpoppler.so: undefined reference to `NSS_Shutdown@NSS_3.=
2'
../poppler/.libs/libpoppler.so: undefined reference to
`CERT_GetCommonName@NSS_3.2'
../poppler/.libs/libpoppler.so: undefined reference to
`CERT_PKIXVerifyCert@NSS_3.12'
../poppler/.libs/libpoppler.so: undefined reference to `PORT_GetError@NSS_3=
.2'
../poppler/.libs/libpoppler.so: undefined reference to
`NSS_CMSSignerInfo_GetSigningCertificate@NSS_3.2'
../poppler/.libs/libpoppler.so: undefined reference to
`CERT_GetClassicOCSPEnabledSoftFailurePolicy@NSS_3.12'
../poppler/.libs/libpoppler.so: undefined reference to
`CERT_NewTempCertificate@NSS_3.12'
../poppler/.libs/libpoppler.so: undefined reference to
`SECOID_FindOIDTag@NSS_3.2'
../poppler/.libs/libpoppler.so: undefined reference to `NSS_Init@NSS_3.2'
../poppler/.libs/libpoppler.so: undefined reference to
`NSS_CMSMessage_CreateFromDER@NSS_3.2'
../poppler/.libs/libpoppler.so: undefined reference to
`NSS_CMSSignedData_GetDigestAlgs@NSS_3.2'
../poppler/.libs/libpoppler.so: undefined reference to `HASH_Update@NSS_3.4'
../poppler/.libs/libpoppler.so: undefined reference to
`SECMOD_AddNewModule@NSS_3.3'
../poppler/.libs/libpoppler.so: undefined reference to `HASH_Destroy@NSS_3.=
4'
../poppler/.libs/libpoppler.so: undefined reference to
`NSS_CMSSignerInfo_GetSigningTime@NSS_3.2'
../poppler/.libs/libpoppler.so: undefined reference to `PORT_Alloc@NSS_3.2'
../poppler/.libs/libpoppler.so: undefined reference to
`CERT_GetDefaultCertDB@NSS_3.2'
../poppler/.libs/libpoppler.so: undefined reference to
`NSS_CMSSignerInfo_Destroy@NSS_3.2'
../poppler/.libs/libpoppler.so: undefined reference to
`NSS_CMSMessage_ContentLevel@NSS_3.2'
../poppler/.libs/libpoppler.so: undefined reference to
`CERT_DestroyCertificate@NSS_3.2'
../poppler/.libs/libpoppler.so: undefined reference to
`NSS_CMSSignedData_Destroy@NSS_3.2'
../poppler/.libs/libpoppler.so: undefined reference to
`SECITEM_FreeItem@NSS_3.2'
../poppler/.libs/libpoppler.so: undefined reference to
`NSS_CMSSignedData_GetSignerInfo@NSS_3.2'
../poppler/.libs/libpoppler.so: undefined reference to `HASH_End@NSS_3.4'
../poppler/.libs/libpoppler.so: undefined reference to
`NSS_CMSMessage_IsSigned@NSS_3.4'
../poppler/.libs/libpoppler.so: undefined reference to
`NSS_CMSContentInfo_GetContent@NSS_3.2'
../poppler/.libs/libpoppler.so: undefined reference to `PORT_Free@NSS_3.2'
../poppler/.libs/libpoppler.so: undefined reference to
`NSS_CMSSignerInfo_Verify@NSS_3.16'
../poppler/.libs/libpoppler.so: undefined reference to
`NSS_CMSMessage_Destroy@NSS_3.2'
../poppler/.libs/libpoppler.so: undefined reference to
`HASH_GetHashTypeByOidTag@NSS_3.8'
c++: error: linker command failed with exit code 1 (use -v to see invocatio=
n)
gmake[3]: *** [Makefile:522: pdf-fullrewrite] Error 1
gmake[3]: Leaving directory
'/construction/xports/graphics/poppler/work/poppler-0.57.0/test'
gmake[2]: *** [Makefile:654: all-recursive] Error 1
gmake[2]: Leaving directory
'/construction/xports/graphics/poppler/work/poppler-0.57.0'
gmake[1]: *** [Makefile:537: all] Error 2
gmake[1]: Leaving directory
'/construction/xports/graphics/poppler/work/poppler-0.57.0'
=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.
make: stopped in /xports/graphics/poppler

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



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