Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 270112 - app-i18n/uim fails to build with gnome USE flag: error: gnome.h: No such file or directory
Summary: app-i18n/uim fails to build with gnome USE flag: error: gnome.h: No such file...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: CJK Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-17 01:44 UTC by Kyle
Modified: 2009-05-24 17:56 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Install log (1242524421-install-app-i18n_uim-1.5.5:0::gentoo.out,175.14 KB, text/plain)
2009-05-17 01:46 UTC, Kyle
Details
paludis --info app-i18n/uim (uim.log,28.03 KB, text/plain)
2009-05-17 07:34 UTC, Kyle
Details
output log of uim with applet patch (1242764555-install-app-i18n_uim-1.5.5:0::LOCAL.out,174.54 KB, text/plain)
2009-05-19 20:25 UTC, Kyle
Details
messages log of uim with applet patch (1242764555-install-app-i18n_uim-1.5.5:0::LOCAL.messages,157 bytes, text/plain)
2009-05-19 20:25 UTC, Kyle
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kyle 2009-05-17 01:44:53 UTC
When trying to build uim-1.5.5 with the gnome USE flag, I get this error: 

toolbar-applet-gnome.c:41:19: error: gnome.h: No such file or directory

It compiles successfully when I disable the gnome use flag. The configure script isn't picking up the libgnomeui dependency, so to work around this I manually unpack the tarball, run the configure script, and edit helper/Makefile by adding -lgnomeui-2 to the end of uim_toolbar_applet_LDADD and -I/usr/include/libgnomeui-2.0 to the end of uim_toolbar_applet_CFLAGS. I found a patch for Fedora that patches configure.ac to fix this (http://cvs.fedoraproject.org/viewvc//devel/uim/uim-1.5.5-applet.patch?view=markup), but it did not work for me (same error as above).

Reproducible: Always

Steps to Reproduce:
1. emerge uim

Actual Results:  
Compile fails because it can't find gnome.h (which is provided by libgnomeui) because /usr/include/libgnomeui-2.0 isn't in the include path

Expected Results:  
Installs successfully
Comment 1 Kyle 2009-05-17 01:46:27 UTC
Created attachment 191507 [details]
Install log

Added install log.

Also I believe this bug should be assigned to the CJK team.
Comment 2 Sebastian Luther (few) 2009-05-17 06:31:56 UTC
emerge --info please.
Comment 3 Kyle 2009-05-17 07:34:44 UTC
Created attachment 191517 [details]
paludis --info app-i18n/uim
Comment 4 Rafał Mużyło 2009-05-17 16:48:01 UTC
A minor question: did you add eautoreconf call,
when you were testing that patch ?
Cause without that, it was probably ignored.
Comment 5 Kyle 2009-05-17 20:19:00 UTC
tried that; didn't work.
Comment 6 Rafał Mużyło 2009-05-18 02:25:50 UTC
Just what does 'pkg-config libgnomeui-2.0 --cflags' print for you ?
Could you attach build.log and config.log of when you're using that patch
with eautoreconf ?
Comment 7 Kyle 2009-05-19 20:25:01 UTC
Created attachment 191841 [details]
output log of uim with applet patch
Comment 8 Kyle 2009-05-19 20:25:38 UTC
Created attachment 191842 [details]
messages log of uim with applet patch
Comment 9 Kyle 2009-05-19 20:27:06 UTC
pkg-config libgnomeui-2.0 --cflags

-DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-keyring-1 -I/usr/include/libgnome-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/libxml2 -I/usr/include/pango-1.0 -I/usr/include/gail-1.0 -I/usr/include/freetype2 -I/usr/include/atk-1.0 -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12
Comment 10 Rafał Mużyło 2009-05-20 02:14:56 UTC
Aside of the fact, that I fail to see the purpose of comment 8,
for me 'line 4356: eautoreconf: command not found"
does not look like 'Running eautoreconf in...'.
Did somebody forgot to 'inherit autotools' ?

But it's good that you brought the patch here.
Comment 11 Kyle 2009-05-20 02:44:17 UTC
inheriting autotools causes automake to be called, which failed. Here's the log of automake's error:

***** automake *****
***** PWD: /var/tmp/paludis/app-i18n-uim-1.5.5/work/uim-1.5.5/sigscheme
***** automake --add-missing --copy --foreign

doc/Makefile.am:14: USE_LIBSSCM does not appear in AM_CONDITIONAL
lib/Makefile.am:2: USE_SRFI0 does not appear in AM_CONDITIONAL
lib/Makefile.am:5: USE_SRFI1 does not appear in AM_CONDITIONAL
lib/Makefile.am:8: USE_SRFI9 does not appear in AM_CONDITIONAL
lib/Makefile.am:11: USE_SRFI43 does not appear in AM_CONDITIONAL
lib/Makefile.am:14: USE_SRFI55 does not appear in AM_CONDITIONAL
lib/Makefile.am:17: USE_SRFI69 does not appear in AM_CONDITIONAL
lib/Makefile.am:20: USE_SRFI95 does not appear in AM_CONDITIONAL
lib/Makefile.am:29: pkgdatadir was already defined in condition TRUE, which includes condition WITH_MASTER_PKG ...
/usr/share/automake-1.10/am/header-vars.am: ... `pkgdatadir' previously defined here
src/Makefile.am:5: USE_LIBSSCM does not appear in AM_CONDITIONAL
src/Makefile.am:226: USE_LIBSSCM does not appear in AM_CONDITIONAL
src/Makefile.am:236: USE_LIBSSCM does not appear in AM_CONDITIONAL
src/Makefile.am:237: USE_STORAGE_COMPACT does not appear in AM_CONDITIONAL
src/Makefile.am:243: USE_CONTINUATION does not appear in AM_CONDITIONAL
src/Makefile.am:246: USE_PORT does not appear in AM_CONDITIONAL
src/Makefile.am:251: USE_MULTIBYTE_CHAR does not appear in AM_CONDITIONAL
src/Makefile.am:252: USE_LIBSSCM does not appear in AM_CONDITIONAL
src/Makefile.am:258: USE_LIBSSCM does not appear in AM_CONDITIONAL
src/Makefile.am:264: USE_FORMAT does not appear in AM_CONDITIONAL
src/Makefile.am:267: USE_QUASIQUOTE does not appear in AM_CONDITIONAL
src/Makefile.am:271: USE_HYGIENIC_MACRO does not appear in AM_CONDITIONAL
src/Makefile.am:274: USE_LEGACY_MACRO does not appear in AM_CONDITIONAL
src/Makefile.am:277: USE_PROMISE does not appear in AM_CONDITIONAL
src/Makefile.am:280: USE_NUMBER does not appear in AM_CONDITIONAL
src/Makefile.am:283: USE_NUMBER_IO does not appear in AM_CONDITIONAL
src/Makefile.am:286: USE_CHAR does not appear in AM_CONDITIONAL
src/Makefile.am:289: USE_STRING does not appear in AM_CONDITIONAL
src/Makefile.am:292: USE_STRING_PROCEDURE does not appear in AM_CONDITIONAL
src/Makefile.am:295: USE_VECTOR does not appear in AM_CONDITIONAL
src/Makefile.am:298: USE_PORT does not appear in AM_CONDITIONAL
src/Makefile.am:301: USE_READER does not appear in AM_CONDITIONAL
src/Makefile.am:304: USE_WRITER does not appear in AM_CONDITIONAL
src/Makefile.am:307: USE_LOAD does not appear in AM_CONDITIONAL
src/Makefile.am:310: USE_DEEP_CADRS does not appear in AM_CONDITIONAL
src/Makefile.am:315: USE_SSCM_EXTENSIONS does not appear in AM_CONDITIONAL
src/Makefile.am:318: COMPAT_SIOD does not appear in AM_CONDITIONAL
src/Makefile.am:321: USE_SRFI1 does not appear in AM_CONDITIONAL
src/Makefile.am:324: USE_SRFI2 does not appear in AM_CONDITIONAL
src/Makefile.am:327: USE_SRFI6 does not appear in AM_CONDITIONAL
src/Makefile.am:330: USE_SRFI8 does not appear in AM_CONDITIONAL
src/Makefile.am:333: USE_SRFI9 does not appear in AM_CONDITIONAL
src/Makefile.am:336: USE_SRFI23 does not appear in AM_CONDITIONAL
src/Makefile.am:339: USE_SRFI28 does not appear in AM_CONDITIONAL
src/Makefile.am:342: USE_SRFI34 does not appear in AM_CONDITIONAL
src/Makefile.am:345: USE_SRFI38 does not appear in AM_CONDITIONAL
src/Makefile.am:348: USE_SRFI43 does not appear in AM_CONDITIONAL
src/Makefile.am:351: USE_SRFI48 does not appear in AM_CONDITIONAL
src/Makefile.am:354: USE_SRFI55 does not appear in AM_CONDITIONAL
src/Makefile.am:357: USE_SRFI60 does not appear in AM_CONDITIONAL
src/Makefile.am:365: USE_LIBSSCM does not appear in AM_CONDITIONAL
src/Makefile.am:376: USE_SHELL does not appear in AM_CONDITIONAL
test-c/Makefile.am:33: USE_LIBSSCM does not appear in AM_CONDITIONAL
test/Makefile.am:73: USE_UTF8 does not appear in AM_CONDITIONAL
test/Makefile.am:80: USE_EUCCN does not appear in AM_CONDITIONAL
test/Makefile.am:87: USE_EUCJP does not appear in AM_CONDITIONAL
test/Makefile.am:94: USE_SJIS does not appear in AM_CONDITIONAL
test/Makefile.am:126: USE_SHELL does not appear in AM_CONDITIONAL
Makefile.am:27: USE_LIBSSCM does not appear in AM_CONDITIONAL
Comment 12 Rafał Mużyło 2009-05-20 11:14:25 UTC
Perhaps non-recursive autoreconf will be necessary,
but first see, is there are any logs of warnings
in previous stages in that dir (that is in aclocal
and autoconf).
See also if that subdir has a subdir with additional m4 macros
- perhaps upstream failed to note that in Makefile.am,
so eautoreconf doesn't know it should be looking for it.
Comment 13 MATSUU Takuto (RETIRED) gentoo-dev 2009-05-24 16:22:22 UTC
uim-1.5.5-r1 in cvs. could you test?
Comment 14 Kyle 2009-05-24 17:56:50 UTC
Thank you this works for me :D