* [gentoo-user] Failing to compile hydrogen
@ 2012-02-14 16:58 meino.cramer
2012-02-14 17:05 ` Alan McKinnon
2012-02-14 17:07 ` [gentoo-user] " »Q«
0 siblings, 2 replies; 6+ messages in thread
From: meino.cramer @ 2012-02-14 16:58 UTC (permalink / raw
To: Gentoo
Hi,
I tried to compile hydrogen and it fails with this:
/root>emerge hydrogen
Calculating dependencies... done!
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) media-sound/hydrogen-0.9.5
* hydrogen-0.9.5.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ]
>>> Unpacking source...
>>> Unpacking hydrogen-0.9.5.tar.gz to /var/tmp/portage/media-sound/hydrogen-0.9.5/work
>>> Source unpacked in /var/tmp/portage/media-sound/hydrogen-0.9.5/work
>>> Preparing source in /var/tmp/portage/media-sound/hydrogen-0.9.5/work/hydrogen-0.9.5 ...
* Applying portaudio.patch ...
[ ok ]
* Applying hydrogen-0.9.5-use_lrdf_pkgconfig.patch ...
[ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/media-sound/hydrogen-0.9.5/work/hydrogen-0.9.5 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/media-sound/hydrogen-0.9.5/work/hydrogen-0.9.5 ...
scons: Reading SConscript files ...
Exception: Platform 'linux3' not supported:
File "/var/tmp/portage/media-sound/hydrogen-0.9.5/work/hydrogen-0.9.5/Sconstruct", line 378:
includes, a , b = get_platform_flags( opts )
File "/var/tmp/portage/media-sound/hydrogen-0.9.5/work/hydrogen-0.9.5/Sconstruct", line 103:
raise Exception( "Platform '%s' not supported" % sys.platform )
* ERROR: media-sound/hydrogen-0.9.5 failed (compile phase):
* (no error message)
*
* Call stack:
* ebuild.sh, line 85: Called src_compile
* environment, line 2435: Called die
* The specific snippet of code:
* scons prefix=/usr DESTDIR="${D}" optflags="${CXXFLAGS}" ${myconf} || die
*
* If you need support, post the output of 'emerge --info =media-sound/hydrogen-0.9.5',
* the complete build log and the output of 'emerge -pqv =media-sound/hydrogen-0.9.5'.
* The complete build log is located at '/var/tmp/portage/media-sound/hydrogen-0.9.5/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/media-sound/hydrogen-0.9.5/temp/environment'.
* S: '/var/tmp/portage/media-sound/hydrogen-0.9.5/work/hydrogen-0.9.5'
>>> Failed to emerge media-sound/hydrogen-0.9.5, Log file:
>>> '/var/tmp/portage/media-sound/hydrogen-0.9.5/temp/build.log'
if needed I will post the additional files mentioned by the output
above later.
How can I circumvent the problem?
Best regards,
mcc
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] Failing to compile hydrogen
2012-02-14 16:58 [gentoo-user] Failing to compile hydrogen meino.cramer
@ 2012-02-14 17:05 ` Alan McKinnon
2012-02-14 17:07 ` [gentoo-user] " »Q«
1 sibling, 0 replies; 6+ messages in thread
From: Alan McKinnon @ 2012-02-14 17:05 UTC (permalink / raw
To: gentoo-user
On Tue, 14 Feb 2012 17:58:49 +0100
meino.cramer@gmx.de wrote:
>
> Hi,
>
> I tried to compile hydrogen and it fails with this:
>
>
> /root>emerge hydrogen
> Calculating dependencies... done!
>
> >>> Verifying ebuild manifests
>
> >>> Emerging (1 of 1) media-sound/hydrogen-0.9.5
> * hydrogen-0.9.5.tar.gz RMD160 SHA1 SHA256
> size ;-) ...
> [ ok ]
> >>> Unpacking source...
> >>> Unpacking hydrogen-0.9.5.tar.gz
> >>> to /var/tmp/portage/media-sound/hydrogen-0.9.5/work Source
> >>> unpacked in /var/tmp/portage/media-sound/hydrogen-0.9.5/work
> >>> Preparing source
> >>> in /var/tmp/portage/media-sound/hydrogen-0.9.5/work/hydrogen-0.9.5 ...
> * Applying portaudio.patch ...
> [ ok ]
> * Applying hydrogen-0.9.5-use_lrdf_pkgconfig.patch ...
> [ ok ]
> >>> Source prepared.
> >>> Configuring source
> >>> in /var/tmp/portage/media-sound/hydrogen-0.9.5/work/hydrogen-0.9.5 ...
> >>> Source configured. Compiling source
> >>> in /var/tmp/portage/media-sound/hydrogen-0.9.5/work/hydrogen-0.9.5 ...
> scons: Reading SConscript files ...
> Exception: Platform 'linux3' not supported:
> File
> "/var/tmp/portage/media-sound/hydrogen-0.9.5/work/hydrogen-0.9.5/Sconstruct",
> line 378: includes, a , b = get_platform_flags( opts ) File
> "/var/tmp/portage/media-sound/hydrogen-0.9.5/work/hydrogen-0.9.5/Sconstruct",
> line 103: raise Exception( "Platform '%s' not supported" %
> sys.platform )
> * ERROR: media-sound/hydrogen-0.9.5 failed (compile phase):
> * (no error message)
> *
> * Call stack:
> * ebuild.sh, line 85: Called src_compile
> * environment, line 2435: Called die
> * The specific snippet of code:
> * scons prefix=/usr DESTDIR="${D}" optflags="${CXXFLAGS}"
> ${myconf} || die
> *
> * If you need support, post the output of 'emerge --info
> =media-sound/hydrogen-0.9.5',
> * the complete build log and the output of 'emerge -pqv
> =media-sound/hydrogen-0.9.5'.
> * The complete build log is located at
> '/var/tmp/portage/media-sound/hydrogen-0.9.5/temp/build.log'.
> * The ebuild environment file is located at
> '/var/tmp/portage/media-sound/hydrogen-0.9.5/temp/environment'.
> * S:
> '/var/tmp/portage/media-sound/hydrogen-0.9.5/work/hydrogen-0.9.5'
>
> >>> Failed to emerge media-sound/hydrogen-0.9.5, Log file:
>
> >>> '/var/tmp/portage/media-sound/hydrogen-0.9.5/temp/build.log'
>
>
> if needed I will post the additional files mentioned by the output
> above later.
>
> How can I circumvent the problem?
>
> Best regards,
> mcc
>
>
>
My first gut reaction is to observe
"Exception: Platform 'linux3' not supported:"
and say that you are running a 3.x kernel. In which case you are SOL
assuming hydrogen only supports kernel-2.x
Your choices are to file bugs with upstream or (better) submit patches
to upstream.
Perhaps someone else has done this already.
--
Alan McKinnnon
alan.mckinnon@gmail.com
^ permalink raw reply [flat|nested] 6+ messages in thread
* [gentoo-user] Re: Failing to compile hydrogen
2012-02-14 16:58 [gentoo-user] Failing to compile hydrogen meino.cramer
2012-02-14 17:05 ` Alan McKinnon
@ 2012-02-14 17:07 ` »Q«
2012-02-15 3:59 ` meino.cramer
1 sibling, 1 reply; 6+ messages in thread
From: »Q« @ 2012-02-14 17:07 UTC (permalink / raw
To: gentoo-user
On Tue, 14 Feb 2012 17:58:49 +0100
meino.cramer@gmx.de wrote:
> How can I circumvent the problem?
I can't vouch for it, but there's a patch attached to the bug.
<https://bugs.gentoo.org/show_bug.cgi?id=372003>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] Re: Failing to compile hydrogen
2012-02-14 17:07 ` [gentoo-user] " »Q«
@ 2012-02-15 3:59 ` meino.cramer
2012-02-15 10:22 ` Jonas de Buhr
0 siblings, 1 reply; 6+ messages in thread
From: meino.cramer @ 2012-02-15 3:59 UTC (permalink / raw
To: gentoo-user
»Q« <boxcars@gmx.net> [12-02-14 18:12]:
> On Tue, 14 Feb 2012 17:58:49 +0100
> meino.cramer@gmx.de wrote:
>
> > How can I circumvent the problem?
>
> I can't vouch for it, but there's a patch attached to the bug.
>
> <https://bugs.gentoo.org/show_bug.cgi?id=372003>
>
>
Hi,
thank you for your help and the patch! :)
How can I include this patch into the normal
build process of gentoo ?
Thank you very much in advance for any help!
Best regards,
mcc
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] Re: Failing to compile hydrogen
2012-02-15 3:59 ` meino.cramer
@ 2012-02-15 10:22 ` Jonas de Buhr
2012-02-15 10:59 ` Neil Bothwick
0 siblings, 1 reply; 6+ messages in thread
From: Jonas de Buhr @ 2012-02-15 10:22 UTC (permalink / raw
To: gentoo-user
Am 15/02/2012 04:59, schrieb meino.cramer@gmx.de:
> »Q«<boxcars@gmx.net> [12-02-14 18:12]:
>> On Tue, 14 Feb 2012 17:58:49 +0100
>> meino.cramer@gmx.de wrote:
>>
>>> How can I circumvent the problem?
>>
>> I can't vouch for it, but there's a patch attached to the bug.
>>
>> <https://bugs.gentoo.org/show_bug.cgi?id=372003>
>>
>>
>
>
> Hi,
>
> thank you for your help and the patch! :)
>
> How can I include this patch into the normal
> build process of gentoo ?
>
> Thank you very much in advance for any help!
create a local overlay, copy the hydrogen dir, copy the patch, edit the
ebuild to include the patch, compile. sounds a lot more comlicated than
it actually is and it should be easy to find tutorials for the
individual steps :)
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] Re: Failing to compile hydrogen
2012-02-15 10:22 ` Jonas de Buhr
@ 2012-02-15 10:59 ` Neil Bothwick
0 siblings, 0 replies; 6+ messages in thread
From: Neil Bothwick @ 2012-02-15 10:59 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 826 bytes --]
On Wed, 15 Feb 2012 11:22:38 +0100, Jonas de Buhr wrote:
> > How can I include this patch into the normal
> > build process of gentoo ?
> create a local overlay, copy the hydrogen dir, copy the patch, edit the
> ebuild to include the patch, compile. sounds a lot more comlicated than
> it actually is and it should be easy to find tutorials for the
> individual steps :)
mkdir -p /etc/portage/patches/media-sound/hydrogen-0.95
copy the patch into that directory
emerge as usual
It requires portage 2.2 (I think) and that the ebuild has support for
user patches, but it makes life a lot easier when it does work.
--
Neil Bothwick
CPU: (n.) acronym for Central Purging Unit. A device which discards or
distorts data sent to it, sometimes returning more data and sometimes
merely over-heating.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2012-02-15 11:01 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-14 16:58 [gentoo-user] Failing to compile hydrogen meino.cramer
2012-02-14 17:05 ` Alan McKinnon
2012-02-14 17:07 ` [gentoo-user] " »Q«
2012-02-15 3:59 ` meino.cramer
2012-02-15 10:22 ` Jonas de Buhr
2012-02-15 10:59 ` Neil Bothwick
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox