Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Gentoo User (http://www.linux-archive.org/gentoo-user/)
-   -   Failing to compile hydrogen (http://www.linux-archive.org/gentoo-user/632875-failing-compile-hydrogen.html)

02-14-2012 03:58 PM

Failing to compile hydrogen
 
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

Alan McKinnon 02-14-2012 04:05 PM

Failing to compile hydrogen
 
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

Q 02-14-2012 04:07 PM

Failing to compile hydrogen
 
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>

02-15-2012 02:59 AM

Failing to compile hydrogen
 
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

Jonas de Buhr 02-15-2012 09:22 AM

Failing to compile hydrogen
 
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 :)

Neil Bothwick 02-15-2012 09:59 AM

Failing to compile hydrogen
 
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.


All times are GMT. The time now is 08:59 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.