<?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>29732</bug_id>
          
          <creation_ts>2003-09-27 02:11 0000</creation_ts>
          <short_desc>a2ps-4.13c doesn&apos;t compile</short_desc>
          <delta_ts>2003-09-28 14:17:27 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>1.4</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>andrei.ivanov@gmail.com</reporter>
          <assigned_to>usata@gentoo.org</assigned_to>
          <cc>sparc@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>andrei.ivanov@gmail.com</who>
            <bug_when>2003-09-27 02:11:07 0000</bug_when>
            <thetext>source=&apos;output.c&apos; object=&apos;output.lo&apos; libtool=yes \
depfile=&apos;.deps/output.Plo&apos; tmpdepfile=&apos;.deps/output.TPlo&apos; \
depmode=gcc3 /bin/sh ../auxdir/depcomp \
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -DLOCALEDIR=\&quot;/usr/share/locale\&quot; -DSYSCONFFILE=\&quot;/etc/a2ps/a2ps.cfg\&quot; -I. -I. -I.. -I.. -I../intl -I.    -march=pentium2 -O3 -pipe -fomit-frame-pointer -ffast-math -fforce-addr -falign-functions=4  -c -o output.lo `test -f &apos;output.c&apos; || echo &apos;./&apos;`output.c
jobs.c: In function `a2ps_job_new&apos;:
jobs.c:136: error: `LC_TIME&apos; undeclared (first use in this function)
jobs.c:136: error: (Each undeclared identifier is reported only once
jobs.c:136: error: for each function it appears in.)
jobs.c:140: error: `LC_CTYPE&apos; undeclared (first use in this function)
make[3]: *** [jobs.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
gcc -DHAVE_CONFIG_H -DLOCALEDIR=\&quot;/usr/share/locale\&quot; -DSYSCONFFILE=\&quot;/etc/a2ps/a2ps.cfg\&quot; -I. -I. -I.. -I.. -I../intl -I. -march=pentium2 -O3 -pipe -fomit-frame-pointer -ffast-math -fforce-addr -falign-functions=4 -c output.c -MT output.lo -MD -MP -MF .deps/output.TPlo -o output.o
echo timestamp &gt; output.lo
make[3]: Leaving directory `/var/tmp/portage/a2ps-4.13c/work/a2ps-4.13/lib&apos;
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/a2ps-4.13c/work/a2ps-4.13/lib&apos;
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/a2ps-4.13c/work/a2ps-4.13&apos;
make: *** [all] Error 2

!!! ERROR: app-text/a2ps-4.13c failed.
!!! Function src_compile, Line 47, Exitcode 2
!!! emake failed


Portage 2.0.49-r7 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r5, 2.6.0-test5-mm3)
=================================================================
System uname: 2.6.0-test5-mm3 i686 Celeron (Mendocino)
ACCEPT_KEYWORDS=&quot;x86 ~x86&quot;
AUTOCLEAN=&quot;yes&quot;
CFLAGS=&quot;-march=pentium2 -O3 -pipe -fomit-frame-pointer -ffast-math -fforce-addr -falign-functions=4&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
COMPILER=&quot;gcc3&quot;
CONFIG_PROTECT=&quot;/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/env.d&quot;
CXXFLAGS=&quot;-march=pentium2 -O3 -pipe -fomit-frame-pointer -ffast-math -fforce-addr -falign-functions=4&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;sandbox ccache autoaddcvs&quot;
GENTOO_MIRRORS=&quot;ftp://ftp.uninett.no/pub/linux/Gentoo http://gentoo.oregonstate.edu &quot;
MAKEOPTS=&quot;-j2&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;&quot;
SYNC=&quot;rsync://rsync.europe.gentoo.org/gentoo-portage&quot;
USE=&quot;x86 oss avi crypt encode gif jpeg libg++ libwww mad mikmod mmx mpeg ncurses png quicktime truetype xml2 xv zlib gdbm berkdb slang readline X sdl gpm tcpd pam ssl python imlib oggvorbis gtk qt opengl ldap -3dnow aalib acl acpi alsa -apm arts bonobo -cups curl dga esd faad -foomaticdb -gnome gnomedb gtk2 gtkhtml innodb java -kde lcms libgda maildir memlimit -motif mozilla mozsvg -mysql -nas -nls odbc -pdflib -perl pic -phyton -postgres samba sasl slp -spell -svga tiff wxwindows xml -xmms&quot;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>weeve@gentoo.org</who>
            <bug_when>2003-09-27 02:34:03 0000</bug_when>
            <thetext>Seeing this on sparcs as well as x86.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>usata@gentoo.org</who>
            <bug_when>2003-09-27 08:04:21 0000</bug_when>
            <thetext>Sorry I didn&apos;t really test USE=&quot;-nls&quot; flag. I made a patch to check
&lt;locale.h&gt; and tested it on x86 and sparc (I failed to compile a2ps on
alpha due to perl module compilation, but I&apos;ll fix it later).

Thanks for reporting.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>usata@gentoo.org</who>
            <bug_when>2003-09-28 14:17:27 0000</bug_when>
            <thetext>Compile succeeded on alpha as well. Closing this bug.
</thetext>
          </long_desc>
      
    </bug>

</bugzilla>