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

Bug#309185: tetex-bin: FTBFS in experimental: Endless loop.



clone 309185 -1
reassign -1 tetex-base
retitle -1 tetex-base: FTBFS in experimental: Endless loop on Linux 2.6
stop

On 16.05.05 Florent Rougon (f.rougon@free.fr) wrote:
> Kurt Roeckx <kurt@roeckx.be> wrote:

Hi *,

> > Note that I'm doing this on a 2.6 kernel, which has sub-second
> > timestamps on files, which might be why you're not seeing it.
> 
> Good to know (I'm working with a 2.4 kernel). Now, I have a possible
> explanation:
> 
> Suppose we start debian/rules with the rules file in 3.0-3.
> 
> 10 Make sees this rule:
> 
>    % :: %.in $(eperl_sourcefiles) 
>         eperl -P -o $@ $<
> 
> On my and Frank's systems, the loop quickly breaks because it is
> easy to do the following in less than 1 second:
>   - Make regenerates debian/rules
>   - Make reruns itself with the new rules file
>   - Make runs the .PHONY targets and updates common.variables and
>     common.functions
> 
> Now, Make checks the time stamps of the new debian/rules and the
> newer-but-still-generated-in-the-same-second common.variables and
> common.functions, sees that they are all equal and concludes that
> rules doesn't need to be regenerated. Thus, the build can start
> normally.
> 
Something similar happens to tetex-base, when trying to build on 2.6.
I'm cloning and reassigning to tetex-base. The above analysis tells
me, that the build will fail on 2.4 too, if the first and the second
step will happen in different seconds (by chance). Is that correct?

Regards,
  Hilmar
-- 
sigmentation fault



Reply to: