Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 334311

Summary: media-sound/wildmidi - libWildMidi(WM_BufferFile:101): ERROR Unable to stat /etc/wildmidi.cfg (No such file or directory)
Product: Gentoo Linux Reporter: Jeroen Roovers (RETIRED) <jer>
Component: Current packagesAssignee: Markos Chandras (RETIRED) <hwoarang>
Status: RESOLVED TEST-REQUEST    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 333941    

Description Jeroen Roovers (RETIRED) gentoo-dev 2010-08-24 17:01:50 UTC
Haven't tried to use it together with media-sound/mpd yet, but as it is now it isn't very useful. A default /etc/wildmidi.cfg should probably be installed, but the sources don't provide one, our ebuild doesn't provide one and the code is written in such a way that it doesn't write a nominal one itself when it needs to, and bails out:

jeroen@elmer /keeps/gentoo/samplefiles $ wildmidi FourHorsemen.mid

WildMidi 0.2.3.4 Open Source Midi Sequencer
Copyright (C) Chris Ison 2001-2010 wildcode@users.sourceforge.net

WildMidi comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under the terms and conditions of the GNU General Public License version 3.
For more information see COPYING

Report bugs to http://sourceforge.net/tracker/?group_id=42635&atid=433744
WildMIDI homepage at http://wildmidi.sourceforge.net

Initializing Sound System
Initializing WildMidi Processing Library 0.2.3.4
 
 +  Volume up        e  Better resampling    n  Next Midi
 -  Volume down      l  Log volume           q  Quit
 ,  1sec Seek Back   r  Reverb               .  1sec Seek Forward
                     p  Pause On/Off

libWildMidi(WM_BufferFile:101): ERROR Unable to stat /etc/wildmidi.cfg (No such file or directory)

I also wonder why the package doesn't belong to the sound herd.
Comment 1 Markos Chandras (RETIRED) gentoo-dev 2010-08-24 17:34:54 UTC
Jeroen, can you please try to touch /etc/wildmidi.cfg and see if it works for you?

The package is not *yet* in sound herd as I didn't talk to them about this yet
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2010-08-26 16:25:08 UTC
(In reply to comment #1)
> Jeroen, can you please try to touch /etc/wildmidi.cfg and see if it works for
> you?

I'm puzzled. Can't you do it?

Anyway, an empty cfg file makes wildmidi run, but I get no sound output, not even when I write to a WAV file. Audacity shows flat lines for each stereo channel.
Comment 3 Markos Chandras (RETIRED) gentoo-dev 2010-08-26 18:27:05 UTC
(In reply to comment #2)
> (In reply to comment #1)
> > Jeroen, can you please try to touch /etc/wildmidi.cfg and see if it works for
> > you?
> 
> I'm puzzled. Can't you do it?
> 
No cause I didn't have access on my dev machines. Now that I do, I 've fixed it. Please reopen this bug if -r1 doesn't work for you

Please note that you need to keyword media-sound/timidity-freepats as well (have updated bug #333941)

Thanks

+*wildmidi-0.2.3.4-r1 (26 Aug 2010)
+
+  26 Aug 2010; Markos Chandras <hwoarang@gentoo.org>
+  +wildmidi-0.2.3.4-r1.ebuild, +files/wildmidi.cfg:
+  Depend on timidity-freepats. Add default configuration file. Bug #334311.
+  Drop ~arm keyword since they need to stabilize timidity-freepats first
+