[Debichem-devel] Bug#820677: ga: pointer/non-pointer conflict of variable tcgi_argc
Michael Tautschnig
mt at debian.org
Mon Apr 11 11:29:17 UTC 2016
Package: ga
Version: 5.4~beta~r10636+dfsg-2
Usertags: goto-cc
During a rebuild of all Debian packages in a clean sid chroot (using cowbuilder
and pbuilder) the build failed with the following error. Please note that we
use our research compiler tool-chain (using tools from the cbmc package), which
permits extended reporting on type inconsistencies at link time.
[...]
libtool: link: mpif90 -shared -fPIC compat/.libs/random.o ma/.libs/error.o ma/.libs/f2c.o ma/.libs/ma.o ma/.libs/string-util.o ma/.libs/table.o ma/.libs/maf.o LinAlg/lapack+blas/.libs/gal_cgemm.o LinAlg/lapack+blas/.libs/gal_daxpy.o LinAlg/lapack+blas/.libs/gal_dcabs1.o LinAlg/lapack+blas/.libs/gal_dcopy.o LinAlg/lapack+blas/.libs/gal_ddot.o LinAlg/lapack+blas/.libs/gal_dgemm.o LinAlg/lapack+blas/.libs/gal_dgemv.o LinAlg/lapack+blas/.libs/gal_dger.o LinAlg/lapack+blas/.libs/gal_dgetf2.o LinAlg/lapack+blas/.libs/gal_dgetrf.o LinAlg/lapack+blas/.libs/gal_dgetrs.o LinAlg/lapack+blas/.libs/gal_disnan.o LinAlg/lapack+blas/.libs/gal_dlacpy.o LinAlg/lapack+blas/.libs/gal_dlae2.o LinAlg/lapack+blas/.libs/gal_dlaev2.o LinAlg/lapack+blas/.libs/gal_dlaisnan.o LinAlg/lapack+blas/.libs/gal_dlamch.o LinAlg/lapack+blas/.libs/gal_dlanst.o LinAlg/lapack+blas/.libs/gal_dlansy.o LinAlg/lapack+blas/.libs/gal_dlapy2.o LinAlg/lapack+blas/.libs/gal_dlarfb.o LinAlg/lapack+blas/.libs/gal_dlarf.o LinAlg/lapack+blas/.libs/gal_dlarfg.o LinAlg/lapack+blas/.libs/gal_dlarft.o LinAlg/lapack+blas/.libs/gal_dlartg.o LinAlg/lapack+blas/.libs/gal_dlascl.o LinAlg/lapack+blas/.libs/gal_dlaset.o LinAlg/lapack+blas/.libs/gal_dlasr.o LinAlg/lapack+blas/.libs/gal_dlasrt.o LinAlg/lapack+blas/.libs/gal_dlassq.o LinAlg/lapack+blas/.libs/gal_dlaswp.o LinAlg/lapack+blas/.libs/gal_dlatrd.o LinAlg/lapack+blas/.libs/gal_dnrm2.o LinAlg/lapack+blas/.libs/gal_dorg2l.o LinAlg/lapack+blas/.libs/gal_dorg2r.o LinAlg/lapack+blas/.libs/gal_dorgql.o LinAlg/lapack+blas/.libs/gal_dorgqr.o LinAlg/lapack+blas/.libs/gal_dorgtr.o LinAlg/lapack+blas/.libs/gal_dpotf2.o LinAlg/lapack+blas/.libs/gal_dpotrf.o LinAlg/lapack+blas/.libs/gal_dscal.o LinAlg/lapack+blas/.libs/gal_dsteqr.o LinAlg/lapack+blas/.libs/gal_dsterf.o LinAlg/lapack+blas/.libs/gal_dswap.o LinAlg/lapack+blas/.libs/gal_dsyev.o LinAlg/lapack+blas/.libs/gal_dsygs2.o LinAlg/lapack+blas/.libs/gal_dsygst.o LinAlg/lapack+blas/.libs/gal_dsygv.o LinAlg/lapack+blas/.libs/gal_dsymm.o LinAlg/lapack+blas/.libs/gal_dsymv.o LinAlg/lapack+blas/.libs/gal_dsyr2.o LinAlg/lapack+blas/.libs/gal_dsyr2k.o LinAlg/lapack+blas/.libs/gal_dsyrk.o LinAlg/lapack+blas/.libs/gal_dsytd2.o LinAlg/lapack+blas/.libs/gal_dsytrd.o LinAlg/lapack+blas/.libs/gal_dtrmm.o LinAlg/lapack+blas/.libs/gal_dtrmv.o LinAlg/lapack+blas/.libs/gal_dtrsm.o LinAlg/lapack+blas/.libs/gal_dtrsv.o LinAlg/lapack+blas/.libs/gal_idamax.o LinAlg/lapack+blas/.libs/gal_ieeeck.o LinAlg/lapack+blas/.libs/gal_iladlc.o LinAlg/lapack+blas/.libs/gal_iladlr.o LinAlg/lapack+blas/.libs/gal_ilaenv.o LinAlg/lapack+blas/.libs/gal_iparmq.o LinAlg/lapack+blas/.libs/gal_lsame.o LinAlg/lapack+blas/.libs/gal_sgemm.o LinAlg/lapack+blas/.libs/gal_xerbla.o LinAlg/lapack+blas/.libs/gal_zaxpy.o LinAlg/lapack+blas/.libs/gal_zgemm.o LinAlg/lapack+blas/.libs/xgemm.o global/src/.libs/base.o global/src/.libs/capi.o global/src/.libs/collect.o global/src/.libs/datatypes.o global/src/.libs/decomp.o global/src/.libs/DP.o global/src/.libs/elem_alg.o global/src/.libs/fapi.o global/src/.libs/ga_diag_seqc.o global/src/.libs/ga_malloc.o global/src/.libs/ga_solve_seq.o global/src/.libs/ga_symmetr.o global/src/.libs/ga_trace.o global/src/.libs/ghosts.o global/src/.libs/global.nalg.o global/src/.libs/global.npatch.o global/src/.libs/global.periodic.o global/src/.libs/global.util.o global/src/.libs/hsort.scat.o global/src/.libs/matmul.o global/src/.libs/matrix.o global/src/.libs/nbutil.o global/src/.libs/onesided.o global/src/.libs/peigstubs.o global/src/.libs/sclstubs.o global/src/.libs/select.o global/src/.libs/sparse.o global/src/.libs/complex.o global/src/.libs/ga_diag_seq.o global/src/.libs/rsg.o global/src/.libs/scalapack.o pario/dra/.libs/buffers.o pario/dra/.libs/capi.o pario/dra/.libs/disk.arrays.o pario/dra/.libs/disk.param.o pario/dra/.libs/env.o pario/dra/.libs/fortran.o pario/dra/.libs/patch.util.o pario/eaf/.libs/eaf.o pario/eaf/.libs/eaf_f2c.o pario/elio/.libs/elio.o pario/elio/.libs/stat.o pario/sf/.libs/sf_capi.o pario/sf/.libs/sf_fortran.o pario/sf/.libs/shared.files.o gaf2c/.libs/gaf2c.o gaf2c/.libs/drand.o gaf2c/.libs/farg.o tcgmsg/.libs/capi.o tcgmsg/.libs/fapi.o tcgmsg/tcgmsg-mpi/.libs/checkbyte.o tcgmsg/tcgmsg-mpi/.libs/clustercheck.o tcgmsg/tcgmsg-mpi/.libs/collect.o tcgmsg/tcgmsg-mpi/.libs/drand48.o tcgmsg/tcgmsg-mpi/.libs/evlog.o tcgmsg/tcgmsg-mpi/.libs/evon.o tcgmsg/tcgmsg-mpi/.libs/llog.o tcgmsg/tcgmsg-mpi/.libs/misc.o tcgmsg/tcgmsg-mpi/.libs/niceftn.o tcgmsg/tcgmsg-mpi/.libs/nxtval-armci.o tcgmsg/tcgmsg-mpi/.libs/p2p.o tcgmsg/tcgmsg-mpi/.libs/pbeginf.o tcgmsg/tcgmsg-mpi/.libs/pfilecopy.o tcgmsg/tcgmsg-mpi/.libs/sizeof.o -Wl,-rpath -Wl,/srv/jenkins-slave/workspace/sid-goto-cc-ga/ga-5.4~beta~r10636+dfsg/armci/.libs -lscalapack-openmpi -llapack -lblas armci/.libs/libarmci.so -lm -O0 -Wl,-z -Wl,relro -Wl,-soname -Wl,libga.so.0 -o .libs/libga.so.0.0.0
file tcgmsg/tcgmsg-mpi/nxtval-armci.c line 19: error: conflicting types for variable `tcgi_argc'
old definition in module `misc' file tcgmsg/tcgmsg-mpi/misc.c line 19
signed int
new definition in module `nxtval-armci' file tcgmsg/tcgmsg-mpi/nxtval-armci.c line 19
signed int *
Makefile:5645: recipe for target 'libga.la' failed
make[3]: *** [libga.la] Error 1
make[3]: Leaving directory '/srv/jenkins-slave/workspace/sid-goto-cc-ga/ga-5.4~beta~r10636+dfsg'
Makefile:8215: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/srv/jenkins-slave/workspace/sid-goto-cc-ga/ga-5.4~beta~r10636+dfsg'
Makefile:5146: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/srv/jenkins-slave/workspace/sid-goto-cc-ga/ga-5.4~beta~r10636+dfsg'
dh_auto_build: make -j1 returned exit code 2
debian/rules:6: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
The code in nxtval-armci.c looks pretty broken - it seems that instead of
declaring tcgi_argc as pointer (and tcgi_argv as pointer-to-pointer-to-pointer)
one level of indirection should be removed and instead their addresses be taken
when calling install_nxtval.
Best,
Michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debichem-devel/attachments/20160411/3880ad4a/attachment.sig>
More information about the Debichem-devel
mailing list