All of lore.kernel.org
 help / color / mirror / Atom feed
* Patched up cthon source?
@ 2011-01-24 22:19 Thomas Haynes
  2011-01-24 22:24 ` Chuck Lever
                   ` (3 more replies)
  0 siblings, 4 replies; 16+ messages in thread
From: Thomas Haynes @ 2011-01-24 22:19 UTC (permalink / raw)
  To: linux-nfs

I'm being evil here on purpose. :->

I'm trying to run cthon04 as downloaded from the connectathon.org repository
and I'm getting this:


Nroff
./stat: no data in nroff.time
general tests failed
Tests failed, leaving /cthon04/loghyr mounted


As I kinda recall several people fixing this already, where would I go to get patches?

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Patched up cthon source?
  2011-01-24 22:19 Patched up cthon source? Thomas Haynes
@ 2011-01-24 22:24 ` Chuck Lever
  2011-01-24 22:33   ` Benny Halevy
  2011-01-24 22:50 ` sfaibish
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 16+ messages in thread
From: Chuck Lever @ 2011-01-24 22:24 UTC (permalink / raw)
  To: Thomas Haynes; +Cc: linux-nfs


On Jan 24, 2011, at 5:19 PM, Thomas Haynes wrote:

> I'm being evil here on purpose. :->
> 
> I'm trying to run cthon04 as downloaded from the connectathon.org repository
> and I'm getting this:
> 
> 
> Nroff
> ./stat: no data in nroff.time
> general tests failed
> Tests failed, leaving /cthon04/loghyr mounted
> 
> 
> As I kinda recall several people fixing this already, where would I go to get patches?

What are your CFLAGS settings in tests.init?

-- 
Chuck Lever
chuck[dot]lever[at]oracle[dot]com





^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Patched up cthon source?
  2011-01-24 22:24 ` Chuck Lever
@ 2011-01-24 22:33   ` Benny Halevy
  2011-01-24 23:01     ` Jim Rees
                       ` (2 more replies)
  0 siblings, 3 replies; 16+ messages in thread
From: Benny Halevy @ 2011-01-24 22:33 UTC (permalink / raw)
  To: Chuck Lever; +Cc: Thomas Haynes, linux-nfs

On 2011-01-24 17:24, Chuck Lever wrote:
> 
> On Jan 24, 2011, at 5:19 PM, Thomas Haynes wrote:
> 
>> I'm being evil here on purpose. :->
>>
>> I'm trying to run cthon04 as downloaded from the connectathon.org repository
>> and I'm getting this:
>>
>>
>> Nroff
>> ./stat: no data in nroff.time
>> general tests failed
>> Tests failed, leaving /cthon04/loghyr mounted
>>
>>
>> As I kinda recall several people fixing this already, where would I go to get patches?
> 
> What are your CFLAGS settings in tests.init?
> 

this is a problem with the version of nroff on newer distributions.
The following patch fixed it for me last bakeathon:

>From f44b150809e43b129fad34e3e4ec288e4dd36e6c Mon Sep 17 00:00:00 2001
From: Benny Halevy <bhalevy@panasas.com>
Date: Wed, 6 Oct 2010 11:37:27 -0400
Subject: [PATCH] cthon nroff general test workaround

Newer versions of nroff spew out a warning that cause the cthon test
to fail in the following way:

Nroff
./stat: no data in nroff.time
general tests failed

The following patch filters out the warning from the output file
generated during the test.

Signed-off-by: Benny Halevy <bhalevy@panasas.com>
---
 general/runtests.wrk |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/general/runtests.wrk b/general/runtests.wrk
index f3a5a4e..8247e2f 100644
--- a/general/runtests.wrk
+++ b/general/runtests.wrk
@@ -89,6 +89,8 @@ $TIME nroff < nroff.tbl > nroff.out 2>> nroff.time || cat nroff.time
 $TIME nroff < nroff.tbl > nroff.out 2>> nroff.time || cat nroff.time
 rm nroff.out nroff.tbl
 set -e
+egrep -v '^warning:.*$' <nroff.time >nroff.new
+mv -f nroff.new nroff.time
 ./stat nroff.time
 set +e
 
-- 
1.7.3.4


^ permalink raw reply related	[flat|nested] 16+ messages in thread

* Re: Patched up cthon source?
  2011-01-24 22:19 Patched up cthon source? Thomas Haynes
  2011-01-24 22:24 ` Chuck Lever
@ 2011-01-24 22:50 ` sfaibish
  2011-01-25  9:46 ` DENIEL Philippe
  2011-01-25 17:05 ` Steve Dickson
  3 siblings, 0 replies; 16+ messages in thread
From: sfaibish @ 2011-01-24 22:50 UTC (permalink / raw)
  To: Thomas Haynes, linux-nfs

Unfortunatelly I got similar complains from our QA running cthon04 in
preparation for the Connectathon. Nothing evil here. :)

/Sorin



On Mon, 24 Jan 2011 17:19:17 -0500, Thomas Haynes <thomas@netapp.com>  
wrote:

> I'm being evil here on purpose. :->
>
> I'm trying to run cthon04 as downloaded from the connectathon.org  
> repository
> and I'm getting this:
>
>
> Nroff
> ./stat: no data in nroff.time
> general tests failed
> Tests failed, leaving /cthon04/loghyr mounted
>
>
> As I kinda recall several people fixing this already, where would I go  
> to get patches?--
> To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>
>



-- 
Best Regards

Sorin Faibish
Corporate Distinguished Engineer
Unified Storage Division
         EMC²
where information lives

Phone: 508-249-5745
Cellphone: 617-510-0422
Email : sfaibish@emc.com

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Patched up cthon source?
  2011-01-24 22:33   ` Benny Halevy
@ 2011-01-24 23:01     ` Jim Rees
  2011-01-24 23:32     ` Thomas Haynes
  2011-01-25 13:43     ` Bryan Schumaker
  2 siblings, 0 replies; 16+ messages in thread
From: Jim Rees @ 2011-01-24 23:01 UTC (permalink / raw)
  To: Benny Halevy; +Cc: Chuck Lever, Thomas Haynes, linux-nfs

Benny Halevy wrote:

  this is a problem with the version of nroff on newer distributions.
  The following patch fixed it for me last bakeathon:
  
  From f44b150809e43b129fad34e3e4ec288e4dd36e6c Mon Sep 17 00:00:00 2001

Maybe one of our Oracle friends (Chuck?) can push this upstream?  The
Connectathon web site still lists cthon04 as the official test suite.

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Patched up cthon source?
  2011-01-24 22:33   ` Benny Halevy
  2011-01-24 23:01     ` Jim Rees
@ 2011-01-24 23:32     ` Thomas Haynes
  2011-01-25 13:43     ` Bryan Schumaker
  2 siblings, 0 replies; 16+ messages in thread
From: Thomas Haynes @ 2011-01-24 23:32 UTC (permalink / raw)
  To: Benny Halevy; +Cc: Chuck Lever, linux-nfs

Thanks Benny, it works like a charm now!


^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Patched up cthon source?
  2011-01-24 22:19 Patched up cthon source? Thomas Haynes
  2011-01-24 22:24 ` Chuck Lever
  2011-01-24 22:50 ` sfaibish
@ 2011-01-25  9:46 ` DENIEL Philippe
  2011-01-25 17:05 ` Steve Dickson
  3 siblings, 0 replies; 16+ messages in thread
From: DENIEL Philippe @ 2011-01-25  9:46 UTC (permalink / raw)
  To: Thomas Haynes; +Cc: linux-nfs

Thomas Haynes a écrit :
> I'm being evil here on purpose. :->
>
> I'm trying to run cthon04 as downloaded from the connectathon.org repository
> and I'm getting this:
>
>
> Nroff
> ./stat: no data in nroff.time
> general tests failed
> Tests failed, leaving /cthon04/loghyr mounted
>
>   
I had a similar behavior and it was a bug on my side that I solved 
during the past bake-a-thom : the 'nroff' step does lots  of garbage  in 
the file, so there is a call to 'grep -v' to get rid off all this 
garbage. The result is sent to a secondary file that is moved to the 
original file. So there is a 'mv -f a b' were both a and b exist. This 
should lead to a situation were the original "b" disappears and is 
replaced by "a". This was the bug I had. May be you are in the same 
situation. I hope this would help you.

    Regards

       Philippe

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Patched up cthon source?
  2011-01-24 22:33   ` Benny Halevy
  2011-01-24 23:01     ` Jim Rees
  2011-01-24 23:32     ` Thomas Haynes
@ 2011-01-25 13:43     ` Bryan Schumaker
  2011-01-25 14:56       ` Jeff Layton
  2 siblings, 1 reply; 16+ messages in thread
From: Bryan Schumaker @ 2011-01-25 13:43 UTC (permalink / raw)
  To: Benny Halevy; +Cc: Chuck Lever, Thomas Haynes, linux-nfs

On 01/24/2011 05:33 PM, Benny Halevy wrote:
> this is a problem with the version of nroff on newer distributions.

My version of groff (1.21) is splitting the error into two lines, so I am using the following patch.

Bryan


--- a/general/runtests.wrk

+++ a/general/runtests.wrk

@@ -88,6 +88,12 @@

 $TIME nroff < nroff.tbl > nroff.out 2>> nroff.time || cat nroff.time

 $TIME nroff < nroff.tbl > nroff.out 2>> nroff.time || cat nroff.time

 rm nroff.out nroff.tbl

+# Filter excessive noise from GNU nroff.  Should be harmless for other

+# versions of nroff.

+egrep -v '^warning:.*$' <nroff.time >nroff.new

+mv -f nroff.new nroff.time

+egrep -v '^  table wider.*$' <nroff.time >nroff.new

+mv -f nroff.new nroff.time

 set -e

 ./stat nroff.time

 set +e




^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Patched up cthon source?
  2011-01-25 13:43     ` Bryan Schumaker
@ 2011-01-25 14:56       ` Jeff Layton
  2011-01-25 15:38         ` Trond Myklebust
       [not found]         ` <20110125095649.446212fd-9yPaYZwiELC+kQycOl6kW4xkIHaj4LzF@public.gmane.org>
  0 siblings, 2 replies; 16+ messages in thread
From: Jeff Layton @ 2011-01-25 14:56 UTC (permalink / raw)
  To: Bryan Schumaker; +Cc: Benny Halevy, Chuck Lever, Thomas Haynes, linux-nfs

On Tue, 25 Jan 2011 08:43:25 -0500
Bryan Schumaker <bjschuma@netapp.com> wrote:

> On 01/24/2011 05:33 PM, Benny Halevy wrote:
> > this is a problem with the version of nroff on newer distributions.
> 
> My version of groff (1.21) is splitting the error into two lines, so I am using the following patch.
> 
> Bryan
> 

Yep, this workaround stopped working around for me on my rawhide box
broke yesterday for the same reason.

I think this patch may be a better approach than trying to grep out
random stuff, but I don't know whether non-GNU tbl programs will barf
on it. If anyone has a solaris box handy, could you let me know if
this breaks on it?

----------------------[snip]------------------
[PATCH] cthon04: add "nowarn" option to nroff.in tables

This prevents the tbl preprocessor from stuffing warnings into the
resulting file, which subsequently can make nroff spew warnings like
this on stderr:

    warning: file `nroff.in', around line 47:
      table wider than line width

Unfortunately, I'm not sure how non-gnu tbl programs will react to
this option, so YMMV.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
---
 general/nroff.in |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/general/nroff.in b/general/nroff.in
index 522ac80..a8acb3a 100644
--- a/general/nroff.in
+++ b/general/nroff.in
@@ -18,7 +18,7 @@ benchmarks.
 .LP
 I ran the benchmarks on the following configurations:
 .TS
-center;
+center nowarn;
 l l l l.
 CPU	Unix	Fortran	Memory
 .sp 4p
@@ -38,7 +38,7 @@ A bubble sort of integers.
 A prime number generator.
 .LP
 .TS
-center;
+center nowarn;
  c|c|c s|c s|
  c|c|c s|c s|
  c|c|c s|c s|
-- 
1.7.3.4


^ permalink raw reply related	[flat|nested] 16+ messages in thread

* Re: Patched up cthon source?
  2011-01-25 14:56       ` Jeff Layton
@ 2011-01-25 15:38         ` Trond Myklebust
  2011-01-25 15:46           ` peter.staubach
  2011-01-25 15:53           ` Jeff Layton
       [not found]         ` <20110125095649.446212fd-9yPaYZwiELC+kQycOl6kW4xkIHaj4LzF@public.gmane.org>
  1 sibling, 2 replies; 16+ messages in thread
From: Trond Myklebust @ 2011-01-25 15:38 UTC (permalink / raw)
  To: Jeff Layton
  Cc: Bryan Schumaker, Benny Halevy, Chuck Lever, Thomas Haynes, linux-nfs

On Tue, 2011-01-25 at 09:56 -0500, Jeff Layton wrote: 
> On Tue, 25 Jan 2011 08:43:25 -0500
> Bryan Schumaker <bjschuma@netapp.com> wrote:
> 
> > On 01/24/2011 05:33 PM, Benny Halevy wrote:
> > > this is a problem with the version of nroff on newer distributions.
> > 
> > My version of groff (1.21) is splitting the error into two lines, so I am using the following patch.
> > 
> > Bryan
> > 
> 
> Yep, this workaround stopped working around for me on my rawhide box
> broke yesterday for the same reason.
> 
> I think this patch may be a better approach than trying to grep out
> random stuff, but I don't know whether non-GNU tbl programs will barf
> on it. If anyone has a solaris box handy, could you let me know if
> this breaks on it?
> 
> ----------------------[snip]------------------
> [PATCH] cthon04: add "nowarn" option to nroff.in tables
> 
> This prevents the tbl preprocessor from stuffing warnings into the
> resulting file, which subsequently can make nroff spew warnings like
> this on stderr:
> 
>     warning: file `nroff.in', around line 47:
>       table wider than line width
> 
> Unfortunately, I'm not sure how non-gnu tbl programs will react to
> this option, so YMMV.
> 
> Signed-off-by: Jeff Layton <jlayton@redhat.com>
> ---
>  general/nroff.in |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/general/nroff.in b/general/nroff.in
> index 522ac80..a8acb3a 100644
> --- a/general/nroff.in
> +++ b/general/nroff.in
> @@ -18,7 +18,7 @@ benchmarks.
>  .LP
>  I ran the benchmarks on the following configurations:
>  .TS
> -center;
> +center nowarn;
>  l l l l.
>  CPU	Unix	Fortran	Memory
>  .sp 4p
> @@ -38,7 +38,7 @@ A bubble sort of integers.
>  A prime number generator.
>  .LP
>  .TS
> -center;
> +center nowarn;
>   c|c|c s|c s|
>   c|c|c s|c s|
>   c|c|c s|c s|

Here's a radical idea: what say we change the nroff.in file so that it
no longer tries to fit a 130ish character wide table into an 80
character wide page?

Cheers
   Trond
-- 
Trond Myklebust
Linux NFS client maintainer

NetApp
Trond.Myklebust@netapp.com
www.netapp.com


^ permalink raw reply	[flat|nested] 16+ messages in thread

* RE: Patched up cthon source?
  2011-01-25 15:38         ` Trond Myklebust
@ 2011-01-25 15:46           ` peter.staubach
  2011-01-25 15:53           ` Jeff Layton
  1 sibling, 0 replies; 16+ messages in thread
From: peter.staubach @ 2011-01-25 15:46 UTC (permalink / raw)
  To: Trond.Myklebust, jlayton
  Cc: bjschuma, bhalevy, chuck.lever, thomas, linux-nfs

VGhhdCdzIGEgZ3JlYXQgaWRlYS4NCg0KUGVyaGFwcyB3ZSBjb3VsZCBhbHNvIGZpeCB0aGUgc3Rh
dCBwcm9ncmFtIHRvIGlnbm9yZSBsaW5lcyB0aGF0IGl0IGlzbid0IGxvb2tpbmcgZm9yLi4uDQoN
CgkJcHMNCg0KDQotLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KRnJvbTogbGludXgtbmZzLW93
bmVyQHZnZXIua2VybmVsLm9yZyBbbWFpbHRvOmxpbnV4LW5mcy1vd25lckB2Z2VyLmtlcm5lbC5v
cmddIE9uIEJlaGFsZiBPZiBUcm9uZCBNeWtsZWJ1c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b20NCnd3dy5uZXRhcHAuY29t
DQoNCi0tDQpUbyB1bnN1YnNjcmliZSBmcm9tIHRoaXMgbGlzdDogc2VuZCB0aGUgbGluZSAidW5z
dWJzY3JpYmUgbGludXgtbmZzIiBpbg0KdGhlIGJvZHkgb2YgYSBtZXNzYWdlIHRvIG1ham9yZG9t
b0B2Z2VyLmtlcm5lbC5vcmcNCk1vcmUgbWFqb3Jkb21vIGluZm8gYXQgIGh0dHA6Ly92Z2VyLmtl
cm5lbC5vcmcvbWFqb3Jkb21vLWluZm8uaHRtbA0KDQoT77+977+97Lm7HO+/vSbvv71+77+9Ju+/
vRjvv73vv70rLe+/ve+/vd22F++/ve+/vXfvv73vv73Lm++/ve+/ve+/vW3vv71i77+977+9Z37I
p++/vRfvv73vv73cqH3vv73vv73vv73GoHrvv70majordu+/ve+/ve+/vQfvv73vv73vv73vv716
Wivvv73vv70rembvv73vv73vv71o77+977+977+9fu+/ve+/ve+/ve+/vWnvv73vv73vv71677+9
Hu+/vXfvv73vv73vv70/77+977+977+977+9Ju+/vSnfohtm

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Patched up cthon source?
  2011-01-25 15:38         ` Trond Myklebust
  2011-01-25 15:46           ` peter.staubach
@ 2011-01-25 15:53           ` Jeff Layton
  1 sibling, 0 replies; 16+ messages in thread
From: Jeff Layton @ 2011-01-25 15:53 UTC (permalink / raw)
  To: Trond Myklebust
  Cc: Bryan Schumaker, Benny Halevy, Chuck Lever, Thomas Haynes, linux-nfs

On Tue, 25 Jan 2011 10:38:32 -0500
Trond Myklebust <Trond.Myklebust@netapp.com> wrote:

> On Tue, 2011-01-25 at 09:56 -0500, Jeff Layton wrote: 
> > On Tue, 25 Jan 2011 08:43:25 -0500
> > Bryan Schumaker <bjschuma@netapp.com> wrote:
> > 
> > > On 01/24/2011 05:33 PM, Benny Halevy wrote:
> > > > this is a problem with the version of nroff on newer distributions.
> > > 
> > > My version of groff (1.21) is splitting the error into two lines, so I am using the following patch.
> > > 
> > > Bryan
> > > 
> > 
> > Yep, this workaround stopped working around for me on my rawhide box
> > broke yesterday for the same reason.
> > 
> > I think this patch may be a better approach than trying to grep out
> > random stuff, but I don't know whether non-GNU tbl programs will barf
> > on it. If anyone has a solaris box handy, could you let me know if
> > this breaks on it?
> > 
> > ----------------------[snip]------------------
> > [PATCH] cthon04: add "nowarn" option to nroff.in tables
> > 
> > This prevents the tbl preprocessor from stuffing warnings into the
> > resulting file, which subsequently can make nroff spew warnings like
> > this on stderr:
> > 
> >     warning: file `nroff.in', around line 47:
> >       table wider than line width
> > 
> > Unfortunately, I'm not sure how non-gnu tbl programs will react to
> > this option, so YMMV.
> > 
> > Signed-off-by: Jeff Layton <jlayton@redhat.com>
> > ---
> >  general/nroff.in |    4 ++--
> >  1 files changed, 2 insertions(+), 2 deletions(-)
> > 
> > diff --git a/general/nroff.in b/general/nroff.in
> > index 522ac80..a8acb3a 100644
> > --- a/general/nroff.in
> > +++ b/general/nroff.in
> > @@ -18,7 +18,7 @@ benchmarks.
> >  .LP
> >  I ran the benchmarks on the following configurations:
> >  .TS
> > -center;
> > +center nowarn;
> >  l l l l.
> >  CPU	Unix	Fortran	Memory
> >  .sp 4p
> > @@ -38,7 +38,7 @@ A bubble sort of integers.
> >  A prime number generator.
> >  .LP
> >  .TS
> > -center;
> > +center nowarn;
> >   c|c|c s|c s|
> >   c|c|c s|c s|
> >   c|c|c s|c s|
> 
> Here's a radical idea: what say we change the nroff.in file so that it
> no longer tries to fit a 130ish character wide table into an 80
> character wide page?
> 

Agreed...

I actually gave that a try first, but after wasting a half hour or so
on it, I just went "nowarn". I'd be all for fixing it the right way if
someone can suggest a patch...

An even more radical idea that Peter S. suggested a while back would be
to update this test to use something more modern than nroff (XML
parsing maybe?)...

-- 
Jeff Layton <jlayton@redhat.com>

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Patched up cthon source?
  2011-01-24 22:19 Patched up cthon source? Thomas Haynes
                   ` (2 preceding siblings ...)
  2011-01-25  9:46 ` DENIEL Philippe
@ 2011-01-25 17:05 ` Steve Dickson
  2011-01-25 21:36   ` Halevy, Benny
  3 siblings, 1 reply; 16+ messages in thread
From: Steve Dickson @ 2011-01-25 17:05 UTC (permalink / raw)
  To: Thomas Haynes; +Cc: linux-nfs

I just set up a git tree on linux-nfs.org 

    git://linux-nfs.org/~steved/cthon04.git

I'll start applying the patches to that tree so we all
will have one common place to pull from... At least for now...

steved.


On 01/24/2011 05:19 PM, Thomas Haynes wrote:
> I'm being evil here on purpose. :->
> 
> I'm trying to run cthon04 as downloaded from the connectathon.org repository
> and I'm getting this:
> 
> 
> Nroff
> ./stat: no data in nroff.time
> general tests failed
> Tests failed, leaving /cthon04/loghyr mounted
> 
> 
> As I kinda recall several people fixing this already, where would I go to get patches?--
> To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 16+ messages in thread

* RE: Patched up cthon source?
  2011-01-25 17:05 ` Steve Dickson
@ 2011-01-25 21:36   ` Halevy, Benny
  0 siblings, 0 replies; 16+ messages in thread
From: Halevy, Benny @ 2011-01-25 21:36 UTC (permalink / raw)
  To: Steve Dickson, Thomas Haynes; +Cc: linux-nfs

Great. Thanks!

Benny


-----Original Message-----
From: linux-nfs-owner@vger.kernel.org on behalf of Steve Dickson
Sent: Tue 2011-01-25 19:05
To: Thomas Haynes
Cc: linux-nfs@vger.kernel.org
Subject: Re: Patched up cthon source?
 
I just set up a git tree on linux-nfs.org 

    git://linux-nfs.org/~steved/cthon04.git

I'll start applying the patches to that tree so we all
will have one common place to pull from... At least for now...

steved.


On 01/24/2011 05:19 PM, Thomas Haynes wrote:
> I'm being evil here on purpose. :->
> 
> I'm trying to run cthon04 as downloaded from the connectathon.org repository
> and I'm getting this:
> 
> 
> Nroff
> ./stat: no data in nroff.time
> general tests failed
> Tests failed, leaving /cthon04/loghyr mounted
> 
> 
> As I kinda recall several people fixing this already, where would I go to get patches?--
> To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Patched up cthon source?
       [not found]         ` <20110125095649.446212fd-9yPaYZwiELC+kQycOl6kW4xkIHaj4LzF@public.gmane.org>
@ 2011-02-07 19:13           ` Jim Rees
  2011-02-07 22:00             ` Jeff Layton
  0 siblings, 1 reply; 16+ messages in thread
From: Jim Rees @ 2011-02-07 19:13 UTC (permalink / raw)
  To: Jeff Layton
  Cc: Bryan Schumaker, Benny Halevy, Chuck Lever, Thomas Haynes, linux-nfs

Jeff Layton wrote:

  On Tue, 25 Jan 2011 08:43:25 -0500
  Bryan Schumaker <bjschuma@netapp.com> wrote:
  
  > On 01/24/2011 05:33 PM, Benny Halevy wrote:
  > > this is a problem with the version of nroff on newer distributions.
  > 
  > My version of groff (1.21) is splitting the error into two lines, so I am using the following patch.
  > 
  > Bryan
  > 
  
  Yep, this workaround stopped working around for me on my rawhide box
  broke yesterday for the same reason.
  
  I think this patch may be a better approach than trying to grep out
  random stuff, but I don't know whether non-GNU tbl programs will barf
  on it. If anyone has a solaris box handy, could you let me know if
  this breaks on it?

Your patch does not work for me on Ubuntu with groff 1.20.1.

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Patched up cthon source?
  2011-02-07 19:13           ` Jim Rees
@ 2011-02-07 22:00             ` Jeff Layton
  0 siblings, 0 replies; 16+ messages in thread
From: Jeff Layton @ 2011-02-07 22:00 UTC (permalink / raw)
  To: Jim Rees
  Cc: Bryan Schumaker, Benny Halevy, Chuck Lever, Thomas Haynes, linux-nfs

On Mon, 7 Feb 2011 14:13:21 -0500
Jim Rees <rees@umich.edu> wrote:

> Jeff Layton wrote:
> 
>   On Tue, 25 Jan 2011 08:43:25 -0500
>   Bryan Schumaker <bjschuma@netapp.com> wrote:
>   
>   > On 01/24/2011 05:33 PM, Benny Halevy wrote:
>   > > this is a problem with the version of nroff on newer distributions.
>   > 
>   > My version of groff (1.21) is splitting the error into two lines, so I am using the following patch.
>   > 
>   > Bryan
>   > 
>   
>   Yep, this workaround stopped working around for me on my rawhide box
>   broke yesterday for the same reason.
>   
>   I think this patch may be a better approach than trying to grep out
>   random stuff, but I don't know whether non-GNU tbl programs will barf
>   on it. If anyone has a solaris box handy, could you let me know if
>   this breaks on it?
> 
> Your patch does not work for me on Ubuntu with groff 1.20.1.

Ahh yeah, looks like "nowarn" is a very new option. All the more reason
for Steve to drop that patch. He had some other patches to the code that
should make it superfluous anyway.

-- 
Jeff Layton <jlayton@redhat.com>

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2011-02-07 22:00 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-24 22:19 Patched up cthon source? Thomas Haynes
2011-01-24 22:24 ` Chuck Lever
2011-01-24 22:33   ` Benny Halevy
2011-01-24 23:01     ` Jim Rees
2011-01-24 23:32     ` Thomas Haynes
2011-01-25 13:43     ` Bryan Schumaker
2011-01-25 14:56       ` Jeff Layton
2011-01-25 15:38         ` Trond Myklebust
2011-01-25 15:46           ` peter.staubach
2011-01-25 15:53           ` Jeff Layton
     [not found]         ` <20110125095649.446212fd-9yPaYZwiELC+kQycOl6kW4xkIHaj4LzF@public.gmane.org>
2011-02-07 19:13           ` Jim Rees
2011-02-07 22:00             ` Jeff Layton
2011-01-24 22:50 ` sfaibish
2011-01-25  9:46 ` DENIEL Philippe
2011-01-25 17:05 ` Steve Dickson
2011-01-25 21:36   ` Halevy, Benny

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.