Doing eautoreconf causes make install to fail (I think MKINSTALLDIRS doesn't exists anymore in autoconf>=1.8): make[1]: Leaving directory `/mnt/mac2/var/tmp/portage/scim-pinyin-0.5.91-r1/work/scim-pinyin-0.5.91/intl' Making install in po make[1]: Entering directory `/mnt/mac2/var/tmp/portage/scim-pinyin-0.5.91-r1/work/scim-pinyin-0.5.91/po' /bin/sh @MKINSTALLDIRS@ /mnt/mac2/var/tmp/portage/scim-pinyin-0.5.91-r1/image//usr/share /bin/sh: @MKINSTALLDIRS@: No such file or directory make[1]: *** [install-data-yes] Error 127 make[1]: Leaving directory `/mnt/mac2/var/tmp/portage/scim-pinyin-0.5.91-r1/work/scim-pinyin-0.5.91/po' make: *** [install-recursive] Error 1 !!! ERROR: app-i18n/scim-pinyin-0.5.91-r1 failed. Call stack: ebuild.sh, line 1543: Called dyn_install ebuild.sh, line 1017: Called src_install scim-pinyin-0.5.91-r1.ebuild, line 46: Called die !!! make install failed !!! If you need support, post the topmost build error, and the call stack if relevant. emerge --info: Portage 2.1.1_pre5-r3 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.18-rc4-mactel i686) ================================================================= System uname: 2.6.18-rc4-mactel i686 Genuine Intel(R) CPU T2400 @ 1.83GHz Gentoo Base System version 1.12.4 Last Sync: Wed, 23 Aug 2006 04:00:01 +0000 ccache version 2.4 [enabled] app-admin/eselect-compiler: 2.0.0_rc2-r1 dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r2 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.60 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium-m -Os -pipe -msse -msse2 -msse3" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-O2 -mcpu=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict userpriv usersandbox" GENTOO_MIRRORS="http://mirror.pacific.net.au/linux/Gentoo ftp://mirror.pacific.net.au/linux/Gentoo http://ftp.gentoo.or.kr/ http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/" LINGUAS="fr en zh" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /usr/portage/local/layman/portage-xgl /usr/portage/local/layman/java-migration-packages" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X a52 aac acpi alsa amr avi berkdb bitmap-fonts cairo crypt cups dbus dlloader dri elibc_glibc encode exif firefox gdbm gif glitz gnome gstreamer gtk gtk2 imlib input_devices_keyboard input_devices_mouse input_devices_synaptics jpeg kernel_linux kqemu libwww linguas_en linguas_fr linguas_zh mad madwifi matroska mikmod motif mp3 mpeg ncurses nls no-seamonkey nptl nptlonly nsplugin ogg opengl pam pcre pdf pdflib perl png python quicktime readline real samba sdl session speex spell sse sse2 ssl stream svg tcpd theora threads truetype truetype-fonts type1-fonts udev unicode usb userland_GNU v4l2 video_cards_fbdev video_cards_fglrx video_cards_vesa vorbis win32codecs wxwindows x264 xml xmms xorg xv xvid zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Patch for 0.5.91-r1 to fix the problem: --- scim-pinyin-0.5.91-r1.ebuild 2006-07-05 03:05:27.000000000 +0800 +++ scim-pinyin-0.5.91-r2.ebuild 2006-08-24 12:03:00.000000000 +0800 @@ -26,8 +26,12 @@ unpack ${A} cd "${S}" epatch "${FILESDIR}/${P}-fixconfigure.patch" + epatch "${FILESDIR}/${P}-fixnls.patch" epatch "${FILESDIR}/${PN}-qt335.patch" + if use nls; then + intltoolize -c -f + fi AT_NO_RECURSIVE=yes eautoreconf }
Created attachment 94987 [details, diff] scim-pinyin-0.5.91-fixnls.patch Add IT_PROG_INTLTOOL to configure.ac . This patch must be applied AFTER scim-pinyin-0.5.91-fixconfigure.patch .
another solution to this problem is like this: --- scim-pinyin-0.5.91-r1.ebuild.orig 2006-09-25 02:05:33.000000000 +0800 +++ scim-pinyin-0.5.91-r1.ebuild 2006-10-12 16:14:13.000000000 +0800 @@ -31,7 +31,7 @@ epatch "${FILESDIR}/${P}-fixconfigure.patch" epatch "${FILESDIR}/${PN}-qt335.patch" - AT_NO_RECURSIVE=yes eautoreconf + AT_M4DIR=m4 AT_NO_RECURSIVE=yes eautoreconf } However, I think the once and for all solution to this problem is #142787
Thanks, fixed now.
thank you Diego, appreciate your hard work.