Bug 233498

Summary: audio/csound: fails to build with fluidsynth 2.x (FLUIDSYNTH=on)
Product: Ports & Packages Reporter: Jan Beich <jbeich>
Component: Individual Port(s)Assignee: Yuri Victorovich <yuri>
Status: Closed FIXED    
Severity: Affects Only Me Keywords: needs-patch
Priority: --- Flags: bugzilla: maintainer-feedback? (yuri)
Version: Latest   
Hardware: Any   
OS: Any   
URL: https://github.com/csound/csound/issues/1078
Bug Depends on:    
Bug Blocks: 233448    

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.