<?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>88214</bug_id>
          
          <creation_ts>2005-04-06 15:22 0000</creation_ts>
          <short_desc>[patch] tar-1.15.1 test suite fails to compile with gcc 4.0</short_desc>
          <delta_ts>2005-04-06 18:48:33 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>Core system</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>trivial</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>dirtyepic@gentoo.org</reporter>
          <assigned_to>toolchain@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>dirtyepic@gentoo.org</who>
            <bug_when>2005-04-06 15:22:19 0000</bug_when>
            <thetext>if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../lib -I../src    -O2 -march=pentium3 -fomit-frame-pointer -pipe -fno-ident -floop-optimize2 -ftree-vectorize -ftree-vectorizer-verbose=1 -MT genfile.o -MD -MP -MF &quot;.deps/genfile.Tpo&quot; -c -o genfile.o genfile.c; \
then mv -f &quot;.deps/genfile.Tpo&quot; &quot;.deps/genfile.Po&quot;; else rm -f &quot;.deps/genfile.Tpo&quot;; exit 1; fi
genfile.c:63: error: static declaration of &apos;argp_program_version&apos; follows non-static declaration
../lib/argp.h:428: error: previous declaration of &apos;argp_program_version&apos; was here
genfile.c:64: error: static declaration of &apos;argp_program_bug_address&apos; follows non-static declaration
../lib/argp.h:444: error: previous declaration of &apos;argp_program_bug_address&apos; was here
make[2]: *** [genfile.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/tar-1.15.1/work/tar-1.15.1/tests&apos;
make[1]: *** [check-am] Error 2
make[1]: Leaving directory `/var/tmp/portage/tar-1.15.1/work/tar-1.15.1/tests&apos;
make: *** [check-recursive] Error 1

!!! ERROR: app-arch/tar-1.15.1 failed.


the attached patch, yoinked from fedora cvs, allows the tar testsuite to be built with gcc 4.0 by declaring argp_program_version and argp_program_bug_address as non-static in /tests/genfile.c</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dirtyepic@gentoo.org</who>
            <bug_when>2005-04-06 15:23:24 0000</bug_when>
            <thetext>Created an attachment (id=55522)
.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2005-04-06 18:48:33 0000</bug_when>
            <thetext>now in portage, thanks</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>55522</attachid>
            <date>2005-04-06 15:23 0000</date>
            <desc>tar-1.15.1-gcc4test.patch</desc>
            <filename>tar-tests-gcc4.0.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIHRhci0xLjE1LjEvdGVzdHMvZ2VuZmlsZS5jCQkJMjAwNC0wOS0wOCAxMzo1MDoyMC4wMDAw
MDAwMDAgKzAyMDAKKysrIHRhci0xLjE1LjEvdGVzdHMvZ2VuZmlsZS5jLmdjYzQJCTIwMDUtMDMt
MTMgMTY6MjU6MTUuMDAwMDAwMDAwICswMTAwCkBAIC02MCw4ICs2MCw4IEBACiAvKiBCbG9jayBi
dWZmZXIgZm9yIHNwYXJzZSBmaWxlICovCiBjaGFyICpidWZmZXI7CiAKLXN0YXRpYyBjb25zdCBj
aGFyICphcmdwX3Byb2dyYW1fdmVyc2lvbiA9ICJnZW5maWxlICgiIFBBQ0tBR0UgIikgIiBWRVJT
SU9OOwotc3RhdGljIGNvbnN0IGNoYXIgKmFyZ3BfcHJvZ3JhbV9idWdfYWRkcmVzcyA9ICI8IiBQ
QUNLQUdFX0JVR1JFUE9SVCAiPiI7Citjb25zdCBjaGFyICphcmdwX3Byb2dyYW1fdmVyc2lvbiA9
ICJnZW5maWxlICgiIFBBQ0tBR0UgIikgIiBWRVJTSU9OOworY29uc3QgY2hhciAqYXJncF9wcm9n
cmFtX2J1Z19hZGRyZXNzID0gIjwiIFBBQ0tBR0VfQlVHUkVQT1JUICI+IjsKIHN0YXRpYyBjaGFy
IGRvY1tdID0gTl8oImdlbmZpbGUgZ2VuZXJhdGVzIGRhdGEgZmlsZXMgZm9yIEdOVSBwYXh1dGls
cyB0ZXN0IHN1aXRlIik7CiAKIHN0YXRpYyBzdHJ1Y3QgYXJncF9vcHRpb24gb3B0aW9uc1tdID0g
ewo=
</data>        

          </attachment>
    </bug>

</bugzilla>