All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1] fix pod2man errors in binutils-cross
@ 2021-10-01 18:04 Guillaume Champagne
  2021-10-01 18:04 ` [PATCH 1/1] binutils: use perlnative for pod2man Guillaume Champagne
  2021-10-01 21:22 ` [OE-core] [PATCH 0/1] fix pod2man errors in binutils-cross Richard Purdie
  0 siblings, 2 replies; 5+ messages in thread
From: Guillaume Champagne @ 2021-10-01 18:04 UTC (permalink / raw)
  To: openembedded-core; +Cc: Guillaume Champagne

Hi,

when building binutils-cross-x86_64 on hardknott, do_compile fails with:
make[4]: Entering directory
'/builds/project/tmp/work/x86_64-linux/binutils-cross-x86_64/2.36.1-r0/git/build.x86_64-linux.x86_64-dist-linux/ld/po'
make[4]: *** No rule to make target 'all'.  Stop.

Seems like it's caused by error:
/bin/bash: pod2man: command not found

which appears multiple time in the log. The following patch inherits
perlnative in binutils to make pod2man available.

-- 
2.20.1



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

* [PATCH 1/1] binutils: use perlnative for pod2man
  2021-10-01 18:04 [PATCH 0/1] fix pod2man errors in binutils-cross Guillaume Champagne
@ 2021-10-01 18:04 ` Guillaume Champagne
  2021-10-01 21:21   ` [OE-core] " Richard Purdie
  2021-10-01 21:22 ` [OE-core] [PATCH 0/1] fix pod2man errors in binutils-cross Richard Purdie
  1 sibling, 1 reply; 5+ messages in thread
From: Guillaume Champagne @ 2021-10-01 18:04 UTC (permalink / raw)
  To: openembedded-core; +Cc: Guillaume Champagne

binutils uses pod2man in its makefile, leading to "pod2man: command not
found" errors when unavailable. Make it available by inheriting
pernaltive.

Signed-off-by: Guillaume Champagne <champagne.guillaume.c@gmail.com>
---
 meta/recipes-devtools/binutils/binutils.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/binutils/binutils.inc b/meta/recipes-devtools/binutils/binutils.inc
index 2f65ae5474..6140ceaf7e 100644
--- a/meta/recipes-devtools/binutils/binutils.inc
+++ b/meta/recipes-devtools/binutils/binutils.inc
@@ -13,7 +13,7 @@ LICENSE = "GPLv3"
 
 DEPENDS = "flex-native bison-native zlib-native gnu-config-native autoconf-native"
 
-inherit autotools gettext multilib_header pkgconfig texinfo
+inherit autotools gettext multilib_header pkgconfig texinfo perlnative
 
 FILES:${PN} = " \
 	${bindir}/${TARGET_PREFIX}* \
-- 
2.20.1



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

* Re: [OE-core] [PATCH 1/1] binutils: use perlnative for pod2man
  2021-10-01 18:04 ` [PATCH 1/1] binutils: use perlnative for pod2man Guillaume Champagne
@ 2021-10-01 21:21   ` Richard Purdie
  0 siblings, 0 replies; 5+ messages in thread
From: Richard Purdie @ 2021-10-01 21:21 UTC (permalink / raw)
  To: Guillaume Champagne, openembedded-core

On Fri, 2021-10-01 at 14:04 -0400, Guillaume Champagne wrote:
> binutils uses pod2man in its makefile, leading to "pod2man: command not
> found" errors when unavailable. Make it available by inheriting
> pernaltive.
> 
> Signed-off-by: Guillaume Champagne <champagne.guillaume.c@gmail.com>
> ---
>  meta/recipes-devtools/binutils/binutils.inc | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta/recipes-devtools/binutils/binutils.inc b/meta/recipes-devtools/binutils/binutils.inc
> index 2f65ae5474..6140ceaf7e 100644
> --- a/meta/recipes-devtools/binutils/binutils.inc
> +++ b/meta/recipes-devtools/binutils/binutils.inc
> @@ -13,7 +13,7 @@ LICENSE = "GPLv3"
>  
>  DEPENDS = "flex-native bison-native zlib-native gnu-config-native autoconf-native"
>  
> -inherit autotools gettext multilib_header pkgconfig texinfo
> +inherit autotools gettext multilib_header pkgconfig texinfo perlnative
>  

We may want to be careful since this will significantly increase build times,
particularly if binutils-cross changes to have more dependencies. Do we really
need to use pod2man here?

Cheers,

Richard



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

* Re: [OE-core] [PATCH 0/1] fix pod2man errors in binutils-cross
  2021-10-01 18:04 [PATCH 0/1] fix pod2man errors in binutils-cross Guillaume Champagne
  2021-10-01 18:04 ` [PATCH 1/1] binutils: use perlnative for pod2man Guillaume Champagne
@ 2021-10-01 21:22 ` Richard Purdie
  2021-10-01 22:54   ` Guillaume Champagne
  1 sibling, 1 reply; 5+ messages in thread
From: Richard Purdie @ 2021-10-01 21:22 UTC (permalink / raw)
  To: Guillaume Champagne, openembedded-core

On Fri, 2021-10-01 at 14:04 -0400, Guillaume Champagne wrote:
> Hi,
> 
> when building binutils-cross-x86_64 on hardknott, do_compile fails with:
> make[4]: Entering directory
> '/builds/project/tmp/work/x86_64-linux/binutils-cross-x86_64/2.36.1-r0/git/build.x86_64-linux.x86_64-dist-linux/ld/po'
> make[4]: *** No rule to make target 'all'.  Stop.
> 
> Seems like it's caused by error:
> /bin/bash: pod2man: command not found
> 
> which appears multiple time in the log. The following patch inherits
> perlnative in binutils to make pod2man available.

The question is why/how is this working for everyone else?

Cheers,

Richard



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

* Re: [OE-core] [PATCH 0/1] fix pod2man errors in binutils-cross
  2021-10-01 21:22 ` [OE-core] [PATCH 0/1] fix pod2man errors in binutils-cross Richard Purdie
@ 2021-10-01 22:54   ` Guillaume Champagne
  0 siblings, 0 replies; 5+ messages in thread
From: Guillaume Champagne @ 2021-10-01 22:54 UTC (permalink / raw)
  To: Richard Purdie; +Cc: OE-core

Le ven. 1 oct. 2021 à 17:22, Richard Purdie
<richard.purdie@linuxfoundation.org> a écrit :
>
> On Fri, 2021-10-01 at 14:04 -0400, Guillaume Champagne wrote:
> > Hi,
> >
> > when building binutils-cross-x86_64 on hardknott, do_compile fails with:
> > make[4]: Entering directory
> > '/builds/project/tmp/work/x86_64-linux/binutils-cross-x86_64/2.36.1-r0/git/build.x86_64-linux.x86_64-dist-linux/ld/po'
> > make[4]: *** No rule to make target 'all'.  Stop.
> >
> > Seems like it's caused by error:
> > /bin/bash: pod2man: command not found
> >
> > which appears multiple time in the log. The following patch inherits
> > perlnative in binutils to make pod2man available.
>
> The question is why/how is this working for everyone else?

You're right. I re-tested with poky & meta-oe only with
MACHINE=qemux86_64. It works.
FWIW binutils-cross-x86_64 log.compile still prints: "pod2man: command
not found"
a bunch, but it compiles fine. My issue is somewhere else. Thanks for
the heads up!

>
> Cheers,
>
> Richard
>


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

end of thread, other threads:[~2021-10-01 22:55 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-01 18:04 [PATCH 0/1] fix pod2man errors in binutils-cross Guillaume Champagne
2021-10-01 18:04 ` [PATCH 1/1] binutils: use perlnative for pod2man Guillaume Champagne
2021-10-01 21:21   ` [OE-core] " Richard Purdie
2021-10-01 21:22 ` [OE-core] [PATCH 0/1] fix pod2man errors in binutils-cross Richard Purdie
2021-10-01 22:54   ` Guillaume Champagne

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.