<?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>65735</bug_id>
          
          <creation_ts>2004-09-28 15:56 0000</creation_ts>
          <short_desc>xfsprogs configure script brokenness</short_desc>
          <delta_ts>2004-10-07 17:24:13 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>Applications</component>
          <version>unspecified</version>
          <rep_platform>AMD64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          <bug_file_loc>http://oss.sgi.com/bugzilla/show_bug.cgi?id=366</bug_file_loc>
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>bevand_m@epita.fr</reporter>
          <assigned_to>base-system@gentoo.org</assigned_to>
          <cc>amd64@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>bevand_m@epita.fr</who>
            <bug_when>2004-09-28 15:56:34 0000</bug_when>
            <thetext>The configure script of xfsprogs 2.6.13 is broken (although this is not fatal), example:

  $ ./configure      # (or emerge xfsprogs)
  [...]
  checking for sys/types.h... no
  [...]
  checking size of long... 0
  [...]

Many header files are not detected, size of C types are reported as being 0, etc. Surprisingly these errors are not fatal.

To my knowledge, this problem appeared somewhere between 2.3.9 and 2.6.0. And the fix is simple: just add AC_PROG_CC in configure.in (see the patch I have posted in the next message) and regenerate the configure script (with &quot;autoreconf -i&quot; for example).

This problem should be fixed upstream.


Reproducible: Always
Steps to Reproduce:</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>bevand_m@epita.fr</who>
            <bug_when>2004-09-28 15:57:55 0000</bug_when>
            <thetext>Created an attachment (id=40666)
Patch to fix configure.in

Patch to fix configure.in.
Then you need to regenerate the configure script via &quot;autoreconf -i&quot; for
example.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2004-09-29 11:42:46 0000</bug_when>
            <thetext>i assume this applies to 2.6.13 too ?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>bevand_m@epita.fr</who>
            <bug_when>2004-09-30 01:35:02 0000</bug_when>
            <thetext>Yes this applies to 2.6.13. Maybe I was not clear enough: versions &lt;=2.3.9 are ok, versions &gt;=2.6.0 are broken.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2004-10-07 17:08:08 0000</bug_when>
            <thetext>when you say &apos;This problem should be fixed upstream.&apos; you mean it is already fixed or i should e-mail upstream about it ?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2004-10-07 17:24:13 0000</bug_when>
            <thetext>checked their cvs and this isnt present

reported here: http://oss.sgi.com/bugzilla/show_bug.cgi?id=366

added to 2.6.13 ebuild, thanks :)</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>40666</attachid>
            <date>2004-09-28 15:57 0000</date>
            <desc>Patch to fix configure.in</desc>
            <filename>xfsprogs_ac_proc_cc.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIGNvbmZpZ3VyZS5pbi5vcmlnCTIwMDQtMDktMjkgMDA6MjA6MjQuMzYxNDc0ODU2ICswMjAw
CisrKyBjb25maWd1cmUuaW4JMjAwNC0wOS0yOSAwMDoyMDozNy42Njg0NTE4ODggKzAyMDAKQEAg
LTEsNCArMSw3IEBACiBBQ19JTklUKGluY2x1ZGUvbGlieGZzLmgpCisKK0FDX1BST0dfQ0MKKwog
QUNfQ09ORklHX0hFQURFUihpbmNsdWRlL3BsYXRmb3JtX2RlZnMuaCkKIAogQUNfQVJHX0VOQUJM
RShzaGFyZWQsCg==
</data>        

          </attachment>
    </bug>

</bugzilla>