Package: dx Version: 1:4.4.4-7 Usertags: goto-cc During a rebuild of all packages in a clean sid chroot (and cowbuilder+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: gcc -shared -fPIC -DPIC .libs/object.o .libs/string.o
.libs/lbcamera.o .libs/clipped.o .libs/field.o .libs/group.o .libs/series.o
.libs/composite.o .libs/multigrid.o .libs/lblight.o .libs/array.o
.libs/sharedarray.o .libs/regulararray.o .libs/cstarray.o .libs/patharray.o
.libs/productarray.o .libs/mesharray.o .libs/xform.o .libs/lbscreen.o
.libs/lbprivate.o .libs/lbmessage.o .libs/timing.o .libs/lock.o .libs/plock.o
.libs/stringtable.o .libs/client.o .libs/basic.o .libs/lbvector.o
.libs/matrix.o .libs/init.o .libs/lbgrid.o .libs/box.o .libs/helper.o
.libs/neighbors.o .libs/lbprint.o .libs/hash.o .libs/lbcolor.o
.libs/lbextract.o .libs/component.o .libs/edflex.o .libs/edfparse.o
.libs/edfobj.o .libs/edfdata.o .libs/edfdict.o .libs/edfio.o .libs/edfprint.o
.libs/fileio.o .libs/rwobject.o .libs/renderstubs.o .libs/memorystubs.o
.libs/qmessage.o .libs/lbtask.o .libs/lbcache.o .libs/version.o .libs/outglue.o
.libs/invalid.o .libs/seglist.o .libs/notify.o .libs/userinit.o .libs/parts.o
.libs/arrayClass.o .libs/cameraClass.o .libs/clippedClass.o .libs/fieldClass.o
.libs/groupClass.o .libs/lightClass.o .libs/objectClass.o .libs/stringClass.o
.libs/xformClass.o .libs/screenClass.o .libs/privateClass.o -Wl,--as-needed
-lnsl -lnetcdf /usr/lib/libdfalt.so -lXpm /usr/lib/x86_64-linux-gnu/libtiff.so
-ldl -lXm -lGLU -lGL -lm -lXmu -lXext -lXt -lX11 -lSM -lICE -lpthread
/usr/lib/x86_64-linux-gnu/libMagickCore.so -O2 -fopenmp -Wl,-z -Wl,relro
-Wl,-z -Wl,now -fopenmp -pthread -Wl,-soname -Wl,libDXlite.so.4 -o
.libs/libDXlite.so.4.0.44
error: conflicting function declarations "_dxfCompositeField_BoundingBox"
old definition in module box file box.c line 217
struct object * (struct group *g, struct point *box, struct matrix *m, signed
int validity)
new definition in module groupClass file groupClass.c line 157
struct object * (struct compositefield *, struct point *, struct matrix *,
signed int)
make[5]: *** [libDXlite.la] Error 64
make[5]: Leaving directory
`/srv/jenkins-slave/workspace/sid-goto-cc-dx/dx-4.4.4/src/exec/libdx'
make[4]: *** [all] Error 2
Give the definitions of struct group and struct compositefield:
struct group {
struct object object;
volatile unsigned long int lock;
struct member * members;
signed int nmembers;
signed int alloc;
signed int typed;
int type;
int category;
signed int rank;
signed int * shape;
}
struct compositefield {
struct group group;
}
... this may work ok, but the C standard certainly does not provide any such
guarantee.
Best,
Michael
pgpsL2YXk2AIG.pgp
Description: PGP signature

