PDA

View Full Version : [SOLVED] Gentoo: Error emerging compcomm-plugins-main-9999


JustJoe
June 6th, 2007, 11:30 AM
Hi,

emerging x11-plugins/compcomm-plugins-main-9999 from Git gives an error:

[code:177c1]Making all in animation
make[3]: Entering directory `/var/tmp/portage/x11-plugins/compcomm-plugins-main-9999/work/plugins-main/src/animation'
/bin/sh ../../libtool --tag=CC --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/libpng12 -I/usr/include/libxml2 -I/usr/include/startup-notification-1.0 -I/usr/include/compiz -DDATADIR='"/usr/share"' -DLIBDIR='"/usr/lib"' -DLOCALEDIR="\"/usr/share/locale\"" -DIMAGEDIR='"/usr/share/compiz"' -I../../include -O2 -march=i686 -pipe -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -MT animation.lo -MD -MP -MF .deps/animation.Tpo -c -o animation.lo animation.c
mkdir .libs
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/libpng12 -I/usr/include/libxml2 -I/usr/include/startup-notification-1.0 -I/usr/include/compiz -DDATADIR=\"/usr/share\" -DLIBDIR=\"/usr/lib\" -DLOCALEDIR=\"/usr/share/locale\" -DIMAGEDIR=\"/usr/share/compiz\" -I../../include -O2 -march=i686 -pipe -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -MT animation.lo -MD -MP -MF .deps/animation.Tpo -c animation.c -fPIC -DPIC -o .libs/animation.o
animation.c:572: error: expected specifier-qualifier-list before 'PaintOutputProc'
animation.c: In function 'polygonsAnimStep':
animation.c:1277: error: 'AnimScreen' has no member named 'opt'
animation.c: In function 'defaultAnimStep':
animation.c:1324: error: 'AnimScreen' has no member named 'opt'
animation.c: In function 'fxMagicLampInitGrid':
animation.c:1356: error: 'AnimScreen' has no member named 'opt'
animation.c: In function 'fxMagicLampVacuumInitGrid':
animation.c:1363: error: 'AnimScreen' has no member named 'opt'[/code:177c1]

Any ideas ?

Jupiter
June 6th, 2007, 04:54 PM
I just did an update and had no problem. Try again after deleting
/var/tmp/portage/*
and
/usr/portage/distfiles/git-src/*

JustJoe
June 6th, 2007, 08:30 PM
Too bad, that didn't work.

Things i also tried are revdep-rebuild, update my world, delete complete xeffects overlay. It didn't solve this. Still get the error. Since you have no problem with the ebuild it's pretty clear the problem is on my side. But i have no clue on how to fix this. Any more help/ideas would be much appreciated !

A complete log of the failed merge can be found [url=http://cl1p.net/JJ_compcomm/:0669e]here[/url:0669e].

Jupiter
June 7th, 2007, 07:27 PM
JustJoe can you please post this in the Xeffects forum and see if the Gentoo
guy's can determine where the error is.
http://gentoo-xeffects.org/forums/

JustJoe
June 11th, 2007, 04:48 PM
Done: http://forums.gentoo-xeffects.org/viewt ... f=15&t=488 (http://forums.gentoo-xeffects.org/viewtopic.php?f=15&t=488)

brcha
June 17th, 2007, 05:21 PM
I had the same problem. Since I figured out that in /usr/include/compiz/compiz.h there is no PaintOutputProc defined, I realized that the problem was not in compcomm-plugins-main and animate.c. It was, obviously in compiz. So I removed /usr/portage/distfiles/git-src/compiz and re-emerged compiz. Now everything compiled nicely.

So, to sum things for you, here is the recipe how to fix the problem with animate.c in compcomm-plugins-main:

[code:34c3b]
# rm -rf /usr/portage/distfiles/git-src/compiz
# emerge compiz
# emerge compcomm-plugins-main
[/code:34c3b]

Since compcomm-plugins-main is a dependency of the compcomm metapackage, you would probably want to do "emerge compcomm" instead of the last step.

Filip

JustJoe
June 19th, 2007, 01:14 PM
Thanks brcha, that solved it !