[torquedev] make distcheck

Garrick Staples garrick at usc.edu
Fri Jul 16 09:47:09 MDT 2010


On Jul 16, 2010, at 12:53 AM, Bas van der Vlies wrote:

> On 16-07-10 06:50, Garrick Staples wrote:
>> Bump.
>> 
>> We need 'make distcheck' run on every possible linux distro and platform.
>> 
> Ok i just tried some configs:
> 
>  * debian lenny i386, gcc 4.3.2 (default), make distcheck passes
>  * debian lenny i386, gcc 4.1.3, make distcheck passes
>  * debian lenny i386, gcc 3.4.6. make distcheck passes
>  * debian lenny i386, icc 10.1.018, make distcheck passes
> 
>  * debian lenny amd64, gcc 4.3.2 (default), make distcheck passes
>  * debian lenny amd64, gcc 4.1.3, make distcheck passes
>  * debian lenny amd64, gcc 4.2.4, make distcheck passes
> 
>  * debian squeeze amd64, gcc 4.4.4 (default), make distcheck passes
>  * debian squeeze amd64, gcc 4.1.3, make distcheck passes
>  * debian squeeze amd64, gcc 4.2.4, make distcheck passes
>  * debian squeeze amd64, gcc 4.3.5, make distcheck passes
> 

Great!


>  * debian lenny i386, gcc 3.3.6. make distcheck failes
> {{{
>> if gcc-3.3 -DHAVE_CONFIG_H -I. -I../../../src/server -I../../src/include  -I../../../src/include  -DPBS_SERVER_HOME=\"/var/tmp/trunk/torque-2.5.0/_inst/spool\" -DPBS_ENVIRON=\"/var/tmp/trunk/torque-2.5.0/_inst/spool/pbs_environment\" -g -O2 -W -Wall -Wno-unused-parameter -Wno-long-long -pedantic -Werror -D_LARGEFILE64_SOURCE -MT stat_job.o -MD -MP -MF ".deps/stat_job.Tpo" -c -o stat_job.o ../../../src/server/stat_job.c; \
>> 	then mv -f ".deps/stat_job.Tpo" ".deps/stat_job.Po"; else rm -f ".deps/stat_job.Tpo"; exit 1; fi
>> ../../../src/server/stat_job.c: In function `status_attrib':
>> ../../../src/server/stat_job.c:302: warning: `remaining' might be used uninitialized in this function

Fixed.


> }}}
> 
>  * debian lenny i386, icc 11.0.074, make distcheck fails
>    debian lenny amd64, icc 11.0.074. make distcheck fails
>    debian squeeze amd64, icc 11.0.074 , make distcheck fails:
> {{{
> 
>> if icc -DHAVE_CONFIG_H -I. -I../../../../src/lib/Libattr -I../../../src/include  -I../../../../src/include   -g -O2 -W -Wall -Wno-unused-parameter -Wno-long-long -pedantic -Werror -D_LARGEFILE64_SOURCE -MT attr_atomic.o -MD -MP -MF ".deps/attr_atomic.Tpo" -c -o attr_atomic.o ../../../../src/lib/Libattr/attr_atomic.c; \
>> 	then mv -f ".deps/attr_atomic.Tpo" ".deps/attr_atomic.Po"; else rm -f ".deps/attr_atomic.Tpo"; exit 1; fi
>> icc: command line remark #10148: option '-W' not supported
>> icc: command line warning #10156: ignoring option '-W'; no argument required
>> icc: command line warning #10156: ignoring option '-W'; no argument required

That's odd because those warning options should only be added when the compiler is gcc.

Can I see config.log?

>> 
> }}}
> 
>  * debian lenny amd64, icc 10.1.018, configure fails
>    debian squeeze amd64, icc 10.1.018, configure fails:
> {{{
> checking for atexit... no
> checking for on_exit... no
> configure: error: Must have atexit() or on_exit()
> }}}
> 

I assume this is the same problem as above. It can't compile stuff because of the -W options.  What's in config.log?



More information about the torquedev mailing list