gtk-sharp keeps failing to compile, this is the error i keep getting: # emerge gtk-sharp Calculating dependencies ...done! >>> emerge (1 of 1) dev-dotnet/gtk-sharp-1.0.8 to / >>> md5 files ;-) gtk-sharp-1.9.3-r1.ebuild >>> md5 files ;-) gtk-sharp-1.9.2.ebuild >>> md5 files ;-) gtk-sharp-1.0.6.ebuild >>> md5 files ;-) gtk-sharp-1.0.8.ebuild >>> md5 files ;-) gtk-sharp-1.9.3.1.ebuild >>> md5 files ;-) gtk-sharp-1.9.3.ebuild >>> md5 files ;-) files/digest-gtk-sharp-1.9.3-r1 >>> md5 files ;-) files/digest-gtk-sharp-1.9.3.1 >>> md5 files ;-) files/digest-gtk-sharp-1.0.6 >>> md5 files ;-) files/digest-gtk-sharp-1.0.8 >>> md5 files ;-) files/digest-gtk-sharp-1.9.2 >>> md5 files ;-) files/digest-gtk-sharp-1.9.3 >>> md5 src_uri ;-) gtk-sharp-1.0.8.tar.gz >>> md5 src_uri ;-) gtk-sharp-1.0.8-configurable.diff.gz >>> Unpacking source... >>> Unpacking gtk-sharp-1.0.8.tar.gz to /home/.tmp/portage/gtk-sharp-1.0.8/work >>> Unpacking gtk-sharp-1.0.8-configurable.diff.gz to /home/.tmp/portage/gtk-sharp-1.0.8/work * Applying gtk-sharp-1.0.8-configurable.diff ... [ ok ] /usr/share/aclocal/pth.m4:43: warning: underquoted definition of _AC_PTH_ERROR run info '(automake)Extending aclocal' or see http://sources.redhat.com/automake/automake.html#Extending-aclocal /usr/share/aclocal/pth.m4:54: warning: underquoted definition of _AC_PTH_VERBOSE /usr/share/aclocal/pth.m4:60: warning: underquoted definition of AC_CHECK_PTH /usr/share/aclocal/oaf.m4:4: warning: underquoted definition of AM_PATH_OAF /usr/share/aclocal/movtar.m4:14: warning: underquoted definition of MOVTAR_TEST_VERSION /usr/share/aclocal/movtar.m4:59: warning: underquoted definition of AM_PATH_MOVTAR /usr/share/aclocal/linc.m4:1: warning: underquoted definition of AM_PATH_LINC /usr/share/aclocal/libmikmod.m4:11: warning: underquoted definition of AM_PATH_LIBMIKMOD /usr/share/aclocal/libguppi.m4:11: warning: underquoted definition of AM_PATH_LIBGUPPI /usr/share/aclocal/libglade.m4:7: warning: underquoted definition of AM_PATH_LIBGLADE /usr/share/aclocal/libfame.m4:6: warning: underquoted definition of AM_PATH_LIBFAME /usr/share/aclocal/libart.m4:11: warning: underquoted definition of AM_PATH_LIBART /usr/share/aclocal/lf_x11.m4:33: warning: underquoted definition of LF_PATH_XLIB /usr/share/aclocal/lf_warnings.m4:30: warning: underquoted definition of LF_CHECK_CXX_FLAG /usr/share/aclocal/lf_warnings.m4:54: warning: underquoted definition of LF_CHECK_CC_FLAG /usr/share/aclocal/lf_warnings.m4:78: warning: underquoted definition of LF_CHECK_F77_FLAG /usr/share/aclocal/lf_warnings.m4:105: warning: underquoted definition of LF_SET_WARNINGS /usr/share/aclocal/lf_txtc.m4:22: warning: underquoted definition of LF_PROG_TXTC /usr/share/aclocal/lf_texidoc.m4:22: warning: underquoted definition of LF_USE_TEXIDOC /usr/share/aclocal/lf_nm.m4:32: warning: underquoted definition of LF_PROG_NM /usr/share/aclocal/lf_local.m4:33: warning: underquoted definition of LF_LINK_HEADERS /usr/share/aclocal/lf_local.m4:85: warning: underquoted definition of LF_SET_INCLUDES /usr/share/aclocal/lf_local.m4:123: warning: underquoted definition of LF_LINK_HEADERS_FUCK /usr/share/aclocal/lf_lisp.m4:22: warning: underquoted definition of LF_PATH_LISPDIR /usr/share/aclocal/lf_host_type.m4:32: warning: underquoted definition of LF_HOST_TYPE /usr/share/aclocal/lf_fortran.m4:63: warning: underquoted definition of LF_PROG_F77_PREFER_NATIVE_VERSION /usr/share/aclocal/lf_fortran.m4:72: warning: underquoted definition of LF_PROG_F77_PREFER_F2C_COMPATIBILITY /usr/share/aclocal/lf_fortran.m4:87: warning: underquoted definition of LF_PROG_F77 /usr/share/aclocal/lf_fortran.m4:263: warning: underquoted definition of LF_PROG_F2C /usr/share/aclocal/lf_fortran.m4:375: warning: underquoted definition of LF_PROG_F77_IS_G77 /usr/share/aclocal/lf_fortran.m4:392: warning: underquoted definition of LF_CHECK_F77_UPPERCASE_NAMES /usr/share/aclocal/lf_fortran.m4:412: warning: underquoted definition of LF_CHECK_F77_APPEND_UNDERSCORE /usr/share/aclocal/lf_fortran.m4:444: warning: underquoted definition of LF_F77_IS_F2C_COMPATIBLE /usr/share/aclocal/lf_fortran.m4:507: warning: underquoted definition of LF_PATH_F77_LIBS /usr/share/aclocal/lf_cxx.m4:32: warning: underquoted definition of LF_CONFIGURE_CXX /usr/share/aclocal/lf_cxx.m4:55: warning: underquoted definition of LF_CPP_PORTABILITY /usr/share/aclocal/lf_config.m4:66: warning: underquoted definition of LF_INSTALLS_LIBRARY /usr/share/aclocal/lf_config.m4:80: warning: underquoted definition of LF_CONFIG_SCRIPT /usr/share/aclocal/lf_config.m4:111: warning: underquoted definition of LF_NEED_LIBRARY_PACKAGE /usr/share/aclocal/lf_config.m4:196: warning: underquoted definition of LF_QUERY_LIBRARY_SPECIFIC /usr/share/aclocal/lf_config.m4:209: warning: underquoted definition of LF_QUERY_LIBRARY /usr/share/aclocal/lf_cc.m4:33: warning: underquoted definition of LF_CONFIGURE_CC /usr/share/aclocal/lf_bash.m4:24: warning: underquoted definition of LF_PROG_BASH /usr/share/aclocal/lf_assert.m4:24: warning: underquoted definition of AC_HEADER_ASSERT /usr/share/aclocal/imlib.m4:9: warning: underquoted definition of AM_PATH_IMLIB /usr/share/aclocal/imlib.m4:167: warning: underquoted definition of AM_PATH_GDK_IMLIB /usr/share/aclocal/gconf-1.m4:4: warning: underquoted definition of AM_PATH_GCONF /usr/share/aclocal/gconf-1.m4:71: warning: underquoted definition of AM_GCONF_SOURCE /usr/share/aclocal/g-wrap.m4:7: warning: underquoted definition of AC_GWRAP_CHECK_GUILE /usr/share/aclocal/g-wrap.m4:23: warning: underquoted definition of AM_PATH_GWRAP /usr/share/aclocal/audiofile.m4:12: warning: underquoted definition of AM_PATH_AUDIOFILE configure.in:50: error: possibly undefined macro: PKG_PATH If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. !!! ERROR: dev-dotnet/gtk-sharp-1.0.8 failed. !!! Function src_unpack, Line 37, Exitcode 1 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message Reproducible: Always Steps to Reproduce: 1.emerge gtk-sharp Actual Results: see details # emerge info Portage 2.0.51.21-r1 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.5-r0, 2.6.10-gentoo-r7 i686) ================================================================= System uname: 2.6.10-gentoo-r7 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 2.00GHz Gentoo Base System version 1.6.11 dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.8 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r8 sys-devel/libtool: 1.5.16 virtual/os-headers: 2.6.11 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer" DISTDIR="/home/.tmp/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/home/.tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 X aalib alsa apm arts avi berkdb bitmap-fonts bonobo cdr crypt cups curl dba divx4linux dvd emboss encode esd fam flac foomaticdb fortran gd gdbm gif gnome gpm gstreamer gtk gtk2 gtkhtml guile imagemagick imlib ipv6 jack java jpeg junit kde libg++ libwww mad mikmod motif mp3 mpeg ncurses nls ogg oggvorbis opengl pam pdflib perl png python qt quicktime readline samba sdl slang spell ssl svga tcltk tcpd tiff truetype truetype-fonts type1-fonts vorbis xine xml xml2 xmms xv xvid zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
please take a look at bug #92503, and try the modified eclass...
Created attachment 59013 [details, diff] gtk-sharp-1.0.8.ebuild patch Can you please try applying this patch to the gtk-sharp-1.0.8 ebuild, ebuild gtk-sharp-1.0.8.ebuild digest, and try emerging it again? Thanks.
Ok, i've gotten external confirmation that this patch fixes it. Please emerge sync in and hour and try again. Marking FIXED, please feel free to re-open if you are still having problems after getting the commited changes. Thanks.