Make install contains a race condition in utils/hwloc, as both
install-exec-hook (through intall-exec) and install-data trigger
install-man:

http://autobuild.buildroot.net/results/414/41403f8ce4751a27dd1bb9c43f5a97895dea3980/build-end.log

The install-exec-hook target doesn't do anything with the manual pages, so
fix the race condition by dropping the dependency.

Signed-off-by: Peter Korsgaard <pe...@korsgaard.com>
---
 utils/hwloc/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/utils/hwloc/Makefile.am b/utils/hwloc/Makefile.am
index b7f78d3..f20e58c 100644
--- a/utils/hwloc/Makefile.am
+++ b/utils/hwloc/Makefile.am
@@ -106,7 +106,7 @@ endif HWLOC_HAVE_LINUX
          -e 's/#HWLOC_DATE#/@HWLOC_RELEASE_DATE@/g' \
          > $@ < $<

-install-exec-hook: install-man
+install-exec-hook:
        $(SED) -e 's/HWLOC_top_builddir\/utils\/hwloc/bindir/' -e 
's/HWLOC_top_builddir\/utils\/lstopo/bindir/' -e '/HWLOC_top_builddir/d' 
$(DESTDIR)$(bindir)/hwloc-compress-dir > 
$(DESTDIR)$(bindir)/hwloc-compress-dir.tmp && mv -f 
$(DESTDIR)$(bindir)/hwloc-compress-dir.tmp 
$(DESTDIR)$(bindir)/hwloc-compress-dir
        chmod +x $(DESTDIR)$(bindir)/hwloc-compress-dir
 if HWLOC_HAVE_LINUX
-- 
2.1.4

Reply via email to