All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] documentation: add rpcgen to FEDORA_HOST_PACKAGES_ESSENTIAL
@ 2020-03-19 23:23 cengic
  2020-03-20 17:55 ` [docs] " Khem Raj
  0 siblings, 1 reply; 4+ messages in thread
From: cengic @ 2020-03-19 23:23 UTC (permalink / raw)
  To: docs; +Cc: 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

Signed-off-by: Goran Cengic <cengic@gmail.com>
---
 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">
 <!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.21.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [docs] [PATCH] documentation: add rpcgen to FEDORA_HOST_PACKAGES_ESSENTIAL
  2020-03-19 23:23 [PATCH] documentation: add rpcgen to FEDORA_HOST_PACKAGES_ESSENTIAL cengic
@ 2020-03-20 17:55 ` Khem Raj
  2020-03-21 12:03   ` Goran Cengic
       [not found]   ` <Groupsio.1.CACT7hbmyCshZ1veuV-X-C7kfjh-wB2KYEykqk7OzmkUiH+q9xg@mail.gmail.com>
  0 siblings, 2 replies; 4+ messages in thread
From: Khem Raj @ 2020-03-20 17:55 UTC (permalink / raw)
  To: docs; +Cc: Goran Cengic



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 <cengic@gmail.com>
> ---
>   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">

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

>   <!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
> 
> 
> 
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [docs] [PATCH] documentation: add rpcgen to FEDORA_HOST_PACKAGES_ESSENTIAL
  2020-03-20 17:55 ` [docs] " Khem Raj
@ 2020-03-21 12:03   ` Goran Cengic
       [not found]   ` <Groupsio.1.CACT7hbmyCshZ1veuV-X-C7kfjh-wB2KYEykqk7OzmkUiH+q9xg@mail.gmail.com>
  1 sibling, 0 replies; 4+ messages in thread
From: Goran Cengic @ 2020-03-21 12:03 UTC (permalink / raw)
  To: docs; +Cc: Khem Raj

[-- Attachment #1: Type: text/plain, Size: 2024 bytes --]

On Fri, Mar 20, 2020 at 6:55 PM Khem Raj < raj.khem@gmail.com > 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 < cengic@gmail.com >
> > ---
> >   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">
> 
> 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.

> 
> 

> 
> >   <!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
> >
> >
> >
> >

[-- Attachment #2: Type: text/html, Size: 2819 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [docs] [PATCH] documentation: add rpcgen to FEDORA_HOST_PACKAGES_ESSENTIAL
       [not found]   ` <Groupsio.1.CACT7hbmyCshZ1veuV-X-C7kfjh-wB2KYEykqk7OzmkUiH+q9xg@mail.gmail.com>
@ 2020-03-21 22:03     ` Khem Raj
  0 siblings, 0 replies; 4+ messages in thread
From: Khem Raj @ 2020-03-21 22:03 UTC (permalink / raw)
  To: docs



On 3/21/20 5:03 AM, Goran Cengic wrote:
> [Edited Message Follows]
> 
> 
> On Fri, Mar 20, 2020 at 6:55 PM Khem Raj <raj.khem@gmail.com 
> <mailto:raj.khem@gmail.com>> 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 <cengic@gmail.com
>     <mailto:cengic@gmail.com>>
>      > ---
>      >   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">
> 
>     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.


> 
>      >   <!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
>      >
>      >
>      >
>      > 
> 
> 
> 
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-03-21 22:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-19 23:23 [PATCH] documentation: add rpcgen to FEDORA_HOST_PACKAGES_ESSENTIAL cengic
2020-03-20 17:55 ` [docs] " Khem Raj
2020-03-21 12:03   ` Goran Cengic
     [not found]   ` <Groupsio.1.CACT7hbmyCshZ1veuV-X-C7kfjh-wB2KYEykqk7OzmkUiH+q9xg@mail.gmail.com>
2020-03-21 22:03     ` Khem Raj

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.