Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 118747

Summary: Compilation error of net-nds/gq-1.0_beta1-r1 (dcigettext.c:991: error: called object is not a function)
Product: Gentoo Linux Reporter: Poggi Jérôme <gentoo.org>
Component: [OLD] UnspecifiedAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: High    
Version: 2005.1   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 122336    
Attachments: emergeinfo.txt
emerge info

Description Poggi Jérôme 2006-01-12 02:08:58 UTC
When I try to emerge net-nds/gq-1.0_beta1-r1 I get this error :
i686-pc-linux-gnu-gcc -c -DLOCALEDIR=\"/usr/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/share/locale\" -DLIBDIR=\"/usr/lib\" -DHAVE_CONFIG_H -I.. -I. -I../intl -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/var/tmp/portage/gq-1.0_beta1-r1/work/gq-1.0beta1/intl -Os -march=pentium-m -fomit-frame-pointer -pipe -I/usr/include/libxml2 -Wall -W -Wno-unused -Wmissing-declarations -Wcast-align -Wpointer-arith -Wfloat-equal -DLOCALEDIR=\"/usr/share/locale\"  explodename.c
i686-pc-linux-gnu-gcc -c -DLOCALEDIR=\"/usr/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/share/locale\" -DLIBDIR=\"/usr/lib\" -DHAVE_CONFIG_H -I.. -I. -I../intl -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/var/tmp/portage/gq-1.0_beta1-r1/work/gq-1.0beta1/intl -Os -march=pentium-m -fomit-frame-pointer -pipe -I/usr/include/libxml2 -Wall -W -Wno-unused -Wmissing-declarations -Wcast-align -Wpointer-arith -Wfloat-equal -DLOCALEDIR=\"/usr/share/locale\"  dcigettext.c
dcigettext.c: In function `plural_lookup':
dcigettext.c:991: error: called object is not a function
make[2]: *** [dcigettext.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/gq-1.0_beta1-r1/work/gq-1.0beta1/intl'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gq-1.0_beta1-r1/work/gq-1.0beta1'
make: *** [all] Error 2


I try whith and without FEATURES=distcc and ccache and I compile with MAKEOPTS="-j1"

Here my "emerge info"
Portage 2.1_pre3-r1 (default-linux/x86/2005.1, gcc-3.4.4-vanilla, glibc-2.3.6-r2, 2.6.13-suspend2-r1 i686)
=================================================================
System uname: 2.6.13-suspend2-r1 i686 Intel(R) Pentium(R) M processor 1.60GHz
Gentoo Base System version 1.12.0_pre13
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [disabled]
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -march=pentium-m -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/bind /var/qmail/control /var/www/localhost/htdocs/cacti/include/"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-Os -march=pentium-m -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig candy collision-protect distlocks noauto notitles sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://gentoo.inode.at/ http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/ http://gentoo.mirror.sdv.fr/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ http://ftp.gentoo.skynet.be/pub/gentoo/ http://mirror.pudas.net/gentoo/"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://hsc.hsc.fr/gentoo-portage"
USE="x86 7zip X X509 aalib accounting acl acpi alsa apache2 arts async audiofile avi bash-completion berkdb bindist bitmap-fonts bluetooth bzip2 cdb cdr chroot crypt css cups curl dba devfs26 devmap dhcp divx4linux dvd eds emboss emoticon encode escreen esd ethereal exif expat fam fat fbsplash ffmpeg firefox flac font-server foomaticdb fortran freetds ftp gd gdbm gif gimpprint gkrellm glut gmail gmp gnome gphoto2 gpm gps graphviz gs gsm gstreamer gtk gtk2 h323 hardened hardenedphp iconv icq idn imagemagick imap imlib ipv6 irda jabber java john jp2 jpeg keyscrub lcms ldap libcaca libg++ libwww lzo lzw mad mailbox matroska mbox md5sum mhash mikmod ming mmx mng motif mozcalendar mp3 mpeg msn mssql mysql ncurses network new-login nls nntp nptl ntfs ntlm ogg oggvorbis opengl openssh openssl oscar oss pam pcmcia pcre pdflib perl php pic png pnp procmail python qt quicktime radiotap radius readline real recode reiserfs rtc ruby samba sdl slang smartcard smime snmp softmmu spell sqlite sse sse2 ssl tcltk tcpd tidy tiff truetype truetype-fonts type1-fonts udev unicode usb vhosts vnc vorbis wifi win32codecs wmf wxgtk1 wxwindows x11vnc xine xml xml2 xmms xosd xscreensaver xv xvid yahoo zlib elibc_glibc kernel_linux userland_GNU"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Marcelo Goes (RETIRED) gentoo-dev 2006-01-19 10:50:09 UTC
Created attachment 77565 [details]
emergeinfo.txt

Works for me.
Comment 2 Greg Watson (linuxkrn) 2006-02-09 13:47:36 UTC
Created attachment 79373 [details]
emerge info

Works for me too
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-02-10 01:15:33 UTC
This ebuild uses bundled (and obsolete) gettext implementation (doesn't work on sparc at least, according to changelog). Also see Bug 106554 for a bunch of bogus/incorrect deps.

If you modify src_compile() to use external gettext, does it work for you? Something like this:

-       use nls \
-               && myconf="${myconf} --with-included-gettext" \
-               || myconf="${myconf} --disable-nls"
+       if ! use nls; then
+           myconf="${myconf} --disable-nls"
+       fi

Anyway, this is dead upstream, should be probably just removed from portage.
Comment 4 Poggi Jérôme 2006-02-10 06:24:03 UTC
(In reply to comment #3)
> If you modify src_compile() to use external gettext, does it work for you?
> Something like this:
> 
> -       use nls \
> -               && myconf="${myconf} --with-included-gettext" \
> -               || myconf="${myconf} --disable-nls"
> +       if ! use nls; then
> +           myconf="${myconf} --disable-nls"
> +       fi

Work good whith this patch, thank's.
Comment 5 Mark Loeser (RETIRED) gentoo-dev 2006-03-25 22:21:03 UTC
This package has been removed from the tree.