Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 310225 - sys-libs/zlib-1.2.4 doesn't like et_EE locale
Summary: sys-libs/zlib-1.2.4 doesn't like et_EE locale
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-19 14:27 UTC by Priit Laes (IRC: plaes)
Modified: 2010-03-20 18:21 UTC (History)
1 user (show)

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


Attachments
zlib-1.2.4-lang.patch (zlib-1.2.4-lang.patch,997 bytes, patch)
2010-03-19 14:49 UTC, Samuli Suominen (RETIRED)
Details | Diff
New patch from upstream (zlib-1.2.4-configure-LANG.patch,1.24 KB, patch)
2010-03-20 17:28 UTC, Samuli Suominen (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Priit Laes (IRC: plaes) 2010-03-19 14:27:41 UTC
When emerging sys-libs/zlib-1.2.4 on an environment using et_EE locale, header files are installed into odd directory:
[snip]
...
/--prefix/usr/include/zlib.h
/--prefix/usr/include/zconf.h
/--prefix/usr/share/man/man3/zlib.3.bz2
...
[/snip]
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2010-03-19 14:49:23 UTC
Created attachment 224245 [details, diff]
zlib-1.2.4-lang.patch

http://www.gentoo.org/proj/en/qa/bug103483-configure-LANG.patch.txt
http://www.gentoo.org/proj/en/qa/autofailure.xml "Failure during configure on some locales (like et_EE)"
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2010-03-19 17:14:08 UTC
mike, was able to reproduce this & confirm the above fixes it... can commit it if you ack, one-liner epatch line to ebuild 
Comment 3 SpanKY gentoo-dev 2010-03-19 18:08:32 UTC
hmm, that's an old version of my lang patch.  the QA website should be updated to use the one from binutils:
/usr/portage/sys-devel/binutils/files/binutils-configure-LANG.patch

feel free to commit one like that to zlib ...
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2010-03-19 19:09:40 UTC
(In reply to comment #3)
> hmm, that's an old version of my lang patch.  the QA website should be updated
> to use the one from binutils:
> /usr/portage/sys-devel/binutils/files/binutils-configure-LANG.patch
> 
> feel free to commit one like that to zlib ...
> 

nod

+  19 Mar 2010; Samuli Suominen <ssuominen@gentoo.org> zlib-1.2.4.ebuild,
+  +files/zlib-1.2.4-configure-LANG.patch:
+  Fix NLS issues wrt #310225, thanks to Priit Laes for reporting.

Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2010-03-19 19:14:09 UTC
oh, and I also updated the example patch in gentoo/ cvsdir
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2010-03-20 17:28:19 UTC
Created attachment 224409 [details, diff]
New patch from upstream

Upstream refused the LANG and LC_ to C patch and came up with this solution, and it works just as well.
Comment 7 Samuli Suominen (RETIRED) gentoo-dev 2010-03-20 17:28:38 UTC
Reopening. Mike, OK to replace the patch in Portage with this?
Comment 8 SpanKY gentoo-dev 2010-03-20 18:12:59 UTC
if that's what upstream used, then that's fine
Comment 9 Samuli Suominen (RETIRED) gentoo-dev 2010-03-20 18:21:54 UTC
(In reply to comment #8)
> if that's what upstream used, then that's fine
> 

yeah. done.