Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 497784 - sys-libs/glibc - locale-gen forces MAX_JOBS=1
Summary: sys-libs/glibc - locale-gen forces MAX_JOBS=1
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords: PATCH
: 509246 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-01-11 14:00 UTC by Jeroen Roovers (RETIRED)
Modified: 2014-05-01 17:43 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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. ***