Package: xview Version: 3.2p1.4-28.1 Usertags: goto-cc Tags: upstream 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.
[...] gcc -fPIC -g -O2 -fno-strict-aliasing -g -I/srv/jenkins-slave/workspace/sid-goto-cc-xview/xview-3.2p1.4/build/include -I/usr/include -I../../../build/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -DOPENWINHOME_DEFAULT=\"/usr\" -D_GNU_SOURCE -c file_chsr.c -o shared/file_chsr.o In file included from /srv/jenkins-slave/workspace/sid-goto-cc-xview/xview-3.2p1.4/build/include/xview/xview_xvin.h:47:0, from /srv/jenkins-slave/workspace/sid-goto-cc-xview/xview-3.2p1.4/build/include/xview/xview.h:18, from file_chsr.c:17: file_chsr.c: In function 'fc_hist_notify': /srv/jenkins-slave/workspace/sid-goto-cc-xview/xview-3.2p1.4/build/include/xview/win_input.h:428:20: warning: assignment makes integer from pointer without a cast [enabled by default] (ie)->ie_win = NULL, \ ^ file_chsr.c:1579:2: note: in expansion of macro 'event_init' event_init( &event ); ^ file_chsr.c: In function 'fc_update_dimming': file_chsr.c:1787:26: warning: comparison between pointer and integer [enabled by default] || (private->custom == NULL) ^ file file_chsr.c line 1787 function fc_update_dimming: operator `=' not defined for types `File_chooser_op' and `void *' CONVERSION ERROR Makefile:1206: recipe for target 'file_chsr.o' failed make[5]: *** [file_chsr.o] Error 64 make[5]: Leaving directory '/srv/jenkins-slave/workspace/sid-goto-cc-xview/xview-3.2p1.4/lib/libxview/file_chooser' Makefile:1185: recipe for target 'all' failed make[4]: *** [all] Error 1 The comparison of the enum to NULL is the most questionable bit here, but it seems that NULL is used in various contexts where really 0 should be used. (Note that the C standard does guarantee that converting 0 to a pointer type yields a null pointer, but converting a null pointer to an integer need not yield 0.) Best, Michael PS.: This is an upstream issue in all likelihood, but the control file does not seem to have any Homepage field.
pgpFHfpHvhJYu.pgp
Description: PGP signature