<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>86941</bug_id>
          
          <creation_ts>2005-03-28 00:41 0000</creation_ts>
          <short_desc>media-libs/libgii fails to compile with &quot;label at end of compound statement&quot;</short_desc>
          <delta_ts>2005-03-29 23:54:14 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Library</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>leo.laursen@gmail.com</reporter>
          <assigned_to>chriswhite@gentoo.org</assigned_to>
          <cc>amax@mail.ru</cc>
    
    <cc>ed@catmur.co.uk</cc>

      

      
          <long_desc isprivate="0">
            <who>leo.laursen@gmail.com</who>
            <bug_when>2005-03-28 00:41:40 0000</bug_when>
            <thetext>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&apos;:
ptlock.c:113: warning: declaration of &apos;__cancel_buf&apos; shadows a previous local
ptlock.c:109: warning: shadowed declaration is here
ptlock.c:113: warning: declaration of &apos;__cancel_routine&apos; shadows a previous local
ptlock.c:109: warning: shadowed declaration is here
ptlock.c:113: warning: declaration of &apos;__cancel_arg&apos; shadows a previous local
ptlock.c:109: warning: shadowed declaration is here
ptlock.c:113: warning: declaration of &apos;not_first_call&apos; shadows a previous local
ptlock.c:109: warning: shadowed declaration is here
ptsched.c: In function `_gg_task_thread_waiter&apos;:
ptsched.c:200: error: label at end of compound statement
make[3]: *** [ptsched.lo] Fejl 1
make[3]: *** Venter p</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>leo.laursen@gmail.com</who>
            <bug_when>2005-03-28 00:41:40 0000</bug_when>
            <thetext>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&apos;:
ptlock.c:113: warning: declaration of &apos;__cancel_buf&apos; shadows a previous local
ptlock.c:109: warning: shadowed declaration is here
ptlock.c:113: warning: declaration of &apos;__cancel_routine&apos; shadows a previous local
ptlock.c:109: warning: shadowed declaration is here
ptlock.c:113: warning: declaration of &apos;__cancel_arg&apos; shadows a previous local
ptlock.c:109: warning: shadowed declaration is here
ptlock.c:113: warning: declaration of &apos;not_first_call&apos; shadows a previous local
ptlock.c:109: warning: shadowed declaration is here
ptsched.c: In function `_gg_task_thread_waiter&apos;:
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&apos;
make[2]: *** [all-recursive] Fejl 1
make[2]: Leaving directory `/var/tmp/portage/libgii-0.9.0/work/libgii-0.9.0/gg&apos;
make[1]: *** [all-recursive] Fejl 1
make[1]: Leaving directory `/var/tmp/portage/libgii-0.9.0/work/libgii-0.9.0&apos;
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 &apos;;&apos; after label (line 200) makes it compile.
Adding a patch libgii-0.9.0-gcc34.patch</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>leo.laursen@gmail.com</who>
            <bug_when>2005-03-28 00:43:05 0000</bug_when>
            <thetext>Created an attachment (id=54650)
libgii-0.9.0-gcc34.patch
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ed@catmur.co.uk</who>
            <bug_when>2005-03-28 11:24:49 0000</bug_when>
            <thetext>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&amp;r2=1.5.4.1</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>carlo@gentoo.org</who>
            <bug_when>2005-03-28 14:59:38 0000</bug_when>
            <thetext>*** Bug 86984 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>chriswhite@gentoo.org</who>
            <bug_when>2005-03-29 23:54:14 0000</bug_when>
            <thetext>Fixed in cvs.  Thanks for reporting and using Gentoo!</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>54650</attachid>
            <date>2005-03-28 00:43 0000</date>
            <desc>libgii-0.9.0-gcc34.patch</desc>
            <filename>libgii-0.9.0-gcc34.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIGdnL3B0c2NoZWQuYy5vbGQJMjAwNS0wMy0yOCAxMDoyMDoyMS4wMDAwMDAwMDAgKzAyMDAK
KysrIGdnL3B0c2NoZWQuYwkyMDA1LTAzLTI4IDEwOjIwOjQ1LjAwMDAwMDAwMCArMDIwMApAQCAt
MTk4LDYgKzE5OCw3IEBACiAJCX0KIAkJcHRocmVhZF9jb25kX3dhaXQoJl9nZ190YXNrX3RocmVh
ZC50aWNrLCAmX2dnX3Rhc2tfdGhyZWFkLm10eCk7CiAJc2tpcDoKKwkJOwogCQlwdGhyZWFkX2Ns
ZWFudXBfcG9wKDEpOwogCQlpZiAoZG9uZSkgcmV0dXJuIG15aWQ7CiAJCWlmICghX2dnX3Rhc2tf
dGhyZWFkLnJ1bm5pbmcpIHJldHVybiBteWlkOwo=
</data>        

          </attachment>
    </bug>

</bugzilla>