Bug#805835: voxbo: Fails to build with GSL 2

2015-12-27 Thread peter green

severity 805835 serious
tags 805835 +patch
thanks


Your package fails to build with GSL 2:
   

Ubuntu has a fix for this

https://launchpad.net/ubuntu/+source/voxbo
https://patches.ubuntu.com/v/voxbo/voxbo_1.8.5~svn1246-1.1ubuntu2.patch



Bug#805835: voxbo: Fails to build with GSL 2

2015-11-22 Thread Bas Couwenberg
Source: voxbo
Version: 1.8.5~svn1246-1.1
Severity: important
Tags: upstream

Dear Maintainer,

Your package fails to build with GSL 2:

 fitOneOverF.cpp: In function 'VB_Vector* curvefit(VB_Vector*, VB_Vector*, 
VB_Vector*, double, double, double, double, const char*, bool)':
 fitOneOverF.cpp:205:26: error: 'struct gsl_multifit_fdfsolver' has no member 
named 'J'
gsl_multifit_covar (s->J, 0.0, covar);
   ^
 fitOneOverF.cpp: In function 'VB_Vector* curvefit12(VB_Vector*, VB_Vector*, 
VB_Vector*, double, double, double, const char*, bool)':
 fitOneOverF.cpp:398:26: error: 'struct gsl_multifit_fdfsolver' has no member 
named 'J'
gsl_multifit_covar (s->J, 0.0, covar);
   ^

This needs to be fixed for the ongoing gsl transition (#804246).

The full build log is attached, as is a patch to update the build
dependencies for GSL 2 (changing libgsl0-dev to libgsl-dev).

Kind Regards,

Bas
I: using cowbuilder as pbuilder
dpkg-checkbuilddeps: Unmet build dependencies: libgsl-dev libqt4-dev libxi-dev
W: Unmet build-dependency in source
dpkg-buildpackage: source package voxbo
dpkg-buildpackage: source version 1.8.5~svn1246-1.2
dpkg-buildpackage: source distribution UNRELEASED
dpkg-buildpackage: source changed by Bas Couwenberg 
 dpkg-source --before-build voxbo-1.8.5~svn1246
dpkg-checkbuilddeps: Unmet build dependencies: libgsl-dev libqt4-dev libxi-dev
dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied; aborting
dpkg-buildpackage: warning: (Use -d flag to override.)
dpkg-buildpackage: warning: this is currently a non-fatal warning with -S, but 
will probably become fatal in the future
 fakeroot debian/rules clean
dh clean
   dh_testdir
   dh_auto_clean
make[1]: Entering directory '/home/bas/tmp/debian/voxbo-1.8.5~svn1246'
for dir in lib vbwidgets fileformats munge stats crunch stand_alone utils 
resample gdscript scheduler scripts qtglm vbview vbsequence qtvlsm client 
server dbutil ; do make -C $dir clean ; done
make[2]: Entering directory '/home/bas/tmp/debian/voxbo-1.8.5~svn1246/lib'
rm -f a.out *.o *.so *~ *.exe *.a core.[0-9]* *.hlp.h *.moc.h moc_*.cpp 
rsrc.cpp test
make[2]: Leaving directory '/home/bas/tmp/debian/voxbo-1.8.5~svn1246/lib'
make[2]: Entering directory '/home/bas/tmp/debian/voxbo-1.8.5~svn1246/vbwidgets'
rm -f a.out *.o *.so *~ *.exe *.a core.[0-9]* *.hlp.h *.moc.h moc_*.cpp 
rsrc.cpp libvbwidgets.a
make[2]: Leaving directory '/home/bas/tmp/debian/voxbo-1.8.5~svn1246/vbwidgets'
make[2]: Entering directory 
'/home/bas/tmp/debian/voxbo-1.8.5~svn1246/fileformats'
rm -f a.out *.o *.so *~ *.exe *.a core.[0-9]* *.hlp.h *.moc.h moc_*.cpp 
rsrc.cpp dcmsplit dicominfo ffinfo vbrename analyzeinfo niftiinfo
make[2]: Leaving directory 
'/home/bas/tmp/debian/voxbo-1.8.5~svn1246/fileformats'
make[2]: Entering directory '/home/bas/tmp/debian/voxbo-1.8.5~svn1246/munge'
rm -f a.out *.o *.so *~ *.exe *.a core.[0-9]* *.hlp.h *.moc.h moc_*.cpp 
rsrc.cpp tes2cub vb2cub vb2img vb2imgs vb2tes vb2vmp vbconv vbmunge vbcmp 
vbshift vbsmooth vbmaskmunge vecsplit vbinterpolate vbthresh vbprep vbbatch 
sumrfx calcperf cub2pngs setorigin fillmask vbhdr vbsim vbregion vborient vbi 
vbmerge4d vbvec2hdr vbse vbmaskinfo vboverlap vbimagemunge vbim vbfilter 
vbmaskcompare vbtool
make[2]: Leaving directory '/home/bas/tmp/debian/voxbo-1.8.5~svn1246/munge'
make[2]: Entering directory '/home/bas/tmp/debian/voxbo-1.8.5~svn1246/stats'
rm -f vbvolregress vbmakeregress vbstatmap vbdumpstats glminfo vbperminfo vbxts 
vbtmap vbmakeresid vbfdr vbpermvec vbscoregen vbmap a.out *.o *.so *~ *.exe *.a 
core.[0-9]* *.hlp.h *.moc.h moc_*.cpp rsrc.cpp
make[2]: Leaving directory '/home/bas/tmp/debian/voxbo-1.8.5~svn1246/stats'
make[2]: Entering directory '/home/bas/tmp/debian/voxbo-1.8.5~svn1246/crunch'
rm -f a.out *.o *.so *~ *.exe *.a core.[0-9]* *.hlp.h *.moc.h moc_*.cpp 
rsrc.cpp vbmm2 vbmakeglm vbmakefilter 
make[2]: Leaving directory '/home/bas/tmp/debian/voxbo-1.8.5~svn1246/crunch'
make[2]: Entering directory 
'/home/bas/tmp/debian/voxbo-1.8.5~svn1246/stand_alone'
rm -f a.out *.o *.so *~ *.exe *.a core.[0-9]* *.hlp.h *.moc.h moc_*.cpp 
rsrc.cpp calcgs calcps sliceacq tesplit tesjoin makematkg makematk comptraces 
permstep vbregress vbpermmat
make[2]: Leaving directory 
'/home/bas/tmp/debian/voxbo-1.8.5~svn1246/stand_alone'
make[2]: Entering directory '/home/bas/tmp/debian/voxbo-1.8.5~svn1246/utils'
rm -f a.out *.o *.so *~ *.exe *.a core.[0-9]* *.hlp.h *.moc.h moc_*.cpp 
rsrc.cpp vbfit vbcfx txt2num gcheck sortmvpm
make[2]: Leaving directory '/home/bas/tmp/debian/voxbo-1.8.5~svn1246/utils'
make[2]: Entering directory '/home/bas/tmp/debian/voxbo-1.8.5~svn1246/resample'
rm -f a.out *.o *.so *~ *.exe *.a core.[0-9]* *.hlp.h *.moc.h moc_*.cpp 
rsrc.cpp resample
make[2]: Leaving directory '/home/bas/tmp/debian/voxbo-1.8.5~svn1246/resample'
make[2]: Entering directory '/home/bas/tmp/debian/voxbo-1.8.5~svn1246/gdscript'
rm -f a.out *.o *.so *~ *.exe *.a core.[0-9]* *.hlp.h *.moc.h