Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Failing to compile hydrogen
Date: Tue, 14 Feb 2012 17:08:06
Message-Id: 20120214190526.057e5c0f@khamul.example.com
In Reply to: [gentoo-user] Failing to compile hydrogen by meino.cramer@gmx.de
1 On Tue, 14 Feb 2012 17:58:49 +0100
2 meino.cramer@×××.de wrote:
3
4 >
5 > Hi,
6 >
7 > I tried to compile hydrogen and it fails with this:
8 >
9 >
10 > /root>emerge hydrogen
11 > Calculating dependencies... done!
12 >
13 > >>> Verifying ebuild manifests
14 >
15 > >>> Emerging (1 of 1) media-sound/hydrogen-0.9.5
16 > * hydrogen-0.9.5.tar.gz RMD160 SHA1 SHA256
17 > size ;-) ...
18 > [ ok ]
19 > >>> Unpacking source...
20 > >>> Unpacking hydrogen-0.9.5.tar.gz
21 > >>> to /var/tmp/portage/media-sound/hydrogen-0.9.5/work Source
22 > >>> unpacked in /var/tmp/portage/media-sound/hydrogen-0.9.5/work
23 > >>> Preparing source
24 > >>> in /var/tmp/portage/media-sound/hydrogen-0.9.5/work/hydrogen-0.9.5 ...
25 > * Applying portaudio.patch ...
26 > [ ok ]
27 > * Applying hydrogen-0.9.5-use_lrdf_pkgconfig.patch ...
28 > [ ok ]
29 > >>> Source prepared.
30 > >>> Configuring source
31 > >>> in /var/tmp/portage/media-sound/hydrogen-0.9.5/work/hydrogen-0.9.5 ...
32 > >>> Source configured. Compiling source
33 > >>> in /var/tmp/portage/media-sound/hydrogen-0.9.5/work/hydrogen-0.9.5 ...
34 > scons: Reading SConscript files ...
35 > Exception: Platform 'linux3' not supported:
36 > File
37 > "/var/tmp/portage/media-sound/hydrogen-0.9.5/work/hydrogen-0.9.5/Sconstruct",
38 > line 378: includes, a , b = get_platform_flags( opts ) File
39 > "/var/tmp/portage/media-sound/hydrogen-0.9.5/work/hydrogen-0.9.5/Sconstruct",
40 > line 103: raise Exception( "Platform '%s' not supported" %
41 > sys.platform )
42 > * ERROR: media-sound/hydrogen-0.9.5 failed (compile phase):
43 > * (no error message)
44 > *
45 > * Call stack:
46 > * ebuild.sh, line 85: Called src_compile
47 > * environment, line 2435: Called die
48 > * The specific snippet of code:
49 > * scons prefix=/usr DESTDIR="${D}" optflags="${CXXFLAGS}"
50 > ${myconf} || die
51 > *
52 > * If you need support, post the output of 'emerge --info
53 > =media-sound/hydrogen-0.9.5',
54 > * the complete build log and the output of 'emerge -pqv
55 > =media-sound/hydrogen-0.9.5'.
56 > * The complete build log is located at
57 > '/var/tmp/portage/media-sound/hydrogen-0.9.5/temp/build.log'.
58 > * The ebuild environment file is located at
59 > '/var/tmp/portage/media-sound/hydrogen-0.9.5/temp/environment'.
60 > * S:
61 > '/var/tmp/portage/media-sound/hydrogen-0.9.5/work/hydrogen-0.9.5'
62 >
63 > >>> Failed to emerge media-sound/hydrogen-0.9.5, Log file:
64 >
65 > >>> '/var/tmp/portage/media-sound/hydrogen-0.9.5/temp/build.log'
66 >
67 >
68 > if needed I will post the additional files mentioned by the output
69 > above later.
70 >
71 > How can I circumvent the problem?
72 >
73 > Best regards,
74 > mcc
75 >
76 >
77 >
78
79 My first gut reaction is to observe
80
81 "Exception: Platform 'linux3' not supported:"
82
83 and say that you are running a 3.x kernel. In which case you are SOL
84 assuming hydrogen only supports kernel-2.x
85
86 Your choices are to file bugs with upstream or (better) submit patches
87 to upstream.
88
89 Perhaps someone else has done this already.
90
91
92 --
93 Alan McKinnnon
94 alan.mckinnon@×××××.com