i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DBUILDING_LIBGG -I../include -I../include -march=prescott -mtune=prescott -O3 -fomit-frame-pointer -pipe -fforce-addr -falign-functions=4 -fprefetch-loop-arrays -ftracer -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -Wall -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Werror-implicit-function-declaration -MT ptsched.lo -MD -MP -MF .deps/ptsched.Tpo -c ptsched.c -fPIC -DPIC -o ptsched.lo ptlock.c: In function `ggLock': ptlock.c:113: warning: declaration of '__cancel_buf' shadows a previous local ptlock.c:109: warning: shadowed declaration is here ptlock.c:113: warning: declaration of '__cancel_routine' shadows a previous local ptlock.c:109: warning: shadowed declaration is here ptlock.c:113: warning: declaration of '__cancel_arg' shadows a previous local ptlock.c:109: warning: shadowed declaration is here ptlock.c:113: warning: declaration of 'not_first_call' shadows a previous local ptlock.c:109: warning: shadowed declaration is here ptsched.c: In function `_gg_task_thread_waiter': ptsched.c:200: error: label at end of compound statement make[3]: *** [ptsched.lo] Fejl 1 make[3]: *** Venter p
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DBUILDING_LIBGG -I../include -I../include -march=prescott -mtune=prescott -O3 -fomit-frame-pointer -pipe -fforce-addr -falign-functions=4 -fprefetch-loop-arrays -ftracer -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -Wall -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Werror-implicit-function-declaration -MT ptsched.lo -MD -MP -MF .deps/ptsched.Tpo -c ptsched.c -fPIC -DPIC -o ptsched.lo ptlock.c: In function `ggLock': ptlock.c:113: warning: declaration of '__cancel_buf' shadows a previous local ptlock.c:109: warning: shadowed declaration is here ptlock.c:113: warning: declaration of '__cancel_routine' shadows a previous local ptlock.c:109: warning: shadowed declaration is here ptlock.c:113: warning: declaration of '__cancel_arg' shadows a previous local ptlock.c:109: warning: shadowed declaration is here ptlock.c:113: warning: declaration of 'not_first_call' shadows a previous local ptlock.c:109: warning: shadowed declaration is here ptsched.c: In function `_gg_task_thread_waiter': ptsched.c:200: error: label at end of compound statement make[3]: *** [ptsched.lo] Fejl 1 make[3]: *** Venter pƄ uafsluttede job.... i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DBUILDING_LIBGG -I../include -I../include -march=prescott -mtune=prescott -O3 -fomit-frame-pointer -pipe -fforce-addr -falign-functions=4 -fprefetch-loop-arrays -ftracer -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -Wall -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Werror-implicit-function-declaration -MT task.lo -MD -MP -MF .deps/task.Tpo -c task.c -fPIC -DPIC -o task.lo make[3]: Leaving directory `/var/tmp/portage/libgii-0.9.0/work/libgii-0.9.0/gg' make[2]: *** [all-recursive] Fejl 1 make[2]: Leaving directory `/var/tmp/portage/libgii-0.9.0/work/libgii-0.9.0/gg' make[1]: *** [all-recursive] Fejl 1 make[1]: Leaving directory `/var/tmp/portage/libgii-0.9.0/work/libgii-0.9.0' make: *** [all] Fejl 2 !!! ERROR: media-libs/libgii-0.9.0 failed. !!! Function src_compile, Line 31, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. Reproducible: Always Steps to Reproduce: 1. 2. 3. Adding a ';' after label (line 200) makes it compile. Adding a patch libgii-0.9.0-gcc34.patch
Created attachment 54650 [details, diff] libgii-0.9.0-gcc34.patch
Note: this has been fixed upstream on the 0.9.x branch: http://cvs.sourceforge.net/viewcvs.py/ggi/ggi-core/libgii/gg/ptsched.c?r1=1.5&r2=1.5.4.1
*** Bug 86984 has been marked as a duplicate of this bug. ***
Fixed in cvs. Thanks for reporting and using Gentoo!