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
Created attachment 191507 [details] Install log Added install log. Also I believe this bug should be assigned to the CJK team.
emerge --info please.
Created attachment 191517 [details] paludis --info app-i18n/uim
A minor question: did you add eautoreconf call, when you were testing that patch ? Cause without that, it was probably ignored.
tried that; didn't work.
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 ?
Created attachment 191841 [details] output log of uim with applet patch
Created attachment 191842 [details] messages log of uim with applet patch
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
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.
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
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.
uim-1.5.5-r1 in cvs. could you test?
Thank you this works for me :D