<?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>125598</bug_id>
          
          <creation_ts>2006-03-09 06:40 0000</creation_ts>
          <short_desc>sys-apps/pcmciautils-012 fails to build on embedded</short_desc>
          <delta_ts>2006-03-24 08:30:54 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>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <keywords>InCVS</keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>natanael.copa@gmail.com</reporter>
          <assigned_to>mobile@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>natanael.copa@gmail.com</who>
            <bug_when>2006-03-09 06:40:04 0000</bug_when>
            <thetext>Looks like it requires libintl.h:

...
src/pccardctl.c:19:21: libintl.h: No such file or directory
i386-gentoo-linux-uclibc-gcc -pipe -DPCMCIAUTILS_VERSION=\&quot;012\&quot; -march=i386 -Os -pipe -fomit-frame-pointer -I/var/tmp/portage/pcmciautils-012/work/pcmciautils-012/src -Wall -Wchar-subscripts -Wpointer-arith -Wsign-compare  -Wdeclaration-after-statement -Wshadow -I/usr/lib/gcc/i386-gentoo-linux-uclibc/3.4.5/include -Os -fomit-frame-pointer -D_GNU_SOURCE -c -o src/read-cis.o src/read-cis.c
i386-gentoo-linux-uclibc-gcc -pipe -DPCMCIAUTILS_VERSION=\&quot;012\&quot; -march=i386 -Os -pipe -fomit-frame-pointer -I/var/tmp/portage/pcmciautils-012/work/pcmciautils-012/src -Wall -Wchar-subscripts -Wpointer-arith -Wsign-compare  -Wdeclaration-after-statement -Wshadow -I/usr/lib/gcc/i386-gentoo-linux-uclibc/3.4.5/include -Os -fomit-frame-pointer -D_GNU_SOURCE -c -o src/startup.o src/startup.c
i386-gentoo-linux-uclibc-gcc -pipe -DPCMCIAUTILS_VERSION=\&quot;012\&quot; -march=i386 -Os -pipe -fomit-frame-pointer -I/var/tmp/portage/pcmciautils-012/work/pcmciautils-012/src -Wall -Wchar-subscripts -Wpointer-arith -Wsign-compare  -Wdeclaration-after-statement -Wshadow -I/usr/lib/gcc/i386-gentoo-linux-uclibc/3.4.5/include -Os -fomit-frame-pointer -D_GNU_SOURCE -c -o src/yacc_config.o src/yacc_config.c
make: *** [src/pccardctl.o] Error 1
make: *** Waiting for unfinished jobs....
y.tab.c: In function `yyparse&apos;:
y.tab.c:284: warning: implicit declaration of function `yylex&apos;
y.tab.c: At top level:
src/yacc_config.c:3: warning: &apos;yyrcsid&apos; defined but not used</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>natanael.copa@gmail.com</who>
            <bug_when>2006-03-09 06:48:09 0000</bug_when>
            <thetext>Just remove the line:

#include &lt;libintl.h&gt;

and it works.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>natanael.copa@gmail.com</who>
            <bug_when>2006-03-09 06:48:57 0000</bug_when>
            <thetext>Created an attachment (id=81768)
patch to remove libintl.h

Patch that fixes problem on embedded.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>henrik@brixandersen.dk</who>
            <bug_when>2006-03-24 08:30:54 0000</bug_when>
            <thetext>Fixed in CVS. Thank you for reporting this.

Wait a couple of hours, emerge --sync and retry.</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>81768</attachid>
            <date>2006-03-09 06:48 0000</date>
            <desc>patch to remove libintl.h</desc>
            <filename>pccardctl-uclibc.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIHNyYy9wY2NhcmRjdGwuYy5vcmlnCTIwMDYtMDMtMDkgMTQ6NDE6NTEgKzAwMDAKKysrIHNy
Yy9wY2NhcmRjdGwuYwkyMDA2LTAzLTA5IDE0OjQyOjA0ICswMDAwCkBAIC0xNiw3ICsxNiw2IEBA
CiAjaW5jbHVkZSA8ZXJybm8uaD4KICNpbmNsdWRlIDxzdGRsaWIuaD4KICNpbmNsdWRlIDxzdHJp
bmcuaD4KLSNpbmNsdWRlIDxsaWJpbnRsLmg+CiAjaW5jbHVkZSA8bG9jYWxlLmg+CiAKICNpbmNs
dWRlIDxzeXNmcy9saWJzeXNmcy5oPgo=
</data>        

          </attachment>
    </bug>

</bugzilla>