Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 479534 - app-emulation/dosemu-1.4.1_pre20130107 USE=fluidsynth - dosemu: fluidsynth: error: Unable to open file "/usr/share/soundfonts/default.sf2"
Summary: app-emulation/dosemu-1.4.1_pre20130107 USE=fluidsynth - dosemu: fluidsynth: e...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Hanno Böck
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-02 16:39 UTC by Michelangelo Scopelliti
Modified: 2013-08-05 06:10 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michelangelo Scopelliti 2013-08-02 16:39:00 UTC
After emerging USE=fluidsynth dosemu, starting the emulator gives the following messages:

fluidsynth: error: Unable to open file "/usr/share/soundfonts/default.sf2"
fluidsynth: error: Couldn't load soundfont file
fluidsynth: error: Failed to load SoundFont "/usr/share/soundfonts/default.sf2"

dosemu does hardcodes the font path in src/plugin/fluidsynth/mid_o_flus.c (line 38); since the file does not exists, the error is generated.

Reproducible: Always

Steps to Reproduce:
1. USE=fluidsynth emerge dosemu
2. dosemu
3.
Actual Results:  
fluidsynth: error: Unable to open file "/usr/share/soundfonts/default.sf2"
fluidsynth: error: Couldn't load soundfont file
fluidsynth: error: Failed to load SoundFont "/usr/share/soundfonts/default.sf2"

Expected Results:  
no error message

(probably useless) emerge --info


Portage 2.2.0_alpha191 (default/linux/amd64/13.0, gcc-4.8.1, glibc-2.17, 3.10.4 x86_64)
=================================================================
System uname: Linux-3.10.4-x86_64-AMD_Phenom-tm-_II_X6_1055T_Processor-with-gentoo-2.2
KiB Mem:     7655372 total,   5772620 free
KiB Swap:          0 total,         0 free
Timestamp of tree: Fri, 02 Aug 2013 15:45:01 +0000
ld ld di GNU (GNU Binutils) 2.23.1
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.5-r1, 3.3.2-r1
dev-util/cmake:           2.8.11.1
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.13.4, 1.14
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.8.1
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo science kernelpanic
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA @EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -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/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/var/portage/distfiles"
FCFLAGS="-march=native -O2 -pipe"
FEATURES="assume-digests binpkg-logs candy clean-logs compress-build-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch parallel-install preserve-libs protect-owned sandbox sfperms split-elog split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="it_IT.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j7"
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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/science /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext SECURITY_HAZARD X a52 aac aalib acl adolc aio alisp alsa amd64 amr anacron ao apng audiofile bazaar berkdb bidi bitmap bittorrent blas bs2b bufferevents bzip2 cairo caps cblas-external cdda cdio chm clang cli compact conntrack consolekit context contrast contrib corefonts cracklib crypt cryptsetup cups curl cvs cxx dbus demosaic detex device-mapper devil dga dhcp dhcp-tools djbfft djvu dos dri dts dv dvb dvd dvi2tty dvipdfm ebook ecdsa eigen emf encode epspdf excel exif extensions extra faac facedetect fdformat fdk ffmpeg fftw firmware fits flac fluidsynth fontconfig fontforge fortran fpx frei0r ftp gbm gcj gd gdbm geoip gif gimp git glamor glut gmp gold gpg gphoto2 gpm graphics graphicsmagick graphite graphviz gsl gsm gstreamer gtk gtk2 gtkstyle gts gudev hdri highlight hpn humanities hwdb iconv icu id3tag idn imagemagick imaging inkjar inotify ios ipv6 ipython iso ithreads jadetex jbig jemalloc jpeg jpeg2k kdrive keymap kmod kpathsea ladspa lame lapack lasi latex lcms ldns lensfun libass libcaca libkms libnotify libproxy libsamplerate libsoxr libv4l llvm lqr lto lua luatex lynxkeymap lzma lzo mad mathml matplotlib mdev mem-scramble mercurial metalink metapost metis metric minizip mjpeg mmap mms mmx mmxext mng modplug modules mount mp3 mp3rtp mpeg mpi mpi-threads mudflap multicall multilib multitarget musepack music musicbrainz mysql mysqli nat-pmp natspec ncat ncurses ndiff netlink network network-cron networking newnet nlopt nls normalize nping nptl nsplugin numpy nuv ocr offensive offlinehelp ofx ogg openal openexr opengl openmp openvg opus osmesa pam pango passwdqc pch pcre pdf pdo pgf pkcs11 plotutils plugins png pnm policykit postgres postproc postscript pstricks publishers pvr pyglet python python3 q16 q32 q64 q8 qt3support quicktime quvi rar raw readline reencrypt replaygain rle romio rpc rtmp scale0tilt scanner schroedinger science script sdl secure-delete secure-messaging session smartcard smi smp sndfile sox sparse speex spell spoof-source sql sqlite sse sse2 sse3 ssl startup-notification subversion suid svg syslog system-cairo system-jpeg system-sqlite t1lib taglib telepathy tftp tga theora thin-splines threads tiff timezone tls transparent-proxy truetype tty-helpers twolame type3 udev udisks umfpack unicode urandom usb v4l vaapi vcd vdpau video vim vim-syntax vorbis vpx wavpack wayland web webdav webgl webp wmf wxwidgets x264 xa xattr xcb xcomposite xdg xetex xft xkb xlib-xcb xml xmlrpc xmp xorg xpm xscreensaver xv xvid xvmc yuv4mpeg zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CURL_SSL="gnutls" ELIBC="glibc" FOO2ZJS_DEVICES="sa300" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="nlpsolver presenter-minimizer" LINGUAS="it en fr" OFFICE_IMPLEMENTATION="libreoffice" OPENMPI_FABRICS="knem" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" QEMU_SOFTMMU_TARGETS="arm i386 x86_64" QEMU_USER_TARGETS="arm i386 x86_64 armeb" RUBY_TARGETS="ruby20" SANE_BACKENDS="xerox_mfp" USERLAND="GNU" VIDEO_CARDS="r600 radeon v4l" 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Sergei Trofimovich (RETIRED) gentoo-dev 2013-08-04 20:43:59 UTC
[ CCed sound@ ]

Looks like "/usr/share/soundfonts/default.sf2" is an old RHism.

http://pkgs.fedoraproject.org/cgit/fluid-soundfont.git/tree/fluid-soundfont.spec?h=f19#n118

I think we'll do the similar in gentoo.
Comment 2 Sergei Trofimovich (RETIRED) gentoo-dev 2013-08-05 06:10:25 UTC
Pushed as:

>*dosemu-1.4.1_pre20130107-r1 (05 Aug 2013)
>
>  05 Aug 2013; Sergei Trofimovich <slyfox@gentoo.org>
>  +dosemu-1.4.1_pre20130107-r1.ebuild:
>  Picked FluidR3_GM.sf2 from media-sound/fluid-soundfont as a default soundfont
>  (bug #479534 by Michelangelo Scopelliti)

Thanks for the report!


media-sound/fluid-soundfont is quite big on it's own: 145MB