intel / murphy

Resource Policy
Other
18 stars 15 forks source link

parallel install #13

Open pohly opened 10 years ago

pohly commented 10 years ago

Hello!

Something isn't quite right with the "make install" rules. When running on a true 16 core machine, it failed as listed below. I'm going to work around it in Yocto by limiting the paralellism during installation. I've not investigated further.

make -j 16 DESTDIR=/data/yocto/poky/build/tmp/work/i586-poky-linux/murphy/git-r0/image INSTALL_ROOT=/data/yocto/poky/build/tmp/work/i586-poky-linux/murphy/git-r0/image BINDIR=/usr/bin install

Making install in . /usr/bin/mkdir -p '/data/yocto/poky/build/tmp/work/i586-poky-linux/murphy/git-r0/image/usr/share/doc/murphy' /usr/bin/install -c -m 644 AUTHORS ChangeLog NEWS README '/data/yocto/poky/build/tmp/work/i586-poky-linux/murphy/git-r0/image/usr/share/doc/murphy' Making install in utils Making install in src Making install in murphy-db Making install in mdb /usr/bin/mkdir -p '/data/yocto/poky/build/tmp/work/i586-poky-linux/murphy/git-r0/image/usr/include/murphy-db' /usr/bin/mkdir -p '/data/yocto/poky/build/tmp/work/i586-poky-linux/murphy/git-r0/image/usr/lib/murphy' /bin/sh /data/yocto/poky/build/tmp/work/i586-poky-linux/murphy/git-r0/git/build-aux/shave-libtool '../../../i586-poky-linux-libtool' --mode=install /usr/bin/install -c libmdb.la '/data/yocto/poky/build/tmp/work/i586-poky-linux/murphy/git-r0/image/usr/lib/murphy' /usr/bin/install -c -m 644 ../include/murphy-db/assert.h ../include/murphy-db/list.h ../include/murphy-db/handle.h ../include/murphy-db/hash.h ../include/murphy-db/sequence.h ../include/murphy-db/mqi-types.h ../include/murphy-db/mdb.h '/data/yocto/poky/build/tmp/work/i586-poky-linux/murphy/git-r0/image/usr/include/murphy-db'

i586-poky-linux-libtool: install: warning: remember to run `i586-poky-linux-libtool --finish /usr/lib/murphy' Making install in mqi /usr/bin/mkdir -p '/data/yocto/poky/build/tmp/work/i586-poky-linux/murphy/git-r0/image/usr/lib/murphy' /bin/sh /data/yocto/poky/build/tmp/work/i586-poky-linux/murphy/git-r0/git/build-aux/shave-libtool '../../../i586-poky-linux-libtool' --mode=install /usr/bin/install -c libmqi.la '/data/yocto/poky/build/tmp/work/i586-poky-linux/murphy/git-r0/image/usr/lib/murphy'

i586-poky-linux-libtool: install: warning: remember to run `i586-poky-linux-libtool --finish /usr/lib/murphy' /usr/bin/mkdir -p '/data/yocto/poky/build/tmp/work/i586-poky-linux/murphy/git-r0/image/usr/include/murphy-db' /usr/bin/install -c -m 644 ../include/murphy-db/mqi.h '/data/yocto/poky/build/tmp/work/i586-poky-linux/murphy/git-r0/image/usr/include/murphy-db' Making install in mql /usr/bin/mkdir -p '/data/yocto/poky/build/tmp/work/i586-poky-linux/murphy/git-r0/image/usr/include/murphy-db' /usr/bin/mkdir -p '/data/yocto/poky/build/tmp/work/i586-poky-linux/murphy/git-r0/image/usr/lib/murphy' /bin/sh /data/yocto/poky/build/tmp/work/i586-poky-linux/murphy/git-r0/git/build-aux/shave-libtool '../../../i586-poky-linux-libtool' --mode=install /usr/bin/install -c libmql.la '/data/yocto/poky/build/tmp/work/i586-poky-linux/murphy/git-r0/image/usr/lib/murphy' /usr/bin/install -c -m 644 ../include/murphy-db/mql.h ../include/murphy-db/mql-statement.h ../include/murphy-db/mql-result.h ../include/murphy-db/mql-trigger.h '/data/yocto/poky/build/tmp/work/i586-poky-linux/murphy/git-r0/image/usr/include/murphy-db'

i586-poky-linux-libtool: install: warning: remember to run `i586-poky-linux-libtool --finish /usr/lib/murphy' Making install in include /usr/bin/mkdir -p '/data/yocto/poky/build/tmp/work/i586-poky-linux/murphy/git-r0/image/usr/include' /usr/bin/mkdir -p '/data/yocto/poky/build/tmp/work/i586-poky-linux/murphy/git-r0/image/usr/include/murphy-db' /usr/bin/install -c -m 644 murphy-db/mqi.h murphy-db/mqi-types.h murphy-db/mql.h murphy-db/mql-statement.h murphy-db/mql-result.h murphy-db/mql-trigger.h '/data/yocto/poky/build/tmp/work/i586-poky-linux/murphy/git-r0/image/usr/include/murphy-db' Making install in tests /usr/bin/mkdir -p '/data/yocto/poky/build/tmp/work/i586-poky-linux/murphy/git-r0/image/usr/lib/pkgconfig' /usr/bin/install -c -m 644 murphy-db.pc '/data/yocto/poky/build/tmp/work/i586-poky-linux/murphy/git-r0/image/usr/lib/pkgconfig' Making install in . /usr/bin/mkdir -p '/data/yocto/poky/build/tmp/work/i586-poky-linux/murphy/git-r0/image/usr/lib' /bin/sh /data/yocto/poky/build/tmp/work/i586-poky-linux/murphy/git-r0/git/build-aux/shave-libtool '../i586-poky-linux-libtool' --mode=install /usr/bin/install -c libmurphy-common.la libmurphy-lua-utils.la libmurphy-lua-decision.la libmurphy-core.la libmurphy-libdbus.la libmurphy-dbus-libdbus.la libmurphy-pulse.la libmurphy-ecore.la libmurphy-glib.la libmurphy-resolver.la libmurphy-resource-backend.la libbreedline.la libbreedline-murphy.la libbreedline-glib.la libmurphy-resource.la libmurphy-decision-tree.la libmurphy-domain-controller.la libmurphy-plugin-system-monitor.la '/data/yocto/poky/build/tmp/work/i586-poky-linux/murphy/git-r0/image/usr/lib' /usr/bin/mkdir -p '/data/yocto/poky/build/tmp/work/i586-poky-linux/murphy/git-r0/image/etc/murphy' /usr/bin/mkdir -p '/data/yocto/poky/build/tmp/work/i586-poky-linux/murphy/git-r0/image/usr/include/breedline' /usr/bin/mkdir -p '/data/yocto/poky/build/tmp/work/i586-poky-linux/murphy/git-r0/image/usr/share/murphy/domain-control' /usr/bin/mkdir -p '/data/yocto/poky/build/tmp/work/i586-poky-linux/murphy/git-r0/image/usr/include/breedline' /usr/bin/mkdir -p '/data/yocto/poky/build/tmp/work/i586-poky-linux/murphy/git-r0/image/usr/include/breedline' /usr/bin/mkdir -p '/data/yocto/poky/build/tmp/work/i586-poky-linux/murphy/git-r0/image/usr/include/murphy/ecore' /usr/bin/mkdir -p '/data/yocto/poky/build/tmp/work/i586-poky-linux/murphy/git-r0/image/usr/include/breedline' /usr/bin/mkdir -p '/data/yocto/poky/build/tmp/work/i586-poky-linux/murphy/git-r0/image/usr/include/murphy/common' /usr/bin/mkdir -p '/data/yocto/poky/build/tmp/work/i586-poky-linux/murphy/git-r0/image/usr/include/murphy/common' /usr/bin/mkdir -p '/data/yocto/poky/build/tmp/work/i586-poky-linux/murphy/git-r0/image/usr/include/murphy/glib' /usr/bin/install -c -m 644 daemon/sample-config/cgroup-test.rules daemon/sample-config/common.cfg daemon/sample-config/console.cfg daemon/sample-config/domain-control.cfg daemon/sample-config/glib.cfg daemon/sample-config/main.cfg daemon/sample-config/murphy.cfg daemon/sample-config/resource.cfg daemon/sample-config/speed-volume.rules daemon/sample-config/system-controller.cfg daemon/sample-config/system-monitor.cfg daemon/sample-config/system-monitor.rules daemon/sample-config/systemd.cfg daemon/sample-config/timer-test.rules '/data/yocto/poky/build/tmp/work/i586-poky-linux/murphy/git-r0/image/etc/murphy' /usr/bin/mkdir -p '/data/yocto/poky/build/tmp/work/i586-poky-linux/murphy/git-r0/image/usr/include/murphy/core/lua-bindings' /usr/bin/mkdir -p '/data/yocto/poky/build/tmp/work/i586-poky-linux/murphy/git-r0/image/usr/include/murphy/core'

/usr/bin/install -c -m 644 breedline/breedline-glib.h '/data/yocto/poky/build/tmp/work/i586-poky-linux/murphy/git-r0/image/usr/include/breedline' /usr/bin/install -c -m 644 breedline/breedline-murphy.h '/data/yocto/poky/build/tmp/work/i586-poky-linux/murphy/git-r0/image/usr/include/breedline' /usr/bin/install -c -m 644 common/ecore-glue.h '/data/yocto/poky/build/tmp/work/i586-poky-linux/murphy/git-r0/image/usr/include/murphy/ecore' /usr/bin/install -c -m 644 plugins/domain-control/domain-control-api.js plugins/domain-control/domain-control-test.html '/data/yocto/poky/build/tmp/work/i586-poky-linux/murphy/git-r0/image/usr/share/murphy/domain-control' /usr/bin/install -c -m 644 breedline/breedline-murphy.h '/data/yocto/poky/build/tmp/work/i586-poky-linux/murphy/git-r0/image/usr/include/breedline' /usr/bin/install -c -m 644 breedline/breedline.h breedline/macros.h '/data/yocto/poky/build/tmp/work/i586-poky-linux/murphy/git-r0/image/usr/include/breedline' /usr/bin/mkdir -p '/data/yocto/poky/build/tmp/work/i586-poky-linux/murphy/git-r0/image/usr/include/murphy' /usr/bin/install -c -m 644 common/glib-glue.h '/data/yocto/poky/build/tmp/work/i586-poky-linux/murphy/git-r0/image/usr/include/murphy/glib' /usr/bin/install -c -m 644 common/macros.h common/list.h common/log.h common/debug.h common/debug-info.h common/env.h common/mm.h common/hashtbl.h common/process.h common/mainloop.h common/utils.h common/file-utils.h common/msg.h common/refcnt.h common/fragbuf.h common/json.h common/transport.h common/tlv.h common/native-types.h common/process-watch.h common/websocklib.h common/websocket.h '/data/yocto/poky/build/tmp/work/i586-poky-linux/murphy/git-r0/image/usr/include/murphy/common' /usr/bin/install -c -m 644 core/lua-bindings/murphy.h core/lua-bindings/lua-json.h '/data/yocto/poky/build/tmp/work/i586-poky-linux/murphy/git-r0/image/usr/include/murphy/core/lua-bindings' /usr/bin/mkdir -p '/data/yocto/poky/build/tmp/work/i586-poky-linux/murphy/git-r0/image/usr/include/breedline' /usr/bin/install -c -m 644 common/macros.h common/list.h common/log.h common/debug.h common/debug-info.h common/env.h common/mm.h common/hashtbl.h common/process.h common/mainloop.h common/utils.h common/file-utils.h common/msg.h common/refcnt.h common/fragbuf.h common/json.h common/transport.h common/tlv.h common/native-types.h common/process-watch.h common/websocklib.h common/websocket.h '/data/yocto/poky/build/tmp/work/i586-poky-linux/murphy/git-r0/image/usr/include/murphy/common' /usr/bin/install: cannot create regular file '/data/yocto/poky/build/tmp/work/i586-poky-linux/murphy/git-r0/image/usr/include/breedline/breedline-murphy.h': File exists /usr/bin/mkdir -p '/data/yocto/poky/build/tmp/work/i586-poky-linux/murphy/git-r0/image/usr/include/breedline' Makefile:5843: recipe for target 'install-libbreedline_murphy_laHEADERS' failed make[5]: * [install-libbreedline_murphy_laHEADERS] Error 1 make[5]: * Waiting for unfinished jobs....