Bug#953064: FTBFS on i386

2020-03-06 Thread Thies Jochimsen
The latest release (odin-2.0.4) should build on i386. It includes a fix 
for i386.



The reason for the failure in odin-2.0.3/i386 was that Qt5-includes can 
be found in /usr/include//qt5/...


 equals the result of $(gcc -dumpmachine) except for i386 
('i686' instead of 'i386').


The configure script of odin-2.0.4 contains a fix which replaces 'i686' 
by 'i386' to find the Qt5 headers.


In this way, odin-2.0.4 should be able to use Qt5 on i386.


Best wishes, Thies (odin upstream)


Am 03.03.20 um 23:14 schrieb Moritz Muehlenhoff:

Source: odin
Severity: serious

odin FTBFSes on i386. This also means that on i386 it still uses Qt4.

Cheers,
 Moritz







Bug#835746: fixed in odin-2.0.3: FTBFS: seqgradspiral.cpp:30:71: error: no matching function for call to 'max(double, float)'

2016-12-12 Thread Thies Jochimsen
Hi Michael,
just tested it on a current Debian stretch. It looks fine with the following 
Qt5/Qwt6 packages installed:

dpkg -l | grep 'libqt5\|libqwt' | grep ^ii
ii  libqt5concurrent5:amd64   5.7.1~20161021+dfsg-6 
amd64Qt 5 concurrent module
ii  libqt5core5a:amd645.7.1~20161021+dfsg-6 
amd64Qt 5 core module
ii  libqt5dbus5:amd64 5.7.1~20161021+dfsg-6 
amd64Qt 5 D-Bus module
ii  libqt5designer5:amd64 5.7.1~20161021-2  
amd64Qt 5 designer module
ii  libqt5gui5:amd64  5.7.1~20161021+dfsg-6 
amd64Qt 5 GUI module
ii  libqt5network5:amd64  5.7.1~20161021+dfsg-6 
amd64Qt 5 network module
ii  libqt5opengl5:amd64   5.7.1~20161021+dfsg-6 
amd64Qt 5 OpenGL module
ii  libqt5opengl5-dev:amd64   5.7.1~20161021+dfsg-6 
amd64Qt 5 OpenGL library development files
ii  libqt5printsupport5:amd64 5.7.1~20161021+dfsg-6 
amd64Qt 5 print support module
ii  libqt5qml5:amd64  5.7.1~20161021-5  
amd64Qt 5 QML module
ii  libqt5quick5:amd645.7.1~20161021-5  
amd64Qt 5 Quick library
ii  libqt5sql5:amd64  5.7.1~20161021+dfsg-6 
amd64Qt 5 SQL module
ii  libqt5sql5-sqlite:amd64   5.7.1~20161021+dfsg-6 
amd64Qt 5 SQLite 3 database driver
ii  libqt5svg5:amd64  5.7.1~20161021-2  
amd64Qt 5 SVG module
ii  libqt5test5:amd64 5.7.1~20161021+dfsg-6 
amd64Qt 5 test module
ii  libqt5webkit5:amd64   5.7.1~20161021+dfsg-2 
amd64Web content engine library for Qt
ii  libqt5widgets5:amd64  5.7.1~20161021+dfsg-6 
amd64Qt 5 widgets module
ii  libqt5xml5:amd64  5.7.1~20161021+dfsg-6 
amd64Qt 5 XML module
ii  libqwt-dev6.1.2-6   
amd64Qt widgets library for technical applications (development, qt4)
ii  libqwt-headers6.1.2-6   
amd64Qt widgets library for technical applications (header files)
ii  libqwt-qt5-6  6.1.2-6   
amd64Qt widgets library for technical applications (runtime, qt5)
ii  libqwt-qt5-dev6.1.2-6   
amd64Qt widgets library for technical applications (development, qt5)
ii  libqwt6abi1   6.1.2-6   
amd64Qt widgets library for technical applications (runtime, qt4)



And here is the relevant part during configure:

configure: Environment variable QTDIR not specified, searching for Qt:
checking for /usr/include//qt5/qglobal.h... no
checking for /usr/include/x86_64-linux-gnu/qt5/qglobal.h... no
checking for /usr/share/qt5/include/qglobal.h... no
checking for /usr/include//qt5/QtCore/qglobal.h... no
checking for /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h... yes
checking for /usr/include/x86_64-linux-gnu/qt5/qglobal.h... (cached) no
checking for /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h... (cached) 
yes
checking for /usr/include/x86_64-linux-gnu/qt5/QtPrintSupport/qprinter.h... 
yes
checking /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h usability... no
checking /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h presence... no
checking for /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h... no
configure: PIC option might be required for this GCC/Qt configuration:
checking whether compiler accepts PIC flag(s) -fPIC -DPIC... yes
configure: Searching for Qt4/5 subdirs:
checking for /usr/include/x86_64-linux-gnu/qt5/QtCore/QPointF... yes
checking for /usr/include/x86_64-linux-gnu/qt5/QtGui/QPolygonF... yes
checking for /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qwidget.h... yes
checking for /usr/include/x86_64-linux-gnu/qt5/QtPrintSupport/qprinter.h... 
(cached) yes
checking for main in -lQt5Core... yes
checking for main in -lQt5Gui... yes
checking for main in -lQt5Widgets... yes
checking for main in -lQt5PrintSupport... yes
checking for /usr/bin/moc... yes
checking for main in -lqwt-qt5... yes
checking qwt_global.h usability... yes
checking qwt_global.h presence... yes
checking for qwt_global.h... yes



After compilation ldd tells me:

ldd /usr/local/bin/odin | grep -i libq
libqwt-qt5.so.6 => /usr/lib/libqwt-qt5.so.6 (0x7f3cc7e93000)
libQt5PrintSupport.so.5 => /usr/lib/x86_64-linux-
gnu/libQt5PrintSupport.so.5 (0x7f3cc7e21000)
libQt5Widgets.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 
(0x7f3cc77be000)
libQt5Gui.so.5 => 

Bug#835746: fixed in odin-2.0.3: FTBFS: seqgradspiral.cpp:30:71: error: no matching function for call to 'max(double, float)'

2016-12-04 Thread Thies Jochimsen
Hello,
this bug should be fixed in odin-2.0.3 with no extra patch required.
Thank you, Thies (upstream maintainer of Odin)



Bug#831181: patch updated for gcc-6

2016-07-19 Thread Thies Jochimsen

Dear Gianfranco, thank you for the patch, it should do the right thing.

I have implemented these fixes for GCC6 with slight modifications in the 
Odin SVN to avoid problems on other platforms (VxWorks, Visual Studio).


T.



Am 16.07.2016 um 09:55 schrieb Gianfranco Costamagna:

Hi, attached the patch updated for gcc-6 (addition of the incomplete upstream 
one)
and the complete debdiff for a building oding against gcc-6

basically the new issues (excluding the already upstream-patched 
"odinseq/odinpulse.cpp"

were:
in odinseq/seqgradspiral.cpp
bad compare between double and float

-  max_grad_diff=STD_max(double(max_grad_diff),fabs(tds.Gx-last_Gx));
-  max_grad_diff=STD_max(double(max_grad_diff),fabs(tds.Gy-last_Gy));
+  max_grad_diff=STD_max(max_grad_diff,fabs(tds.Gx-last_Gx));
+  max_grad_diff=STD_max(max_grad_diff,fabs(tds.Gy-last_Gy));


- max_grad_magn=STD_max(double(max_grad_magn),fabs(tds.Gx));
-max_grad_magn=STD_max(double(max_grad_magn),fabs(tds.Gy));
+max_grad_magn=STD_max(max_grad_magn,fabs(tds.Gx));
+max_grad_magn=STD_max(max_grad_magn,fabs(tds.Gy));



and in cmdline-utils/swab.cpp

ifstream return check
-  if(in_data == NULL) {
+  if(in_data.fail()) {


-  if(out_data == NULL) {
+  if(out_data.fail()) {


-  if(out_data == NULL) {
+  if(out_data.fail()) {


they seem to be correct to me, but I'm ccing upstream to be sure :)

BTW, in deferred/5.
thanks,

G.




Bug#831181: odin: FTBFS with GCC 6: odinpulse.cpp:659:35: error: call of overloaded 'sqrt(funcMode&)' is ambiguous

2016-07-15 Thread Thies Jochimsen

Hello,
the bug should be fixed in upstream now:
https://sourceforge.net/p/od1n/code/8688/tree//trunk/odin/odinseq/odinpulse.cpp?diff=8411

Best wishes, Thies (upstream maintainer of Odin)



On Thu, 14 Jul 2016 09:17:25 +0200 Lucas Nussbaum  wrote:
> Source: odin
> Version: 2.0.2-0.1
> Severity: serious
> Tags: stretch sid
> User: debian...@lists.debian.org
> Usertags: qa-ftbfs-20160713 qa-ftbfs
> Justification: FTBFS with GCC 6 on amd64
>
> Hi,
>
> During a rebuild of all packages in sid using the gcc-defaults package
> available in experimental to make GCC default to version 6, your 
package failed

> to build on amd64. For more information about GCC 6 and Stretch, see:
> - https://wiki.debian.org/GCC6
> - https://lists.debian.org/debian-devel-announce/2016/06/msg7.html
>
> Relevant part (hopefully):
> > /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H 
-I. -I../tjutils -I.. -I/«PKGBUILDDIR» -I/usr/include/qwt-qt4 
-I/usr/share/qt4/include/QtGui -I/usr/share/qt4/include/QtCore 
-I/usr/share/qt4/include -I. -I/usr/include/dcmtk 
-I/usr/include/dcmtk/dcmdata -I/usr/include/dcmtk/ofstd 
-I/usr/include/vtk-6.3 -I/usr/include/nifti -Wdate-time 
-D_FORTIFY_SOURCE=2 -O3 -fno-tree-vectorize -g -O2 
-fstack-protector-strong -Wformat -Werror=format-security -c -o 
odinpulse.lo odinpulse.cpp
> > libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../tjutils -I.. 
-I/«PKGBUILDDIR» -I/usr/include/qwt-qt4 -I/usr/share/qt4/include/QtGui 
-I/usr/share/qt4/include/QtCore -I/usr/share/qt4/include -I. 
-I/usr/include/dcmtk -I/usr/include/dcmtk/dcmdata 
-I/usr/include/dcmtk/ofstd -I/usr/include/vtk-6.3 -I/usr/include/nifti 
-Wdate-time -D_FORTIFY_SOURCE=2 -O3 -fno-tree-vectorize -g -O2 
-fstack-protector-strong -Wformat -Werror=format-security -c 
odinpulse.cpp -fPIC -DPIC -o .libs/odinpulse.o

> > In file included from ../odinseq/seqplatform.h:24:0,
> > from ../odinseq/seqdriver.h:23,
> > from ../odinseq/seqphase.h:26,
> > from ../odinseq/seqfreq.h:25,
> > from ../odinseq/seqpuls.h:22,
> > from odinpulse.h:24,
> > from odinpulse.cpp:1:
> > ../odinseq/seqplot.h:39:87: warning: invalid suffix on literal; 
C++11 requires a space between literal and string macro [-Wliteral-suffix]
> > static const char* timecourseUnit[]= {ODIN_GRAD_UNIT, 
ODIN_GRAD_UNIT, ODIN_GRAD_UNIT"/"ODIN_TIME_UNIT, "rad/"ODIN_SPAT_UNIT, 
"rad*"ODIN_TIME_UNIT"/"ODIN_SPAT_UNIT, 
"rad*"ODIN_TIME_UNIT"^2/"ODIN_SPAT_UNIT, 
ODIN_TIME_UNIT"/"ODIN_SPAT_UNIT"^2", "rad/"ODIN_SPAT_UNIT, 
ODIN_TIME_UNIT"/"ODIN_SPAT_UNIT"^2", ODIN_GRAD_UNIT};

> > ^
> > ../odinseq/seqplot.h:39:106: warning: invalid suffix on literal; 
C++11 requires a space between literal and string macro [-Wliteral-suffix]
> > static const char* timecourseUnit[]= {ODIN_GRAD_UNIT, 
ODIN_GRAD_UNIT, ODIN_GRAD_UNIT"/"ODIN_TIME_UNIT, "rad/"ODIN_SPAT_UNIT, 
"rad*"ODIN_TIME_UNIT"/"ODIN_SPAT_UNIT, 
"rad*"ODIN_TIME_UNIT"^2/"ODIN_SPAT_UNIT, 
ODIN_TIME_UNIT"/"ODIN_SPAT_UNIT"^2", "rad/"ODIN_SPAT_UNIT, 
ODIN_TIME_UNIT"/"ODIN_SPAT_UNIT"^2", ODIN_GRAD_UNIT};

> > ^
> > ../odinseq/seqplot.h:39:128: warning: invalid suffix on literal; 
C++11 requires a space between literal and string macro [-Wliteral-suffix]
> > static const char* timecourseUnit[]= {ODIN_GRAD_UNIT, 
ODIN_GRAD_UNIT, ODIN_GRAD_UNIT"/"ODIN_TIME_UNIT, "rad/"ODIN_SPAT_UNIT, 
"rad*"ODIN_TIME_UNIT"/"ODIN_SPAT_UNIT, 
"rad*"ODIN_TIME_UNIT"^2/"ODIN_SPAT_UNIT, 
ODIN_TIME_UNIT"/"ODIN_SPAT_UNIT"^2", "rad/"ODIN_SPAT_UNIT, 
ODIN_TIME_UNIT"/"ODIN_SPAT_UNIT"^2", ODIN_GRAD_UNIT};

> > ^
> > ../odinseq/seqplot.h:39:148: warning: invalid suffix on literal; 
C++11 requires a space between literal and string macro [-Wliteral-suffix]
> > static const char* timecourseUnit[]= {ODIN_GRAD_UNIT, 
ODIN_GRAD_UNIT, ODIN_GRAD_UNIT"/"ODIN_TIME_UNIT, "rad/"ODIN_SPAT_UNIT, 
"rad*"ODIN_TIME_UNIT"/"ODIN_SPAT_UNIT, 
"rad*"ODIN_TIME_UNIT"^2/"ODIN_SPAT_UNIT, 
ODIN_TIME_UNIT"/"ODIN_SPAT_UNIT"^2", "rad/"ODIN_SPAT_UNIT, 
ODIN_TIME_UNIT"/"ODIN_SPAT_UNIT"^2", ODIN_GRAD_UNIT};

> > ^
> > ../odinseq/seqplot.h:39:167: warning: invalid suffix on literal; 
C++11 requires a space between literal and string macro [-Wliteral-suffix]
> > static const char* timecourseUnit[]= {ODIN_GRAD_UNIT, 
ODIN_GRAD_UNIT, ODIN_GRAD_UNIT"/"ODIN_TIME_UNIT, "rad/"ODIN_SPAT_UNIT, 
"rad*"ODIN_TIME_UNIT"/"ODIN_SPAT_UNIT, 
"rad*"ODIN_TIME_UNIT"^2/"ODIN_SPAT_UNIT, 
ODIN_TIME_UNIT"/"ODIN_SPAT_UNIT"^2", "rad/"ODIN_SPAT_UNIT, 
ODIN_TIME_UNIT"/"ODIN_SPAT_UNIT"^2", ODIN_GRAD_UNIT};

> > ^
> > ../odinseq/seqplot.h:39:187: warning: invalid suffix on literal; 
C++11 requires a space between literal and string macro [-Wliteral-suffix]
> > static const char* timecourseUnit[]= {ODIN_GRAD_UNIT, 
ODIN_GRAD_UNIT, ODIN_GRAD_UNIT"/"ODIN_TIME_UNIT, "rad/"ODIN_SPAT_UNIT, 
"rad*"ODIN_TIME_UNIT"/"ODIN_SPAT_UNIT, 
"rad*"ODIN_TIME_UNIT"^2/"ODIN_SPAT_UNIT, 
ODIN_TIME_UNIT"/"ODIN_SPAT_UNIT"^2", "rad/"ODIN_SPAT_UNIT, 
ODIN_TIME_UNIT"/"ODIN_SPAT_UNIT"^2", ODIN_GRAD_UNIT};

> > ^
> > ../odinseq/seqplot.h:39:222: 

Bug#821162: Odin and ISMRMRD

2016-04-16 Thread Thies Jochimsen
Package: odin
Version: 2.0.1-0.1

Since release 2.0.0, Odin supports the ISMRMRD format 
(http://ismrmrd.github.io/) which is now available in testing/unstable.
To compile Odin against ISMRMRD, it shoud be sufficient to include the packages
libhdf5-dev
libismrmrd-dev
in the build dependency of Odin.
Thank you, Thies (upstream maintainer of Odin)



Bug#811832: odin: FTBFS with GCC 6: no match for

2016-01-20 Thread Thies Jochimsen
Fixed in upstream, will be available in upcoming release odin-2.0.1
Thank you for reporting, Thies


On Tuesday, 19. January 2016 18:28:05 Martin Michlmayr wrote:
> Package: odin
> Version: 1.8.8-2
> Severity: important
> User: debian-...@lists.debian.org
> Usertags: ftbfs-gcc-6 gcc-6-no-match
> 
> This package fails to build with GCC 6.  GCC 6 has not been released
> yet, but it's expected that GCC 6 will become the default compiler for
> stretch.
> 
> Note that only the first error is reported; there might be more.  You
> can find a snapshot of GCC 6 in experimental.  To build with GCC 6,
> you can set CC=gcc-6 CXX=g++-6 explicitly.
> 
> You may be able to find out more about this issue at
> https://gcc.gnu.org/gcc-6/changes.html
> 
> > sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on dl580gen9-02.hlinux
> 
> ...
> 
> > libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../tjutils -I..
> > -I/<> -I/usr/include/qwt-qt4 -I/usr/share/qt4/include/QtGui
> > -I/usr/share/qt4/include/QtCore -I/usr/share/qt4/include -I.
> > -I/usr/include/dcmtk -I/usr/include/dcmtk/dcmdata
> > -I/usr/include/dcmtk/ofstd -I/usr/include/nifti -I/usr/include/vtk-5.4
> > -I/usr/include/vtk-5.6 -I/usr/include/vtk-5.8 -I/usr/include/vtk-5.10
> > -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/vtk-5.4
> > -I/usr/include/vtk-5.6 -I/usr/include/vtk-5.8 -I/usr/include/vtk-5.10 -O3
> > -fno-tree-vectorize -g -O2 -fstack-protector-strong -Wformat
> > -Werror=format-security -c fileio_gzip.cpp  -fPIC -DPIC -o
> > .libs/fileio_gzip.o fileio_gzip.cpp: In member function 'bool
> > GzipFormat::file_compress(std::__cxx11::string, std::__cxx11::string)':
> > fileio_gzip.cpp:89:12: error: no match for 'operator==' (operand types
> > are 'std::ifstream {aka std::basic_ifstream}' and 'long int')> 
> >  if (in == NULL) {
> >  
> >  ~~~^~~~
> > 
> > fileio_gzip.cpp:89:12: note: candidate: operator==(int, long int)
> >  fileio_gzip.cpp:89:12: note:   no known conversion for
> > argument 1 from 'std::ifstream {aka std::basic_ifstream}' to 'int'
> > In file included from /usr/include/blitz/array/ops.h:36:0,
> > 
> >  from /usr/include/blitz/range.cc:6,
> >  from /usr/include/blitz/array.cc:11,
> >  from /usr/include/blitz/array-impl.h:2559,
> >  from /usr/include/blitz/array.h:37,
> >  from ../odindata/data.h:64,
> >  from fileio.h:24,
> > 
> >  from fileio_gzip.cpp:1:
> > /usr/include/blitz/array/ops.h:63:1: note: candidate: template > class T2> typename blitz::BzBinaryExprResult > T2>::T_result blitz::operator==(const blitz::ETBase&, const
> > blitz::ETBase&)> 
> >  BZ_DECLARE_ARRAY_ET_BINARY(operator==, Equal)
> >  ^
> > 
> > /usr/include/blitz/array/ops.h:63:1: note:   template argument
> > deduction/substitution failed: In file included from
> > /usr/include/unistd.h:229:0,
> > 
> >  from /usr/include/x86_64-linux-gnu/zconf.h:452,
> >  from /usr/include/zlib.h:34,
> > 
> >  from fileio_gzip.cpp:42:
> > fileio_gzip.cpp:89:15: note:   'std::ifstream {aka
> > std::basic_ifstream}' is not derived from 'const blitz::ETBase'> 
> >  if (in == NULL) {
> >  
> >^

-- 


( ͡° ͜ʖ ͡°)



Bug#798170: vtk6 and odin-2.0.0

2015-09-18 Thread Thies Jochimsen
FYI: The next release of Odin (2.0.0) will compile out-of-the-box with vtk6.
Best wishes, Thies (upstream maintainer of Odin)



Bug#424644: libblitz0: Cannot link with /usr/lib/libblitz.so.0.0.0 on AMD64

2007-05-16 Thread Thies Jochimsen
Package: libblitz0
Version: 1:0.9-3
Severity: grave
Justification: renders package unusable



When linking with the Blitz library, for instance with

g++ somesource.cpp -lblitz

I get the error:

/usr/lib/gcc/x86_64-linux-gnu/4.1.2/../../../../lib64/libblitz.so: file not 
recognized: File format not recognized

The same applies to using nm on /usr/lib/libblitz.so.0.0.0

If the package is build locally from source, the error vanishes and everything 
is fine.




-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (700, 'stable'), (600, 'unstable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-amd64
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages libblitz0 depends on:
ii  atlas3-base [libatlas.so.3]   3.6.0-20.6 Automatically Tuned Linear Algebra
ii  g++   4:4.1.1-15 The GNU C++ compiler

libblitz0 recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]