Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#544528: zsh-beta: FTBFS on GNU/kFreeBSD (hang in testsuite)

0 views
Skip to first unread message

Petr Salinger

unread,
Sep 1, 2009, 6:10:09 AM9/1/09
to
Package: zsh-beta
Version: 4.3.10-dev-1+20090805-1
User: debia...@lists.debian.org
Usertags: kfreebsd

Hi,

the build of zsh-beta currently hangs in testsuite.
The problematic test is Test/B04read.ztst.

In the head of the file is written:

# Not tested:
# -c/-l/-n (options for compctl functions)
# -q/-s (needs a tty)

But a few lines latter, the "-q" is used.

0:read specified number of chars
>foo

for char in y Y n N X $'\n'; do
read -q -u0 <<<$char
print $?
done


The test hangs in "nohup dpkg-buildpackage -b -uc" build,
but passes in "dpkg-buildpackage -b -uc" interactive build.

Petr

--
To UNSUBSCRIBE, email to debian-bugs-...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Clint Adams

unread,
Sep 2, 2009, 11:50:14 AM9/2/09
to
On Tue, Sep 01, 2009 at 12:17:31PM +0200, Petr Salinger wrote:
> the build of zsh-beta currently hangs in testsuite.
> The problematic test is Test/B04read.ztst.
>
> In the head of the file is written:
>
> # Not tested:
> # -c/-l/-n (options for compctl functions)
> # -q/-s (needs a tty)
>
> But a few lines latter, the "-q" is used.

That does appear to be true.

> 0:read specified number of chars
>> foo
>
> for char in y Y n N X $'\n'; do
> read -q -u0 <<<$char
> print $?
> done
>
>
> The test hangs in "nohup dpkg-buildpackage -b -uc" build,
> but passes in "dpkg-buildpackage -b -uc" interactive build.

--

Peter Stephenson

unread,
Sep 2, 2009, 12:00:20 PM9/2/09
to
Clint Adams wrote:
> On Tue, Sep 01, 2009 at 12:17:31PM +0200, Petr Salinger wrote:
> > the build of zsh-beta currently hangs in testsuite.
> > The problematic test is Test/B04read.ztst.
> >
> > In the head of the file is written:
> >
> > # Not tested:
> > # -c/-l/-n (options for compctl functions)
> > # -q/-s (needs a tty)
> >
> > But a few lines latter, the "-q" is used.

-q doesn't need a terminal since 27188, the documentation needs changing
too.

> > 0:read specified number of chars
> >> foo
> >
> > for char in y Y n N X $'\n'; do
> > read -q -u0 <<<$char
> > print $?
> > done
> >
> >
> > The test hangs in "nohup dpkg-buildpackage -b -uc" build,
> > but passes in "dpkg-buildpackage -b -uc" interactive build.

Please find out where it's hanging, and if it does so with -k instead of
-q (the test will fail in that case unless rewritten).

--
Peter Stephenson <p...@csr.com> Software Engineer
Tel: +44 (0)1223 692070 Cambridge Silicon Radio Limited
Churchill House, Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, UK


Member of the CSR plc group of companies. CSR plc registered in England and Wales, registered number 4187346, registered office Churchill House, Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, United Kingdom

Santiago Vila

unread,
Apr 2, 2010, 2:00:02 PM4/2/10
to
On Tue, 1 Sep 2009, Petr Salinger wrote:

> Package: zsh-beta
> Version: 4.3.10-dev-1+20090805-1
> User: debia...@lists.debian.org
> Usertags: kfreebsd
>
> Hi,
>
> the build of zsh-beta currently hangs in testsuite.

Hello.

Does this still happen with version 4.3.10-dev-1+20100311-1?

It works for me using cron + sbuild.

Petr Salinger

unread,
Apr 2, 2010, 5:00:02 PM4/2/10
to
Hello.

> Does this still happen with version 4.3.10-dev-1+20100311-1?
> It works for me using cron + sbuild.

Just tested on asdfasdf.debian.net via "nohup dpkg-buildpackage -B -uc -d"
using gcc-4.4/4.4.2-9 and libc0.1-dev/2.10.2-6.
It still hangs in Test/B04read.ztst.

Petr

Santiago Vila

unread,
Apr 2, 2010, 9:30:02 PM4/2/10
to
On Fri, 2 Apr 2010, Petr Salinger wrote:

> Hello.
>
>> Does this still happen with version 4.3.10-dev-1+20100311-1?
>> It works for me using cron + sbuild.
>
> Just tested on asdfasdf.debian.net via "nohup dpkg-buildpackage -B -uc -d"
> using gcc-4.4/4.4.2-9 and libc0.1-dev/2.10.2-6.
> It still hangs in Test/B04read.ztst.

I see that using nohup it hangs in asdfasdf, but it does in
Y01completion.ztst (a little bit later), not in Test/B04read.ztst.

See your own process, for example:

cat /proc/17148/cmdline

Petr Salinger

unread,
Apr 8, 2010, 3:30:03 AM4/8/10
to
Hi.

>>> Does this still happen with version 4.3.10-dev-1+20100311-1?
>>> It works for me using cron + sbuild.
>>
>> Just tested on asdfasdf.debian.net via "nohup dpkg-buildpackage -B -uc -d"
>> using gcc-4.4/4.4.2-9 and libc0.1-dev/2.10.2-6.
>> It still hangs in Test/B04read.ztst.
>
> I see that using nohup it hangs in asdfasdf, but it does in
> Y01completion.ztst (a little bit later), not in Test/B04read.ztst.

The test really hangs in B04read.ztst, but after logout,
the test continued:
Test ../../Test/B04read.ztst failed: bad status 1, expected 0 from:
print -n 'Testing the\0null hypothesis\0' |
while read -d $'\0' line; do print $line; done
Error output:
(eval):2: bad tcgets: no such device or address
Was testing: read with null delimiter


The good news is that under current sid plus not yet uploaded
kfreebsd-8_8.0-5 the zsh-beta_4.3.10-dev-1+20100330-1 builds
fine also for me (kfreebsd-amd64). It still hangs on asdfasdf.d.n

I do not know whether it is due to newer gcc (4.4.3-7) or kernel.

Petr

0 new messages