<?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>9413</bug_id>
          
          <creation_ts>2002-10-20 20:00 0000</creation_ts>
          <short_desc>cannot build ggz-client-libs</short_desc>
          <delta_ts>2003-02-04 19:42:18 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>Games</component>
          <version>1.4_rc1</version>
          <rep_platform>x86</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>arnaud_oss@bluewin.ch</reporter>
          <assigned_to>jrray@jrray.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>arnaud_oss@bluewin.ch</who>
            <bug_when>2002-10-20 20:00:17 0000</bug_when>
            <thetext>version : 0.0.5

Build fails during configure saying it can&apos;t find popt.h which exists...

configure: error: *** Cannot find popt.h header

!!! ERROR: The ebuild did not complete successfully.
!!! Function econf, Line 9, Exitcode 1
!!! econf failed

about popt.h : 

root@ghort666:/tmp&gt; stat /usr/include/popt.h                                   
                                        
  File: `/usr/include/popt.h&apos;
    Size: 13154           Blocks: 32         IO Block: 4096   Regular File
    Device: 3a00h/14848d    Inode: 374141      Links: 1
    Access: (0644/-rw-r--r--)  Uid: (    0/    root)   Gid: (    0/    root)
    Access: 2002-10-15 06:08:49.000000000 +0200
    Modify: 2002-10-15 06:08:49.000000000 +0200
    Change: 2002-10-15 06:08:49.000000000 +0200

ok, what is in config.log:

configure:5963: checking for popt.h
configure:5973: /lib/cpp  -I/usr/include conftest.c &gt;/dev/null 2&gt;conftest.out
cpp0: warning: changing search order for system directory &quot;/usr/include&quot;
cpp0: warning:   as it has already been specified as a non-system directory
configure: failed program was:
#line 5968 &quot;configure&quot;
#include &quot;confdefs.h&quot;
#include &lt;popt.h&gt;

both lines with cpp0:... are the whole stderr output of the above cmdline, and
configure does :
ac_err=`grep -v &apos;^ *+&apos; conftest.out | grep -v &quot;^conftest.${ac_ext}\$&quot;`
and checks if ac_err is null, it isn&apos;t because it contains both lines beginning
by cpp0:...
so configure fails... thinking the output was like &quot;popt.h : not found&quot;

I don&apos;t know how these configure scripts work, so I&apos;ve got no idea of where to
fix that...

Hope you&apos;ve got all needed infos ...

Arnaud</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>seemant@gentoo.org</who>
            <bug_when>2002-10-22 02:44:13 0000</bug_when>
            <thetext>gcc 3 issue it looks like</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jrray@jrray.org</who>
            <bug_when>2002-10-23 12:28:46 0000</bug_when>
            <thetext>I committed a new ebuild with a patch that eliminates the cause of the warnings.
 This is really a bug in autoconf, though.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>