[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#526565: marked as done (use of stamps in debian/rules.d/binary-*.mk breaks parallel build (-j2))



Your message dated Sun, 03 May 2009 22:48:57 +0200
with message-id <49FE0339.3070201@debian.org>
and subject line Re: Bug#526565: use of stamps in debian/rules.d/binary-*.mk breaks parallel build (-j2)
has caused the Debian Bug report #526565,
regarding use of stamps in debian/rules.d/binary-*.mk breaks parallel build (-j2)
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
526565: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=526565
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
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



--- End Message ---
--- Begin Message ---
tags 526565 +wontfix
thanks

you may reopen this reopen this report with a patch attached, and the
configurations you tested this patch (at least the three source builds on two
different architectures).

Robert Millan schrieb:
> 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
> 
> 
> 



--- End Message ---

Reply to: