<div><br></div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Feb 8, 2020 at 12:41 PM akuster808 &lt;<a href="mailto:akuster808@gmail.com">akuster808@gmail.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<br>
On 2/8/20 11:01 AM, Khem Raj wrote:<br>
&gt; On Fri, Feb 7, 2020 at 11:47 AM Alexander Kanavin<br>
&gt; &lt;<a href="mailto:alex.kanavin@gmail.com" target="_blank">alex.kanavin@gmail.com</a>&gt; wrote:<br>
&gt;&gt; chkconfig is one of the options for virtual/update-alternatives,<br>
&gt;&gt; however opkg-utils have been used as the default for a very long time,<br>
&gt;&gt; while chkconfig isn&#39;t anymore tested in any way, and is stuck<br>
&gt;&gt; at a very old version due to newer versions requiring selinux.<br>
&gt;&gt;<br>
&gt; there are recipes in other layers depending on it. e.g. see<br>
&gt;<br>
&gt; 09:40:46 ERROR: Nothing RPROVIDES &#39;chkconfig&#39; (but<br>
&gt; /mnt/jenkins/workspace/Yocto-world-clang/sources/meta-openembedded/meta-oe/recipes-graphics/tigervnc/<a href="http://tigervnc_1.10.1.bb" rel="noreferrer" target="_blank">tigervnc_1.10.1.bb</a><br>
&gt; RDEPENDS on or otherwise requires it)<br>
&gt; 09:40:48 ERROR: Nothing RPROVIDES &#39;tigervnc-dev&#39; (but<br>
&gt; /mnt/jenkins/workspace/Yocto-world-clang/sources/meta-openembedded/meta-oe/recipes-graphics/tigervnc/<a href="http://tigervnc_1.10.1.bb" rel="noreferrer" target="_blank">tigervnc_1.10.1.bb</a><br>
&gt; RDEPENDS on or otherwise requires it)<br>
&gt; 09:40:48 No eligible RPROVIDERs exist for &#39;tigervnc-dev&#39;<br>
<br>
Should it move to meta-oe then?</blockquote><div dir="auto"><br></div><div dir="auto">I would prefer to remove the dep instead</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
&gt;<br>
&gt;<br>
&gt;&gt; [YOCTO #11264]<br>
&gt;&gt;<br>
&gt;&gt; Signed-off-by: Alexander Kanavin &lt;<a href="mailto:alex.kanavin@gmail.com" target="_blank">alex.kanavin@gmail.com</a>&gt;<br>
&gt;&gt; ---<br>
&gt;&gt;  meta/conf/distro/include/maintainers.inc      |  2 -<br>
&gt;&gt;  .../packagegroups/<a href="http://packagegroup-self-hosted.bb" rel="noreferrer" target="_blank">packagegroup-self-hosted.bb</a> |  1 -<br>
&gt;&gt;  .../<a href="http://chkconfig-alternatives-native_1.3.59.bb" rel="noreferrer" target="_blank">chkconfig-alternatives-native_1.3.59.bb</a>   | 44 ------------<br>
&gt;&gt;  .../chkconfig/chkconfig/replace_caddr_t.patch | 33 ---------<br>
&gt;&gt;  .../chkconfig/<a href="http://chkconfig_1.3.58.bb" rel="noreferrer" target="_blank">chkconfig_1.3.58.bb</a>             | 71 -------------------<br>
&gt;&gt;  5 files changed, 151 deletions(-)<br>
&gt;&gt;  delete mode 100644 meta/recipes-extended/chkconfig/<a href="http://chkconfig-alternatives-native_1.3.59.bb" rel="noreferrer" target="_blank">chkconfig-alternatives-native_1.3.59.bb</a><br>
&gt;&gt;  delete mode 100644 meta/recipes-extended/chkconfig/chkconfig/replace_caddr_t.patch<br>
&gt;&gt;  delete mode 100644 meta/recipes-extended/chkconfig/<a href="http://chkconfig_1.3.58.bb" rel="noreferrer" target="_blank">chkconfig_1.3.58.bb</a><br>
&gt;&gt;<br>
&gt;&gt; diff --git a/meta/conf/distro/include/maintainers.inc b/meta/conf/distro/include/maintainers.inc<br>
&gt;&gt; index a80e85a2f6..c68e9edf63 100644<br>
&gt;&gt; --- a/meta/conf/distro/include/maintainers.inc<br>
&gt;&gt; +++ b/meta/conf/distro/include/maintainers.inc<br>
&gt;&gt; @@ -94,8 +94,6 @@ RECIPE_MAINTAINER_pn-cairo = &quot;Anuj Mittal &lt;<a href="mailto:anuj.mittal@intel.com" target="_blank">anuj.mittal@intel.com</a>&gt;&quot;<br>
&gt;&gt;  RECIPE_MAINTAINER_pn-cantarell-fonts = &quot;Alexander Kanavin &lt;<a href="mailto:alex.kanavin@gmail.com" target="_blank">alex.kanavin@gmail.com</a>&gt;&quot;<br>
&gt;&gt;  RECIPE_MAINTAINER_pn-ccache = &quot;Robert Yang &lt;<a href="mailto:liezhi.yang@windriver.com" target="_blank">liezhi.yang@windriver.com</a>&gt;&quot;<br>
&gt;&gt;  RECIPE_MAINTAINER_pn-cdrtools-native = &quot;Yi Zhao &lt;<a href="mailto:yi.zhao@windriver.com" target="_blank">yi.zhao@windriver.com</a>&gt;&quot;<br>
&gt;&gt; -RECIPE_MAINTAINER_pn-chkconfig = &quot;Yi Zhao &lt;<a href="mailto:yi.zhao@windriver.com" target="_blank">yi.zhao@windriver.com</a>&gt;&quot;<br>
&gt;&gt; -RECIPE_MAINTAINER_pn-chkconfig-alternatives-native = &quot;Yi Zhao &lt;<a href="mailto:yi.zhao@windriver.com" target="_blank">yi.zhao@windriver.com</a>&gt;&quot;<br>
&gt;&gt;  RECIPE_MAINTAINER_pn-chrpath = &quot;Yi Zhao &lt;<a href="mailto:yi.zhao@windriver.com" target="_blank">yi.zhao@windriver.com</a>&gt;&quot;<br>
&gt;&gt;  RECIPE_MAINTAINER_pn-clutter-1.0 = &quot;Ross Burton &lt;<a href="mailto:ross.burton@intel.com" target="_blank">ross.burton@intel.com</a>&gt;&quot;<br>
&gt;&gt;  RECIPE_MAINTAINER_pn-clutter-gst-3.0 = &quot;Ross Burton &lt;<a href="mailto:ross.burton@intel.com" target="_blank">ross.burton@intel.com</a>&gt;&quot;<br>
&gt;&gt; diff --git a/meta/recipes-core/packagegroups/<a href="http://packagegroup-self-hosted.bb" rel="noreferrer" target="_blank">packagegroup-self-hosted.bb</a> b/meta/recipes-core/packagegroups/<a href="http://packagegroup-self-hosted.bb" rel="noreferrer" target="_blank">packagegroup-self-hosted.bb</a><br>
&gt;&gt; index ea6d567301..9a70b189a4 100644<br>
&gt;&gt; --- a/meta/recipes-core/packagegroups/<a href="http://packagegroup-self-hosted.bb" rel="noreferrer" target="_blank">packagegroup-self-hosted.bb</a><br>
&gt;&gt; +++ b/meta/recipes-core/packagegroups/<a href="http://packagegroup-self-hosted.bb" rel="noreferrer" target="_blank">packagegroup-self-hosted.bb</a><br>
&gt;&gt; @@ -108,7 +108,6 @@ RDEPENDS_packagegroup-self-hosted-debug = &quot; \<br>
&gt;&gt;<br>
&gt;&gt;  RDEPENDS_packagegroup-self-hosted-extended = &quot;\<br>
&gt;&gt;      bzip2 \<br>
&gt;&gt; -    chkconfig \<br>
&gt;&gt;      chrpath \<br>
&gt;&gt;      cpio \<br>
&gt;&gt;      curl \<br>
&gt;&gt; diff --git a/meta/recipes-extended/chkconfig/<a href="http://chkconfig-alternatives-native_1.3.59.bb" rel="noreferrer" target="_blank">chkconfig-alternatives-native_1.3.59.bb</a> b/meta/recipes-extended/chkconfig/<a href="http://chkconfig-alternatives-native_1.3.59.bb" rel="noreferrer" target="_blank">chkconfig-alternatives-native_1.3.59.bb</a><br>
&gt;&gt; deleted file mode 100644<br>
&gt;&gt; index 87fa8eb605..0000000000<br>
&gt;&gt; --- a/meta/recipes-extended/chkconfig/<a href="http://chkconfig-alternatives-native_1.3.59.bb" rel="noreferrer" target="_blank">chkconfig-alternatives-native_1.3.59.bb</a><br>
&gt;&gt; +++ /dev/null<br>
&gt;&gt; @@ -1,44 +0,0 @@<br>
&gt;&gt; -require recipes-extended/chkconfig/<a href="http://chkconfig_1.3.58.bb" rel="noreferrer" target="_blank">chkconfig_1.3.58.bb</a><br>
&gt;&gt; -<br>
&gt;&gt; -SUMMARY = &quot;${SUMMARY_chkconfig-alternatives}&quot;<br>
&gt;&gt; -DESCRIPTION = &quot;${DESCRIPTION_chkconfig-alternatives}&quot;<br>
&gt;&gt; -DEPENDS = &quot;&quot;<br>
&gt;&gt; -PROVIDES += &quot;virtual/update-alternatives-native&quot;<br>
&gt;&gt; -LIC_FILES_CHKSUM = &quot;file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263&quot;<br>
&gt;&gt; -<br>
&gt;&gt; -# The sysroot branch is 1.3.59 + some git commits from master + --sysroot<br>
&gt;&gt; -# support for alternatives.<br>
&gt;&gt; -SRC_URI = &quot;git://<a href="http://github.com/kergoth/chkconfig;branch=sysroot" rel="noreferrer" target="_blank">github.com/kergoth/chkconfig;branch=sysroot</a>&quot;<br>
&gt;&gt; -S = &quot;${WORKDIR}/git&quot;<br>
&gt;&gt; -UPSTREAM_CHECK_GITTAGREGEX = &quot;chkconfig-(?P&lt;pver&gt;(\d+(\.\d+)+))&quot;<br>
&gt;&gt; -<br>
&gt;&gt; -SRCREV = &quot;cd437ecbd8986c894442f8fce1e0061e20f04dee&quot;<br>
&gt;&gt; -PV = &quot;1.3.59+${SRCPV}&quot;<br>
&gt;&gt; -<br>
&gt;&gt; -inherit native<br>
&gt;&gt; -<br>
&gt;&gt; -# We want our native recipes to build using the target paths rather than paths<br>
&gt;&gt; -# into the sysroot, as we may use them to construct the rootfs. As such, we<br>
&gt;&gt; -# only adjust the paths to match the metadata for the target, not native.<br>
&gt;&gt; -obey_variables () {<br>
&gt;&gt; -       sed -i &#39;s,ALTERNATIVES_ROOT,OPKG_OFFLINE_ROOT,&#39; ${S}/alternatives.c<br>
&gt;&gt; -}<br>
&gt;&gt; -<br>
&gt;&gt; -do_compile () {<br>
&gt;&gt; -       oe_runmake alternatives<br>
&gt;&gt; -}<br>
&gt;&gt; -<br>
&gt;&gt; -do_install () {<br>
&gt;&gt; -       install -d ${D}${sysconfdir}/alternatives \<br>
&gt;&gt; -                  ${D}${localstatedir}/lib/alternatives<br>
&gt;&gt; -<br>
&gt;&gt; -       install -D -m 0755 alternatives ${D}${bindir}/alternatives<br>
&gt;&gt; -       install -D -m 0644 alternatives.8 ${D}${mandir}/man8/alternatives.8<br>
&gt;&gt; -<br>
&gt;&gt; -       ln -s alternatives ${D}${bindir}/update-alternatives<br>
&gt;&gt; -       ln -s alternatives.8 ${D}${mandir}/man8/update-alternatives.8<br>
&gt;&gt; -}<br>
&gt;&gt; -<br>
&gt;&gt; -do_install_append_linuxstdbase() {<br>
&gt;&gt; -       rm -rf ${D}${libdir}/lsb<br>
&gt;&gt; -}<br>
&gt;&gt; diff --git a/meta/recipes-extended/chkconfig/chkconfig/replace_caddr_t.patch b/meta/recipes-extended/chkconfig/chkconfig/replace_caddr_t.patch<br>
&gt;&gt; deleted file mode 100644<br>
&gt;&gt; index 96d1938791..0000000000<br>
&gt;&gt; --- a/meta/recipes-extended/chkconfig/chkconfig/replace_caddr_t.patch<br>
&gt;&gt; +++ /dev/null<br>
&gt;&gt; @@ -1,33 +0,0 @@<br>
&gt;&gt; -caddr_t is a legacy BSD type which was rejected by the POSIX standard.<br>
&gt;&gt; -Use void * instead.<br>
&gt;&gt; -<br>
&gt;&gt; -sys/unitstd.h is not needed and moreover its not available on all C library<br>
&gt;&gt; -implementations e.g. musl<br>
&gt;&gt; -<br>
&gt;&gt; -Upstream-Status: Pending<br>
&gt;&gt; -Signed-off-by: Khem Raj &lt;<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>&gt;<br>
&gt;&gt; -Index: chkconfig-1.3.58/alternatives.c<br>
&gt;&gt; -===================================================================<br>
&gt;&gt; ---- chkconfig-1.3.58.orig/alternatives.c<br>
&gt;&gt; -+++ chkconfig-1.3.58/alternatives.c<br>
&gt;&gt; -@@ -22,7 +22,6 @@<br>
&gt;&gt; - #include &lt;stdio.h&gt;<br>
&gt;&gt; - #include &lt;string.h&gt;<br>
&gt;&gt; - #include &lt;sys/stat.h&gt;<br>
&gt;&gt; --#include &lt;sys/unistd.h&gt;<br>
&gt;&gt; - #include &lt;unistd.h&gt;<br>
&gt;&gt; -<br>
&gt;&gt; - #define       FLAGS_TEST      (1 &lt;&lt; 0)<br>
&gt;&gt; -Index: chkconfig-1.3.58/leveldb.c<br>
&gt;&gt; -===================================================================<br>
&gt;&gt; ---- chkconfig-1.3.58.orig/leveldb.c<br>
&gt;&gt; -+++ chkconfig-1.3.58/leveldb.c<br>
&gt;&gt; -@@ -442,7 +442,7 @@ int parseServiceInfo(int fd, char * name<br>
&gt;&gt; -     fstat(fd, &amp;sb);<br>
&gt;&gt; -<br>
&gt;&gt; -     bufstart = mmap(NULL, sb.st_size, PROT_READ, MAP_SHARED, fd, 0);<br>
&gt;&gt; --    if (bufstart == ((caddr_t) -1)) {<br>
&gt;&gt; -+    if (bufstart == ((void*) -1)) {<br>
&gt;&gt; -       close(fd);<br>
&gt;&gt; -       return -1;<br>
&gt;&gt; -     }<br>
&gt;&gt; diff --git a/meta/recipes-extended/chkconfig/<a href="http://chkconfig_1.3.58.bb" rel="noreferrer" target="_blank">chkconfig_1.3.58.bb</a> b/meta/recipes-extended/chkconfig/<a href="http://chkconfig_1.3.58.bb" rel="noreferrer" target="_blank">chkconfig_1.3.58.bb</a><br>
&gt;&gt; deleted file mode 100644<br>
&gt;&gt; index d21dd69704..0000000000<br>
&gt;&gt; --- a/meta/recipes-extended/chkconfig/<a href="http://chkconfig_1.3.58.bb" rel="noreferrer" target="_blank">chkconfig_1.3.58.bb</a><br>
&gt;&gt; +++ /dev/null<br>
&gt;&gt; @@ -1,71 +0,0 @@<br>
&gt;&gt; -SUMMARY = &quot;A system tool for maintaining the /etc/rc*.d hierarchy&quot;<br>
&gt;&gt; -DESCRIPTION = &quot;Chkconfig is a basic system utility.  It updates and queries runlevel \<br>
&gt;&gt; -information for system services.  Chkconfig manipulates the numerous \<br>
&gt;&gt; -symbolic links in /etc/rc.d, to relieve system administrators of some \<br>
&gt;&gt; -of the drudgery of manually editing the symbolic links.&quot;<br>
&gt;&gt; -<br>
&gt;&gt; -RECIPE_NO_UPDATE_REASON = &quot;Version 1.5 requires selinux&quot;<br>
&gt;&gt; -<br>
&gt;&gt; -HOMEPAGE = &quot;<a href="https://github.com/fedora-sysv" rel="noreferrer" target="_blank">https://github.com/fedora-sysv</a>&quot;<br>
&gt;&gt; -<br>
&gt;&gt; -LICENSE = &quot;GPLv2&quot;<br>
&gt;&gt; -LIC_FILES_CHKSUM = &quot;file://COPYING;md5=5574c6965ae5f583e55880e397fbb018&quot;<br>
&gt;&gt; -<br>
&gt;&gt; -DEPENDS = &quot;libnewt popt&quot;<br>
&gt;&gt; -PROVIDES += &quot;virtual/update-alternatives&quot;<br>
&gt;&gt; -<br>
&gt;&gt; -PR = &quot;r7&quot;<br>
&gt;&gt; -<br>
&gt;&gt; -S = &quot;${WORKDIR}/${BPN}-${BPN}-${PV}&quot;<br>
&gt;&gt; -<br>
&gt;&gt; -SRC_URI = &quot;git://<a href="http://github.com/fedora-sysv/chkconfig.git" rel="noreferrer" target="_blank">github.com/fedora-sysv/chkconfig.git</a> \<br>
&gt;&gt; -           file://replace_caddr_t.patch \<br>
&gt;&gt; -          &quot;<br>
&gt;&gt; -<br>
&gt;&gt; -SRCREV = &quot;3e0b3909ff6328d232b27b9c32f1a9309c6cd0a4&quot;<br>
&gt;&gt; -UPSTREAM_CHECK_GITTAGREGEX = &quot;(?P&lt;pver&gt;\d+(\.\d+)+)&quot;<br>
&gt;&gt; -<br>
&gt;&gt; -S = &quot;${WORKDIR}/git&quot;<br>
&gt;&gt; -<br>
&gt;&gt; -inherit gettext<br>
&gt;&gt; -<br>
&gt;&gt; -# Makefile uses RPM_OPT_FLAGS to construct CFLAGS<br>
&gt;&gt; -#<br>
&gt;&gt; -EXTRA_OEMAKE = &quot;\<br>
&gt;&gt; -    &#39;RPM_OPT_FLAGS=${CFLAGS}&#39; \<br>
&gt;&gt; -    &#39;LDFLAGS=${LDFLAGS}&#39; \<br>
&gt;&gt; -    &#39;BINDIR=${base_sbindir}&#39; \<br>
&gt;&gt; -    &#39;SBINDIR=${sbindir}&#39; \<br>
&gt;&gt; -    &#39;MANDIR=${mandir}&#39; \<br>
&gt;&gt; -    &#39;ALTDIR=${localstatedir}/lib/alternatives&#39; \<br>
&gt;&gt; -    &#39;ALTDATADIR=${sysconfdir}/alternatives&#39; \<br>
&gt;&gt; -&quot;<br>
&gt;&gt; -<br>
&gt;&gt; -do_unpack[postfuncs] += &quot;obey_variables&quot;<br>
&gt;&gt; -do_unpack[vardeps] += &quot;obey_variables&quot;<br>
&gt;&gt; -obey_variables () {<br>
&gt;&gt; -       sed -i -e &#39;s,/etc,${sysconfdir},; s,/lib/systemd,${base_libdir}/systemd,&#39; ${S}/leveldb.h<br>
&gt;&gt; -       sed -i -e &#39;s,/etc/alternatives,${sysconfdir}/alternatives,&#39; \<br>
&gt;&gt; -              -e &#39;s,/var/lib/alternatives,${localstatedir}/lib/alternatives,&#39; \<br>
&gt;&gt; -              -e &#39;s,/usr/share/locale,${datadir}/locale,&#39; ${S}/alternatives.c<br>
&gt;&gt; -}<br>
&gt;&gt; -<br>
&gt;&gt; -do_install() {<br>
&gt;&gt; -       oe_runmake &#39;DESTDIR=${D}&#39; &#39;INSTALLNLSDIR=${D}${datadir}/locale&#39; \<br>
&gt;&gt; -               &#39;BINDIR=${sbindir}&#39; install<br>
&gt;&gt; -       install -d ${D}${sysconfdir}/chkconfig.d<br>
&gt;&gt; -}<br>
&gt;&gt; -<br>
&gt;&gt; -PACKAGES =+ &quot;${PN}-alternatives ${PN}-alternatives-doc&quot;<br>
&gt;&gt; -SUMMARY_${PN}-alternatives = &quot;Maintain symbolic links determining default commands&quot;<br>
&gt;&gt; -DESCRIPTION_${PN}-alternatives = &quot;alternatives creates, removes, maintains and displays \<br>
&gt;&gt; -information about the symbolic links comprising the alternatives system.&quot;<br>
&gt;&gt; -SUMMARY_${PN}-alternatives-doc = &quot;${SUMMARY_${PN}-alternatives} - Documentation files&quot;<br>
&gt;&gt; -DESCRIPTION_${PN}-alternatives-doc = &quot;${DESCRIPTION_${PN}-alternatives}  \<br>
&gt;&gt; -This package contains documentation.&quot;<br>
&gt;&gt; -RPROVIDES_${PN}-alternatives += &quot;update-alternatives&quot;<br>
&gt;&gt; -RCONFLICTS_${PN}-alternatives = &quot;update-alternatives-opkg update-alternatives-dpkg&quot;<br>
&gt;&gt; -FILES_${PN}-alternatives = &quot;${sbindir}/alternatives ${sbindir}/update-alternatives \<br>
&gt;&gt; -                           ${sysconfdir}/alternatives ${localstatedir}/lib/alternatives&quot;<br>
&gt;&gt; -FILES_${PN}-alternatives-doc = &quot;${mandir}/man8/alternatives.8 \<br>
&gt;&gt; -                                ${mandir}/man8/update-alternatives.8&quot;<br>
&gt;&gt; --<br>
&gt;&gt; 2.25.0<br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; Openembedded-core mailing list<br>
&gt;&gt; <a href="mailto:Openembedded-core@lists.openembedded.org" target="_blank">Openembedded-core@lists.openembedded.org</a><br>
&gt;&gt; <a href="http://lists.openembedded.org/mailman/listinfo/openembedded-core" rel="noreferrer" target="_blank">http://lists.openembedded.org/mailman/listinfo/openembedded-core</a><br>
<br>
</blockquote></div></div>