Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 162502 - app-i18n/uim-1.3.1 fails with USE="-nls"
Summary: app-i18n/uim-1.3.1 fails with USE="-nls"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Mamoru KOMACHI (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-17 08:36 UTC by Ira Snyder
Modified: 2007-02-01 17:19 UTC (History)
1 user (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 Ira Snyder 2007-01-17 08:36:25 UTC
app-i18n/uim-1.3.1 fails to compile with the nls useflag unset. Setting USE="nls" makes the package compile properly.

Reproducible: Always

Steps to Reproduce:
1. USE="-nls" emerge -av '=app-i18n/uim-1.3.1'
2. compile fails

Actual Results:  
/usr/qt/3/bin/moc pref-customwidgets.h -o pref-customwidgets.moc
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../uim -I../replace -I../uim -I.. -I..   -I/usr/qt/3/include -DQT_GENUINE_STR -DQT_NO_STL -DQT_IMMODULE -march=athlon-xp -O2 -fomit-frame-pointer -pipe -fvisibility-inlines-hidden -DQT_THREAD_SUPPORT -O2 -pipe -Wnon-virtual-dtor -Wno-long-long -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -Wformat-security -MT uim_pref_qt-pref-customwidgets.o -MD -MP -MF .deps/uim_pref_qt-pref-customwidgets.Tpo -c -o uim_pref_qt-pref-customwidgets.o `test -f 'pref-customwidgets.cpp' || echo './'`pref-customwidgets.cpp
pref-customwidgets.cpp: In constructor 'CustomPathnameEdit::CustomPathnameEdit(uim_custom*, QWidget*, const char*)':
pref-customwidgets.cpp:189: error: 'mygettext' was not declared in this scope
make[2]: *** [uim_pref_qt-pref-customwidgets.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/app-i18n/uim-1.3.1/work/uim-1.3.1/qt'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-i18n/uim-1.3.1/work/uim-1.3.1/qt'
make: *** [all-recursive] Error 1

!!! ERROR: app-i18n/uim-1.3.1 failed.
Call stack:
  ebuild.sh, line 1618:   Called dyn_compile
  ebuild.sh, line 975:   Called qa_call 'src_compile'
  environment, line 3927:   Called src_compile
  uim-1.3.1.ebuild, line 95:   Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/log/portage/app-i18n:uim-1.3.1:20070117-081357.log'.

Expected Results:  
Compile should complete normally.

Here is the flags as I originally tried to merge uim:
[ebuild  N    ] app-i18n/uim-1.3.1  USE="X anthy gtk kde ncurses qt3 -canna -eb -emacs -gnome -libedit -m17n-lib -nls -prime"

And here is what was successful:
[ebuild  N    ] app-i18n/uim-1.3.1  USE="X anthy gtk kde ncurses nls qt3 -canna -eb -emacs -gnome -libedit -m17n-lib -prime"

And my emerge --info:
root@yuki ~ $  emerge --info
Portage 2.1.2 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.19-ck2 i686)
=================================================================
System uname: 2.6.19-ck2 i686 AMD Athlon(tm) XP 3000+
Gentoo Base System version 1.12.8
Timestamp of tree: Tue, 16 Jan 2007 07:50:01 +0000
dev-java/java-config: 1.3.7, 2.0.31-r2
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.19.2-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -fomit-frame-pointer -pipe"
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"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=athlon-xp -O2 -fomit-frame-pointer -pipe -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig candy distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ ftp://gentoo.chem.wisc.edu/gentoo/ http://open-systems.ufl.edu/mirrors/gentoo http://gentoo.ngi.it"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed"
LINGUAS="en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
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 /usr/portage/local/layman/gentopia /usr/portage/local/layman/nx /usr/portage/local/layman/initng /usr/portage/local/layman/xeffects"
SYNC="rsync://ping.local/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acpi aiglx alsa ao aoss audiofile bash-completion berkdb branding bzip2 cairo cdr chardet cli cracklib crypt cscope cups curl dbus dhcp dlloader dri dts dvd dvdr dvdread eap-tls edl emboss enca exif extras fbcon ffmpeg filter_default firefox flac freetype gdbm gif glitz gpm gsl gstreamer gtk gtkhtml hal hpn iconv idn imap imlib isdnlog java jpeg kde kdeenablefinal kdehiddenvisibility libg++ libnotify logitech-mouse mad matroska mikmod mmap mmx mmxext mono mozbranding mozsvg mp3 mpeg ncurses newspr no_wxgtk1 nonfsv4 nptl nptlonly offensive ogg opengl pam pcre pdf perl pertty png ppds pppd python qt3 quicktime readline real reflection rtc session slang spell spl sse ssl stream subtitles svg tcltk tcpd theora threads truetype truetype-fonts udev unicode usb userlocales vim-pager vim-syntax vorbis win32codecs wxwindows x86 xcb xine xml xorg xv xvid zlib" ALSA_CARDS="emu10k1" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INITNG_PLUGINS="also bash_launcher chdir chroot conflict cpout critical cron daemon dev dllaunch envparser find fstat history idleprobe initctl interactive iparser last limit logfile netprobe ngc4 pause pidfile reload renice rlparser simple_launcher stcmd stdout suid syncron syslog unneeded provide ctrlaltdel" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa fbdev"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 MATSUU Takuto (RETIRED) gentoo-dev 2007-02-01 17:19:35 UTC
fixed in cvs. thanks.