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 19:18:01
Message-Id: CAKqv15QQE18HxG=+o2wKmYiSDxSv6atpkuwXwewAROh2PvcThg@mail.gmail.com
In Reply to: Re: [gentoo-user] dev-libs/folks-0.4.3 fails to emerge by "Canek Peláez Valdés"
1 On Mon, Apr 8, 2013 at 1:53 PM, Canek Peláez Valdés <caneko@×××××.com>wrote:
2
3 > On Mon, Apr 8, 2013 at 1:35 PM, Andrew Hoffman <andy.hoffman12@×××××.com>
4 > wrote:
5 > >
6 > >
7 > >
8 > > On Mon, Apr 8, 2013 at 1:30 PM, Canek Peláez Valdés <caneko@×××××.com>
9 > > wrote:
10 > >>
11 > >> On Mon, Apr 8, 2013 at 1:10 PM, Andrew Hoffman <
12 > andy.hoffman12@×××××.com>
13 > >> wrote:
14 > >> >
15 > >> >
16 > >> >
17 > >> > On Mon, Apr 8, 2013 at 1:02 PM, Canek Peláez Valdés <caneko@×××××.com
18 > >
19 > >> > wrote:
20 > >> >>
21 > >> >> On Mon, Apr 8, 2013 at 12:54 PM, Andrew Hoffman
22 > >> >> <andy.hoffman12@×××××.com> wrote:
23 > >> >> > Canek,
24 > >> >> > I have those files in /usr/lib/pkgconfig I do not have a /usr/lib64
25 > >> >> >
26 > >> >> > lapy lib # locate telepathy-glib.pc
27 > >> >> > /usr/lib/pkgconfig/telepathy-glib.pc
28 > >> >> > lapy lib # locate dbus-glib-1.pc
29 > >> >> > /usr/lib/pkgconfig/dbus-glib-1.pc
30 > >> >> > lapy lib # locate gio-2.0.pc
31 > >> >> > /usr/lib/pkgconfig/gio-2.0.pc
32 > >> >> > lapy lib # locate gee-1.0.pc
33 > >> >> > /usr/lib/pkgconfig/gee-1.0.pc
34 > >> >> >
35 > >> >> > How would I tell if they are damaged if that is indeed the case?
36 > >> >>
37 > >> >> Don't top-post, please. Sorry, I messed up the files; you don't need
38 > >> >> the pkgconfig files (*.pc), you need the Vala API files (*.vapi). You
39 > >> >> need:
40 > >> >>
41 > >> >> /usr/share/vala/vapi/telepathy-glib.vapi
42 > >> >> /usr/share/vala-0.18/vapi/dbus-glib-1.vapi
43 > >> >> /usr/share/vala-0.18/vapi/gio-2.0.vapi
44 > >> >> /usr/share/vala/vapi/gee-1.0.vapi
45 > >> >>
46 > >> >> Depending on how many Vala compiler versions you have, you can have
47 > >> >> several of the second and the third; for example I have:
48 > >> >>
49 > >> >> /usr/share/vala-0.12/vapi/dbus-glib-1.vapi
50 > >> >> /usr/share/vala-0.14/vapi/dbus-glib-1.vapi
51 > >> >> /usr/share/vala-0.16/vapi/dbus-glib-1.vapi
52 > >> >> /usr/share/vala-0.18/vapi/dbus-glib-1.vapi
53 > >> >> /usr/share/vala-0.20/vapi/dbus-glib-1.vapi
54 > >> >>
55 > >> >> Check if you have the four vapi files, and that the ones for
56 > >> >> dbus-glib-1 and gio-2.0 exists for all your versions of the Vala
57 > >> >> compiler.
58 > >> >>
59 > >> >> Regards.
60 > >> >> --
61 > >> >> Canek Peláez Valdés
62 > >> >> Posgrado en Ciencia e Ingeniería de la Computación
63 > >> >> Universidad Nacional Autónoma de México
64 > >> >>
65 > >> >
66 > >> > Guess gmail defaults to top post so its what I use:/
67 > >> >
68 > >> > Anyhow I have these files:
69 > >> >
70 > >> > lapy lib # locate telepathy-glib.vapi
71 > >> > /usr/share/vala/vapi/telepathy-glib.vapi
72 > >> > lapy lib # locate dbus-glib-1.vapi
73 > >> > /usr/share/vala-0.12/vapi/dbus-glib-1.vapi
74 > >> > /usr/share/vala-0.14/vapi/dbus-glib-1.vapi
75 > >> > /usr/share/vala-0.16/vapi/dbus-glib-1.vapi
76 > >> > /usr/share/vala-0.18/vapi/dbus-glib-1.vapi
77 > >> > lapy lib # locate gio-2.0.vapi
78 > >> > /usr/share/vala-0.12/vapi/gio-2.0.vapi
79 > >> > /usr/share/vala-0.14/vapi/gio-2.0.vapi
80 > >> > /usr/share/vala-0.16/vapi/gio-2.0.vapi
81 > >> > /usr/share/vala-0.18/vapi/gio-2.0.vapi
82 > >> > lapy lib # locate gee-1.0.vapi
83 > >> > /usr/share/vala/vapi/gee-1.0.vapi
84 > >>
85 > >> I see the error now. The problem is that the class GLib.Bytes is
86 > >> defined in glib-2.0.vapi for valac 0.16, 0.18 and 0.20, but not for
87 > >> valac 0.12 nor 0.14. The latest version of telepahy-glib uses
88 > >> GLib.Bytes, so it dependencies need to be compiled with a newer
89 > >> version of valac.
90 > >>
91 > >> Can you try to emerge folks as follows:
92 > >>
93 > >> VALA_MIN_API_VERSION="0.16" emerge dev-libs/folks
94 > >>
95 > >> If that fails, what version of telepathy-glib do you have installed?
96 > >>
97 > >> Regards.
98 > >> --
99 > >> Canek Peláez Valdés
100 > >> Posgrado en Ciencia e Ingeniería de la Computación
101 > >> Universidad Nacional Autónoma de México
102 > >>
103 > >
104 > > that did fail:
105 > >
106 > > lapy portage # VALA_MIN_API_VERSION="0.16" emerge dev-libs/folks
107 > > Calculating dependencies... done!
108 > >
109 > >>>> Verifying ebuild manifests
110 > >
111 > >>>> Emerging (1 of 1) dev-libs/folks-0.4.3
112 > > * folks-0.4.3.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) ...
113 > > [ ok ]
114 > >>>> Unpacking source...
115 > >>>> Unpacking folks-0.4.3.tar.bz2 to
116 > >>>> /var/tmp/portage/dev-libs/folks-0.4.3/work
117 > >>>> Source unpacked in /var/tmp/portage/dev-libs/folks-0.4.3/work
118 > >>>> Preparing source in
119 > >>>> /var/tmp/portage/dev-libs/folks-0.4.3/work/folks-0.4.3 ...
120 > > * Fixing OMF Makefiles ...
121 > > [ ok ]
122 > > * Disabling deprecation warnings ...
123 > > [ ok ]
124 > > * Running elibtoolize in: folks-0.4.3/
125 > > * Applying portage/1.2.0 patch ...
126 > > * Applying sed/1.5.6 patch ...
127 > > * Applying as-needed/2.2.6 patch ...
128 > >>>> Source prepared.
129 > >>>> Configuring source in
130 > >>>> /var/tmp/portage/dev-libs/folks-0.4.3/work/folks-0.4.3 ...
131 > > (removed)
132 > > checking pkg-config is at least version 0.21... yes
133 > > checking for GLIB... yes
134 > > checking for GMODULE... yes
135 > > checking for GIO... yes
136 > > checking for DBUS_GLIB... yes
137 > > checking for GEE... yes
138 > > checking for TP_GLIB... yes
139 > > checking for valac... /usr/bin/valac-0.12
140 > > checking /usr/bin/valac-0.12 is at least version 0.11.6... yes
141 > > checking for vapigen... /usr/bin/vapigen-0.12
142 > > checking for telepathy-glib dbus-glib-1 gio-2.0 gee-1.0 vala bindings...
143 > > configure: error: Package requirements were not met: telepathy-glib
144 > > dbus-glib-1
145 > > gio-2.0
146 > > gee-1.0
147 > >
148 > > warning: D-Bus GLib is deprecated, use GDBus
149 > > telepathy-glib.vapi:1326.36-1326.45: error: The type name `GLib.Bytes'
150 > could
151 > > not be found
152 > >
153 > > Consider adjusting the XDG_DATA_DIRS environment variable if you
154 > > installed bindings in a non-standard prefix.
155 > >
156 > >
157 > > !!! Please attach the following file when seeking support:
158 > > !!! /var/tmp/portage/dev-libs/folks-0.4.3/work/folks-0.4.3/config.log
159 > > * ERROR: dev-libs/folks-0.4.3 failed (configure phase):
160 > > * econf failed
161 > > *
162 > > * Call stack:
163 > > * ebuild.sh, line 93: Called src_configure
164 > > * environment, line 3005: Called gnome2_src_configure
165 > > * environment, line 2258: Called econf '--disable-silent-rules'
166 > > '--enable-import-tool' '--enable-inspect-tool' '--enable-vala'
167 > > 'VALAC=/usr/bin/valac-0.12' 'VAPIGEN=/usr/bin/vapigen-0.12'
168 > '--disable-docs'
169 > > '--disable-Werror'
170 > > * phase-helpers.sh, line 521: Called die
171 > > * The specific snippet of code:
172 > > * die "econf failed"
173 > > *
174 > > * If you need support, post the output of `emerge --info
175 > > '=dev-libs/folks-0.4.3'`,
176 > > * the complete build log and the output of `emerge -pqv
177 > > '=dev-libs/folks-0.4.3'`.
178 > > * The complete build log is located at
179 > > '/var/tmp/portage/dev-libs/folks-0.4.3/temp/build.log'.
180 > > * The ebuild environment file is located at
181 > > '/var/tmp/portage/dev-libs/folks-0.4.3/temp/environment'.
182 > > * Working directory:
183 > > '/var/tmp/portage/dev-libs/folks-0.4.3/work/folks-0.4.3'
184 > > * S: '/var/tmp/portage/dev-libs/folks-0.4.3/work/folks-0.4.3'
185 > >
186 > >>>> Failed to emerge dev-libs/folks-0.4.3, Log file:
187 > >
188 > >>>> '/var/tmp/portage/dev-libs/folks-0.4.3/temp/build.log'
189 > >
190 > > * Messages for package dev-libs/folks-0.4.3:
191 > >
192 > > * ERROR: dev-libs/folks-0.4.3 failed (configure phase):
193 > > * econf failed
194 > > *
195 > > * Call stack:
196 > > * ebuild.sh, line 93: Called src_configure
197 > > * environment, line 3005: Called gnome2_src_configure
198 > > * environment, line 2258: Called econf '--disable-silent-rules'
199 > > '--enable-import-tool' '--enable-inspect-tool' '--enable-vala'
200 > > 'VALAC=/usr/bin/valac-0.12' 'VAPIGEN=/usr/bin/vapigen-0.12'
201 > '--disable-docs'
202 > > '--disable-Werror'
203 > > * phase-helpers.sh, line 521: Called die
204 > > * The specific snippet of code:
205 > > * die "econf failed"
206 > > *
207 > > * If you need support, post the output of `emerge --info
208 > > '=dev-libs/folks-0.4.3'`,
209 > > * the complete build log and the output of `emerge -pqv
210 > > '=dev-libs/folks-0.4.3'`.
211 > > * The complete build log is located at
212 > > '/var/tmp/portage/dev-libs/folks-0.4.3/temp/build.log'.
213 > > * The ebuild environment file is located at
214 > > '/var/tmp/portage/dev-libs/folks-0.4.3/temp/environment'.
215 > > * Working directory:
216 > > '/var/tmp/portage/dev-libs/folks-0.4.3/work/folks-0.4.3'
217 > > * S: '/var/tmp/portage/dev-libs/folks-0.4.3/work/folks-0.4.3'
218 >
219 > Yeah, it ignored the VALA_MIN_API_VERSION environment variable. I see
220 > now that they explicitly require valac-0.12, so it's going to fail
221 > anyhow.
222 >
223 > > Telepathy-glib version:
224 > > net-libs/telepathy-glib-0.20.1-r1
225 >
226 > Same as me. But I have folks 0.9.1, which uses at least valac-0.18.
227 >
228 > It is a legitimate bug; telepathy-glib installs a vapi file which
229 > requires the use of GLib.Bytes, which is not available in the
230 > glib-2.0.vapi file for valac 0.12. And there are no older versions of
231 > telepathy-glib in the tree.
232 >
233 > What does "equery depends dev-libs/folks" says? Maybe you can get rid
234 > of the dependency. Also, if you don't use empathy, maybe you can get
235 > away with putting folks in package.provided.
236 >
237 > Another workaround: you can put the folks ebuild in a personal
238 > overlay, and change the following:
239 >
240 > VALAC=$(type -p valac-0.12)
241 > VAPIGEN=$(type -p vapigen-0.12)
242 >
243 > to
244 >
245 > VALAC=$(type -p valac-0.16)
246 > VAPIGEN=$(type -p vapigen-0.16)
247 >
248 > Regards.
249 > --
250 > Canek Peláez Valdés
251 > Posgrado en Ciencia e Ingeniería de la Computación
252 > Universidad Nacional Autónoma de México
253 >
254 >
255
256 lapy portage # equery depends dev-libs/folks
257 * These packages depend on dev-libs/folks:
258 gnome-base/gnome-shell-3.4.2 (>=dev-libs/folks-0.5.2)
259 gnome-extra/gnome-contacts-3.4.1 (>=dev-libs/folks-0.6.1.1[eds])
260 net-im/empathy-2.34.0-r2 (>=dev-libs/folks-0.4)
261
262 interesting that it is trying to downgrade folks: [ebuild UD ]
263 dev-libs/folks-0.4.3 [0.6.9]
264
265 I guess I will watch the bug for now as I was able to work around the prime
266 issue (mesa) and get the machine to a desktop again.
267
268 -Andy