[Poppler-bugs] [Bug 94360] New: Build failure in GNOME Continuous

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Mar 2 03:47:52 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=94360

            Bug ID: 94360
           Summary: Build failure in GNOME Continuous
           Product: poppler
           Version: unspecified
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: general
          Assignee: poppler-bugs at lists.freedesktop.org
          Reporter: ebassi at gmail.com

Poppler fails to build from Git in the GNOME Continuous automated build with
this error:

In file included from ../../poppler/SignatureHandler.cc:16:0:
../../poppler/SignatureHandler.h:20:24: fatal error: nspr/prprf.h: No such file
or directory
 #include <nspr/prprf.h>
                        ^
compilation terminated.
Makefile:1100: recipe for target 'libpoppler_la-SignatureHandler.lo' failed
make[3]: *** [libpoppler_la-SignatureHandler.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
mv -f .deps/libpoppler_la-FontEncodingTables.Tpo
.deps/libpoppler_la-FontEncodingTables.Plo
In file included from ../../poppler/Form.cc:43:0:
../../poppler/SignatureHandler.h:20:24: fatal error: nspr/prprf.h: No such file
or directory
 #include <nspr/prprf.h>
                        ^
compilation terminated.
mv -f .deps/libpoppler_la-BuiltinFont.Tpo .deps/libpoppler_la-BuiltinFont.Plo
Makefile:1233: recipe for target 'libpoppler_la-Form.lo' failed
make[3]: *** [libpoppler_la-Form.lo] Error 1

The include path is wrong. NSS support is detected via pkg-config, which adds:

  -I/usr/include/nss3 -I/usr/include/nspr4

to the inclusion paths. The prprf.h header is located under /usr/include/nspr4.
Ideally, you should *not* include prprf.h directly, and instead include
<nspr.h> instead, which includes the right headers.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/poppler-bugs/attachments/20160302/2fd049ce/attachment.html>


More information about the Poppler-bugs mailing list