[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1117839: libinstpatch-dev: IpatchSndFile.h lost #include <sndfile.h>



Package: libinstpatch-dev
Version: 1.1.7-1
Severity: serious
Tags: ftbfs
Forwarded: https://github.com/swami/libinstpatch/issues/83
Control: affects -1 src:swami
Control: block 1113553 by -1

swampi after the trivial CMake 4 FTBFS fix:

...
In file included from /usr/include/libinstpatch-2/libinstpatch/libinstpatch.h:94,
                 from /tmp/swami-2.2.2/src/swamigui/patch_funcs.c:26:
/tmp/swami-2.2.2/src/swamigui/patch_funcs.c: In function ‘swamigui_export_samples’:
/usr/include/libinstpatch-2/libinstpatch/IpatchSndFile.h:70:44: error: ‘SF_FORMAT_WAV’ undeclared (first use in this function)
   70 | #define IPATCH_SND_FILE_DEFAULT_FORMAT     SF_FORMAT_WAV
      |                                            ^~~~~~~~~~~~~
/tmp/swami-2.2.2/src/swamigui/patch_funcs.c:977:48: note: in expansion of macro ‘IPATCH_SND_FILE_DEFAULT_FORMAT’
  977 |             if(format_enum->values[i].value == IPATCH_SND_FILE_DEFAULT_FORMAT)
      |                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/libinstpatch-2/libinstpatch/IpatchSndFile.h:70:44: note: each undeclared identifier is reported only once for each function it appears in
   70 | #define IPATCH_SND_FILE_DEFAULT_FORMAT     SF_FORMAT_WAV
      |                                            ^~~~~~~~~~~~~
/tmp/swami-2.2.2/src/swamigui/patch_funcs.c:977:48: note: in expansion of macro ‘IPATCH_SND_FILE_DEFAULT_FORMAT’
  977 |             if(format_enum->values[i].value == IPATCH_SND_FILE_DEFAULT_FORMAT)
      |                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/swami-2.2.2/src/swamigui/patch_funcs.c: In function ‘swamigui_cb_export_samples_response’:
/usr/include/libinstpatch-2/libinstpatch/IpatchSndFile.h:70:44: error: ‘SF_FORMAT_WAV’ undeclared (first use in this function)
   70 | #define IPATCH_SND_FILE_DEFAULT_FORMAT     SF_FORMAT_WAV
      |                                            ^~~~~~~~~~~~~
/tmp/swami-2.2.2/src/swamigui/patch_funcs.c:1011:24: note: in expansion of macro ‘IPATCH_SND_FILE_DEFAULT_FORMAT’
 1011 |     int format_value = IPATCH_SND_FILE_DEFAULT_FORMAT;
      |                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[3]: *** [src/swamigui/CMakeFiles/libswamigui.dir/build.make:651: src/swamigui/CMakeFiles/libswamigui.dir/patch_funcs.c.o] Error 1
...

Reply to: