Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 680040 - media-libs/fluidsynth-dssi-1.0.0 - fluidsynth-dssi.c:170:20: error: storage size of ‘preset’ isn’t known
Summary: media-libs/fluidsynth-dssi-1.0.0 - fluidsynth-dssi.c:170:20: error: storage s...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Professional Audio Applications Maintainers
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: 687822
  Show dependency tree
 
Reported: 2019-03-11 14:06 UTC by Chris Smith
Modified: 2019-06-10 20:20 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (fluidsynth-dssi-1.0.0-build.log,9.95 KB, text/plain)
2019-03-11 14:09 UTC, Chris Smith
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Smith 2019-03-11 14:06:43 UTC
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:25,
                 from fluidsynth-dssi.c:34:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
fluidsynth-dssi.c: In function ‘fsd_get_soundfont’:
fluidsynth-dssi.c:170:20: error: storage size of ‘preset’ isn’t known
     fluid_preset_t preset;
                    ^~~~~~
fluidsynth-dssi.c:209:16: error: dereferencing pointer to incomplete type ‘fluid_sfont_t’ {aka ‘struct _fluid_sfont_t’}
     fluid_sfont->iteration_start(fluid_sfont);
                ^~
fluidsynth-dssi.c:170:20: warning: unused variable ‘preset’ [-Wunused-variable]
     fluid_preset_t preset;
                    ^~~~~~
fluidsynth-dssi.c: In function ‘fsd_run_multiple_synths’:
fluidsynth-dssi.c:870:9: warning: ‘fluid_synth_nwrite_float’ is deprecated [-Wdeprecated-declarations]
         fluid_synth_nwrite_float(fsd_synth.fluid_synth, burst_size,
         ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/fluidsynth.h:97,
                 from fluidsynth-dssi.c:43:
/usr/include/fluidsynth/synth.h:268:37: note: declared here
 FLUID_DEPRECATED FLUIDSYNTH_API int fluid_synth_nwrite_float(fluid_synth_t *synth, int len,
Comment 1 Chris Smith 2019-03-11 14:08:15 UTC
# emerge --info '=media-libs/fluidsynth-dssi-1.0.0::gentoo'
Portage 2.3.62 (python 3.6.8-final-0, default/linux/amd64/17.1/desktop/plasma/systemd, gcc-8.3.0, glibc-2.28-r5, 5.0.1-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.0.1-gentoo-x86_64-Intel-R-_Core-TM-_i7-3770K_CPU_@_3.50GHz-with-gentoo-2.6                                            KiB Mem:    32838208 total,  16220180 free   
KiB Swap:    6291452 total,   6291452 free
Timestamp of repository gentoo: Mon, 11 Mar 2019 13:04:16 +0000                                                                             Head commit of repository gentoo: 904bf63341569c8ee138d6e4dbc59fa6fe8f49e6                                                                 
                                                                                                                                           
Head commit of repository audio-overlay: 8e94040ff6a6bc49a3ea908557d4c765f56ad7b0
                                          
sh bash 5.0_p2-r2
ld GNU ld (Gentoo 2.32 p1) 2.32.0
app-shells/bash:          5.0_p2-r2::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.28.0::gentoo
dev-lang/python:          2.7.16::gentoo, 3.6.8::gentoo, 3.7.2::gentoo
dev-util/cmake:           3.13.4::gentoo                                                                                                    dev-util/pkgconfig:       0.29.2::gentoo                                                                                                   
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/sandbox:         2.16::gentoo                                                                                                      sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo                                                                                  sys-devel/automake:       1.16.1-r1::gentoo                                                                                                 sys-devel/binutils:       2.32::gentoo                                                                                                      sys-devel/gcc:            8.3.0::gentoo                                                                                                     sys-devel/gcc-config:     2.0::gentoo                                                                                                       sys-devel/libtool:        2.4.6-r5::gentoo                                                                                                  sys-devel/make:           4.2.1-r4::gentoo                                                                                                  sys-kernel/linux-headers: 5.0-r1::gentoo (virtual/os-headers)                                                                               sys-libs/glibc:           2.28-r5::gentoo                                                                                                   Repositories:                                                                                                                                                                                                                                                                           gentoo                                                                                                                                          location: /usr/portage                                                                                                                      sync-type: git                                                                                                                              sync-uri: https://anongit.gentoo.org/git/repo/sync/gentoo.git                                                                               priority: -1000                                                                                                                                                                                                                                                                     audio-overlay                                                                                                                                   location: /usr/local/portage/audio-overlay                                                                                                  sync-type: git                                                                                                                              sync-uri: https://github.com/gentoo-audio/audio-overlay.git                                                                            
    masters: gentoo                                                                                                                                    
tcgOverlay                                                                                                                                      location: /usr/local/portage
    masters: gentoo
                                                                 
ACCEPT_KEYWORDS="amd64 ~amd64"          
ACCEPT_LICENSE="* -@EULA"                                        
CBUILD="x86_64-pc-linux-gnu"
CC="gcc"                                                              
CFLAGS="-O2 -march=native -fomit-frame-pointer -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"                                     
CXX="g++"                                                                                                                            
CXXFLAGS="-O2 -march=native -fomit-frame-pointer -pipe"          
DISTDIR="/usr/portage/distfiles"        
EMERGE_DEFAULT_OPTS="--with-bdeps y --autounmask-keep-masks"     
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"                       
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs clean-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned sandbox sfperms strict
unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"                                          
FFLAGS="-O2 -pipe"                                                               
GENTOO_MIRRORS="http://gentoo.osuosl.org/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O2 -Wl,--as-needed"
LINGUAS="en_US en"                         
MAKEOPTS="V=1 -j1"                        
PKGDIR="/usr/portage/packages"          
PORTAGE_CONFIGROOT="/"                                                
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"                                       
PORTAGE_TMPDIR="/var/tmp"               
USE="X a52 aac aalib acl acpi activities aes alsa amd64 amr apache2 audiofile avx bash-completion berkdb bluray branding btrfs bzip2 cairo caps cdaudio cdda cddb cdparanoia cdr cdrdao chm chromecast cleartype cli corefonts crypt cups curl cxx dbus declarative djvu dri dssi dts dv dvb dvd dvdr ebook emboss encode exif fam fdk ffmpeg flac fortran gdbm gif glamor gmp google gphoto2 gpm gstreamer gtk gtk3 iconv icu ieee1394 imagemagick imap imlib introspection ipv6 jack java jpeg jpeg2k kde kipi kpathsea kwallet ladspa lame lash lcms libffi libnotify libtirpc linguas_en_US lv2 lzma mad marble midi mmap mmx mmxext mng mozilla mp3 mp4 mpeg mtp musicbrainz ncurses network nls nodrm nptl nsplugin nvidia ofx ogg opencl openexr opengl openmp opus pam pango pcre pdf phonon plasma png policykit popcnt ppds pulseaudio qml qt5 readline rtmp sasl scanner sdl seccomp semantic-desktop slp smp sndfile speex spell sse sse2 sse3 sse4_1 sse4_2 ssl ssse3 startup-notification subversion svg systemd theora threads tiff tk transparency truetype type1 udev udisks unicode unwind upower usb v4l vaapi vcd vdpau vim-syntax vorbis vpx vst wav wavpack wayland webp widgets wmf wxwidgets x264 x265 xattr xcb xcomposite xine xkb xml xscreensaver xv xvid xvmc zlib" ABI_X86="64" ALSA_CARDS="hda-intel hdsp hpet hrtimer rtctimer seqdummy virmidi" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="author braindump flow karbon kexi krita sheets stage words" CAMERAS="*" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64 pc" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NETBEANS_MODULES="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" NGINX_MODULES_HTTP="autoindex fancyindex fastcgi gzip" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-1" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="(-ruby23) (-ruby24) (-ruby25) ruby26" SANE_BACKENDS="epson epson2" USERLAND="GNU" VIDEO_CARDS="nvidia nouveau" XTABLES_ADDONS="quota2
psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS               
                   
=================================================================
                        Package Settings
=================================================================
                            
media-libs/fluidsynth-dssi-1.0.0::gentoo was built with the following:
USE="(policykit)" ABI_X86="(64)"
Comment 2 Chris Smith 2019-03-11 14:09:57 UTC
Created attachment 568582 [details]
build.log
Comment 3 Larry the Git Cow gentoo-dev 2019-06-10 20:20:33 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0a8b81024e6321f5a149d382f57bcf4f95b9382

commit e0a8b81024e6321f5a149d382f57bcf4f95b9382
Author:     Nikos Chantziaras <realnc@gmail.com>
AuthorDate: 2019-04-14 13:43:12 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2019-06-10 20:20:11 +0000

    media-libs/fluidsynth-dssi: revbump with fluidsynth-2 support, EAPI 7
    
    FluidSynth 2 patch based on
    https://sourceforge.net/p/dssi/fluidsynth-dssi/merge-requests/1
    
    Closes: https://bugs.gentoo.org/680040
    Package-Manager: Portage-2.3.62, Repoman-2.3.12
    Signed-off-by: Nikos Chantziaras <realnc@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/11680
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 .../fluidsynth-dssi/files/1.0.0-fluidsynth2.patch  | 76 ++++++++++++++++++++++
 .../fluidsynth-dssi-1.0.0-r1.ebuild                | 33 ++++++++++
 2 files changed, 109 insertions(+)