All of lore.kernel.org
 help / color / mirror / Atom feed
* RE: [oe] [meta-networking][PATCH] net-snmp: Avoid running `make clean` as it may fail
       [not found] <16DB0E1486A87DC2.14380@lists.openembedded.org>
@ 2022-03-11 18:31 ` Peter Kjellerstedt
  0 siblings, 0 replies; only message in thread
From: Peter Kjellerstedt @ 2022-03-11 18:31 UTC (permalink / raw)
  To: Armin Kuster; +Cc: openembedded-devel

> -----Original Message-----
> From: openembedded-devel@lists.openembedded.org <openembedded-devel@lists.openembedded.org> On Behalf Of Peter Kjellerstedt
> Sent: den 10 mars 2022 16:19
> To: openembedded-devel@lists.openembedded.org
> Subject: [oe] [meta-networking][PATCH] net-snmp: Avoid running `make clean` as it may fail
> 
> Rebuilding net-snmp may cause autotools_preconfigure() to run `make
> clean`, which in turn can cause `configure`to be run. However, since
> CACHED_CONFIGUREVARS is not set under those circumstances, `configure`
> will run with an incorrect configuration and the build will fail with:
> 
>   checking for /etc/printcap... configure: error: cannot check for
>   file existence when cross compiling
> 
> Avoid the problem by setting CLEANBROKEN = "1".
> 
> Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
> ---
>  meta-networking/recipes-protocols/net-snmp/net-snmp_5.9.1.bb | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.9.1.bb b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.9.1.bb
> index b0c5bbdac..5f887b886 100644
> --- a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.9.1.bb
> +++ b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.9.1.bb
> @@ -40,6 +40,7 @@ EXTRA_OEMAKE = "INSTALL_PREFIX=${D} OTHERLDFLAGS='${LDFLAGS}' HOST_CPPFLAGS='${B
> 
>  PARALLEL_MAKE = ""
>  CCACHE = ""
> +CLEANBROKEN = "1"
> 
>  TARGET_CC_ARCH += "${LDFLAGS}"
> 

Please cherry-pick this to Honister.

//Peter



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-03-11 18:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <16DB0E1486A87DC2.14380@lists.openembedded.org>
2022-03-11 18:31 ` [oe] [meta-networking][PATCH] net-snmp: Avoid running `make clean` as it may fail Peter Kjellerstedt

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.