make fails if several jobs are used
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ember |
Fix Committed
|
Medium
|
Erik Ogenvik |
Bug Description
This is the output that I get when I run ‘make DESTDIR=$pkgdir install’ with my environment configured for make to use several jobs:
make[1]: Entering directory '/chakra/
make[2]: Entering directory '/chakra/
/usr/bin/mkdir -p '/chakra/
/usr/bin/mkdir -p '/chakra/
/usr/bin/mkdir -p '/chakra/
/usr/bin/mkdir -p '/chakra/
/usr/bin/mkdir -p '/chakra/
/usr/bin/mkdir -p '/chakra/
/usr/bin/install -c ember '/chakra/
/usr/bin/install -c -m 644 ember.conf '/chakra/
/usr/bin/install -c ember '/chakra/
/usr/bin/install: cannot change permissions of '/chakra/
Makefile:526: recipe for target 'install-
/usr/bin/install -c -m 644 media/ember.png '/chakra/
make[2]: *** [install-
make[2]: *** Waiting for unfinished jobs....
/usr/bin/install -c -m 644 ember.desktop '/chakra/
/usr/bin/install -c -m 644 README.md COPYING AUTHORS NEWS '/chakra/
make[2]: Leaving directory '/chakra/
Makefile:964: recipe for target 'install-am' failed
make[1]: *** [install-am] Error 2
make[1]: Leaving directory '/chakra/
Makefile:661: recipe for target 'install-recursive' failed
make: *** [install-recursive] Error 1
Things work if I use ‘-j1’ (‘make -j1 DESTDIR=$pkgdir install’ to override my environment setting.
Changed in ember: | |
status: | Confirmed → Fix Committed |
assignee: | nobody → Erik Ogenvik (erik-ogenvik) |
Thanks for the report. I've seen this myself, randomly. Re-running it often makes it work, which is why I haven't looked into it more.
I'm thinking that we need to better tell Automake how things depend on each other.