make fails if several jobs are used

Bug #1583770 reported by Adrián Chaves
6
This bug affects 1 person
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/desktop/ember/src/ember-0.7.2'
make[2]: Entering directory '/chakra/desktop/ember/src/ember-0.7.2'
 /usr/bin/mkdir -p '/chakra/desktop/ember/pkg/ember/usr/bin'
 /usr/bin/mkdir -p '/chakra/desktop/ember/pkg/ember/usr/bin'
 /usr/bin/mkdir -p '/chakra/desktop/ember/pkg/ember/usr/etc/ember'
 /usr/bin/mkdir -p '/chakra/desktop/ember/pkg/ember/usr/share/applications'
 /usr/bin/mkdir -p '/chakra/desktop/ember/pkg/ember/usr/share/icons/worldforge'
 /usr/bin/mkdir -p '/chakra/desktop/ember/pkg/ember/usr/share/doc/ember-0.7.2'
 /usr/bin/install -c ember '/chakra/desktop/ember/pkg/ember/usr/bin'
 /usr/bin/install -c -m 644 ember.conf '/chakra/desktop/ember/pkg/ember/usr/etc/ember'
 /usr/bin/install -c ember '/chakra/desktop/ember/pkg/ember/usr/bin'
/usr/bin/install: cannot change permissions of '/chakra/desktop/ember/pkg/ember/usr/bin/ember': No such file or directory
Makefile:526: recipe for target 'install-dist_binSCRIPTS' failed
 /usr/bin/install -c -m 644 media/ember.png '/chakra/desktop/ember/pkg/ember/usr/share/icons/worldforge'
make[2]: *** [install-dist_binSCRIPTS] Error 1
make[2]: *** Waiting for unfinished jobs....
 /usr/bin/install -c -m 644 ember.desktop '/chakra/desktop/ember/pkg/ember/usr/share/applications'
 /usr/bin/install -c -m 644 README.md COPYING AUTHORS NEWS '/chakra/desktop/ember/pkg/ember/usr/share/doc/ember-0.7.2'
make[2]: Leaving directory '/chakra/desktop/ember/src/ember-0.7.2'
Makefile:964: recipe for target 'install-am' failed
make[1]: *** [install-am] Error 2
make[1]: Leaving directory '/chakra/desktop/ember/src/ember-0.7.2'
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.

Revision history for this message
Erik Ogenvik (erik-ogenvik) wrote :

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.

Changed in ember:
importance: Undecided → Medium
status: New → Confirmed
Changed in ember:
status: Confirmed → Fix Committed
assignee: nobody → Erik Ogenvik (erik-ogenvik)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.