test suite error: DotD_Case

View: New views
3 Messages — Rating Filter:   Alert me  

test suite error: DotD_Case

by Thomas Tutone :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


I'm trying to compile distcc on a Linux From Scratch system.  I'm using gcc 4.3.2 and Python 2.6.1.  Source compiles cleanly (./configure && make).  However, when I run the test suite (make check) I get an error - here's the relevant excerpt:

ParseMask_Case                 OK
DotD_Case                      [TempCompile_Case FAIL]
-----------------------------------------------------------------
Traceback (most recent call last):
  File "/sources/other/distcc-3.1/test/comfychair.py", line 355, in runtest
    obj.runtest()
  File "./test/testdistcc.py", line 611, in runtest
    self.compile()
  File "./test/testdistcc.py", line 889, in compile
    out, err = self.runcmd(cmd)
  File "/sources/other/distcc-3.1/test/comfychair.py", line 219, in runcmd
    %s""" % (rc, expectedResult, cmd, output, stderr))
AssertionError: command returned 1; expected 0: "/usr/bin/gcc foo.cpp -o hello.o"
stdout:

stderr:
foo.cpp:2: error: first argument of 'int main(char**)' should be 'int'
foo.cpp:2: error: 'int main(char**)' takes only zero or two arguments

test_log:
Run command: distccd --verbose --lifetime=60 --daemon --log-file '/sources/other/distcc-3.1/_testtmp/DotD_Case/_testtmp/TempCompile_Case/distccd.log' --pid-file '/sources/other/distcc-3.1/_testtmp/DotD_Case/
Wait status: 0x0 (exit code 0, signal 0)
stdout:

stderr:
Run command: /usr/bin/gcc foo.cpp -o hello.o
Wait status: 0x100 (exit code 1, signal 0)
stdout:

stderr:
foo.cpp:2: error: first argument of 'int main(char**)' should be 'int'
foo.cpp:2: error: 'int main(char**)' takes only zero or two arguments

-----------------------------------------------------------------
FAIL
-----------------------------------------------------------------
Traceback (most recent call last):
  File "/sources/other/distcc-3.1/test/comfychair.py", line 355, in runtest
    obj.runtest()
  File "./test/testdistcc.py", line 619, in runtest
    %  (args, dep_glob, how_many, target))
AssertionError: Case (args:foo.cpp -o hello.o, dep_glob:*.d, how_many:0, target:None)
test_log:
Run command: touch testtmp.cpp; /usr/bin/gcc -c testtmp.cpp -o /dev/null
Wait status: 0x0 (exit code 0, signal 0)
stdout:

stderr:
Run command: h_dotd dcc_get_dotd_info gcc -c foo.c -o hello.o -MD
Wait status: 0x0 (exit code 0, signal 0)
stdout:
{'dotd_fname':'hello.d', 'needs_dotd':1, 'sets_dotd_target':0, 'dotd_target':'None'}
stderr:
Run command: h_dotd dcc_get_dotd_info gcc -c foo.c -o hello.. -MD
Wait status: 0x0 (exit code 0, signal 0)
stdout:
{'dotd_fname':'hello..d', 'needs_dotd':1, 'sets_dotd_target':0, 'dotd_target':'None'}
stderr:
Run command: h_dotd dcc_get_dotd_info gcc -c foo.c -o hello.bar.foo -MD
Wait status: 0x0 (exit code 0, signal 0)
stdout:
{'dotd_fname':'hello.bar.d', 'needs_dotd':1, 'sets_dotd_target':0, 'dotd_target':'None'}
stderr:
Run command: h_dotd dcc_get_dotd_info gcc -c foo.c -o hello.o
Wait status: 0x0 (exit code 0, signal 0)
stdout:
{'dotd_fname':'hello.d', 'needs_dotd':0, 'sets_dotd_target':0, 'dotd_target':'None'}
stderr:
Run command: h_dotd dcc_get_dotd_info gcc -c foo.c -o hello.bar.foo -MD
Wait status: 0x0 (exit code 0, signal 0)
stdout:
{'dotd_fname':'hello.bar.d', 'needs_dotd':1, 'sets_dotd_target':0, 'dotd_target':'None'}
stderr:
Run command: h_dotd dcc_get_dotd_info gcc -c foo.c -MD
Wait status: 0x0 (exit code 0, signal 0)
stdout:
{'dotd_fname':'foo.d', 'needs_dotd':1, 'sets_dotd_target':0, 'dotd_target':'None'}
stderr:
Run command: h_dotd dcc_get_dotd_info gcc -c foo.c -o hello. -MD
Wait status: 0x0 (exit code 0, signal 0)
stdout:
{'dotd_fname':'hello.d', 'needs_dotd':1, 'sets_dotd_target':0, 'dotd_target':'None'}
stderr:
Run command: h_dotd dcc_get_dotd_info gcc -c foo.c -o hello. -MD -MT tootoo
Wait status: 0x0 (exit code 0, signal 0)
stdout:
{'dotd_fname':'hello.d', 'needs_dotd':1, 'sets_dotd_target':1, 'dotd_target':'None'}
stderr:
Run command: h_dotd dcc_get_dotd_info gcc -c foo.c -o hello.o -MD -MT tootoo
Wait status: 0x0 (exit code 0, signal 0)
stdout:
{'dotd_fname':'hello.d', 'needs_dotd':1, 'sets_dotd_target':1, 'dotd_target':'None'}
stderr:
Run command: h_dotd dcc_get_dotd_info gcc -c foo.c -o hello.o -MD -MF foobar
Wait status: 0x0 (exit code 0, signal 0)
stdout:
{'dotd_fname':'foobar', 'needs_dotd':1, 'sets_dotd_target':0, 'dotd_target':'None'}
stderr:

-----------------------------------------------------------------
DashMD_DashMF_DashMT_Case      OK


Any ideas why this item of the test suite failed?

Thanks.

Tom




     
__
distcc mailing list            http://distcc.samba.org/
To unsubscribe or change options:
https://lists.samba.org/mailman/listinfo/distcc

Re: test suite error: DotD_Case

by Thomas Tutone :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Thanks for the prompt (and helpful) response - I hadn't seen that before.  I think you're referring to this:

http://code.google.com/p/distcc/issues/detail?id=44&can=6

I'll try the patch tonight and report back.

Cheers.

Tom


--- On Fri, 4/10/09, Fergus Henderson <fergus.henderson@...> wrote:

> From: Fergus Henderson <fergus.henderson@...>
> Subject: Re: [distcc] test suite error: DotD_Case
> To: "Thomas Tutone" <thomas8675309@...>, distcc@...
> Date: Friday, April 10, 2009, 8:02 AM
> I think this is due to newer gcc versions being more strict.
>  IIRC there's an issue for this - with a patch to fix
> it! - on the distcc issues list at distcc.org. I haven't
> yet had a chance to review it.
>
> Thomas Tutone <thomas8675309@...> wrote:
>
> >
> >I'm trying to compile distcc on a Linux From
> Scratch system.  I'm using gcc 4.3.2 and Python 2.6.1.
> Source compiles cleanly (./configure && make).
> However, when I run the test suite (make check) I get an
> error - here's the relevant excerpt:
> >
> >ParseMask_Case                 OK
> >DotD_Case                      [TempCompile_Case FAIL]

[snip]

> >-----------------------------------------------------------------
> >DashMD_DashMF_DashMT_Case      OK
> >
> >
> >Any ideas why this item of the test suite failed?
> >
> >Thanks.
> >
> >Tom



     
__
distcc mailing list            http://distcc.samba.org/
To unsubscribe or change options:
https://lists.samba.org/mailman/listinfo/distcc

Re: test suite error: DotD_Case

by Thomas Tutone :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


I applied the patch this evening.  With it, the test suite had no failures or errors.  Thanks very much.

Best regards,

Tom


--- On Fri, 4/10/09, Thomas Tutone <thomas8675309@...> wrote:

> From: Thomas Tutone <thomas8675309@...>
> Subject: Re: [distcc] test suite error: DotD_Case
> To: distcc@...
> Date: Friday, April 10, 2009, 9:05 AM
> Thanks for the prompt (and helpful) response - I hadn't
> seen that before.  I think you're referring to this:
>
> http://code.google.com/p/distcc/issues/detail?id=44&can=6
>
> I'll try the patch tonight and report back.
>
> Cheers.
>
> Tom
>
>
> --- On Fri, 4/10/09, Fergus Henderson
> <fergus.henderson@...> wrote:
>
> > From: Fergus Henderson
> <fergus.henderson@...>
> > Subject: Re: [distcc] test suite error: DotD_Case
> > To: "Thomas Tutone"
> <thomas8675309@...>, distcc@...
> > Date: Friday, April 10, 2009, 8:02 AM
> > I think this is due to newer gcc versions being more
> strict.
> >  IIRC there's an issue for this - with a patch to
> fix
> > it! - on the distcc issues list at distcc.org. I
> haven't
> > yet had a chance to review it.



     
__
distcc mailing list            http://distcc.samba.org/
To unsubscribe or change options:
https://lists.samba.org/mailman/listinfo/distcc