Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 121408 - sys-devel/flex locale issues
Summary: sys-devel/flex locale issues
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
Depends on:
Reported: 2006-02-03 02:08 UTC by Jaak Ristioja
Modified: 2008-06-06 00:36 UTC (History)
0 users

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

config.log (config.log,2.09 KB, text/plain)
2006-02-03 02:09 UTC, Jaak Ristioja

Note You need to log in before you can comment on or make changes to this bug.
Description Jaak Ristioja 2006-02-03 02:08:48 UTC
While doing "emerge -e system" in an amd64 stage2 chroot jail.

This might have something to do with my et_EE locale.

>>> Unpacking bc-1.06.tar.gz to /var/tmp/portage/bc-1.06-r6/work
 * Applying bc-1.06-info-fix.diff ...                                                                                   [ ok ]
 * Applying bc-1.06-readline42.diff ...                                                                                 [ ok ]
 * Applying bc-1.06-longopts.patch ...                                                                                  [ ok ]
 * Applying bc-1.06-static-save.patch ...                                                                               [ ok ]
/usr/portage/sys-devel/bc/bc-1.06-r6.ebuild: line 35: flex: command not found
/usr/portage/sys-devel/bc/bc-1.06-r6.ebuild: line 36: flex: command not found
/usr/portage/sys-devel/bc/bc-1.06-r6.ebuild: line 37: flex: command not found
/usr/portage/sys-devel/bc/bc-1.06-r6.ebuild: line 38: [: : integer expression expected
>>> Source unpacked.
./configure --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --build=x86_64-pc-linux-gnu --with-readline
creating cache ./config.cache
checking for a BSD compatible install... /bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... missing
checking for working automake... found
checking for working autoheader... missing
checking for working makeinfo... found
checking for gcc... x86_64-pc-linux-gnu-gcc
checking whether the C compiler (x86_64-pc-linux-gnu-gcc -O0 -pipe ) works... yes
checking whether the C compiler (x86_64-pc-linux-gnu-gcc -O0 -pipe ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E
checking for minix/config.h... no
checking for flex... no
checking for lex... no
./configure: line 1186: flex: command not found
checking for flex... lex
checking for yywrap in -ll... no
checking lex output file root... ./configure: line 1274: lex: command not found
configure: error: cannot find output from lex; giving up
Comment 1 Jaak Ristioja 2006-02-03 02:09:20 UTC
Created attachment 78794 [details]
Comment 2 Jaak Ristioja 2006-02-03 02:23:20 UTC
Yes, this again seems to be a locale issue. "flex" is not in $PATH. Its binary is in "/--prefix/usr/bin/" in the chroot. Even re-emerging flex (2.5.4a-r6) installs them there.

Some non-flex files also exist there. I will try to figure out, where those came from.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-02-03 04:40:25 UTC
I'd strongly suggest that you should stop using this weird locale for compiling of whatever stuff. 
Comment 4 SpanKY gentoo-dev 2006-02-03 07:54:17 UTC
> I'd strongly suggest that you should stop using this weird locale for compiling
> of whatever stuff. 

if you dont have anything useful to contribute, dont bother

J: could you try the masked version of flex please (2.5.31) ?
Comment 5 Jaak Ristioja 2006-02-03 08:38:04 UTC
(In reply to comment #4)
> J: could you try the masked version of flex please (2.5.31) ?

Emerged without trouble and installed itself properly, not using "--prefix" as a prefix. :)
Comment 6 SpanKY gentoo-dev 2006-02-03 16:46:10 UTC
added patch to flex-2.5.4a-r6 and unmasked 2.5.31

thanks for the bug report