Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 28458 - fmdrv-1.0.7.ebuild (new package)
Summary: fmdrv-1.0.7.ebuild (new package)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Jeremy Huddleston (RETIRED)
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2003-09-11 10:03 UTC by Joel Yliluoma
Modified: 2004-03-18 08:21 UTC (History)
2 users (show)

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


Attachments
The ebuild file of fmdrv. (fmdrv-1.0.5.ebuild,946 bytes, text/plain)
2003-09-11 10:04 UTC, Joel Yliluoma
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joel Yliluoma 2003-09-11 10:03:07 UTC
media-sound/fmdrv
--
fmdrv plays MIDI files. It has a built-in userland OPL2 driver,
so it can be used in OSS-less/ALSAless systems that have
a Soundblaster card.
It also supports /dev/sequencer (tested with SB AWE32).
Interface: terminal, no full screen.
--
Homepage: http://bisqwit.iki.fi/source/fmdrv.html
Comment 1 Joel Yliluoma 2003-09-11 10:04:55 UTC
Created attachment 17510 [details]
The ebuild file of fmdrv.
Comment 2 Jeremy Huddleston (RETIRED) gentoo-dev 2004-03-06 05:19:08 UTC
Since you're the package's developer I'll just keep the bug report here rather than emailing you directly...

I was testing out this package for inclusion in portage, and I get segfaults when I try running it...

$ fmdrv Final\ Fantasy\ 7\ -\ Aerith\'s\ Theme.mid 
fmdrv: Output filename was not specified, playing the input file.
Segmentation fault

$ fmdrv -v Final\ Fantasy\ 7\ -\ Aerith\'s\ Theme.mid 
fmdrv: Output filename was not specified, playing the input file.
Segmentation fault

$ fmdrv -m1 Final\ Fantasy\ 7\ -\ Aerith\'s\ Theme.mid
##Plays, but incorrect speed.

$ qpkg -I -v timidity++        
media-sound/timidity++-2.13.0_rc1 *

$ lsmod | grep snd
snd-pcm-oss            39012   0 
snd-mixer-oss          13392   0  [snd-pcm-oss]
snd-seq-midi            3776   1  (autoclean)
snd-ens1371            13792   7  (autoclean)
snd-pcm                65892   3  (autoclean) [snd-pcm-oss snd-ens1371]
snd-page-alloc          6612   0  (autoclean) [snd-pcm]
snd-rawmidi            14176   0  (autoclean) [snd-seq-midi snd-ens1371]
gameport                1692   0  (autoclean) [snd-ens1371]
snd-ac97-codec         48460   0  (autoclean) [snd-ens1371]
snd-seq-oss            27360   0 
snd-seq-midi-event      3776   0  [snd-seq-midi snd-seq-oss]
snd-seq                40208   4  [snd-seq-midi snd-seq-oss snd-seq-midi-event]
snd-timer              15524   0  [snd-pcm snd-seq]
snd-seq-device          4176   0  [snd-seq-midi snd-rawmidi snd-seq-oss snd-seq]
snd                    34692   5  [snd-pcm-oss snd-mixer-oss snd-seq-midi snd-ens1371 snd-pcm snd-rawmidi snd-ac97-codec snd-seq-oss snd-seq-midi-event snd-seq snd-timer snd-seq-device]
soundcore               4228   8  [snd]

alsa-XXXX-1.0.3
Comment 3 Jeremy Huddleston (RETIRED) gentoo-dev 2004-03-16 19:28:15 UTC
Joel, we're you're going to have to provide information here, otherwise I can't include your package.
Comment 4 Joel Yliluoma 2004-03-17 01:45:48 UTC
Seems like bugzilla didn't accept my comment when I sent
it as a reply to the email I got, keeping subject intact.
So.

On Sat, 6 Mar 2004 bugzilla-daemon@gentoo.org wrote:
> $ fmdrv Final\ Fantasy\ 7\ -\ Aerith\'s\ Theme.mid
> fmdrv: Output filename was not specified, playing the input file.
> Segmentation fault
>
> $ fmdrv -v Final\ Fantasy\ 7\ -\ Aerith\'s\ Theme.mid
> fmdrv: Output filename was not specified, playing the input file.
> Segmentation fault

Segmentation fault comes because it attempts to use OPL2 with I/O
access. It works as root. This is mentioned in the documentation:
  - No OPL2 support if your installation was non-SUID

With -m it uses an OSS midi device.


> $ fmdrv -m1 Final\ Fantasy\ 7\ -\ Aerith\'s\ Theme.mid
> ##Plays, but incorrect speed.

This, too, is mentioned at the documentation:
  - Too fast playing if your kernel has some other HZ than 100.
Comment 5 Jeremy Huddleston (RETIRED) gentoo-dev 2004-03-17 08:34:38 UTC
Ok, well that segfault has to be handled gracefully, and you need to fix the timing issue before it will be included in portage.
Comment 6 Joel Yliluoma 2004-03-18 03:53:23 UTC
The mentioned problems (segmentation fault without warning and inaccurate speed code) should be fixed now.
Rename the ebuild file as fmdrv-1.0.7.ebuild.
Comment 7 Jeremy Huddleston (RETIRED) gentoo-dev 2004-03-18 08:21:55 UTC
in portage.  thanks.