https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=228540

            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-b...@freebsd.org
          Reporter: r...@kaba1ah.org
                CC: ge...@freebsd.org, gn...@freebsd.org
                CC: ge...@freebsd.org, gn...@freebsd.org

Hello,

# uname -a
FreeBSD SRV-SYNTH 11.1-RELEASE-p8 FreeBSD 11.1-RELEASE-p8 #0 r330926: Wed Mar
14 15:26:58 CET 2018     r00t@SRV-SYNTH:/usr/obj/usr/src/sys/BSD112017110501PHY
 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 updated
to 3.37.1:

...
/bin/sh ../libtool  --tag=CXX   --mode=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=c++11  -fstack-protector -o pdf-fullrewrite
pdf-fullrewrite.o ../utils/libparseargs.la ../poppler/libpoppler.la -lz
-L/usr/local/lib
/bin/sh ../libtool  --tag=CXX   --mode=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=c++11  -fstack-protector -o perf-test perf-test.o
perf-test-preview-dummy.o ../poppler/libpoppler.la -L/usr/local/lib -lfreetype 
 -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=c++11 -fstack-protector -o
.libs/perf-test perf-test.o perf-test-preview-dummy.o 
../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=c++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.so,
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.so,
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 invocation)
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 invocation)
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'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make: stopped in /xports/graphics/poppler

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
freebsd-gecko@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-gecko
To unsubscribe, send any mail to "freebsd-gecko-unsubscr...@freebsd.org"

Reply via email to