[Debian-med-packaging] Cmake help needed: Fails to find check.h and ieeefp.h

Nicolas Mora nicolas at babelouest.org
Mon Dec 3 20:45:34 GMT 2018


Hello,

Le 2018-12-03 14:25, Andreas Tille a écrit :
>> >
>> > find /usr/include -name ieeefp.h
>> > /usr/include/newlib/ieeefp.h
>> > /usr/include/newlib/machine/ieeefp.h
>> 
>> Use #include <newlib/ieeefp.h> or pass -Inewlib to the compiler (I 
>> don't
>> know whether that's a good idea).
> 
> How to pass -Inewlib option to the
> 
>    check_include_files (ieeefp.h HAVE_IEEEFP_H)
> 
That's not a good idea to change the source code to silence an compiler 
error message.

As Andrey mentionned, you have the same error in the current sid 
package.
Probably a change in its dependencies broke the package, I'd start there 
to try to fix your problem.

I took a quick look at the package source on salsa and there are some 
references to matlab in the debian/rules file and the debian/cmake_opts 
file.

I don't see matlab in the debian packages, so maybe the answer is 
related to that. Maybe there was some matlab binary package before

spoiler alert: I manually patched the file debian/cmake_opts to remove 
all references to matlab ("$ sed '/MATLAB/d' debian/cmake_opts").
The dh_auto_configure step was succesful, and the build process started, 
although it doesn't mean that's the answer to your problem!



More information about the Debian-med-packaging mailing list