Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 497784

Summary: sys-libs/glibc - locale-gen forces MAX_JOBS=1
Product: Gentoo Linux Reporter: Jeroen Roovers (RETIRED) <jer>
Component: [OLD] Core systemAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED INVALID    
Severity: normal CC: patrick, polynomial-c
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=187658
Whiteboard:
Package list:
Runtime testing required: ---

Description Jeroen Roovers (RETIRED) gentoo-dev 2014-01-11 14:00:01 UTC
--- a/extra/locale/locale-gen
+++ b/extra/locale/locale-gen
@@ -145,7 +145,7 @@
 unset IFS
 
 if ${LOCALE_ARCHIVE} ; then
-       if [[ ${JOBS_MAX} != 1 ]] ; then
+       if [[ ${JOBS_MAX} = 1 ]] ; then
                ewarn "Generating locale-archive: forcing # of jobs to 1"
                JOBS_MAX=1
        fi
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-01-11 14:07:07 UTC
(In reply to Jeroen Roovers from comment #0)
> --- a/extra/locale/locale-gen
> +++ b/extra/locale/locale-gen
> @@ -145,7 +145,7 @@
>  unset IFS
>  
>  if ${LOCALE_ARCHIVE} ; then
> -       if [[ ${JOBS_MAX} != 1 ]] ; then
> +       if [[ ${JOBS_MAX} = 1 ]] ; then
>                 ewarn "Generating locale-archive: forcing # of jobs to 1"
>                 JOBS_MAX=1
>         fi

That is what I used to make it work. Obviously setting JOBS_MAX at that point is rather pointless, too.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2014-01-11 14:17:36 UTC
Index: extra/locale/locale-gen
===================================================================
RCS file: /var/cvsroot/gentoo/src/patchsets/glibc/extra/locale/locale-gen,v
retrieving revision 1.33
diff -u -B -r1.33 locale-gen
--- extra/locale/locale-gen     1 Jul 2013 00:32:15 -0000       1.33
+++ extra/locale/locale-gen     11 Jan 2014 14:17:06 -0000
@@ -145,9 +145,8 @@
 unset IFS
 
 if ${LOCALE_ARCHIVE} ; then
-       if [[ ${JOBS_MAX} != 1 ]] ; then
+       if [[ ${JOBS_MAX} = 1 ]] ; then
                ewarn "Generating locale-archive: forcing # of jobs to 1"
-               JOBS_MAX=1
        fi
 else
        LOCALEDEF_OPTS="--no-archive ${LOCALEDEF_OPTS}"
Comment 3 SpanKY gentoo-dev 2014-01-11 16:15:30 UTC
yes, as the warning message told you, it's because you're generating a locale-archive
Comment 4 SpanKY gentoo-dev 2014-05-01 17:43:51 UTC
*** Bug 509246 has been marked as a duplicate of this bug. ***