Skip to contentSkip to conversation

shared-mime-info: attempt to fix parallel build issues

PATCH New Gustavo Zacarias 2 participants 2 messages Mar 14, 2016 – Mar 19, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 shared-mime-info: attempt to fix parallel build issues

According to https://bugs.freedesktop.org/show_bug.cgi?id=46093 the problem lies with 'make check' which is enabled by default. But we don't care about running the check target, so disable it. It will hopefully finally fix, for target:
http://autobuild.buildroot.net/results/03f/03fcc8aff675eb035e123eb2b01e4ed122c66cbc/
For host:
http://autobuild.buildroot.net/results/6c1/6c1fd50913ef8a3a5cc108f428f2c195c768324d/

---
 package/shared-mime-info/shared-mime-info.mk | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)
package/shared-mime-info/shared-mime-info.mk +6 -3
index b3e4470..a70bc9a 100644
@@ -10,15 +10,18 @@ SHARED_MIME_INFO_SITE = http://freedesktop.org/~hadess
 SHARED_MIME_INFO_INSTALL_STAGING = YES
 SHARED_MIME_INFO_CONF_ENV = XMLLINT=$(HOST_DIR)/usr/bin/xmllint
 SHARED_MIME_INFO_DEPENDENCIES = host-shared-mime-info libxml2 libglib2
-SHARED_MIME_INFO_CONF_OPTS = --disable-update-mimedb
+SHARED_MIME_INFO_CONF_OPTS = \
+	--disable-update-mimedb \
+	--disable-default-make-check
+HOST_SHARED_MIME_INFO_CONF_OPTS = \
+	--disable-update-mimedb \
+	--disable-default-make-check
 SHARED_MIME_INFO_LICENSE = GPLv2
 SHARED_MIME_INFO_LICENSE_FILES = COPYING
 
 HOST_SHARED_MIME_INFO_DEPENDENCIES = \
 	host-pkgconf host-intltool host-libxml2 host-libglib2
 
-HOST_SHARED_MIME_INFO_CONF_OPTS = --disable-update-mimedb
-
 define SHARED_MIME_INFO_INSTALL_TARGET_CMDS
 	$(HOST_MAKE_ENV) $(SHARED_MIME_INFO_HOST_BINARY) $(STAGING_DIR)/usr/share/mime
 	$(INSTALL) -D $(STAGING_DIR)/usr/share/mime/mime.cache $(TARGET_DIR)/usr/share/mime/mime.cache
Signature · 1 line
2.4.10
#1 lore raw

PATCH 1/1 shared-mime-info: attempt to fix parallel build issues

Dear Gustavo Zacarias,

Quoted 8 lines · Gustavo Zacarias

According to https://bugs.freedesktop.org/show_bug.cgi?id=46093 the problem lies with 'make check' which is enabled by default. But we don't care about running the check target, so disable it. It will hopefully finally fix, for target:
http://autobuild.buildroot.net/results/03f/03fcc8aff675eb035e123eb2b01e4ed122c66cbc/
For host:
http://autobuild.buildroot.net/results/6c1/6c1fd50913ef8a3a5cc108f428f2c195c768324d/

Quoted 4 lines
---
 package/shared-mime-info/shared-mime-info.mk | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com