Emerge fails, see the log (attachment). Reproducible: Always Steps to Reproduce: 1. emerge -uDNv world 2. 3. Actual Results: Emerge fails with the error message. Expected Results: Emerge shouldn't fail.
Created attachment 202413 [details] Emerge logfile
Are your qt4 libs built with qt3support useflag ?
No, I did not use qt3support USE flag.
Well, till uim upstream fixes it, the build log suggests it's required. If the ebuild misses that, it should be fixed too.
Is this bug related? http://bugs.gentoo.org/show_bug.cgi?id=257266 - USE=qt3 and USE=qt4 should be incompatible
uim-1.5.6-r3 in cvs. Could you test it?
Created attachment 204458 [details] emerge build.log for uim-1.5.6-r3 For info: emerge -v uim and (below) emerge --info uim [ebuild U ] app-i18n/uim-1.5.6-r3 [1.4.2] USE="X anthy* canna gnome gtk libnotify%* m17n-lib ncurses nls qt4%* unicode%* xft%* -eb -emacs -kde -libedit -prime -qt3" LINGUAS="ja -ko -zh_CN -zh_TW%" 0 kB Portage 2.1.6.13 (default/linux/x86/2008.0/desktop, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r6 i686) ================================================================= System Settings ================================================================= System uname: Linux-2.6.30-gentoo-r6-i686-Intel-R-_Celeron-R-_M_processor_1.40GHz-with-gentoo-2.0.0 Timestamp of tree: Thu, 17 Sep 2009 18:45:02 +0000 ccache version 2.4 [enabled] app-shells/bash: 4.0_p28 dev-java/java-config: 2.1.8-r1 dev-lang/python: 2.6.2-r1 dev-util/ccache: 2.4-r7 dev-util/cmake: 2.6.4 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.3.0-r1 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium4 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O2 -march=pentium4 -pipe" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="-a --with-bdeps y" FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://ftp.ds.karen.hj.se/gentoo/ " LANG="en_GB.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="ca fr fr_CA sv_SE sv da es_ES es es_LA fi it is no nl de ja en_GB en en_US el" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/layman/sunrise /usr/local/portage/localoverlay" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="R X a52 aac acl acpi alsa archive artworkextra avahi bash-completion beagle berkdb bidi branding bzip2 cairo canna caps cdda cddb cdio cdparanoia cdr cdrkit chasen cjk cli cracklib crypt curl cxx dbus device-mapper disk-partition divx doc dri dts dvd dvdr dvi eds encode exif fbcon fbcondecor ffmpeg flac fontconfig fortran freewnn gdbm geoip gif gimp glib gmedia gmp gnome gnome-cd gnome-keyring gnutls gphoto2 gpm gstreamer gtk hal hardened hddtemp iconv icu id3tag idn imagemagick ipv6 isdnlog jadetex java javascript jpeg jpeg2k kerberos laptop latex ldap libcaca libnotify live lm_sensors lzo m17n-lib mad maildir matroska metric mikmod mime mjpeg mmap mmx modplug mono mp3 mp4 mpeg mudflap musepack mysql mysqli nautilus ncurses networkmanager nls nocd nptl nptlonly nsplugin ntp ocaml ocamlopt offensive ogg opengl openmp pam pcre pdf perl plotutils png posix pppd python qt4 quicktime rar raw readline realmedia reflection rtsp sasl sdl session shorten sound spell spl sqlite sse sse2 ssl startup-notification subtitles subversion svg svga symlink sysfs syslog taglib tcl tcpd theora threads thunar tiff tk truetype unicode usb vcd vorbis wavpack wifi win32codecs wmf x264 x86 xattr xft xine xml xmp xorg xulrunner xv xvid zeroconf zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="fuji" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ca fr fr_CA sv_SE sv da es_ES es es_LA fi it is no nl de ja en_GB en en_US el" USERLAND="GNU" VIDEO_CARDS="radeon" Unset: CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS ================================================================= Package Settings ================================================================= app-i18n/uim-1.4.2 was built with the following: USE="X canna gnome gtk m17n-lib ncurses nls -anthy -eb -emacs -kde -libedit -prime -qt3" LINGUAS="ja -ko -zh_CN" CFLAGS="-O2 -march=pentium-m -pipe" CXXFLAGS="-O2 -march=pentium-m -pipe" >>> Attempting to run pkg_info() for 'app-i18n/uim-1.4.2' * pkg_info() is not defined: 'uim-1.4.2.ebuild'
Still doesn't work with r3.
Update: Just read this eselect news item, which sounds relevant but does not resolve this bug. The bug occurs on my system with the 2008·0/Desktop profile selected. However, maybe the eselect item below means that the current bug will resolve itself when Qt 4.5.2 is marked as stable? If so, I'll report. ca@home ~ $ sudo eselect news-tng read new 2009-09-27-qt_use_changes Title Qt 4.5.2 default USE flag changes Author Alex Alexander <wired@gentoo.org> Posted 2009-09-27 Revision 1 Qt version 4.5.2 has significant changes in the USE flags enabled by default. When upgrading, make sure you check and re-enable any USE flags you need. Depending on your system and installed packages, you might hit an issue where Portage is getting confused by this USE flag change, trying to mix old 4.5.1 ebuilds with new 4.5.2 ones, resulting in blocks. If this happens to you, please add the offending USE flags (usually 'qt3support' and 'dbus') in your USE= or switch to a desktop profile (eselect profile list). Check this post [0] for more details on this issue. [0] http://www.linuxized.com/p192
As Rafał Mużyło said Comment #4, if you want to install app-i18n/uim-1.5.x with the qt4 USE flag, you need to emerge x11-libs/qt-core and x11-libs/qt-gui with the qt3support USE flag because Qt4 support for uim-1.5.x depends on the Qt3Support module in Qt4. AFAIK, this dependency issue was solved 3 months ago. http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-i18n/uim/uim-1.5.6-r1.ebuild?rev=1.10&view=markup FYI, the module isn't a requirement in the latest development version of uim (upstream) even when the Qt4 support is enabled. http://code.google.com/p/uim/source/detail?r=6206 In the Qt4 support in future relases, the module may be an optional one.
Frankly, that kind of change as in http://code.google.com/p/uim/source/detail?r=6206, suggests that they haven't ported it properly yet, as then there would be no point in disabling anything.
Then again, after reading the sources, it seems that either uim qtimmodule design is very strange, or qtimmodules were designed quite inconveniently, cause it seems those symbols are really needed in the immodule for it to work with those legacy widgets.
Showing r6206 may be unsuitable for explanation. Technically speaking, uim uses qmake to build the Qt4-related stuff. A Qt4 application developer has to tell qmake to enable the Qt3Support module explicitly when building a Qt4 application which uses the module. http://qt.nokia.com/doc/4.5/qmake-project-files.html#declaring-qt-libraries What "QT+=qt3support" in r6206 means is enabling the module only when uim users enable qt4-qt3support (--enable-qt4-qt3support). The ENABLE_QT4_QT3SUPPORT macro in r6206 is for commenting out the codes for the Q3TextEdit class when the module is disabled. Here is a series of commits which remove the dependency of the module. http://code.google.com/p/uim/source/detail?r=6161 http://code.google.com/p/uim/source/detail?r=6163 http://code.google.com/p/uim/source/detail?r=6173 http://code.google.com/p/uim/source/detail?r=6174 http://code.google.com/p/uim/source/detail?r=6176 http://code.google.com/p/uim/source/detail?r=6181 http://code.google.com/p/uim/source/detail?r=6191 http://code.google.com/p/uim/source/detail?r=6192 http://code.google.com/p/uim/source/detail?r=6194 http://code.google.com/p/uim/source/detail?r=6195 http://code.google.com/p/uim/source/detail?r=6205 As you can see, these commits include significant changes because the Qt4 support in uim 1.5.x strongly depends on the module as you said in Comment #12. So these commits aren't merged into the 1.5 branch (uim 1.5.x) and I think they won't be. This means we can't emerge app-i18n/uim-1.5.x without the module when the qt4 USE flag (--with-qt4) is enabled. This is not a Gentoo bug but an upstream issue, and backporting these changes to app-i18n/uim-1.5.6 and/or 1.5.7 isn't what Gentoo developers should do.
uim 1.6.0 was released on August 11st. See also Gentoo Bug #335075.
From uim 1.6.0, the Qt3Support module is an optional requirement even when Qt4 support is enabled (USE="qt4").
Created attachment 254147 [details] ebuild with a "qt3support" flag Could someone test this ebuild with "qt3support" disabled (USE="-qt3support") ?
Created attachment 269145 [details] uim 1.6.1 ebuild with a "qt3support" flag I could emerge uim 1.6.1 successfully with this ebuild on an environment without the Qt3Support module. [ebuild R ] app-i18n/uim-1.6.1-r1 USE="X anthy gnome gtk libnotify ncurses nls qt4 ssl unicode -canna -curl -eb -emacs -ffi -kde -libedit -m17n-lib -prime -qt3support -skk -sqlite -test -xft" LINGUAS="ja -ko -zh_CN -zh_TW" 0 kB [?=>1] Total: 1 package (1 reinstall), Size of downloads: 0 kB Portage tree and overlays: [0] /usr/portage [1] /usr/local/portage [?] indicates that the source repository could not be determined
Someone please add qt3support flag to the ebuilds. It's uim-1.7.0 already and it still has qt4? ( x11-libs/qt-gui:4[qt3support] ) but econf is $(use_with qt4 qt4) \ $(use_with qt4 qt4-immodule) \ ... ${myconf} # $(use_enable qt4 qt4-qt3support) \ --enable-qt4-qt3support is permanently disabled but the qt3support dependency is always required. This needs to be fixed.
Fixed in 1.7.1-r1