[Bug 4593] New: building uClibc fails when USE_NLS is set to "yes"

bugzilla-daemon at amethyst.openembedded.net bugzilla-daemon at amethyst.openembedded.net
Wed Oct 1 17:37:34 UTC 2008


http://bugs.openembedded.net/show_bug.cgi?id=4593

           Summary: building uClibc fails when USE_NLS is set to "yes"
    Classification: Unclassified
           Product: Openembedded
           Version: Angstrom 2007.12
          Platform: ARM
        OS/Version: Linux
            Status: UNCONFIRMED
          Keywords: uclibc
          Severity: critical
          Priority: P3
         Component: org.openembedded.stable
        AssignedTo: openembedded-issues at lists.openembedded.org
        ReportedBy: jin at mediatomb.cc


uClibc does not build if UCLIBC_HAS_LOCALE is enabled.

I am building for arm/uclibc/Angstrom 2007.12

Set  USE_NLS="yes", I had to work around a problem so that UCLIBC_HAS_LOCALE
got set in .config (see bug #4592), however when the above option is set the
build fails:

| NOTE: make OPTIMIZATION=
CPU_CFLAGS=-isystem/opt/OE/build/angstrom/staging/arm-angstrom-linux-uclibcgnueabi/include
-fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os
STRIPTOOL=true LD=arm-angstrom-linux-uclibcgnueabi-ld
LOCALE_DATA_FILENAME=uClibc-locale-030818.arm.tgz CC=ccache
arm-angstrom-linux-uclibcgnueabi-gcc
| make[1]: `conf' is up to date.
| make locale_headers
| gcc extra/locale/gen_wc8bit.c  -o extra/locale/gen_wc8bit
-L/opt/OE/build/angstrom/staging/i686-linux/lib
-Wl,-rpath-link,/opt/OE/build/angstrom/staging/i686-linux/lib
-Wl,-rpath,/opt/OE/build/angstrom/staging/i686-linux/lib -Wl,-O1   -O2 -Wall 
-D__UCLIBC_GEN_LOCALE -DUCLIBC_CTYPE_HEADER='".//include/bits/uClibc_ctype.h"'
-DCTYPE_PACKED=1 -DDO_WIDE_CHAR=1
| extra/locale/gen_wc8bit.c:21:29: error: .//include/bits/uClibc_ctype.h: No
such file or directory
| extra/locale/gen_wc8bit.c: In function 'main':
| extra/locale/gen_wc8bit.c:300: error: '__CTYPE_unclassified' undeclared
(first use in this function)
| extra/locale/gen_wc8bit.c:300: error: (Each undeclared identifier is reported
only once
| extra/locale/gen_wc8bit.c:300: error: for each function it appears in.)
| extra/locale/gen_wc8bit.c:302: error: '__CTYPE_digit' undeclared (first use
in this function) 
| extra/locale/gen_wc8bit.c:304: error: '__CTYPE_alpha_nonupper_nonlower'
undeclared (first use in this function)
| extra/locale/gen_wc8bit.c:306: error: '__CTYPE_alpha_lower' undeclared (first
use in this function)
| extra/locale/gen_wc8bit.c:308: error: '__CTYPE_alpha_upper_lower' undeclared
(first use in this function)
| extra/locale/gen_wc8bit.c:311: error: '__CTYPE_alpha_upper' undeclared (first
use in this function)
| extra/locale/gen_wc8bit.c:314: error: '__CTYPE_punct' undeclared (first use
in this function)
| extra/locale/gen_wc8bit.c:316: error: '__CTYPE_graph' undeclared (first use
in this function) 
| extra/locale/gen_wc8bit.c:318: error: '__CTYPE_print_space_nonblank'
undeclared (first use in this function)
| extra/locale/gen_wc8bit.c:320: error: '__CTYPE_print_space_blank' undeclared
(first use in this function)
| extra/locale/gen_wc8bit.c:323: error: '__CTYPE_space_nonblank_noncntrl'
undeclared (first use in this function)
| extra/locale/gen_wc8bit.c:325: error: '__CTYPE_space_blank_noncntrl'
undeclared (first use in this function)
| extra/locale/gen_wc8bit.c:328: error: '__CTYPE_cntrl_nonspace' undeclared
(first use in this function)
| extra/locale/gen_wc8bit.c:330: error: '__CTYPE_cntrl_space_nonblank'
undeclared (first use in this function)
| extra/locale/gen_wc8bit.c:332: error: '__CTYPE_cntrl_space_blank' undeclared
(first use in this function)
| extra/locale/gen_wc8bit.c:467: warning: pointer targets in assignment differ
in signedness
| extra/locale/gen_wc8bit.c:618: warning: pointer targets in assignment differ
in signedness
| make[1]: *** [extra/locale/gen_wc8bit] Error 1
| make: *** [headers] Error 2
| FATAL: oe_runmake failed
NOTE: Task failed:
/opt/OE/build/angstrom/work/zoran-angstrom-linux-uclibcgnueabi/uclibc-0.9.29-r10/temp/log.do_compile.17701
NOTE: package uclibc-0.9.29-r10: task do_compile: failed
ERROR: TaskFailed event exception, aborting
NOTE: package uclibc-0.9.29: failed
ERROR: Build of /opt/OE/targets/common/packages/uclibc/uclibc_0.9.29.bb
do_compile failed
ERROR: Task 7 (/opt/OE/targets/common/packages/uclibc/uclibc_0.9.29.bb,
do_compile) failed
NOTE: Tasks Summary: Attempted 203 tasks of which 203 didn't need to be rerun
and 1 failed.
ERROR: '/opt/OE/targets/common/packages/uclibc/uclibc_0.9.29.bb' failed

-- 
Configure bugmail: http://bugs.openembedded.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.




More information about the Openembedded-issues mailing list