public inbox for buildroot@busybox.net
 help / color / mirror / Atom feed
From: Thomas Perale via buildroot <buildroot@buildroot.org>
To: Bernd Kuhls <bernd@kuhls.net>
Cc: Thomas Perale <thomas.perale@mind.be>, buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH v2 1/2] package/leafnode2: fix build without pod2man
Date: Tue, 14 Apr 2026 17:46:08 +0200	[thread overview]
Message-ID: <20260414154608.336012-1-thomas.perale@mind.be> (raw)
In-Reply-To: <20260405162711.620128-1-bernd@kuhls.net>

In reply of:
> Fixes a build error when pod2man is missing on the host:
> 
>   pod2man ./tools/lsmac.pl >lsmac.1 || { rm -f lsmac.1 ; false ; }
>   /bin/sh: line 1: pod2man: command not found
> 
> Fixes:
> https://autobuild.buildroot.net/results/999/9996e81429f90f4615755827ac182094d416c467/
> 
> Although the build error only occurs since 2026-03-05 it should be
> backported to LTS branches because the last change to the buildroot
> package dates back to 2024.
> 
> Signed-off-by: Bernd Kuhls <bernd@kuhls.net>

Applied to 2025.02.x & 2026.02.x. Thanks

> ---
> v2: no changes
> 
>  package/leafnode2/leafnode2.mk | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/package/leafnode2/leafnode2.mk b/package/leafnode2/leafnode2.mk
> index 566aaf3d55..8c44071209 100644
> --- a/package/leafnode2/leafnode2.mk
> +++ b/package/leafnode2/leafnode2.mk
> @@ -11,6 +11,12 @@ LEAFNODE2_LICENSE_FILES = COPYING COPYING.LGPL
>  LEAFNODE2_DEPENDENCIES = host-pcre pcre
>  LEAFNODE2_AUTORECONF = YES
>  
> +# pod2man doesn't work when cross compiling
> +define LEAFNODE2_DISABLE_POD2MAN
> +	$(SED) 's/GENERATED_MANS=lsmac.1/GENERATED_MANS=/' $(@D)/Makefile.am
> +endef
> +LEAFNODE2_POST_PATCH_HOOKS += LEAFNODE2_DISABLE_POD2MAN
> +
>  LEAFNODE2_CONF_ENV = \
>  	PCRECONFIG="$(STAGING_DIR)/usr/bin/pcre-config"
>  
> -- 
> 2.47.3
> 
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

      parent reply	other threads:[~2026-04-14 15:46 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-05 16:27 [Buildroot] [PATCH v2 1/2] package/leafnode2: fix build without pod2man Bernd Kuhls
2026-04-05 16:27 ` [Buildroot] [PATCH v2 2/2] package/leafnode2: bump version to 2.0.0.alpha202601 Bernd Kuhls
2026-04-06 16:48 ` [Buildroot] [PATCH v2 1/2] package/leafnode2: fix build without pod2man Julien Olivain via buildroot
2026-04-14 15:46 ` Thomas Perale via buildroot [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260414154608.336012-1-thomas.perale@mind.be \
    --to=buildroot@buildroot.org \
    --cc=bernd@kuhls.net \
    --cc=thomas.perale@mind.be \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox