Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 155850 - sys-libs/uclibc-0.9.28-r1 does not compile
Summary: sys-libs/uclibc-0.9.28-r1 does not compile
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Embedded Gentoo Team
URL:
Whiteboard:
Keywords:
: 159379 176606 177093 178514 183524 183984 188326 199559 211233 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-11-21 04:21 UTC by Joseph LeBlanc
Modified: 2008-09-24 17:28 UTC (History)
13 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 Joseph LeBlanc 2006-11-21 04:21:25 UTC
When compiling 'sys-libs/uclibc-0.9.28-r1' I get the following error, I am compiling with i686-pc-linux-gnu-4.1.1
-----------
optimizing is* table..
gen_collate.c: In function 'print_starter_all_node':
gen_collate.c:3253: warning: unused variable 'x'
gen_collate.c:3252: warning: unused variable 'n'
gen_collate.c:3251: warning: unused variable 'p'
gen_collate.c:3250: warning: unused variable 'ci'
gen_collate.c: In function 'add_rule':
gen_collate.c:3638: warning: unused variable 'j'
gen_collate.c: In function 'add_range_rule':
gen_collate.c:3715: warning: unused variable 'j'
gen_collate.c: In function 'dump_collate':
gen_collate.c:3939: warning: format '%d' expects type 'int', but argument 3 has type 'long unsigned int'
gen_collate.c: At top level:
gen_collate.c:3792: warning: 'dump_base_locale' defined but not used
gen_collate.c:3828: warning: 'dump_der_locale' defined but not used
gen_collate.c:850: warning: 'print_colnode' defined but not used
gen_collate.c:2584: warning: 'print_starter_node' defined but not used
gen_collate.c:3248: warning: 'print_starter_all_node' defined but not used
ishift 1  tshift 0  size 49441
ishift 2  tshift 0  size 25561
ishift 3  tshift 0  size 14365
ishift 4  tshift 0  size 9845
ishift 5  tshift 0  size 8453
ishift 6  tshift 0  size 7909
ishift 1  tshift 1  size 25302
ishift 2  tshift 1  size 13560
ishift 3  tshift 1  size 8228
ishift 4  tshift 1  size 5996
ishift 5  tshift 1  size 4956
ishift 6  tshift 1  size 4796
ishift 1  tshift 2  size 13746
ishift 2  tshift 2  size 8008
ishift 3  tshift 2  size 5356
ishift 4  tshift 2  size 4068
ishift 5  tshift 2  size 3604
ishift 1  tshift 3  size 8642
ishift 2  tshift 3  size 5780
ishift 3  tshift 3  size 4368
ishift 4  tshift 3  size 3752
ishift 5  tshift 3  size 3704
ishift 1  tshift 4  size 7070
ishift 2  tshift 4  size 5596
ishift 3  tshift 4  size 4904
ishift 4  tshift 4  size 4688
ishift 1  tshift 5  size 7078
ishift 2  tshift 5  size 6348
ishift 3  tshift 5  size 6048
ishift 4  tshift 5  size 5984
ishift 1  tshift 6  size 7222
ishift 2  tshift 6  size 6880
ishift 3  tshift 6  size 6752
ishift 4  tshift 6  size 6752
ishift 1  tshift 7  size 8016
ishift 2  tshift 7  size 7856
ishift 3  tshift 7  size 7808
ishift 1  tshift 8  size 10488
ishift 2  tshift 8  size 10416
ishift 3  tshift 8  size 10416
ishift 1  tshift 9  size 14472
ishift 2  tshift 9  size 14448
ishift 1  tshift 10  size 20560
ishift 2  tshift 10  size 20556
smallest = 3604
setting ishift 5  tshift 2
make: *** [wctables.h] Segmentation fault
make: *** Waiting for unfinished jobs....

!!! ERROR: sys-libs/uclibc-0.9.28-r1 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  uclibc-0.9.28-r1.ebuild, line 375:   Called die

!!! make locales failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
-----------
Portage 2.1.1-r2 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r4, 2.6.16.16 i686)
=================================================================
System uname: 2.6.16.16 i686 AMD Athlon(tm) XP 2500+
Gentoo Base System version 1.12.6
Last Sync: Tue, 21 Nov 2006 01:30:07 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.3.5-r2, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg distlocks fixpackages metadata-transfer sandbox sfperms strict usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS=""
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X X509 aac aalib aim alsa apache2 berkdb bitmap-fonts bonobo bzip2 cdda cddb cgi chroot cjk clamd cli cracklib crypt cups curl curlwrappers dbus divx4linux dlloader dri dvb dvd dvdr elibc_glibc encode esd fbdev ffmpeg flac fortran gd gdbm gif gimpprint gpm gstreamer gtk2 gtkhtml hardware-carrier httpd iconv input_devices_keyboard input_devices_mouse isdnlog jack java jpeg kernel_linux libclamav libg++ lirc lirc_devices_com1 live mad mhash mikmod ming mmx mono mozilla mp3 mpeg mysql ncurses network nls nptl nptlonly nsplugin nvidia offensive opengl openntpd oscar oss pam pcre perl php png ppds pppd print python qmail qt3 quotas readline real reflection rtc ruby samba sasl session skey soap sockets speex spell spl sse ssl stream svga swat tcl tcltk tcpd theora tiff tk transmitter truetype truetype-fonts type1-fonts udev unicode usb userland_GNU v4l v4l2 vcd vfat video_cards_nv video_cards_nvidia video_cards_v4l videos vorbis wifi win32codecs xanix xml xmms xorg xpm xvid zip zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Joseph LeBlanc 2006-11-21 17:38:29 UTC
I was looking more into this issue and it looks like it does this if "iconv" is in the USE flags, I used:

USE="-iconv" emerge =sys-libs/uclibc-0.9.28-r1

and it seams to compile fine.
Comment 2 SpanKY gentoo-dev 2006-11-26 06:03:03 UTC
do not built uclibc with nls support as it isnt quite usable yet
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-12-29 07:54:34 UTC
*** Bug 159379 has been marked as a duplicate of this bug. ***
Comment 4 SpanKY gentoo-dev 2007-04-30 17:48:44 UTC
*** Bug 176606 has been marked as a duplicate of this bug. ***
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2007-05-04 21:43:29 UTC
*** Bug 177093 has been marked as a duplicate of this bug. ***
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2007-05-14 14:46:02 UTC
*** Bug 178514 has been marked as a duplicate of this bug. ***
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2007-06-28 14:21:28 UTC
*** Bug 183524 has been marked as a duplicate of this bug. ***
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2007-07-02 14:32:22 UTC
*** Bug 183984 has been marked as a duplicate of this bug. ***
Comment 9 Jakub Moc (RETIRED) gentoo-dev 2007-08-10 10:22:54 UTC
*** Bug 188326 has been marked as a duplicate of this bug. ***
Comment 10 Michael Gaber 2007-08-10 10:31:25 UTC
hmm, crossdev puts USE="-*" in USE for uclibc but it won't compile anyway
Comment 11 SpanKY gentoo-dev 2007-11-18 17:27:37 UTC
*** Bug 199559 has been marked as a duplicate of this bug. ***
Comment 12 Jakub Moc (RETIRED) gentoo-dev 2008-02-24 08:14:33 UTC
*** Bug 211233 has been marked as a duplicate of this bug. ***
Comment 13 Jakub Moc (RETIRED) gentoo-dev 2008-02-24 12:18:09 UTC
Well errr.... Why don't we just mask the flag?
Comment 14 Andrew Bevitt 2008-02-25 01:03:28 UTC
The patch from bug 177093 is a valid fix for this.

Or as in Comment #1: USE="-iconv" for uclibc packages.
Comment 15 Sarah White 2008-07-21 19:04:12 UTC
I'll double check the portage overlay for uclibc 0.9.29 as well as the commited 0.9.28.3-r3 ebuild. iconv causes a fail, err... if memory serves, it was an iconv issue anyway. Native iconv in one's virtual/libc is actually the simplest sollution when you're aiming for footprint reduction and a dependancy is expecting to be able to use iconv.

Several packages are ourright broken using a non-iconv virtual/libc and their ebuilds don't even take into account that something other than glibc might be installed on the system. Is there an updated version of this bug? Has anyone managed to get uclibc with iconv working for packages that need iconv?
Comment 16 solar (RETIRED) gentoo-dev 2008-07-30 04:24:22 UTC
(In reply to comment #15)
>Has anyone managed to get uclibc with iconv working for packages that need iconv? 

Yes. Using mini-iconv and fiddling with linker flags or simply adding #include 
"my-iconv.c" glib:2 is an example of one such ebuild where one can bang his/her 
head for days if not doing something as simple as that.
Comment 17 Sarah White 2008-07-31 21:55:19 UTC
(In reply to comment #16)
> Yes. Using mini-iconv and fiddling with linker flags or simply adding #include 
> "my-iconv.c" glib:2 is an example of one such ebuild where one can bang his/her 
> head for days if not doing something as simple as that.

This is gentoo we're talking about, that doesn't make any sense... Shouldn't the simple procedure of adding the "iconv" use flag by placcing a line with "sys-libs/uclibc iconv" in the file /etc/portage/package.use make it work right? I've tried such a method for every version of sys-libs/uclibc, including the ones that aren't considered "untested" (~some_arch) ... no success with the iconv use flag on any of them.

Why is this bug marked as "RESOLVED WONTFIX" anyway?
Comment 18 Tobias Leupold 2008-09-24 17:28:45 UTC
Is anybody still working on the broken locales?