[torquedev] make distcheck

Christopher Samuel samuel at unimelb.edu.au
Thu Jul 15 23:56:54 MDT 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 16/07/10 14:50, Garrick Staples wrote:

> We need 'make distcheck' run on every possible linux
> distro and platform.

So far I've got 2 passes (vanilla CentOS 5.4 and Ubuntu 10.04) and
3 failures (really 4 failures as one of those is a single error that
causes errors in both GCC 4.4.4 and 4.5.0).

Would be interesting to see a test on a RHEL6 beta system..

 --------------------------------------------------------------------

Passes on CentOS 5.4 on AMD64 with system GCC (4.1.2).

 --------------------------------------------------------------------

Passes on Ubuntu 10.04 on AMD64 with system GCC (4.4.3)

 --------------------------------------------------------------------

Fails on CentOS 5.4 on AMD64 with Intel compilers:

if icc -DHAVE_CONFIG_H -I. -I../../../../src/lib/Libattr
- -I../../../src/include  -I../../../../src/include
- -I/usr/local/openmpi/1.4.2-intel/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 warning #10006: ignoring unknown option '-W'
icc: command line warning #10156: ignoring option '-Wno-unused'; no
argument required
icc: command line warning #10006: ignoring unknown option '-Wno-long-long'
icc: command line remark #10148: option '-pedantic' not supported
/usr/local/intel/Compiler/11.1/069/include/stddef.h(47): error:
duplicate specifier in declaration
  typedef __SIZE_TYPE__ size_t;
                        ^

../../../../src/lib/Libattr/attr_atomic.c(105): remark #1419: external
declaration in primary source file
  extern int resc_access_perm; /* see lib/Libattr/attr_fn_resc.c */
             ^

../../../../src/lib/Libattr/attr_atomic.c(277): remark #869: parameter
"old" was never referenced
    attribute *old,  /*unused*/
               ^

compilation aborted for ../../../../src/lib/Libattr/attr_atomic.c (code 2)

 --------------------------------------------------------------------

Fails on CentOS 5.5 on AMD64 with GCC 4.4.4 and GCC 4.5.0 (same error)

if gcc -DHAVE_CONFIG_H -I. -I../../../src/server -I../../src/include
- -I../../../src/include -I/usr/local/gmp/5.0.1/include
- -I/usr/local/mpc/0.8.1/include -I/usr/local/openmpi/1.3.4-pgi/include
- -I/usr/local/mpfr/2.4.2/include -I/usr/local/gmp/4.3.1/include
- -DPBS_SERVER_HOME=\"/tmp/torque-test/torque-2.5.0/_inst/spool\"
-
-DPBS_ENVIRON=\"/tmp/torque-test/torque-2.5.0/_inst/spool/pbs_environment\"
- -g -O2 -W -Wall -Wno-unused-parameter -Wno-long-long -pedantic -Werror
- -D_LARGEFILE64_SOURCE -MT process_request.o -MD -MP -MF
".deps/process_request.Tpo" -c -o process_request.o
../../../src/server/process_request.c; \
        then mv -f ".deps/process_request.Tpo"
".deps/process_request.Po"; else rm -f ".deps/process_request.Tpo"; exit
1; fi
cc1: warnings being treated as errors
../../../src/server/process_request.c: In function ‘get_creds’:
../../../src/server/process_request.c:281:3: error: dereferencing
type-punned pointer will break strict-aliasing rules
make[3]: *** [process_request.o] Error 1
make[3]: Leaving directory `/tmp/torque-test/torque-2.5.0/_build/src/server'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/torque-test/torque-2.5.0/_build/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/torque-test/torque-2.5.0/_build'
make: *** [distcheck] Error 2

 --------------------------------------------------------------------

Fails on SuSE SLES9 on PPC64 with system GCC:

if gcc -DHAVE_CONFIG_H -I. -I../../../src/server -I../../src/include
- -I../../../src/include
- -DPBS_SERVER_HOME=\"/tmp/torque-test/torque-2.5.0/_inst/spool\"
-
-DPBS_ENVIRON=\"/tmp/torque-test/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
make[3]: *** [stat_job.o] Error 1

Compiler is gcc version 3.3.3 (SuSE Linux)

 --------------------------------------------------------------------



- -- 
 Christopher Samuel - Senior Systems Administrator
 VLSCI - Victorian Life Sciences Computational Initiative
 Email: samuel at unimelb.edu.au Phone: +61 (0)3 903 55545
         http://www.vlsci.unimelb.edu.au/

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkw/9KYACgkQO2KABBYQAh/xfgCbB/5hpyQzJpU2yDbNoOCC6o4R
Ty4An1bKBnpafJX6quYpLWWgudLIeW2J
=vGAS
-----END PGP SIGNATURE-----


More information about the torquedev mailing list