<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - poppler 0.42.0 fails to link nss"
href="https://bugs.freedesktop.org/show_bug.cgi?id=94651">94651</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>poppler 0.42.0 fails to link nss
</td>
</tr>
<tr>
<th>Product</th>
<td>poppler
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>general
</td>
</tr>
<tr>
<th>Assignee</th>
<td>poppler-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>timo.gurr@gmail.com
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=122462" name="attach_122462" title="1458580579-install-app-text_poppler-0.42.0.log">attachment 122462</a> <a href="attachment.cgi?id=122462&action=edit" title="1458580579-install-app-text_poppler-0.42.0.log">[details]</a></span>
1458580579-install-app-text_poppler-0.42.0.log
When trying to build poppler 0.42.0 with the new NSS support it fails to link:
CMakeFiles/poppler.dir/poppler/FlateEncoder.cc.o
CMakeFiles/poppler.dir/poppler/SignatureHandler.cc.o
CMakeFiles/poppler.dir/poppler/JPXStream.cc.o -lfreetype -lfontconfig -ljpeg
-lz -lssl3 -lsmime3 -lnss3 -lnssutil3 -lsoftokn3 -lplds4 -lplc4 -lnspr4 -lpng
-lz -ltiff -lpthread -lssl3 -lsmime3 -lnss3 -lnssutil3 -lsoftokn3 -lplds4
-lplc4 -lnspr4 -lpng -ltiff -lpthread
CMakeFiles/poppler.dir/build.make:2914: recipe for target
'libpoppler.so.59.0.0' failed
make[2]: Leaving directory
'/var/tmp/paludis/build/app-text-poppler-0.42.0/work/build'
CMakeFiles/Makefile2:70: recipe for target 'CMakeFiles/poppler.dir/all' failed
make[1]: Leaving directory
'/var/tmp/paludis/build/app-text-poppler-0.42.0/work/build'
Makefile:141: recipe for target 'all' failed
/usr/x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu-ld: cannot find -lssl3
/usr/x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu-ld: cannot find -lsmime3
/usr/x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu-ld: cannot find -lnss3
/usr/x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu-ld: cannot find -lnssutil3
/usr/x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu-ld: cannot find -lsoftokn3
collect2: error: ld returned 1 exit status
make[2]: *** [libpoppler.so.59.0.0] Error 1
make[1]: *** [CMakeFiles/poppler.dir/all] Error 2
make: *** [all] Error 2
Also seen here: <a href="https://galileo.mailstation.de/jenkins/job/x11/1268/console">https://galileo.mailstation.de/jenkins/job/x11/1268/console</a>
and in the attached full build.log
Output of running:
$ x86_64-pc-linux-gnu-pkg-config --cflags --libs nss
-I/usr/x86_64-pc-linux-gnu/include/nss -I/usr/x86_64-pc-linux-gnu/include/nspr
-L/usr/x86_64-pc-linux-gnu/lib/nss -Wl,-R/usr/x86_64-pc-linux-gnu/lib/nss
-lssl3 -lsmime3 -lnss3 -lnssutil3 -lsoftokn3 -lplds4 -lplc4 -lnspr4</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>