Skip to contentSkip to conversation

e2fsprogs: disable parallel build for host

PATCH New Fabrice Fontaine 2 participants 2 messages Sep 10, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 e2fsprogs: disable parallel build for host

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

---
 package/e2fsprogs/e2fsprogs.mk | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
package/e2fsprogs/e2fsprogs.mk +2 -1
index 98001c3c99..d9ae0b29b6 100644
@@ -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))
Signature · 1 line
2.17.1
#1 lore raw

PATCH 1/1 e2fsprogs: disable parallel build for host

Hello,

Quoted 21 lines · Fabrice Fontaine

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

---
 package/e2fsprogs/e2fsprogs.mk | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
package/e2fsprogs/e2fsprogs.mk +0 -0
index 98001c3c99..d9ae0b29b6 100644

package/e2fsprogs/e2fsprogs.mk E2FSPROGS_INSTALL_STAGING_OPTS = \ · line 84

Quoted 7 lines
package/e2fsprogs/e2fsprogs.mk +2 -1
@@ -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

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com