<?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>148638</bug_id>
          
          <creation_ts>2006-09-22 05:35 0000</creation_ts>
          <short_desc>libwbxml-ebuild breaks if CFLAGS contains &quot;-ggdb&quot;</short_desc>
          <delta_ts>2006-09-24 02:43:40 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>Ebuilds</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>blubb@gentoo.org</reporter>
          <assigned_to>s4t4n@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>blubb@gentoo.org</who>
            <bug_when>2006-09-22 05:35:10 0000</bug_when>
            <thetext>libwbxml-ebuild breaks if CFLAGS contains &quot;-ggdb&quot;:

 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I/usr/include -DHAVE_CONFIG_H -DHAVE_EXPAT -D_REENTRANT -DWBXML_ENCODER_USE_STRTBL -DWBXML_SUPPORT_WML -DWBXML_SUPPORT_WTA -DWBXML_SUPPORT_SI -DWBXML_SUPPORT_SL -DWBXML_SUPPORT_CO -DWBXML_SUPPORT_PROV -DWBXML_SUPPORT_EMN -DWBXML_SUPPORT_DRMREL -DWBXML_SUPPORT_OTA_SETTINGS -DWBXML_SUPPORT_SYNCML -DWBXML_SUPPORT_WV -DWBXML_SUPPORT_AIRSYNC -Wall -Wimplicit -Wreturn-type -Wunused -Wswitch -Wcomment -Wuninitialized -Wparentheses -Wpointer-arith -Wmissing-prototypes gdb -march=k8 -pipe -MT wbxml_base64.lo -MD -MP -MF .deps/wbxml_base64.Tpo -c wbxml_base64.c  -fPIC -DPIC -o .libs/wbxml_base64.o
x86_64-pc-linux-gnu-gcc: gdb: No such file or directory

this patch fixes it, if you don&apos;t object i&apos;ll go and commit the fix

--- libwbxml-0.9.2.ebuild       21 Sep 2006 19:38:13 -0000      1.3
+++ libwbxml-0.9.2.ebuild       22 Sep 2006 12:32:16 -0000
@@ -38,10 +38,7 @@
        epatch ${FILESDIR}/${MY_P}.make_install.patch

        # Add support for our own CFLAGS
-       sed -i -e &quot;s:-O3\\\:${CFLAGS}:&quot;   src/Makefile.am
-       sed -i -e &quot;s:    -g::&quot;            src/Makefile.am
-       sed -i -e &quot;s:-O3\\\:${CFLAGS}:&quot; tools/Makefile.am
-       sed -i -e &quot;s:    -g::&quot;          tools/Makefile.am
+       sed -i -e &quot;s:    -g::&quot; -e &quot;s:-O3\\\:${CFLAGS}:&quot; {src,tools}/Makefile.am

        chmod 755 bootstrap
 }</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>blubb@gentoo.org</who>
            <bug_when>2006-09-24 02:43:40 0000</bug_when>
            <thetext>i take that as a &quot;yeah sure go on&quot; ;)</thetext>
          </long_desc>
      
    </bug>

</bugzilla>