Gentoo Archives: gentoo-user

From: Andrew Hoffman <andy.hoffman12@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] dev-libs/folks-0.4.3 fails to emerge
Date: Mon, 08 Apr 2013 18:38:50
Message-Id: CAKqv15QSqYj49GQ8_Wciu=8mxY8AyoTmWYyjqmnntp7vyP1ozQ@mail.gmail.com
In Reply to: Re: [gentoo-user] dev-libs/folks-0.4.3 fails to emerge by Andrew Hoffman
1 On Mon, Apr 8, 2013 at 1:35 PM, Andrew Hoffman <andy.hoffman12@×××××.com>wrote:
2
3 >
4 >
5 >
6 > On Mon, Apr 8, 2013 at 1:30 PM, Canek Peláez Valdés <caneko@×××××.com>wrote:
7 >
8 >> On Mon, Apr 8, 2013 at 1:10 PM, Andrew Hoffman <andy.hoffman12@×××××.com>
9 >> wrote:
10 >> >
11 >> >
12 >> >
13 >> > On Mon, Apr 8, 2013 at 1:02 PM, Canek Peláez Valdés <caneko@×××××.com>
14 >> > wrote:
15 >> >>
16 >> >> On Mon, Apr 8, 2013 at 12:54 PM, Andrew Hoffman
17 >> >> <andy.hoffman12@×××××.com> wrote:
18 >> >> > Canek,
19 >> >> > I have those files in /usr/lib/pkgconfig I do not have a /usr/lib64
20 >> >> >
21 >> >> > lapy lib # locate telepathy-glib.pc
22 >> >> > /usr/lib/pkgconfig/telepathy-glib.pc
23 >> >> > lapy lib # locate dbus-glib-1.pc
24 >> >> > /usr/lib/pkgconfig/dbus-glib-1.pc
25 >> >> > lapy lib # locate gio-2.0.pc
26 >> >> > /usr/lib/pkgconfig/gio-2.0.pc
27 >> >> > lapy lib # locate gee-1.0.pc
28 >> >> > /usr/lib/pkgconfig/gee-1.0.pc
29 >> >> >
30 >> >> > How would I tell if they are damaged if that is indeed the case?
31 >> >>
32 >> >> Don't top-post, please. Sorry, I messed up the files; you don't need
33 >> >> the pkgconfig files (*.pc), you need the Vala API files (*.vapi). You
34 >> >> need:
35 >> >>
36 >> >> /usr/share/vala/vapi/telepathy-glib.vapi
37 >> >> /usr/share/vala-0.18/vapi/dbus-glib-1.vapi
38 >> >> /usr/share/vala-0.18/vapi/gio-2.0.vapi
39 >> >> /usr/share/vala/vapi/gee-1.0.vapi
40 >> >>
41 >> >> Depending on how many Vala compiler versions you have, you can have
42 >> >> several of the second and the third; for example I have:
43 >> >>
44 >> >> /usr/share/vala-0.12/vapi/dbus-glib-1.vapi
45 >> >> /usr/share/vala-0.14/vapi/dbus-glib-1.vapi
46 >> >> /usr/share/vala-0.16/vapi/dbus-glib-1.vapi
47 >> >> /usr/share/vala-0.18/vapi/dbus-glib-1.vapi
48 >> >> /usr/share/vala-0.20/vapi/dbus-glib-1.vapi
49 >> >>
50 >> >> Check if you have the four vapi files, and that the ones for
51 >> >> dbus-glib-1 and gio-2.0 exists for all your versions of the Vala
52 >> >> compiler.
53 >> >>
54 >> >> Regards.
55 >> >> --
56 >> >> Canek Peláez Valdés
57 >> >> Posgrado en Ciencia e Ingeniería de la Computación
58 >> >> Universidad Nacional Autónoma de México
59 >> >>
60 >> >
61 >> > Guess gmail defaults to top post so its what I use:/
62 >> >
63 >> > Anyhow I have these files:
64 >> >
65 >> > lapy lib # locate telepathy-glib.vapi
66 >> > /usr/share/vala/vapi/telepathy-glib.vapi
67 >> > lapy lib # locate dbus-glib-1.vapi
68 >> > /usr/share/vala-0.12/vapi/dbus-glib-1.vapi
69 >> > /usr/share/vala-0.14/vapi/dbus-glib-1.vapi
70 >> > /usr/share/vala-0.16/vapi/dbus-glib-1.vapi
71 >> > /usr/share/vala-0.18/vapi/dbus-glib-1.vapi
72 >> > lapy lib # locate gio-2.0.vapi
73 >> > /usr/share/vala-0.12/vapi/gio-2.0.vapi
74 >> > /usr/share/vala-0.14/vapi/gio-2.0.vapi
75 >> > /usr/share/vala-0.16/vapi/gio-2.0.vapi
76 >> > /usr/share/vala-0.18/vapi/gio-2.0.vapi
77 >> > lapy lib # locate gee-1.0.vapi
78 >> > /usr/share/vala/vapi/gee-1.0.vapi
79 >>
80 >> I see the error now. The problem is that the class GLib.Bytes is
81 >> defined in glib-2.0.vapi for valac 0.16, 0.18 and 0.20, but not for
82 >> valac 0.12 nor 0.14. The latest version of telepahy-glib uses
83 >> GLib.Bytes, so it dependencies need to be compiled with a newer
84 >> version of valac.
85 >>
86 >> Can you try to emerge folks as follows:
87 >>
88 >> VALA_MIN_API_VERSION="0.16" emerge dev-libs/folks
89 >>
90 >> If that fails, what version of telepathy-glib do you have installed?
91 >>
92 >> Regards.
93 >> --
94 >> Canek Peláez Valdés
95 >> Posgrado en Ciencia e Ingeniería de la Computación
96 >> Universidad Nacional Autónoma de México
97 >>
98 >>
99 > that did fail:
100 >
101 > lapy portage # VALA_MIN_API_VERSION="0.16" emerge dev-libs/folks
102 > Calculating dependencies... done!
103 >
104 > >>> Verifying ebuild manifests
105 >
106 > >>> Emerging (1 of 1) dev-libs/folks-0.4.3
107 > * folks-0.4.3.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) ...
108 > [ ok ]
109 > >>> Unpacking source...
110 > >>> Unpacking folks-0.4.3.tar.bz2 to
111 > /var/tmp/portage/dev-libs/folks-0.4.3/work
112 > >>> Source unpacked in /var/tmp/portage/dev-libs/folks-0.4.3/work
113 > >>> Preparing source in
114 > /var/tmp/portage/dev-libs/folks-0.4.3/work/folks-0.4.3 ...
115 > * Fixing OMF Makefiles ...
116 > [ ok ]
117 > * Disabling deprecation warnings ...
118 > [ ok ]
119 > * Running elibtoolize in: folks-0.4.3/
120 > * Applying portage/1.2.0 patch ...
121 > * Applying sed/1.5.6 patch ...
122 > * Applying as-needed/2.2.6 patch ...
123 > >>> Source prepared.
124 > >>> Configuring source in
125 > /var/tmp/portage/dev-libs/folks-0.4.3/work/folks-0.4.3 ...
126 > (removed)
127 > checking pkg-config is at least version 0.21... yes
128 > checking for GLIB... yes
129 > checking for GMODULE... yes
130 > checking for GIO... yes
131 > checking for DBUS_GLIB... yes
132 > checking for GEE... yes
133 > checking for TP_GLIB... yes
134 > checking for valac... /usr/bin/valac-0.12
135 > checking /usr/bin/valac-0.12 is at least version 0.11.6... yes
136 > checking for vapigen... /usr/bin/vapigen-0.12
137 > checking for telepathy-glib dbus-glib-1 gio-2.0 gee-1.0 vala bindings...
138 > configure: error: Package requirements were not met: telepathy-glib
139 > dbus-glib-1
140 > gio-2.0
141 > gee-1.0
142 >
143 > warning: D-Bus GLib is deprecated, use GDBus
144 > telepathy-glib.vapi:1326.36-1326.45: error: The type name `GLib.Bytes'
145 > could not be found
146 >
147 > Consider adjusting the XDG_DATA_DIRS environment variable if you
148 > installed bindings in a non-standard prefix.
149 >
150 >
151 > !!! Please attach the following file when seeking support:
152 > !!! /var/tmp/portage/dev-libs/folks-0.4.3/work/folks-0.4.3/config.log
153 > * ERROR: dev-libs/folks-0.4.3 failed (configure phase):
154 > * econf failed
155 > *
156 > * Call stack:
157 > * ebuild.sh, line 93: Called src_configure
158 > * environment, line 3005: Called gnome2_src_configure
159 > * environment, line 2258: Called econf '--disable-silent-rules'
160 > '--enable-import-tool' '--enable-inspect-tool' '--enable-vala'
161 > 'VALAC=/usr/bin/valac-0.12' 'VAPIGEN=/usr/bin/vapigen-0.12'
162 > '--disable-docs' '--disable-Werror'
163 > * phase-helpers.sh, line 521: Called die
164 > * The specific snippet of code:
165 > * die "econf failed"
166 > *
167 > * If you need support, post the output of `emerge --info
168 > '=dev-libs/folks-0.4.3'`,
169 > * the complete build log and the output of `emerge -pqv
170 > '=dev-libs/folks-0.4.3'`.
171 > * The complete build log is located at
172 > '/var/tmp/portage/dev-libs/folks-0.4.3/temp/build.log'.
173 > * The ebuild environment file is located at
174 > '/var/tmp/portage/dev-libs/folks-0.4.3/temp/environment'.
175 > * Working directory:
176 > '/var/tmp/portage/dev-libs/folks-0.4.3/work/folks-0.4.3'
177 > * S: '/var/tmp/portage/dev-libs/folks-0.4.3/work/folks-0.4.3'
178 >
179 > >>> Failed to emerge dev-libs/folks-0.4.3, Log file:
180 >
181 > >>> '/var/tmp/portage/dev-libs/folks-0.4.3/temp/build.log'
182 >
183 > * Messages for package dev-libs/folks-0.4.3:
184 >
185 > * ERROR: dev-libs/folks-0.4.3 failed (configure phase):
186 > * econf failed
187 > *
188 > * Call stack:
189 > * ebuild.sh, line 93: Called src_configure
190 > * environment, line 3005: Called gnome2_src_configure
191 > * environment, line 2258: Called econf '--disable-silent-rules'
192 > '--enable-import-tool' '--enable-inspect-tool' '--enable-vala'
193 > 'VALAC=/usr/bin/valac-0.12' 'VAPIGEN=/usr/bin/vapigen-0.12'
194 > '--disable-docs' '--disable-Werror'
195 > * phase-helpers.sh, line 521: Called die
196 > * The specific snippet of code:
197 > * die "econf failed"
198 > *
199 > * If you need support, post the output of `emerge --info
200 > '=dev-libs/folks-0.4.3'`,
201 > * the complete build log and the output of `emerge -pqv
202 > '=dev-libs/folks-0.4.3'`.
203 > * The complete build log is located at
204 > '/var/tmp/portage/dev-libs/folks-0.4.3/temp/build.log'.
205 > * The ebuild environment file is located at
206 > '/var/tmp/portage/dev-libs/folks-0.4.3/temp/environment'.
207 > * Working directory:
208 > '/var/tmp/portage/dev-libs/folks-0.4.3/work/folks-0.4.3'
209 > * S: '/var/tmp/portage/dev-libs/folks-0.4.3/work/folks-0.4.3'
210 >
211 >
212 > Telepathy-glib version:
213 > net-libs/telepathy-glib-0.20.1-r1
214 >
215 > Thank you,
216 > -Andy
217 >
218 >
219 >
220 >
221
222 The only additional item I have to note is I did have this running gnome 3
223 but reverted to gnome 2
224 Thank you for the help.
225 -Andy