Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 322151 - sys-devel/texinfo-4.13 fails accentenc test in UTF-8 locale with grep-2.6
Summary: sys-devel/texinfo-4.13 fails accentenc test in UTF-8 locale with grep-2.6
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo's Team for Core System packages
URL: https://savannah.gnu.org/bugs/index.p...
Whiteboard:
Keywords:
: 346947 357123 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-05-30 21:44 UTC by Ryan Hill (RETIRED)
Modified: 2013-04-05 07:34 UTC (History)
3 users (show)

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


Attachments
output info file (accentenc.info,1.10 KB, text/plain)
2010-05-30 21:46 UTC, Ryan Hill (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan Hill (RETIRED) gentoo-dev 2010-05-30 21:44:28 UTC
halo ~/portage/sys-apps/texinfo-4.13/work/texinfo-4.13/makeinfo/tests # locale | grep LC_ALL
LC_ALL=en_US.utf8
halo ~/portage/sys-apps/texinfo-4.13/work/texinfo-4.13/makeinfo/tests # ./accentenc 
+ unset TEXINFO_OUTPUT
+ : .
++ basename ./accentenc
+ input=accentenc.txi
++ basename ./accentenc
+ output=accentenc.info
+ ../makeinfo --enable-encoding --no-split -I. ./accentenc.txi
+ exit_status=0
+ test 0 = 0
+ grep $'\354' accentenc.info
+ exit_status=1
+ rm -f accentenc.info
+ exit 1
halo ~/portage/sys-apps/texinfo-4.13/work/texinfo-4.13/makeinfo/tests # LC_ALL=C
halo ~/portage/sys-apps/texinfo-4.13/work/texinfo-4.13/makeinfo/tests # ./accentenc 
+ unset TEXINFO_OUTPUT
+ : .
++ basename ./accentenc
+ input=accentenc.txi
++ basename ./accentenc
+ output=accentenc.info
+ ../makeinfo --enable-encoding --no-split -I. ./accentenc.txi
+ exit_status=0
+ test 0 = 0
+ grep $'\354' accentenc.info
+ grep $'\357' accentenc.info
+ grep /L accentenc.info
+ exit_status=0
+ rm -f accentenc.info
+ exit 0

grep-2.5.3 works so this seems to be caused by the multibyte changes in grep-2.6.
Comment 1 Ryan Hill (RETIRED) gentoo-dev 2010-05-30 21:46:26 UTC
Created attachment 233569 [details]
output info file
Comment 2 Brant Gurganus 2010-11-27 07:44:00 UTC
Ryan, I don't see this fixed upstream like they claim. However, it should be easy enough to just put a LANG="C" in front of the src_test portion of the ebuild.
Comment 3 SpanKY gentoo-dev 2011-02-10 03:30:37 UTC
*** Bug 346947 has been marked as a duplicate of this bug. ***
Comment 4 Ryan Hill (RETIRED) gentoo-dev 2011-04-23 12:10:12 UTC
Fixed.
Comment 5 SpanKY gentoo-dev 2013-04-05 00:10:59 UTC
*** Bug 357123 has been marked as a duplicate of this bug. ***