Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] e2fsprogs: disable parallel build for host
@ 2018-09-10 17:23 Fabrice Fontaine
  2018-09-10 19:47 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: Fabrice Fontaine @ 2018-09-10 17:23 UTC (permalink / raw)
  To: buildroot

It seems that host-e2fsprogs has an issue with parallel build since
version 1.44.2:

symlinks.o: file not recognized: File truncated

/home/buildroot/build/instance-0/output/host/lib/libss.so.2: file or directory does not exist

Fixes:
 - http://autobuild.buildroot.org/results/6b424ba788ccd738c2afcd940075991581e860b6
 - http://autobuild.buildroot.org/results/1d816f9be6bad6e10d273dc2d0acb200233d8d4d

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/e2fsprogs/e2fsprogs.mk | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/package/e2fsprogs/e2fsprogs.mk b/package/e2fsprogs/e2fsprogs.mk
index 98001c3c99..d9ae0b29b6 100644
--- a/package/e2fsprogs/e2fsprogs.mk
+++ b/package/e2fsprogs/e2fsprogs.mk
@@ -79,8 +79,9 @@ E2FSPROGS_INSTALL_STAGING_OPTS = \
 	DESTDIR=$(STAGING_DIR) \
 	install-libs
 
+#??Package does not build in parallel due to improper make rules
 define HOST_E2FSPROGS_INSTALL_CMDS
-	$(HOST_MAKE_ENV) $(MAKE) -C $(@D) install install-libs
+	$(HOST_MAKE_ENV) $(MAKE1) -C $(@D) install install-libs
 endef
 
 $(eval $(autotools-package))
-- 
2.17.1

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

* [Buildroot] [PATCH 1/1] e2fsprogs: disable parallel build for host
  2018-09-10 17:23 [Buildroot] [PATCH 1/1] e2fsprogs: disable parallel build for host Fabrice Fontaine
@ 2018-09-10 19:47 ` Thomas Petazzoni
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2018-09-10 19:47 UTC (permalink / raw)
  To: buildroot

Hello,

On Mon, 10 Sep 2018 19:23:53 +0200, Fabrice Fontaine wrote:
> It seems that host-e2fsprogs has an issue with parallel build since
> version 1.44.2:
> 
> symlinks.o: file not recognized: File truncated
> 
> /home/buildroot/build/instance-0/output/host/lib/libss.so.2: file or directory does not exist
> 
> Fixes:
>  - http://autobuild.buildroot.org/results/6b424ba788ccd738c2afcd940075991581e860b6
>  - http://autobuild.buildroot.org/results/1d816f9be6bad6e10d273dc2d0acb200233d8d4d
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
>  package/e2fsprogs/e2fsprogs.mk | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/package/e2fsprogs/e2fsprogs.mk b/package/e2fsprogs/e2fsprogs.mk
> index 98001c3c99..d9ae0b29b6 100644
> --- a/package/e2fsprogs/e2fsprogs.mk
> +++ b/package/e2fsprogs/e2fsprogs.mk
> @@ -79,8 +79,9 @@ E2FSPROGS_INSTALL_STAGING_OPTS = \
>  	DESTDIR=$(STAGING_DIR) \
>  	install-libs
>  
> +#?Package does not build in parallel due to improper make rules
>  define HOST_E2FSPROGS_INSTALL_CMDS
> -	$(HOST_MAKE_ENV) $(MAKE) -C $(@D) install install-libs
> +	$(HOST_MAKE_ENV) $(MAKE1) -C $(@D) install install-libs

I think running "make install" and "make install-libs" separately would
also work around the problem, but anyway, disabling parallel
installation is also OK. So I've applied your patch to master.

Could you report this problem upstream ?

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

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

end of thread, other threads:[~2018-09-10 19:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-09-10 17:23 [Buildroot] [PATCH 1/1] e2fsprogs: disable parallel build for host Fabrice Fontaine
2018-09-10 19:47 ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox