2 problems, sandbox stops the install of an icon to the system (added make target to close that), and emake failed to correctly build the python module (just happened to see an error there - not sure if it's necessary or not, but it's safer to use make not emake). Very minor changes, attaching new ebuild (no version number change, and there may still be issues with the package - I've only just started testing it, but someone in #gentoo asked for it and I said I'd log a bugzilla report).
Created attachment 2472 [details] xchat-1.9.2.ebuild (updated)
I can verify the attached ebuild solves the sandbox violation...
everything works fine but there's still a bug: the link created in gnome-menu calls xchat but you've installed xchat as xchat-2.
Created attachment 2497 [details] xchat-1.9.2.ebuild (Updated) fixes program link issues, as long as KDEDIR is set. If KDEDIR isn't set you'll get a link in /share/.... when it should be ${KDEDIR}/share/.... I discovered this yesterday. As to why my KDEDIR wasn't set yesterday I have no idea - but it is today. I tried to make the first submission obsolete, but I apparently don't have the permissions - someone else will need to do that:-)
*** Bug 5202 has been marked as a duplicate of this bug. ***
new ebuild works fine. spider, can you put this into cvs and replace the old ebuild?
works for me too :)
*** Bug 5692 has been marked as a duplicate of this bug. ***
4 me it didn't :'-( 1.3a, ix86, gcc 3.1 ea. updates.. make[3]: Entering directory `/var/tmp/portage/xchat-1.9.2/work/xchat-1.9.2/plugins/python' gcc -DHAVE_CONFIG_H -I. -I. -I../.. -march=i686 -O3 -pipe -I/usr/include/orbit-2.0 -Wall -g -I/usr/include/python2.2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I.. -c python.c -o python.o make[3]: *** No rule to make target `python.so', needed by `all-am'. Stop. make[3]: *** Waiting for unfinished jobs.... gcc -DHAVE_CONFIG_H -I. -I. -I../.. -march=i686 -O3 -pipe -I/usr/include/orbit-2.0 -Wall -g -shared python.o -o python.so -L/usr/lib/python2.2/config -lpython2.2 -lpthread -lutil make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory `/var/tmp/portage/xchat-1.9.2/work/xchat-1.9.2/plugins/python' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/xchat-1.9.2/work/xchat-1.9.2/plugins' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/xchat-1.9.2/work/xchat-1.9.2' make: *** [all-recursive-am] Error 2 !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line -82, Exitcode 2 !!! (no error message) !!! emerge aborting on /usr/portage/net-irc/xchat/xchat-1.9.2.ebuild .
xchat-1.9.2 fails with this: *** Could not run GTK+ test program, checking why... *** The test program failed to compile or link. See the file config.log for the *** exact error that occured. This usually means GTK+ is incorrectly installed. Cannot find GTK! Not building GTK FrontEnd. relevant portion of config.log is follows: configure:4136: checking for GLIB - version >= 2.0.3 configure:4250: gcc -o conftest -g -O2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include conftest.c -lglib-2.0 1>&5 configure:4363: checking for pkg-config configure:4411: checking for GTK+ - version >= 2.0.3 configure:4521: gcc -o conftest -g -O2 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/inc lude -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include conftest.c -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 - lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 1>&5 /usr/lib/libpangoxft-1.0.so: undefined reference to `FT_Seek_Stream' /usr/lib/libpangoxft-1.0.so: undefined reference to `FT_Get_Short' /usr/lib/libpangoxft-1.0.so: undefined reference to `FT_Forget_Frame' /usr/lib/libpangoxft-1.0.so: undefined reference to `FT_Access_Frame' /usr/lib/libpangoxft-1.0.so: undefined reference to `FT_Get_Long' collect2: ld returned 1 exit status could this possibly be a problem with the gtk+ ebuild, or x11=libs/pango?
spoke too soon; rebuild of x11-libs/pango just finished, and now the gtk+ test passes and xchat builds as normal.
Created attachment 3504 [details] xchat-1.9.2.ebuild (update) The ebuild as it is changes the plugin names (perl & python) to .so-2 , so those can't be loaded. This ebuild adds symlinks so they can and will be loaded at startup.
this bug seems to be obsolete, since 1.9.4 is already in portage.