You are not logged in.
Hi
I did an system update through pacman today:
[2010-04-20 16:33] upgraded gtkglext (1.2.0-2 -> 1.2.0-3)
[2010-04-20 16:33] upgraded imagemagick (6.6.0.10-1 -> 6.6.1.4-1)
[2010-04-20 16:33] upgraded libcddb (1.3.2-1.1 -> 1.3.2-2)
[2010-04-20 16:33] upgraded libsidplay (1.36.59-3 -> 1.36.59-4)
[2010-04-20 16:33] upgraded libvisual (0.4.0-2 -> 0.4.0-3)
[2010-04-20 16:33] upgraded mime-types (1.0-2 -> 1.0-3)
[2010-04-20 16:33] upgraded recode (3.6-3 -> 3.6-4)
I restarted and cairo-dock does not load anymore, the terminal output is:
[milena@MilenaPC ~]$ cairo-dock -o
============================================================================
Cairo-Dock version: 2.1.3-7
Compiled date: Apr 17 2010 15:15:48
Running with OpenGL: 1
============================================================================
cairo-dock: symbol lookup error: /usr/lib/libgtkglext-x11-1.0.so.0: undefined symbol: GTK_WIDGET_NO_WINDOW
What can I do ?
Many thanks in advance
Last edited by Milena (2010-04-22 20:59:08)
Offline
Try rebuilding it.
Offline
Thanks for the reply, there are already some comments at the AUR page: http://aur.archlinux.org/packages.php?ID=15201
(Re)building fails here too.
Offline
it helps if you paste the errors from compilation.
Give what you have. To someone, it may be better than you dare to think.
Offline
This is what I get:
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.4.3/../../../../lib/libgtkglext-x11-1.0.so: undefined reference to `GTK_WIDGET_REALIZED'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.4.3/../../../../lib/libgtkglext-x11-1.0.so: undefined reference to `GTK_WIDGET_TOPLEVEL'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.4.3/../../../../lib/libgtkglext-x11-1.0.so: undefined reference to `GTK_WIDGET_NO_WINDOW'
collect2: ld returned 1 exit status
make[3]: *** [cairo-dock] Error 1
make[3]: Leaving directory `/tmp/yaourt-tmp-milena/aur-cairo-dock/cairo-dock/src/cairo-dock-2.1.3-7/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/yaourt-tmp-milena/aur-cairo-dock/cairo-dock/src/cairo-dock-2.1.3-7/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/yaourt-tmp-milena/aur-cairo-dock/cairo-dock/src/cairo-dock-2.1.3-7'
make: *** [all] Error 2
==> ERROR: Build Failed.
Aborting...
Error: Makepkg was unable to build cairo-dock package.
For now I downgraded to gtkglext-1.2.0-2-x86_64.pkg.tar.gz and the dock works again.
Offline
that's a bug in gtkglext. please submit it on our bugtracker. it has to be patched because some macros in gtk2 2.20 was deprecated
http://library.gnome.org/devel/gtk/stab … idget.html
EDIT: here is a patch for that, let me know if is working fine http://some
Last edited by wonder (2010-04-20 18:34:58)
Give what you have. To someone, it may be better than you dare to think.
Offline
Someone reported it already here.
Offline
@wonder
thanks for the patch.
cairo-dock starts now, but does not display anything. It spams a lot of errors and warnings, the relevant ones should be these three:
gtk_widget_set_gl_capability: assertion `!gtk_widget_get_has_window (widget)' failed
gdk_gl_drawable_gl_begin: assertion `GDK_IS_GL_DRAWABLE (gldrawable)' failed
gdk_x11_gl_context_get_glxcontext: assertion `GDK_IS_GL_CONTEXT_IMPL_X11 (glcontext)' failed
repeating itself ad infinitum in varying combinations. let me know if I can be of any help fixing this.
ps: uhh, I applied the patch with "cat patchfile | patch -p1" inside the src directory, hope that was right... *off reading man patch*
Last edited by hokasch (2010-04-20 17:01:00)
Offline
second try: http://pastebin.ca/1870054
Give what you have. To someone, it may be better than you dare to think.
Offline
Yeah! works fine...
cairo-dock still spits out a stream of warnings, but I think they've always been there. From all I can see, it works as expected.
Thanks for the quick fix!! you should attach it to the bug linked above.
p.s.: I have to emphasize this: you guys just rock! I mean, look at this, from problem reported (on bbs) to fixed in 3 hours. Thanks again for the time and work you put into arch!
Last edited by hokasch (2010-04-20 18:11:22)
Offline
Thanks for the quick info and solution
Offline
thanks for testing, i'll commit the patch to our package now. no need to report on our tracker
Give what you have. To someone, it may be better than you dare to think.
Offline
guess it is easier to follow up here instead of the bugtracker:
the new package in extra doesn't work, looks like there is one bang too much at line 46 in the patch:
+ g_return_val_if_fail (!gtk_widget_get_has_window (widget), FALSE);
vs
+ g_return_val_if_fail (gtk_widget_get_has_window (widget), FALSE);
Last edited by hokasch (2010-04-20 22:07:59)
Offline
@hokasch oh i was drunk on something. thanks
Last edited by wonder (2010-04-20 22:09:27)
Give what you have. To someone, it may be better than you dare to think.
Offline
Noroc!
Last edited by hokasch (2010-04-20 22:15:09)
Offline
now should be fixed. i was pretty sure that i didn't touch the patch since i last submitted on the pastebin, but seems that i was wrong.
Give what you have. To someone, it may be better than you dare to think.
Offline
Any help on applying the patch? I tried doing the cat patchfile.... bit mentioned above, but to no avail. My src directories all seem to be empty.
I tried copying the package to a directory in ~/home, and then applying the patch. When the prompt asked for a file to apply the patch to, I supplied it with the gtkglext package. It then lists 8 "Hunks," and notes that it failed to patch any of those hunks. The rejects are then saved to a file.
I'm sorry, I'm not much a frequent "file patcher" (stick to "safe" stuff ;-) ), and the only information I could find on the wiki pertained to ABS, which I don't think pertains to me here.
Well, now that I think of it, I guess I'll try the ABS route.
EDIT: Durr...now I'm reading ABS on the wiki (never used it before, like I said....generally use stuff from the repos, unaltered). ABS is syncing...I've got a feeling this is what I should be doing!
Last edited by lasu1 (2010-04-20 22:46:23)
Offline
@lasu1
for x86_64 pacman -U http://mir.archlinux.fr/extra/os/x86_64 … pkg.tar.xz
for i686 pacman -U http://mir.archlinux.fr/extra/os/i686/g … pkg.tar.xz
Give what you have. To someone, it may be better than you dare to think.
Offline
@lasu1
if you want to find out, just have a look how it is done in the PKGBUILD - I haven't used patch manually till today either. also makepkg's -o and -e switches are pretty convenient...
Offline
I love you guys.
It worked perfectly.
So, not only did I get my first stab at the ABS (something I'd always want to try out), and patch something for the first time, I also got a link to a complete version of the package.
Thanks so much, everyone.
Offline
Saw this behaviour, rebuilt cairo-dock (no effect), googled and came up with this thread. You rock wonder .
OP, please mark solved.
Also, a bit off-topic, I realized it could run non-opengl just fine. The benefit of opengl is only in less CPU usage, isn't it?
Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.
Offline
Seriously though...wow...that bug was fixed in like...an hour....I'm still sort of in shock about how quickly the patch was released...totally cool.
Offline