Bug#526565: use of stamps in debian/rules.d/binary-*.mk breaks parallel build (-j2)
Package: gcc-4.4
Severity: normal
Several debian/rules.d/binary-*.mk files perform the following hack. At
the beginning of a target:
mv $(install_stamp) $(install_stamp)-tmp
and at its end:
trap '' 1 2 3 15; touch $@; mv $(install_stamp)-tmp $(install_stamp)
Since the value of $(install_stamp) is shared among them, this makes them
collide with each other, breaking parallel builds (-j2).
I suggest you use a different stamp name for each file.
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=ca_AD.UTF-8, LC_CTYPE=ca_AD.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Reply to: