Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 47866 - media-plugins/xmms-midi-0.03 works on amd64 with modification
Summary: media-plugins/xmms-midi-0.03 works on amd64 with modification
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High enhancement (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-14 18:03 UTC by Charles Noneman
Modified: 2004-04-16 05:18 UTC (History)
0 users

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


Attachments
Patch against media-plugins/xmms-midi-0.03 (xmms-midi-0.03.ebuild.patch,790 bytes, patch)
2004-04-15 03:35 UTC, Danny van Dyk (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Charles Noneman 2004-04-14 18:03:40 UTC
xmms-midi-0.03 normally fails to configure on amd64 with this error:
checking host system type... Invalid configuration `x86_64-pc-linux-gnu': machine `x86_64-pc' not recognized
 
checking build system type... Invalid configuration `x86_64-pc-linux-gnu': machine `x86_64-pc' not recognized

If I manually install it (not using portage) it will work if the line --host="i686-pc-linux-gnu" is added to ./configure (./configure --host="i686-pc-linux-gnu", make, make install). I don't know enough about ebuilds to fix this myself, but hopefully it will not be difficult to do.

Reproducible: Always
Steps to Reproduce:
Comment 1 Danny van Dyk (RETIRED) gentoo-dev 2004-04-15 03:30:16 UTC
Adding --host="i686-pc-linux-gnu" on an amd64 system is a Bad Idea (tm). (unless you are in a 32bit chroot!) However i could merge this plugin by updating the gnuconfig files in the working directory (inherit gnuconfig and gnuconfig_update).
BUT ... I can't play any midi-file with it :/
Can anyone confirm ? (Patch for the ebuild will be applied)
Comment 2 Danny van Dyk (RETIRED) gentoo-dev 2004-04-15 03:35:12 UTC
Created attachment 29327 [details, diff]
Patch against media-plugins/xmms-midi-0.03

mini-HOWTO:
cd /usr/portage/media-plugins/xmms-midi/
patch < /path/to/patch/file/xmms-midi-0.03.ebuild.patch
Comment 3 Charles Noneman 2004-04-15 16:41:59 UTC
That patch worked. 
As for playing midis, do you have media-sound/timidity-eawpatches installed? That's the only way I could get timidity++ to work, and from the sound of the midis that xmms is playing, it is using the eaw-patches.
Comment 4 Danny van Dyk (RETIRED) gentoo-dev 2004-04-15 16:58:52 UTC
Playing midis: No, i haven't. But i will try at once...
Comment 5 Travis Tilley (RETIRED) gentoo-dev 2004-04-16 05:18:41 UTC
copied valid configuration to /etc and it worked. it's odd that it doesnt use the same config file as timidity itself...

anyways, fixed in CVS. give it a bit to reach rsync.