No package 'nss' found

Bug #2037907 reported by Clark
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
poppler (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Have installed poppler on several systems, but experience issues in some cases.

All the dependencies should be installed!

Distro: Debian Bullseye 11

# apt-get install libopenjp2-7-dev libfreetype6-dev libfontconfig1-dev libjpeg-dev libtiff5-dev
# cd /var/bin && wget https://poppler.freedesktop.org/poppler-23.09.0.tar.xz && tar -xvf poppler-23.09.0.tar.xz
# cd poppler-23.09.0 && mkdir build && cd build
# cmake ..

CMake Warning at CMakeLists.txt:95 (message):

   No test data found in $testdatadir.
   You will not be able to run 'make test' successfully.

   The test data is not included in the source packages
   and is also not part of the main git repository. Instead,
   you can checkout the test data from its own git
   repository with:

     git clone git://git.freedesktop.org/git/poppler/test

   You should checkout the test data as a sibling of your
   poppler source folder or specify the location of your
   checkout with -DTESTDATADIR=/path/to/checkoutdir/test.

-- Checking for module 'nss>=3.49'
-- No package 'nss' found
-- Could NOT find NSS3 (missing: NSS3_LIBRARIES NSS3_CFLAGS)
CMake Warning at cmake/modules/MacroOptionalFindPackage.cmake:32 (find_package):
  By not providing "FindGpgmepp.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "Gpgmepp", but
  CMake did not find one.

  Could not find a package configuration file provided by "Gpgmepp"
  (requested version 1.19) with any of the following names:

    GpgmeppConfig.cmake
    gpgmepp-config.cmake

  Add the installation prefix of "Gpgmepp" to CMAKE_PREFIX_PATH or set
  "Gpgmepp_DIR" to a directory containing one of the above files. If
  "Gpgmepp" provides a separate development package or SDK, be sure it has
  been installed.
Call Stack (most recent call first):
  CMakeLists.txt:158 (macro_optional_find_package)

CMake Warning at CMakeLists.txt:198 (find_package):
  By not providing "FindQt5Core.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "Qt5Core", but
  CMake did not find one.

  Could not find a package configuration file provided by "Qt5Core"
  (requested version 5.12) with any of the following names:

    Qt5CoreConfig.cmake
    qt5core-config.cmake

  Add the installation prefix of "Qt5Core" to CMAKE_PREFIX_PATH or set
  "Qt5Core_DIR" to a directory containing one of the above files. If
  "Qt5Core" provides a separate development package or SDK, be sure it has
  been installed.

CMake Warning at CMakeLists.txt:199 (find_package):
  By not providing "FindQt5Gui.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "Qt5Gui", but
  CMake did not find one.

  Could not find a package configuration file provided by "Qt5Gui" with any
  of the following names:

    Qt5GuiConfig.cmake
    qt5gui-config.cmake

  Add the installation prefix of "Qt5Gui" to CMAKE_PREFIX_PATH or set
  "Qt5Gui_DIR" to a directory containing one of the above files. If "Qt5Gui"
  provides a separate development package or SDK, be sure it has been
  installed.

CMake Warning at CMakeLists.txt:200 (find_package):
  By not providing "FindQt5Xml.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "Qt5Xml", but
  CMake did not find one.

  Could not find a package configuration file provided by "Qt5Xml" with any
  of the following names:

    Qt5XmlConfig.cmake
    qt5xml-config.cmake

  Add the installation prefix of "Qt5Xml" to CMAKE_PREFIX_PATH or set
  "Qt5Xml_DIR" to a directory containing one of the above files. If "Qt5Xml"
  provides a separate development package or SDK, be sure it has been
  installed.

CMake Warning at CMakeLists.txt:201 (find_package):
  By not providing "FindQt5Widgets.cmake" in CMAKE_MODULE_PATH this project
  has asked CMake to find a package configuration file provided by
  "Qt5Widgets", but CMake did not find one.

  Could not find a package configuration file provided by "Qt5Widgets" with
  any of the following names:

    Qt5WidgetsConfig.cmake
    qt5widgets-config.cmake

  Add the installation prefix of "Qt5Widgets" to CMAKE_PREFIX_PATH or set
  "Qt5Widgets_DIR" to a directory containing one of the above files. If
  "Qt5Widgets" provides a separate development package or SDK, be sure it has
  been installed.

CMake Warning at CMakeLists.txt:202 (find_package):
  By not providing "FindQt5Test.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "Qt5Test", but
  CMake did not find one.

  Could not find a package configuration file provided by "Qt5Test" with any
  of the following names:

    Qt5TestConfig.cmake
    qt5test-config.cmake

  Add the installation prefix of "Qt5Test" to CMAKE_PREFIX_PATH or set
  "Qt5Test_DIR" to a directory containing one of the above files. If
  "Qt5Test" provides a separate development package or SDK, be sure it has
  been installed.

-- Package Qt5Core or Qt5Gui or Qt5Xml or Qt5Widgets or Qt5Test not found
-- Package Qt6Core or Qt6Gui or Qt6Widgets or Qt6Test not found
-- Checking for module 'cairo>=1.16.0'
-- No package 'cairo' found
-- Could NOT find Boost (missing: Boost_INCLUDE_DIR) (Required is at least version "1.71.0")
CMake Error at CMakeLists.txt:225 (message):
  -- Boost recommended for Splash. Use ENABLE_BOOST=OFF to skip.

-- Configuring incomplete, errors occurred!
See also "/var/bin/poppler-23.09.0/build/CMakeFiles/CMakeOutput.log".

Revision history for this message
Phil Wyett (kathenas) wrote :

You state distro as Debian 11 (bullseye), so you need to be making bug reports on the Debian bug tracker.

https://www.debian.org/Bugs/

Note: You are trying to build out of distro upstream packages that are not supported by Debian. This is not supported.

Changed in poppler (Ubuntu):
status: New → Invalid
Revision history for this message
Clark (clark-3) wrote :

Hi Phil

What do you mean?

"Note: You are trying to build out of distro upstream packages that are not supported by Debian. This is not supported."

It works on one instance with Debian? But it doesn't work on all

Revision history for this message
Phil Wyett (kathenas) wrote :

You are trying to build an upstream release tarball, this is not supported. You can have many other non distro supplied packages installed. How can anyone tell, thus unsupported.

When reporting bugs on Ubuntu, be sure to specify the version you are working on. Be verbose but concise.

Revision history for this message
Clark (clark-3) wrote :

Where can I find help?

The old bug report is no longer maintained
https://bugs.freedesktop.org/buglist.cgi?product=poppler

Revision history for this message
Clark (clark-3) wrote :

https://www.debian.org/Bugs/ is just for debian

I need help to install poppler on debian which I don't think I can get help there

As said. I managed to install poppler on Debian with initial syntax.. I just need to know how to install the dependencies

Revision history for this message
Robert (rom2) wrote :

same problem when trying to compile version 24.01.0.

 No package 'nss' found
 Could NOT find NSS3 (missing: NSS3_LIBRARIES NSS3_CFLAGS) (Required is at least version "3.68")

But

sudo apt-get install libnss3
-> libnss3 is already the newest version (2:3.68.2-0ubuntu1.2).

Revision history for this message
Robert (rom2) wrote :

I tested version 23.12.0: same problem.
Thanks in advance for analyzing the problem.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.