Package: ncview
Version: 1.93g-1
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.

gcc  -DINC_PPM -o ncview ncview.o file.o util.o do_buttons.o file_netcdf.o  
view.o do_print.o epic_time.o interface/interface.o interface/x_interface.o 
interface/dataedit.o interface/display_info.o interface/plot_xy.o 
interface/utils.o interface/range.o interface/printer_options.o overlay.o 
interface/filesel.o interface/set_options.o interface/plot_range.o udu.o 
SciPlot.o interface/RadioWidget.o interface/cbar.o   -L.   \
   -lnetcdf  -lXaw -lXmu \
  -lnetpbm \
   -lSM -lICE -lXt -lXext -lX11  -lm

error: conflicting function declarations "SciPlotSetXUserScale"
old definition in module plot_xy file interface/../SciPlot.h line 150
void (struct _WidgetRec *, double, double)
new definition in module SciPlot file SciPlot.c line 3316
void (struct _WidgetRec *wi, float min, float max)

Makefile:118: recipe for target 'ncview' failed
make[1]: *** [ncview] Error 64
make[1]: Leaving directory 
debian/rules:34: recipe for target 'build-stamp' failed
make: *** [build-stamp] Error 2

As float and double will generally have a very different bit-level
representation, values passed to SciPlotSetXUserScale will end up heavily
garbled. The declaration in SciPlot.h should be fixed to use the same types as
the definition.


Attachment: pgptR857robwv.pgp
Description: PGP signature

Pkg-grass-devel mailing list

Reply via email to