new ebuild for zhcon 0.2.6, this version has utf8 encoding support, start with --utf8 option Gentoo Base System version 1.12.4 Portage 2.1.1_pre5-r3 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.17-suspend2-r4 i686) ================================================================= System uname: 2.6.17-suspend2-r4 i686 Intel(R) Pentium(R) M processor 1600MHz Last Sync: Thu, 24 Aug 2006 03:30: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: 0.4.2-r1 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.16.1-r1, 2.17 sys-devel/gcc-config: 2.0.0_rc1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer" 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 /var/bind" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/init.d /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache confcache distlocks metadata-transfer parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS="http://mirror.gentoo.gr.jp" LANG="en_US.utf8" LDFLAGS="-Wl,-O1" LINGUAS="zh_CN" MAKEOPTS="-j2" 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 /home/zhangle/gentoo-voip/trunk /home/zhangle/gentoo-china-overlay /usr/portage/local/layman/portage-xgl" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X aac aalib acl acpi alsa apache2 arts avi bash-completion berkdb bitmap-fonts browserplugin bzip2 bzlib cairo caps cdparanoia cdrom chroot cjk cli codecs cpdflib crypt cscope css cups curl curlwrappers dbm dbus dga dio directfb divx4linux dlloader dri droproot dts dvd dvdr dvdread elibc_glibc emacs emboss encode exif expat fam fax faxonly fb fbcon ffmpeg firefox flac flatfile font-server foomaticdb fpx freetype ftp ftruncate gdbm gif gimp glibc-omitfp gmp gnome gnutls gphoto2 gpm gps graphviz gs gstreamer gtk gtk2 hal iconv id3 idea idn imagemagick imlib imlib2 immqt-bc inline input_devices_keyboard input_devices_mouse input_devices_synaptics isdnlog java joystick jp2 jpeg jpeg2k kde kernel_linux kqemu lcms libcaca libg++ libwww linguas_zh_CN live lzo lzw lzw-tiff mad matroska mbox md5sum mhash mikmod mime mimencode mjpeg mmap mmx mmxext mozdevelop moznocompose moznoirc moznomail mozsvg mozxmlterm mp3 mpeg mpeg4 mplayer mysql ncurses net network nls nptl nptlonly nsplugin ntlm offensive ogg ooo-kde opengl pam pcmcia pcre pda pdf pdfkit pdflib perl png pnp posix pppd python qt3 qt4 quicktime readline real reflection rtc samba sdl session skey sockets socks5 softmmu spell spl sse sse2 ssl svg symlink szip tcpd tetex theora threads tiff timidity truetype truetype-fonts type1 type1-fonts udev unicode usb userland_GNU v4l v4l2 vcd vhosts video_cards_fbdev video_cards_radeon visualization vnc vorbis win32codecs wma wmf wxwindows xanim xcomposite xinerama xinetd xml xml2 xmlrpc xmms xorg xosd xprint xslt xv xvid zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 94996 [details] /usr/local/portage/app-i18n/zhcon/zhcon-0.2.6.ebuild zhcon-0.2.6.ebuild
Created attachment 94999 [details] /usr/local/portage/app-i18n/zhcon/files/zhcon-0.2.5.make-fix.patch files/zhcon-0.2.5.make-fix.patch
Created attachment 95000 [details] /usr/local/portage/app-i18n/zhcon/files/zhcon-0.2.6.configure.in.patch files/zhcon-0.2.6.configure.in.patch
Created attachment 95001 [details] /usr/local/portage/app-i18n/zhcon/files/zhcon-0.2.6.sysconfdir.patch files/zhcon-0.2.6.sysconfdir.patch
Created attachment 100218 [details] zhcon-0.2.6.ebuild
No need to depend on virtual/libc after all, and inheriting autotools also obsoletes the dependency on autoconf. Please also add WANT_AUTOCONF="latest" WANT_AUTOMAKE="latest" to the ebuild so that the latest versions (2.60/1.10) of autoconf/automake are used. A part that, the ebuild looks fine and I'll be updating the package :)
Actually, it wanted automake 1.9. I've fixed the little problems now that I had time to commit this, thanks Zhang Le for taking care of this :) Mark as verified if there aren't problems with this, if there are reopen.
Created attachment 100343 [details] new 0.2.6 ebuild if MAKEOPTS=-j2, make install will fail like this: chmod 4755 /var/tmp/portage/zhcon-0.2.6/image//usr/bin/zhcon chmod: cannot access `/var/tmp/portage/zhcon-0.2.6/image//usr/bin/zhcon': No such file or directory make[3]: *** [install-exec-local] Error 1 make[3]: *** Waiting for unfinished jobs.... /bin/install -c 'zhcon' '/var/tmp/portage/zhcon-0.2.6/image//usr/bin/zhcon' make[3]: Leaving directory `/var/tmp/portage/zhcon-0.2.6/work/zhcon-0.2.5/src' make[2]: *** [install-am] Error 2 make[2]: Leaving directory `/var/tmp/portage/zhcon-0.2.6/work/zhcon-0.2.5/src' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/zhcon-0.2.6/work/zhcon-0.2.5/src' make: *** [install-recursive] Error 1 Using "emake -j1 install" could solve the problem. I have once wrote about this. http://zhllg.blogspot.com/2006/08/emake-j1.html
if MAKEOPTS="-j2", install will fail
Committed, thanks.