Skip to contentSkip to conversation

documentation: add rpcgen to FEDORA_HOST_PACKAGES_ESSENTIAL

PATCH Superseded [email protected] 2 participants 4 messages Mar 19, 2020 – Mar 21, 2020 1 message not in the archive

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 documentation: add rpcgen to FEDORA_HOST_PACKAGES_ESSENTIAL

On Fedora 30 and 31 the following error appears without rpcgen package:
ERROR: The following required tools (as specified by HOSTTOOLS) appear to be unavailable in PATH, please install them in order to proceed:
rpcgen

---
 documentation/poky.ent | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
documentation/poky.ent +1 -1
index 581c87679..fba2a9123 100755
@@ -65,7 +65,7 @@
      diffutils diffstat git cpp gcc gcc-c++ glibc-devel texinfo chrpath \
      ccache perl-Data-Dumper perl-Text-ParseWords perl-Thread-Queue perl-bignum socat \
      python3-pexpect findutils which file cpio python python3-pip xz python3-GitPython \
-     python3-jinja2 SDL-devel xterm">
+     python3-jinja2 SDL-devel xterm rpcgen">
 <!ENTITY OPENSUSE_HOST_PACKAGES_ESSENTIAL "python gcc gcc-c++ git chrpath make wget python-xml \
      diffstat makeinfo python-curses patch socat python3 python3-curses tar python3-pip \
      python3-pexpect xz which python3-Jinja2 Mesa-libEGL1
Signature · 1 line
2.21.1
#1 lore raw
Quoted 14 lines · Goran Cengic

On Fedora 30 and 31 the following error appears without rpcgen package:
ERROR: The following required tools (as specified by HOSTTOOLS) appear to be unavailable in PATH, please install them in order to proceed:
rpcgen

---
  documentation/poky.ent | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
documentation/poky.ent +0 -0
index 581c87679..fba2a9123 100755

documentation/poky.ent line 68

Quoted 5 lines
documentation/poky.ent +1 -1
@@ -65,7 +65,7 @@
       diffutils diffstat git cpp gcc gcc-c++ glibc-devel texinfo chrpath \
       ccache perl-Data-Dumper perl-Text-ParseWords perl-Thread-Queue perl-bignum socat \
       python3-pexpect findutils which file cpio python python3-pip xz python3-GitPython \
-     python3-jinja2 SDL-devel xterm">
+     python3-jinja2 SDL-devel xterm rpcgen">

Thats good. We also want to add rpcsvc-proto for suse based distros for same.

Quoted 7 lines
documentation/poky.ent +0 -0
  <!ENTITY OPENSUSE_HOST_PACKAGES_ESSENTIAL "python gcc gcc-c++ git chrpath make wget python-xml \
       diffstat makeinfo python-curses patch socat python3 python3-curses tar python3-pip \
       python3-pexpect xz which python3-Jinja2 Mesa-libEGL1
#2 lore raw
Quoted 22 lines · Khem Raj
Quoted 2 lines · Goran Cengic

On Fedora 30 and 31 the following error appears without rpcgen package:
ERROR: The following required tools (as specified by HOSTTOOLS) appear

to be unavailable in PATH, please install them in order to proceed:

Quoted 12 lines

    rpcgen

---
   documentation/poky.ent | 2 +-

   1 file changed, 1 insertion(+), 1 deletion(-)
documentation/poky.ent +0 -0
index 581c87679..fba2a9123 100755
@@ -65,7 +65,7 @@
Quoted 1 line

        diffutils diffstat git cpp gcc gcc-c++ glibc-devel texinfo

chrpath \

Quoted 1 line

        ccache perl-Data-Dumper perl-Text-ParseWords perl-Thread-Queue

Quoted 8 lines

perl-bignum socat \

Quoted 1 line

        python3-pexpect findutils which file cpio python python3-pip xz

python3-GitPython \

Quoted 2 lines

-     python3-jinja2 SDL-devel xterm">
+     python3-jinja2 SDL-devel xterm rpcgen">

Thats good. We also want to add rpcsvc-proto for suse based distros for same.

I found that rpcsvc-proto does not require rpcgen so I added the rpcgen package for the suse based distros as well (see patch v3). I'm not sure that the rpcsvc-proto headers are required on the host since there is a recipe providing them in case they are needed for a build.

If the headers are also required we can add rpcsvc-proto-devel for fedora based distros and rpcsvc-proto for suse based distros as well.

On Fedora the lib package, libtirpc, is already installed by default.

Quoted 13 lines
Quoted 5 lines

   <!ENTITY OPENSUSE_HOST_PACKAGES_ESSENTIAL "python gcc gcc-c++ git

chrpath make wget python-xml \

Quoted 1 line

        diffstat makeinfo python-curses patch socat python3

python3-curses tar python3-pip \

Quoted 5 lines

        python3-pexpect xz which python3-Jinja2 Mesa-libEGL1

#4 lore raw
In reply to a message not in the archive
Quoted 35 lines · Goran Cengic

[Edited Message Follows]

On Fri, Mar 20, 2020 at 6:55 PM Khem Raj <[email protected] <mailto:[email protected]>> wrote:

On 3/19/20 4:23 PM, Goran Cengic wrote:
> On Fedora 30 and 31 the following error appears without rpcgen
package:
> ERROR: The following required tools (as specified by HOSTTOOLS)
appear to be unavailable in PATH, please install them in order to proceed:
>    rpcgen
>
> Signed-off-by: Goran Cengic <[email protected]
<mailto:[email protected]>>
> ---
>   documentation/poky.ent | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/documentation/poky.ent b/documentation/poky.ent > index 581c87679..fba2a9123 100755
> --- a/documentation/poky.ent
> +++ b/documentation/poky.ent
> @@ -65,7 +65,7 @@
>        diffutils diffstat git cpp gcc gcc-c++ glibc-devel texinfo
chrpath \
>        ccache perl-Data-Dumper perl-Text-ParseWords
perl-Thread-Queue perl-bignum socat \
>        python3-pexpect findutils which file cpio python
python3-pip xz python3-GitPython \
> -     python3-jinja2 SDL-devel xterm">
> +     python3-jinja2 SDL-devel xterm rpcgen">

Quoted 6 lines

Thats good. We also want to add rpcsvc-proto for suse based distros for same.

I found that rpcsvc-proto does not require rpcgen so I added the rpcgen package for the suse based distros as well (see patch v3). I'm not sure that the rpcsvc-proto headers are required on the host since there is a recipe providing them in case they are needed for a build. If the headers are also required we can add rpcsvc-proto-devel for fedora based distros and rpcsvc-proto for suse based distros as well.
On Fedora the lib package, libtirpc, is already installed by default.

My suggestion was to use a dependency thats common across many distro e.g. archlinux, gentoo put rpcgen in rpcsvc-proto itself, SuSE creates independent RPM for rpcgen even though it comes from rpcsvc-proto, I guess as such this patch is fine.

Quoted 14 lines
     >   <!ENTITY OPENSUSE_HOST_PACKAGES_ESSENTIAL "python gcc gcc-c++
    git chrpath make wget python-xml \
     >        diffstat makeinfo python-curses patch socat python3
    python3-curses tar python3-pip \
     >        python3-pexpect xz which python3-Jinja2 Mesa-libEGL1
     >
     >
     >
     >