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

Bug#946989: ardour FTBFS, fluidsynth related errors.



Package: src:ardour
Severity: serious
Version: 1:5.12.0-3
Tags: bullseye, sid, ftbfs

ardour failed to build when binnmu'd for the new fluidsynth

../libs/ardour/fluid_synth.cc: In member function ‘bool ARDOUR::FluidSynth::load_sf2(const string&)’:
../libs/ardour/fluid_synth.cc:74:17: error: aggregate ‘fluid_preset_t preset’ has incomplete type and cannot be defined
   74 |  fluid_preset_t preset;
      |                 ^~~~~~
../libs/ardour/fluid_synth.cc:76:7: error: invalid use of incomplete type ‘fluid_sfont_t’ {aka ‘struct _fluid_sfont_t’}
   76 |  sfont->iteration_start (sfont);
      |       ^~
In file included from /usr/include/fluidsynth.h:95,
                 from ../libs/ardour/ardour/fluid_synth.h:29,
                 from ../libs/ardour/fluid_synth.cc:21:
/usr/include/fluidsynth/types.h:40:16: note: forward declaration of ‘fluid_sfont_t’ {aka ‘struct _fluid_sfont_t’}
   40 | typedef struct _fluid_sfont_t fluid_sfont_t;                    /**< SoundFont */
      |                ^~~~~~~~~~~~~~
../libs/ardour/fluid_synth.cc:77:23: error: invalid use of incomplete type ‘fluid_sfont_t’ {aka ‘struct _fluid_sfont_t’}
   77 |  for (count = 0; sfont->iteration_next (sfont, &preset) != 0; ++count) {
      |                       ^~
In file included from /usr/include/fluidsynth.h:95,
                 from ../libs/ardour/ardour/fluid_synth.h:29,
                 from ../libs/ardour/fluid_synth.cc:21:
/usr/include/fluidsynth/types.h:40:16: note: forward declaration of ‘fluid_sfont_t’ {aka ‘struct _fluid_sfont_t’}
   40 | typedef struct _fluid_sfont_t fluid_sfont_t;                    /**< SoundFont */
      |                ^~~~~~~~~~~~~~


Reply to: