Bug 29732 - a2ps-4.13c doesn't compile
Bug#: 29732 Product:  Gentoo Linux Version: 1.4 Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: usata@gentoo.org Reported By: andrei.ivanov@gmail.com
Component: Applications
URL: 
Summary: a2ps-4.13c doesn't compile
Keywords:  
Status Whiteboard: 
Opened: 2003-09-27 02:11 0000
Description:   Opened: 2003-09-27 02:11 0000
source='output.c' object='output.lo' libtool=yes \
depfile='.deps/output.Plo' tmpdepfile='.deps/output.TPlo' \
depmode=gcc3 /bin/sh ../auxdir/depcomp \
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -DSYSCONFFILE=\"/etc/a2ps/a2ps.cfg\" -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 'output.c' || echo './'`output.c
jobs.c: In function `a2ps_job_new':
jobs.c:136: error: `LC_TIME' 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' undeclared (first use in this function)
make[3]: *** [jobs.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
gcc -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -DSYSCONFFILE=\"/etc/a2ps/a2ps.cfg\" -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 > output.lo
make[3]: Leaving directory `/var/tmp/portage/a2ps-4.13c/work/a2ps-4.13/lib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/a2ps-4.13c/work/a2ps-4.13/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/a2ps-4.13c/work/a2ps-4.13'
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="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium2 -O3 -pipe -fomit-frame-pointer -ffast-math -fforce-addr -falign-functions=4"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/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"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=pentium2 -O3 -pipe -fomit-frame-pointer -ffast-math -fforce-addr -falign-functions=4"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="ftp://ftp.uninett.no/pub/linux/Gentoo http://gentoo.oregonstate.edu "
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="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"

------- Comment #1 From Jason Wever (RETIRED) 2003-09-27 02:34:03 0000 -------
Seeing this on sparcs as well as x86.

------- Comment #2 From Mamoru KOMACHI (RETIRED) 2003-09-27 08:04:21 0000 -------
Sorry I didn't really test USE="-nls" flag. I made a patch to check
<locale.h> and tested it on x86 and sparc (I failed to compile a2ps on
alpha due to perl module compilation, but I'll fix it later).

Thanks for reporting.

------- Comment #3 From Mamoru KOMACHI (RETIRED) 2003-09-28 14:17:27 0000 -------
Compile succeeded on alpha as well. Closing this bug.