All of lore.kernel.org
 help / color / mirror / Atom feed
* glibc-initial task do_rig_locales failed
@ 2011-05-06 15:19 Julian Pidancet
  0 siblings, 0 replies; 2+ messages in thread
From: Julian Pidancet @ 2011-05-06 15:19 UTC (permalink / raw)
  To: openembedded-devel

I had this issue on both debian and gentoo build machines (so it seems to be independent of the host):

NOTE: package glibc-initial-2.10.1-r6: task do_rig_locales: Started

ERROR: Function 'do_rig_locales' failed (see /trees/xci/build/work/i686core2-xci-linux/glibc-initial-2.10.1-r6/temp/log.do_rig_locales.11104 for further information)

ERROR: Logfile of failure stored in: /trees/xci/build/work/i686core2-xci-linux/glibc-initial-2.10.1-r6/temp/log.do_rig_locales.11104

Log data follows:

| + cd /trees/xci/build/work/i686core2-xci-linux/glibc-initial-2.10.1-r6/build-i686-xci-linux

| + do_rig_locales

| + '[' 'xPOSIX en_US en_GB' '!=' x ']'

| + INFILE=/trees/xci/build/work/i686core2-xci-linux/glibc-initial-2.10.1-r6/glibc-2.10.1/localedata/SUPPORTED

| + OUTFILE=/trees/xci/build/work/i686core2-xci-linux/glibc-initial-2.10.1-r6/glibc-2.10.1/localedata/SUPPORTED.tmp

| + head -n 3 /trees/xci/build/work/i686core2-xci-linux/glibc-initial-2.10.1-r6/glibc-2.10.1/localedata/SUPPORTED

| + for i in POSIX en_US en_GB

| + echo

| 

| + grep POSIX /trees/xci/build/work/i686core2-xci-linux/glibc-initial-2.10.1-r6/glibc-2.10.1/localedata/SUPPORTED

| ERROR: Function 'do_rig_locales' failed (see /trees/xci/build/work/i686core2-xci-linux/glibc-initial-2.10.1-r6/temp/log.do_rig_locales.11104 for further information)

NOTE: package glibc-initial-2.10.1-r6: task do_rig_locales: Failed

ERROR: Task 1668 (/trees/xci/openembedded-core/meta/recipes-core/glibc/glibc-initial_2.10.1.bb, do_rig_locales) failed with exit code '1'

For a reason I can't explain, the following patch fixed the issue:

diff --git a/meta/recipes-core/glibc/glibc.inc b/meta/recipes-core/glibc/glibc.inc

index 127ae23..c2a692b 100644

--- a/meta/recipes-core/glibc/glibc.inc

+++ b/meta/recipes-core/glibc/glibc.inc

@@ -49,7 +49,7 @@ do_rig_locales() {

         head -n 3 $INFILE > $OUTFILE

         for i in ${LIMIT_BUILT_LOCALES}; do

             echo 

-            grep $i $INFILE >> $OUTFILE

+            grep $i $INFILE >> $OUTFILE || true

         done

         head --lines=-1 $OUTFILE > $INFILE

         tail --lines=1 $OUTFILE | sed 's#\\##' >> $INFILE


-- 
Julian Pidancet






^ permalink raw reply	[flat|nested] 2+ messages in thread
* glibc-initial task do_rig_locales failed
@ 2011-05-09  9:15 Julian Pidancet
  0 siblings, 0 replies; 2+ messages in thread
From: Julian Pidancet @ 2011-05-09  9:15 UTC (permalink / raw)
  To: openembedded-devel

Sorry for the bad formatting in my previous e-mail. This is a repost.

I had this issue on both debian and gentoo build machines (so it seems to be independent of the host):

ERROR: Function 'do_rig_locales' failed (see /trees/xci/build/work/i686core2-xci-linux/glibc-initial-2.10.1-r6/temp/log.do_rig_locales.11104 for further information)
ERROR: Logfile of failure stored in: /trees/xci/build/work/i686core2-xci-linux/glibc-initial-2.10.1-r6/temp/log.do_rig_locales.11104
Log data follows:
| + cd /trees/xci/build/work/i686core2-xci-linux/glibc-initial-2.10.1-r6/build-i686-xci-linux
| + do_rig_locales
| + '[' 'xPOSIX en_US en_GB' '!=' x ']'
| + INFILE=/trees/xci/build/work/i686core2-xci-linux/glibc-initial-2.10.1-r6/glibc-2.10.1/localedata/SUPPORTED
| + OUTFILE=/trees/xci/build/work/i686core2-xci-linux/glibc-initial-2.10.1-r6/glibc-2.10.1/localedata/SUPPORTED.tmp
| + head -n 3 /trees/xci/build/work/i686core2-xci-linux/glibc-initial-2.10.1-r6/glibc-2.10.1/localedata/SUPPORTED
| + for i in POSIX en_US en_GB
| + echo
| 
| + grep POSIX /trees/xci/build/work/i686core2-xci-linux/glibc-initial-2.10.1-r6/glibc-2.10.1/localedata/SUPPORTED
| ERROR: Function 'do_rig_locales' failed (see /trees/xci/build/work/i686core2-xci-linux/glibc-initial-2.10.1-r6/temp/log.do_rig_locales.11104 for further information)
NOTE: package glibc-initial-2.10.1-r6: task do_rig_locales: Failed
ERROR: Task 1668 (/trees/xci/openembedded-core/meta/recipes-core/glibc/glibc-initial_2.10.1.bb, do_rig_locales) failed with exit code '1'

For a reason I can't explain, the following patch fixed the issue:

diff --git a/meta/recipes-core/glibc/glibc.inc b/meta/recipes-core/glibc/glibc.inc
index 127ae23..c2a692b 100644
--- a/meta/recipes-core/glibc/glibc.inc
+++ b/meta/recipes-core/glibc/glibc.inc
@@ -49,7 +49,7 @@ do_rig_locales() {
                head -n 3 $INFILE > $OUTFILE
                for i in ${LIMIT_BUILT_LOCALES}; do
                        echo 
-                       grep $i $INFILE >> $OUTFILE
+                       grep $i $INFILE >> $OUTFILE || true
                done
                head --lines=-1 $OUTFILE > $INFILE
                tail --lines=1 $OUTFILE | sed 's#\\##' >> $INFILE


-- 
Julian Pidancet






^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-05-09  9:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-06 15:19 glibc-initial task do_rig_locales failed Julian Pidancet
  -- strict thread matches above, loose matches on Subject: below --
2011-05-09  9:15 Julian Pidancet

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.