Bug 233498 - audio/csound: fails to build with fluidsynth 2.x (FLUIDSYNTH=on)
Summary: audio/csound: fails to build with fluidsynth 2.x (FLUIDSYNTH=on)
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Yuri Victorovich
URL: https://github.com/csound/csound/issu...
Keywords: needs-patch
Depends on:
Blocks: 233448
  Show dependency treegraph
 
Reported: 2018-11-25 11:57 UTC by Jan Beich
Modified: 2018-11-25 18:20 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (yuri)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Beich freebsd_committer freebsd_triage 2018-11-25 11:57:28 UTC
Opcodes/fluidOpcodes/fluidOpcodes.cpp:211:22: error: variable has incomplete type 'fluid_preset_t' (aka '_fluid_preset_t')
      fluid_preset_t fluidPreset;
                     ^
/usr/local/include/fluidsynth/types.h:41:16: note: forward declaration of '_fluid_preset_t'
typedef struct _fluid_preset_t fluid_preset_t;                  /**< SoundFont preset */
               ^
Opcodes/fluidOpcodes/fluidOpcodes.cpp:212:21: error: member access into incomplete type 'fluid_sfont_t' (aka '_fluid_sfont_t')
      fluidSoundfont->iteration_start(fluidSoundfont);
                    ^
/usr/local/include/fluidsynth/types.h:40:16: note: forward declaration of '_fluid_sfont_t'
typedef struct _fluid_sfont_t fluid_sfont_t;                    /**< SoundFont */
               ^
Opcodes/fluidOpcodes/fluidOpcodes.cpp:216:30: error: member access into incomplete type 'fluid_sfont_t' (aka '_fluid_sfont_t')
        while (fluidSoundfont->iteration_next(fluidSoundfont, &fluidPreset)) {
                             ^
/usr/local/include/fluidsynth/types.h:40:16: note: forward declaration of '_fluid_sfont_t'
typedef struct _fluid_sfont_t fluid_sfont_t;                    /**< SoundFont */
               ^
Opcodes/fluidOpcodes/fluidOpcodes.cpp:282:22: error: variable has incomplete type 'fluid_preset_t' (aka '_fluid_preset_t')
      fluid_preset_t fluidPreset;
                     ^
/usr/local/include/fluidsynth/types.h:41:16: note: forward declaration of '_fluid_preset_t'
typedef struct _fluid_preset_t fluid_preset_t;                  /**< SoundFont preset */
               ^
Opcodes/fluidOpcodes/fluidOpcodes.cpp:283:21: error: member access into incomplete type 'fluid_sfont_t' (aka '_fluid_sfont_t')
      fluidSoundfont->iteration_start(fluidSoundfont);
                    ^
/usr/local/include/fluidsynth/types.h:40:16: note: forward declaration of '_fluid_sfont_t'
typedef struct _fluid_sfont_t fluid_sfont_t;                    /**< SoundFont */
               ^
Opcodes/fluidOpcodes/fluidOpcodes.cpp:287:30: error: member access into incomplete type 'fluid_sfont_t' (aka '_fluid_sfont_t')
        while (fluidSoundfont->iteration_next(fluidSoundfont, &fluidPreset))
                             ^
/usr/local/include/fluidsynth/types.h:40:16: note: forward declaration of '_fluid_sfont_t'
typedef struct _fluid_sfont_t fluid_sfont_t;                    /**< SoundFont */
               ^

build log: https://ptpb.pw/-t-8
Comment 1 commit-hook freebsd_committer freebsd_triage 2018-11-25 18:20:11 UTC
A commit references this bug:

Author: yuri
Date: Sun Nov 25 18:20:01 UTC 2018
New revision: 485887
URL: https://svnweb.freebsd.org/changeset/ports/485887

Log:
  audio/csound: Marked the FLUIDSYNTH option broken

  It isn't compatible with the new FluidSynth 2.x.

  PR:		233498

Changes:
  head/audio/csound/Makefile
Comment 2 Yuri Victorovich freebsd_committer freebsd_triage 2018-11-25 18:20:28 UTC
FLUIDSYNTH options is disabled, and marked BROKEN.