Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 51758 - sys-devel/flex-2.5.32-r1 fails to compile with gcc 3.4
Summary: sys-devel/flex-2.5.32-r1 fails to compile with gcc 3.4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Please assign to toolchain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 48528
  Show dependency tree
 
Reported: 2004-05-22 13:21 UTC by Simon Stelling (RETIRED)
Modified: 2004-07-13 18:53 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Stelling (RETIRED) gentoo-dev 2004-05-22 13:21:37 UTC
I'm not able to emerge flex-2.5.31-r1:

if gcc -DHAVE_CONFIG_H -I. -I. -I.  -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include -I./intl   -pipe -MT nfa.o -MD -MP -MF ".deps/nfa.Tpo" \
  -c -o nfa.o `test -f 'nfa.c' || echo './'`nfa.c; \
then mv ".deps/nfa.Tpo" ".deps/nfa.Po"; \
else rm -f ".deps/nfa.Tpo"; exit 1; \
fi
main.c: In function `main':
main.c:201: error: `LC_MESSAGES' undeclared (first use in this function)
main.c:201: error: (Each undeclared identifier is reported only once
main.c:201: error: for each function it appears in.)
if gcc -DHAVE_CONFIG_H -I. -I. -I.  -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include -I./intl   -pipe -MT parse.o -MD -MP -MF ".deps/parse.Tpo" \
  -c -o parse.o `test -f 'parse.c' || echo './'`parse.c; \
then mv ".deps/parse.Tpo" ".deps/parse.Po"; \
else rm -f ".deps/parse.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.  -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include -I./intl   -pipe -MT scan.o -MD -MP -MF ".deps/scan.Tpo" \
  -c -o scan.o `test -f 'scan.c' || echo './'`scan.c; \
then mv ".deps/scan.Tpo" ".deps/scan.Po"; \
else rm -f ".deps/scan.Tpo"; exit 1; \
fi
make[2]: *** [main.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/flex-2.5.31-r1/work/flex-2.5.31'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/flex-2.5.31-r1/work/flex-2.5.31'
make: *** [all] Error 2
make  all-recursive
make[1]: Entering directory `/var/tmp/portage/flex-2.5.31-r1/work/flex-2.5.31'
Making all in .
make[2]: Entering directory `/var/tmp/portage/flex-2.5.31-r1/work/flex-2.5.31'
rm -f libfl.a
ar cru libfl.a libmain.o libyywrap.o
ranlib libfl.a
if gcc -DHAVE_CONFIG_H -I. -I. -I.  -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include -I./intl   -pipe -MT main.o -MD -MP -MF ".deps/main.Tpo" \
  -c -o main.o `test -f 'main.c' || echo './'`main.c; \
then mv ".deps/main.Tpo" ".deps/main.Po"; \
else rm -f ".deps/main.Tpo"; exit 1; \
fi
main.c: In function `main':
main.c:201: error: `LC_MESSAGES' undeclared (first use in this function)
main.c:201: error: (Each undeclared identifier is reported only once
main.c:201: error: for each function it appears in.)
make[2]: *** [main.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/flex-2.5.31-r1/work/flex-2.5.31'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/flex-2.5.31-r1/work/flex-2.5.31'
make: *** [all] Error 2
 
!!! ERROR: sys-devel/flex-2.5.31-r1 failed.
!!! Function src_compile, Line 34, Exitcode 2
!!! (no error message)

Reproducible: Always
Steps to Reproduce:
1. emerge -u flex


Actual Results:  
compiling fails

Expected Results:  
it should compile and install as normal

# emerge info
Portage 2.0.50-r6 (default-amd64-2004.0, gcc-3.4.0, glibc-2.3.3_pre20040420-r0,
2.6.6-mm3)
=================================================================
System uname: 2.6.6-mm3 x86_64 5
Gentoo Base System version 1.4.14
distcc 2.12.1 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-pipe"
CHOST="x86_64-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/
http://gentoo.inode.at/ ftp://gentoo.inode.at/source/
http://212.219.247.11/sites/www.ibiblio.org/gentoo/
http://212.219.247.10/sites/www.ibiblio.org/gentoo/"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa amd64 apm avi berkdb cdr crypt cups dvd encode esd foomaticdb gdbm
gif glx gnome gphoto2 gpm gtk gtk2 imlib jpeg libg++ libwww mikmod motif mozilla
mpeg ncurses nls nogcj oggvorbis opengl pam pdflib perl png python quicktime
readline samba sdl slang spell ssl tcltk tcpd truetype xml xml2 xmms xv zlib"
Comment 1 Travis Tilley (RETIRED) gentoo-dev 2004-07-13 18:53:16 UTC
compiled with gcc 3.4.1