GNOME Bugzilla – Bug 786205
shared-mime-info suffering from race condition?
Last modified: 2017-08-16 07:59:19 UTC
I think this is the right place to log this, if not, my apologies. When building shared-mime-info, I get the following error: --[begin output dump] *** Building shared-mime-info *** [55/70] make -j 9 GEN create-pot ITMRG freedesktop.org.xml CC update_mime_database-update-mime-database.o Making check in . CC update_mime_database-update-mime-database.o CC test_subclassing-test-subclassing.o CC test_tree_magic-test-tree-magic.o ITMRG freedesktop.org.xml make[1]: `shared-mime-info.pot' is up to date. CCLD test-subclassing update-mime-database.c:968:6: warning: implicit declaration of function 'fdatasync' is invalid in C99 [-Wimplicit-function-declaration] if (fdatasync(fd) == -1) ^ update-mime-database.c:968:6: warning: implicit declaration of function 'fdatasync' is invalid in C99 [-Wimplicit-function-declaration] if (fdatasync(fd) == -1) ^ 1 warning generated. 1 warning generated. CCLD test-tree-magic mv: rename .deps/update_mime_database-update-mime-database.Tpo to .deps/update_mime_database-update-mime-database.Po: No such file or directory make[1]: *** [update_mime_database-update-mime-database.o] Error 1 make[1]: *** Waiting for unfinished jobs.... CCLD update-mime-database make: *** [check-recursive] Error 1 make: *** Waiting for unfinished jobs.... *** Error during phase build of shared-mime-info: ########## Error running make -j 9 *** [55/70] [1] Rerun phase build [2] Ignore error and continue to install [3] Give up on module [4] Start shell [5] Reload configuration [6] Go to phase "wipe directory and start over" [7] Go to phase "configure" [8] Go to phase "clean" [9] Go to phase "distclean" choice: --[end output dump]-- If I drop to shell and try with parallel building disabled: > make clean > make -j 1 the build succeeds.
Wrong bugtracker. Use https://bugs.freedesktop.org/enter_bug.cgi?product=shared-mime-info. This is a symptom of an incomplete dependency graph.
Ok, thanks, will do. If they do not address, would the same workaround you used for aqbanking work? https://github.com/Gnucash/gnucash-on-osx/commit/b52afdec882a9065afc853ad68bb77563acae5dd
I did a little digging. Here's how it was resolved by the shared-mime-info project: https://bugs.freedesktop.org/show_bug.cgi?id=46093 In my tests, adding --disable-default-make-check argument to configure seems resolve the issue.
Fixed with your PR https://github.com/jralls/gtk-osx-build/pull/55.