Your message dated Thu, 10 Sep 2009 11:36:48 -0400
with message-id <[email protected]>
and subject line Re: FTBFS on kFreeBSD
has caused the Debian Bug report #545009,
regarding coreutils: FTBFS on GNU/kFreeBSD (testsuite failure of 
tests/tail-2/wait)
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 [email protected]
immediately.)


-- 
545009: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=545009
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: coreutils
Version: 7.5-1
Severity: important
Tags: patch
User: [email protected]
Usertags: kfreebsd
X-Debbugs-CC: [email protected]

Hi,

the current version fails to build on GNU/kFreeBSD
due to failure in tests/tail-2/wait.

The problem is that GNU/kFreeBSD is not inotify capable
and the current default of --max-unchanged-stats is 5.
It together with
 - second time stamp precision of underlying filesystems
 - -s.1
 - sleep .5

might easily lead into that in

                  if ((max_n_unchanged_stats_between_opens
                       <= f[i].n_unchanged_stats++)
                      && follow_mode == Follow_name)
                    {
                      recheck (&f[i], f[i].blocking);
                      f[i].n_unchanged_stats = 0;
                    }

the recheck is not done before "echo NO" happens in the test:

touch k
mv k l
sleep .5
echo NO >> l

The corresponding code above is not used for inotify capable systems.
Please change the test as shown bellow.

Petr


--- tests/tail-2/wait
+++ tests/tail-2/wait
@@ -118,7 +118,7 @@

 test -s tail.err && fail=1

-tail -s.1 -F k > tail.out &
+tail -s.1 --max-unchanged-stats=2 -F k > tail.out &
 pid=$!
 sleep .5
 ls -al




--- End Message ---
--- Begin Message ---
Fixed: 7.5-2

Typoed the changelog entry which should have closed this.


--- End Message ---

Reply via email to