Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. no package 'nss' found during build.
Qt 6.12 LTS is out! See what's new in the release blog

no package 'nss' found during build.

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
3 Posts 2 Posters 5.0k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    Randall 0
    wrote on last edited by
    #1

    After several hours of compiling QT-everywhere, this error came up:
    Could not run pkg-config.

    See //build/config/linux/nss/BUILD.gn:15:3: whence it was called.
    pkg_config("system_nss_no_ssl_config") {
    ^---------------------------------------
    See //crypto/BUILD.gn:214:25: which caused the file to be included.
    public_configs += [ "//build/config/linux/nss:system_nss_no_ssl_config" ]
    ^--------------------------------------------------
    Project ERROR: GN run error!
    make[3]: *** [Makefile:65: sub-gn_run-pro-make_first] Error 3
    make[3]: Leaving directory '/home/owner/Qt5.15.2/qtwebengine/src/pdf'
    make[2]: *** [Makefile:101: sub-pdf-make_first] Error 2
    make[2]: Leaving directory '/home/owner/Qt5.15.2/qtwebengine/src'
    make[1]: *** [Makefile:49: sub-src-make_first] Error 2
    make[1]: Leaving directory '/home/owner/Qt5.15.2/qtwebengine'
    make: *** [Makefile:1088: module-qtwebengine-make_first] Error 2
    owner@localhost:~/Qt5.15.2>

    Can someone please tell me how to fix this error? Thank you.

    raven-worxR 1 Reply Last reply
    0
    • R Randall 0

      After several hours of compiling QT-everywhere, this error came up:
      Could not run pkg-config.

      See //build/config/linux/nss/BUILD.gn:15:3: whence it was called.
      pkg_config("system_nss_no_ssl_config") {
      ^---------------------------------------
      See //crypto/BUILD.gn:214:25: which caused the file to be included.
      public_configs += [ "//build/config/linux/nss:system_nss_no_ssl_config" ]
      ^--------------------------------------------------
      Project ERROR: GN run error!
      make[3]: *** [Makefile:65: sub-gn_run-pro-make_first] Error 3
      make[3]: Leaving directory '/home/owner/Qt5.15.2/qtwebengine/src/pdf'
      make[2]: *** [Makefile:101: sub-pdf-make_first] Error 2
      make[2]: Leaving directory '/home/owner/Qt5.15.2/qtwebengine/src'
      make[1]: *** [Makefile:49: sub-src-make_first] Error 2
      make[1]: Leaving directory '/home/owner/Qt5.15.2/qtwebengine'
      make: *** [Makefile:1088: module-qtwebengine-make_first] Error 2
      owner@localhost:~/Qt5.15.2>

      Can someone please tell me how to fix this error? Thank you.

      raven-worxR Offline
      raven-worxR Offline
      raven-worx
      Moderators
      wrote on last edited by
      #2

      @Randall-0 said in no package 'nss' found during build.:

      Can someone please tell me how to fix this error? Thank you.

      install the missing dependency ;)
      Depending on your distribution for example: "apt install libnss3-dev"

      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
      If you have a question please use the forum so others can benefit from the solution in the future

      R 1 Reply Last reply
      1
      • raven-worxR raven-worx

        @Randall-0 said in no package 'nss' found during build.:

        Can someone please tell me how to fix this error? Thank you.

        install the missing dependency ;)
        Depending on your distribution for example: "apt install libnss3-dev"

        R Offline
        R Offline
        Randall 0
        wrote on last edited by
        #3

        @raven-worx Hi. I did specifically have all the nss I could find installed, but still failed the Qt5 v5.15.2 build.
        Here's what zypper lists:
        Name : libnss_slurm2-debuginfo
        Name : libnss_nis2
        Name : libnss_nis2-32bit
        Name : libnss_slurm2
        Name : libnss_usrfiles2
        Name : libnss_usrfiles2-32bit
        Name : libnsssharedhelper0
        Name : libnsssharedhelper0-32bit
        localhost:/home/owner # cat nss-comment
        owner@localhost:~> sudo zypper info nss | grep Name
        Looking specifically for "nss" shows 50 items, but not strictly "libnss"
        Name : libKF5DNSSD5
        Name : libKF5DNSSD5-lang
        Name : libxmlsec1-nss1
        Name : mozilla-nss
        Name : mozilla-nss-certs
        Name : nss-mdns
        Name : nss-mdns-32bit
        Name : libnss_slurm2-debuginfo
        Name : libvirt-nss-debuginfo
        Name : mozilla-nss-32bit-debuginfo
        Name : mozilla-nss-certs-32bit-debuginfo
        Name : mozilla-nss-certs-debuginfo
        Name : mozilla-nss-debuginfo
        Name : mozilla-nss-debugsource
        Name : mozilla-nss-sysinit-32bit-debuginfo
        Name : mozilla-nss-sysinit-debuginfo
        Name : mozilla-nss-tools-debuginfo
        Name : nss-myhostname-32bit-debuginfo
        Name : nss-myhostname-debuginfo
        Name : nss-mymachines-32bit-debuginfo
        Name : nss-mymachines-debuginfo
        Name : nss-systemd-debuginfo
        Name : apache2-mod_nss
        Name : libnss_nis2
        Name : libnss_nis2-32bit
        Name : libnss_slurm2
        Name : libnss_usrfiles2
        Name : libnss_usrfiles2-32bit
        Name : libnsssharedhelper0
        Name : libnsssharedhelper0-32bit
        Name : mozilla-nss-32bit
        Name : mozilla-nss-certs-32bit
        Name : mozilla-nss-devel
        Name : mozilla-nss-sysinit
        Name : mozilla-nss-sysinit-32bit
        Name : mozilla-nss-tools
        Name : nss-myhostname
        Name : nss-myhostname-32bit
        Name : nss-mymachines
        Name : nss-mymachines-32bit
        Name : nss-pam-ldapd
        Name : nss-pam-ldapd-32bit
        Name : nss-shared-helper-devel
        Name : nss-systemd
        Name : nss_ldap
        Name : nss_ldap-32bit
        Name : nss_wrapper
        Name : python2-nss
        Name : python3-nss
        Name : xmlsec1-nss-devel
        but even searching on the build opensuse page for libnss fails to turn it up specifically. See https://build.opensuse.org/search?search_text=libnss, so I am left to guess whether or not the nss package which Qt5 expects to find has been provided by the openSuse repositories.

        1 Reply Last reply
        1

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt
        • Unsolved