| Summary: | sys-libs/glibc - locale-gen forces MAX_JOBS=1 | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Jeroen Roovers (RETIRED) <jer> |
| Component: | [OLD] Core system | Assignee: | 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: | --- | |
(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. 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}"
yes, as the warning message told you, it's because you're generating a locale-archive *** Bug 509246 has been marked as a duplicate of this bug. *** |
--- 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