All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-virt][PATCH 1/1] libvirt: use relative path to local .m4 files
@ 2018-07-27 19:45 Joe Slater
  2018-08-03  2:57 ` Bruce Ashfield
  0 siblings, 1 reply; 2+ messages in thread
From: Joe Slater @ 2018-07-27 19:45 UTC (permalink / raw)
  To: meta-virtualization

If our project is in a directory with a pathname of longer than
about 125 characters, configuration will fail with an "Argument
list too long" error.  This patch uses the technique that was applied
to the coreutils recipe.

Signed-off-by: Joe Slater <joe.slater@windriver.com>
---
 recipes-extended/libvirt/libvirt_4.3.0.bb | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/recipes-extended/libvirt/libvirt_4.3.0.bb b/recipes-extended/libvirt/libvirt_4.3.0.bb
index e6dac5d..194f049 100644
--- a/recipes-extended/libvirt/libvirt_4.3.0.bb
+++ b/recipes-extended/libvirt/libvirt_4.3.0.bb
@@ -42,6 +42,12 @@ SRC_URI[libvirt.sha256sum] = "a531e22c8b985ecb2d1223b913fd6ec0f1800e3ebe02351924
 
 inherit autotools gettext update-rc.d pkgconfig ptest systemd
 
+# Override the default set in autotools.bbclass so that we will use relative pathnames
+# to our local m4 files.  This prevents an "Argument list too long" error during configuration
+# if our project is in a directory with an absolute pathname of more than about 125 characters.
+#
+acpaths = "-I ./m4"
+
 CACHED_CONFIGUREVARS += "\
 ac_cv_path_XMLCATLOG=/usr/bin/xmlcatalog \
 ac_cv_path_AUGPARSE=/usr/bin/augparse \
-- 
2.7.4



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

* Re: [meta-virt][PATCH 1/1] libvirt: use relative path to local .m4 files
  2018-07-27 19:45 [meta-virt][PATCH 1/1] libvirt: use relative path to local .m4 files Joe Slater
@ 2018-08-03  2:57 ` Bruce Ashfield
  0 siblings, 0 replies; 2+ messages in thread
From: Bruce Ashfield @ 2018-08-03  2:57 UTC (permalink / raw)
  To: Joe Slater; +Cc: meta-virtualization

merged

Bruce

On Fri, Jul 27, 2018 at 4:45 PM, Joe Slater <joe.slater@windriver.com> wrote:
> If our project is in a directory with a pathname of longer than
> about 125 characters, configuration will fail with an "Argument
> list too long" error.  This patch uses the technique that was applied
> to the coreutils recipe.
>
> Signed-off-by: Joe Slater <joe.slater@windriver.com>
> ---
>  recipes-extended/libvirt/libvirt_4.3.0.bb | 6 ++++++
>  1 file changed, 6 insertions(+)
>
> diff --git a/recipes-extended/libvirt/libvirt_4.3.0.bb b/recipes-extended/libvirt/libvirt_4.3.0.bb
> index e6dac5d..194f049 100644
> --- a/recipes-extended/libvirt/libvirt_4.3.0.bb
> +++ b/recipes-extended/libvirt/libvirt_4.3.0.bb
> @@ -42,6 +42,12 @@ SRC_URI[libvirt.sha256sum] = "a531e22c8b985ecb2d1223b913fd6ec0f1800e3ebe02351924
>
>  inherit autotools gettext update-rc.d pkgconfig ptest systemd
>
> +# Override the default set in autotools.bbclass so that we will use relative pathnames
> +# to our local m4 files.  This prevents an "Argument list too long" error during configuration
> +# if our project is in a directory with an absolute pathname of more than about 125 characters.
> +#
> +acpaths = "-I ./m4"
> +
>  CACHED_CONFIGUREVARS += "\
>  ac_cv_path_XMLCATLOG=/usr/bin/xmlcatalog \
>  ac_cv_path_AUGPARSE=/usr/bin/augparse \
> --
> 2.7.4
>
> --
> _______________________________________________
> meta-virtualization mailing list
> meta-virtualization@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-virtualization



-- 
"Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end"


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

end of thread, other threads:[~2018-08-03  2:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-27 19:45 [meta-virt][PATCH 1/1] libvirt: use relative path to local .m4 files Joe Slater
2018-08-03  2:57 ` Bruce Ashfield

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.