Uploaded image for project: 'Funtoo Linux'
  1. Funtoo Linux
  2. FL-11964

[net-kit] autogen `net-misc/chrony` and fix `DEPEND`

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • None
    • None

      In a container, I've installed chronyd and its dependencies with `emerge -e chronyd`, and copied all of the files to a new rootfs.  The purpose of this exercise was to create a "minified" chronyd container based on Funtoo.  The same procedure works as expected with other packages, e.g. `dnsmasq`.  When I start `chronyd` in the new container, I see

       

      /usr/sbin/chronyd: error while loading shared libraries: libgnutls.so.30: cannot open shared object file: No such file or directory

      The dependency variables in `/var/git/meta-repo/kits/net-kit/net-misc/chrony/chrony-4.0.ebuild` look like the following:

       

      CDEPEND=" 
             caps? ( sys-libs/libcap ) 
             libedit? ( dev-libs/libedit ) 
             nettle? ( dev-libs/nettle:= ) 
             seccomp? ( sys-libs/libseccomp ) 
      " 
      DEPEND=" 
             ${CDEPEND} 
             html? ( dev-ruby/asciidoctor ) 
             pps? ( net-misc/pps-tools ) 
      " 
      RDEPEND=" 
             ${CDEPEND} 
             selinux? ( sec-policy/selinux-chronyd ) 
      "

      Seems like we need to add `net-libs/gnutls` as a dependency.  I guess that nobody has observed this problem yet because the stage3 has `gnutls` installed.

            cuantar cuantar
            cuantar cuantar
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: