Bug 150905 - app-i18n/scim-1.4.5 fails to build gtk components
Bug#: 150905 Product:  Gentoo Linux Version: 2006.1 Platform: x86
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: cjk@gentoo.org Reported By: pedratan@gmail.com
Component: Ebuilds
URL: 
Summary: app-i18n/scim-1.4.5 fails to build gtk components
Keywords:  
Status Whiteboard: 
Opened: 2006-10-11 09:07 0000
Description:   Opened: 2006-10-11 09:07 0000
For some reason, when activating the useflag "gtk" scim does not build the gtk
components. Even if I can see that the command line switches are passed to the
configure script.

By this I mean that this is the command issued by emerge:

----------------------------------
* econf: updating scim-1.4.5/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man
--infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc
--localstatedir=/var/lib --without-doxygen --enable-panel-gtk --enable-setup-ui
--enable-gtk2-immodule --build=i686-pc-linux-gnu
------------------------------

But this is the sumary that  configure gives at the end:

----------------------
Build options:
  Version                  1.4.5
  Install prefix           /usr
  Build shared libs        yes
  Build static libs        yes
  Build tests/*            no
  Enable debug             no
  Enable ld version script no

Module options:
  Simple config module     yes
  Socket config module     yes

  X11 FrontEnd module      yes
  Socket FrontEnd module   yes

  RawCode IMEngine module  yes
  Socket IMEngine module   yes

  SCTC Filter module       yes

  GTK2 Utility Library     no
  X11 Utility Library      yes

  GTK2 IMModule            no

  GUI Setup Utility        no

  GTK2 Panel GUI           no

  Enable TrayIcon          yes

-----------------

This can be fixed by comenting out the code for processing the use flags, that
is the same as issuing the configure command without --enable nor --disable.

Tried to configure by hand with the same results (if I enable the flags, they
are not added)

Any idea why this behavior?

------- Comment #1 From KIMURA Masaru / hiyuh 2006-10-11 09:44:10 0000 -------
Please file your "config.log" and "emerge --info" as text/plain.

------- Comment #2 From Pedro Morales 2006-10-11 22:44:05 0000 -------
Created an attachment (id=99405) [details]
output of emerge --info

gtk qt3 and kde are not in my make.conf. I added those on the command line like
this:

env USE="gtk qt3 kde" emerge scim

------- Comment #3 From Pedro Morales 2006-10-11 22:48:25 0000 -------
Created an attachment (id=99407) [details]
config.log file

config.log filed obtained with:
env USE=gtk kde qt3" ebuild scim-1.4.5.ebuild compile

(did not want to overwrite my working application)

------- Comment #4 From MATSUU Takuto 2006-10-12 08:38:30 0000 -------
fixed in cvs. thanks.