Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 138591 - apache-2.0.58 won't unpack (et_EE locale issue)
Summary: apache-2.0.58 won't unpack (et_EE locale issue)
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Apache Team - Bugzilla Reports
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2006-06-30 08:59 UTC by Jaak Ristioja
Modified: 2008-06-06 00:39 UTC (History)
1 user (show)

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


Attachments
apache-LANG.patch (apache-LANG.patch,670 bytes, patch)
2006-11-11 17:25 UTC, SpanKY
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jaak Ristioja 2006-06-30 08:59:31 UTC
...
Creating configure ...
rebuilding rpm spec file
rebuilding srclib/apr-util/configure

Problem finding apr source in --wit/var/tmp/portage/apache-2.0.58/work/httpd-2.0.58/srclib/apr.
Use:
  --with-apr=[directory]
./buildconf failed for apr-util

!!! ERROR: net-www/apache-2.0.58 failed.
Call stack:
  ebuild.sh, line 1545:   Called dyn_unpack
  ebuild.sh, line 711:   Called src_unpack
  apache-2.0.58.ebuild, line 84:   Called die

For example, updating /etc/env.d/02locales to use LC="en_US.UTF-8" instead of et_EE.UTF-8 and updating the shell environment solves this issue.
Comment 1 SpanKY gentoo-dev 2006-11-11 01:26:34 UTC
srclib/apr-util/buildconf is obviously deficient ... it does:
  -*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;

but nowhere does it reset locale variables ...

apache team: i can fix this for you if you dont mind
Comment 2 Michael Stewart (vericgar) (RETIRED) gentoo-dev 2006-11-11 11:00:54 UTC
It's in the plans to quit using buildconf altogether with apache. If you want to do a temporary fix until then, feel free. The fix may be easier to not do a buildconf in apr and apr-util as we don't use the one packaged with apache
Comment 3 SpanKY gentoo-dev 2006-11-11 17:25:55 UTC
Created attachment 101710 [details, diff]
apache-LANG.patch

this should fix 2.0.59
Comment 4 Jaak Ristioja 2007-01-04 02:56:15 UTC
...and reproducing this wouldn't currently be a problem.
Comment 5 Jaak Ristioja 2007-01-04 02:56:54 UTC
asdf, sorry, last comment went to the wrong bug somehow :S
Comment 6 Christian Heim (RETIRED) gentoo-dev 2007-06-15 15:40:39 UTC
(In reply to comment #0)
> ...
> Creating configure ...
> rebuilding rpm spec file
> rebuilding srclib/apr-util/configure
> 
> Problem finding apr source in
> --wit/var/tmp/portage/apache-2.0.58/work/httpd-2.0.58/srclib/apr.
> Use:
>   --with-apr=[directory]
> ./buildconf failed for apr-util
> 
> !!! ERROR: net-www/apache-2.0.58 failed.
> Call stack:
>   ebuild.sh, line 1545:   Called dyn_unpack
>   ebuild.sh, line 711:   Called src_unpack
>   apache-2.0.58.ebuild, line 84:   Called die
> 
> For example, updating /etc/env.d/02locales to use LC="en_US.UTF-8" instead of
> et_EE.UTF-8 and updating the shell environment solves this issue.

Jaak, could you please test apache-2.2.4-r6 and see if this still isn't fixed ?
Comment 7 Jaak Ristioja 2007-06-24 12:54:58 UTC
> Jaak, could you please test apache-2.2.4-r6 and see if this still isn't fixed ?

I haven't used the estonian locale quite a while now, but the following unpacks and builds just fine:

LC_ALL="et_EE.UTF-8" ACCEPT_KEYWORDS="~amd64" emerge --buildpkgonly apache

[ebuild     U ] net-www/apache-2.2.4-r7 [2.0.58-r2] USE="ssl threads -debug -doc -ldap -mpm-event% -mpm-itk -mpm-peruser -mpm-prefork -mpm-worker -no-suexec% (-selinux) -static-modules (-apache2%*) (-mpm-leader%) (-mpm-threadpool%)" 0 kB
[ebuild  N    ] app-admin/apache-tools-2.2.4-r3  USE="ssl" 0 kB
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2007-06-29 08:45:07 UTC
(In reply to comment #7)
> I haven't used the estonian locale quite a while now, but the following unpacks
> and builds just fine:
> 
> LC_ALL="et_EE.UTF-8" ACCEPT_KEYWORDS="~amd64" emerge --buildpkgonly apache
> 
> [ebuild     U ] net-www/apache-2.2.4-r7 [2.0.58-r2] USE="ssl threads -debug
> -doc -ldap -mpm-event% -mpm-itk -mpm-peruser -mpm-prefork -mpm-worker
> -no-suexec% (-selinux) -static-modules (-apache2%*) (-mpm-leader%)
> (-mpm-threadpool%)" 0 kB
> [ebuild  N    ] app-admin/apache-tools-2.2.4-r3  USE="ssl" 0 kB

Closing as FIXED then.