Created attachment 34333 [details] [review] Makefile.am: ensure that update-mime-info doesn't get called before it's installed This fixes the following error on parallel installs: <-- snip --> make install Makefile:939: warning: overriding commands for target `all' Makefile:279: warning: ignoring old commands for target `all' Making install in . Makefile:939: warning: overriding commands for target `all' Makefile:279: warning: ignoring old commands for target `all' Makefile:939: warning: overriding commands for target `all' Makefile:279: warning: ignoring old commands for target `all' test -z "/usr/share/man/man1" || mkdir -p -- "/usr/share/man/man1" test -z "/usr/share/mime/packages" || mkdir -p -- "/usr/share/mime/packages" test -z "/usr/share/pkgconfig" || mkdir -p -- "/usr/share/pkgconfig" /scratchbox/tools/bin/install -c -m 644 'freedesktop.org.xml' '/usr/share/mime/packages/freedesktop.org.xml' /scratchbox/tools/bin/install -c -m 644 'shared-mime-info.pc' '/usr/share/pkgconfig/shared-mime-info.pc' /scratchbox/tools/bin/install -c -m 644 './update-mime-database.1' '/usr/share/man/man1/update-mime-database.1' test -z "/usr/bin" || mkdir -p -- "/usr/bin" make install-data-hook Makefile:939: warning: overriding commands for target `all' Makefile:279: warning: ignoring old commands for target `all' "/usr/bin/update-mime-database" -V "/usr/share/mime" /scratchbox/tools/bin/sh: /usr/bin/update-mime-database: No such file or directory make[4]: *** [install-data-hook] Error 127 make[3]: *** [install-data-am] Error 2 make[3]: *** Waiting for unfinished jobs.... /scratchbox/tools/bin/install -c 'update-mime-database' '/usr/bin/update-mime-database' make[2]: *** [install-am] Error 2 make[1]: *** [install-recursive] Error 1 make: *** [__matrix_install] Error 2 <-- snip -->
commit cadd00609ccadf5c97d05704d82ebf10edf9f355 Author: Adrian Bunk <adrian.bunk@movial.com> Date: Mon Mar 8 21:30:30 2010 +0200 Makefile.am: ensure that update-mime-info doesn't get called before it's installed This fixes the following error on parallel installs: <-- snip --> make install Makefile:939: warning: overriding commands for target `all' Makefile:279: warning: ignoring old commands for target `all' Making install in . Makefile:939: warning: overriding commands for target `all' Makefile:279: warning: ignoring old commands for target `all' Makefile:939: warning: overriding commands for target `all' Makefile:279: warning: ignoring old commands for target `all' test -z "/usr/share/man/man1" || mkdir -p -- "/usr/share/man/man1" test -z "/usr/share/mime/packages" || mkdir -p -- "/usr/share/mime/packages" test -z "/usr/share/pkgconfig" || mkdir -p -- "/usr/share/pkgconfig" /scratchbox/tools/bin/install -c -m 644 'freedesktop.org.xml' '/usr/share/mime/packages/freedesktop.org.xml' /scratchbox/tools/bin/install -c -m 644 'shared-mime-info.pc' '/usr/share/pkgconfig/shared-mime-info.pc' /scratchbox/tools/bin/install -c -m 644 './update-mime-database.1' '/usr/share/man/man1/update-mime-database.1' test -z "/usr/bin" || mkdir -p -- "/usr/bin" make install-data-hook Makefile:939: warning: overriding commands for target `all' Makefile:279: warning: ignoring old commands for target `all' "/usr/bin/update-mime-database" -V "/usr/share/mime" /scratchbox/tools/bin/sh: /usr/bin/update-mime-database: No such file or directory make[4]: *** [install-data-hook] Error 127 make[3]: *** [install-data-am] Error 2 make[3]: *** Waiting for unfinished jobs.... /scratchbox/tools/bin/install -c 'update-mime-database' '/usr/bin/update-mime-database' make[2]: *** [install-am] Error 2 make[1]: *** [install-recursive] Error 1 make: *** [__matrix_install] Error 2 <-- snip --> http://bugs.freedesktop.org/show_bug.cgi?id=27252
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.