When I try to emerge -u portage, it first try to upgrade sed to 4.1.4. However, I cannot get that finished Reproducible: Always Steps to Reproduce: 1.emerge -u portage (includes sed.4.1.4) 2. 3. Actual Results: ...... make[2]: Leaving directory `/var/tmp/portage/sed-4.1.4/work/sed-4.1.4/sed' Making all in doc make[2]: Entering directory `/var/tmp/portage/sed-4.1.4/work/sed-4.1.4/doc' builddir=`pwd` && cd . && \ /bin/sh /var/tmp/portage/sed-4.1.4/work/sed-4.1.4/config/missing --run makeinfo --html -- no-split -o $builddir/sed.html sed.texi sed.texi:4216: unmatched }. makeinfo: because of failure, removing output file `/var/tmp/portage/sed- 4.1.4/work/sed- 4.1.4/doc/sed.html'; If you need the file, please use --force option. make[2]: *** [sed.html] Error 1 make[2]: Leaving directory `/var/tmp/portage/sed-4.1.4/work/sed-4.1.4/doc' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/sed-4.1.4/work/sed-4.1.4' make: *** [all] Error 2 !!! ERROR: sys-apps/sed-4.1.4 failed. !!! Function src_compile, Line 50, Exitcode 2 !!! build failed Expected Results: emerge completion Portage 2.0.51-r15 (default-linux/x86/2004.0, gcc-3.3.4, glibc-2.3.4.20050125- r0, 2.6.9-gentoo-r13 i686) ================================================================= System uname: 2.6.9-gentoo-r13 i686 Pentium II (Klamath) Gentoo Base System version 1.6.9 Python: dev-lang/python-2.3.5,dev-lang/python-2.2.3-r1 [2.3.5 (#1, Feb 20 2005, 08:25:03)] dev-lang/python: 2.3.5, 2.2.3-r1 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.5, 1.8.5-r3, 1.7.9-r1, 1.6.3, 1.4_p6, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r2 sys-devel/libtool: 1.4.3-r4, 1.5.10-r4 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=i686 -funroll-loops -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share /config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=i686 -funroll-loops -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://www.zentek-international.com/mirrors/gentoo/ http://mirror.gentoo.gr.jp" LANG="en_US" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 acl apache2 apm berkdb bitmap-fonts cjk crypt emboss f77 fam fbcon foomaticdb fortran gdbm gpm ipv6 java libg++ libwww mad mikmod mmx mppe-mppc mysql ncurses nls nptl odbc pam perl python readline samba sdl slang sse ssl svga tcpd tiff type1-fonts unicode usb vchroot xml2 xmms zlib" Unset: ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
what version of sys-apps/texinfo do you have installed ?
here is the information required: sys-apps/texinfo-4.8 -build -debug +nls -static thanks Spanky
hrm, do any earlier versions of sed work ? does this work ? tar -zxf /usr/portage/distfiles/sed-4.1.4.tar.gz sed sed-4.1.4/doc makeinfo sed.texi
what a quick response! #sed sed-4.1.4/doc sed: -e expression #1, char 13: unterminated `s' command
err, i'm stupid ... i didnt mean 'sed sed-4.1.4/doc' i meant 'cd sed-4.1.4/doc'
It works!
could you do `emerge sed >& log` and post the log as an attachment please ?
Created attachment 52606 [details] emerge sed >& log it's in dos format note that line 231 & 232, there contains some traditional chinese messages 231:which means "unmatched }" 232:because of failure, removing output file..... sorry for that, I have set LANG=en_US, but that output doesn't change I am stupid, hope that doesn't affect your debugging, thanks
hmm, if you set your locale/lang to C, does sed emerge fine ?
It works! but I cannot get it done with LANG="C" done with the following: #LC_ALL="POSIX" emerge -u sed if you have time, could you give simply explanation? if not, just let it be. Thank you very much!^_^
it's also ok with #LC_ALL="C" emerge -u sed
Created attachment 53285 [details, diff] sed-lang.patch does this help at all ? just unpack the sed source, apply this patch, and then build it normally ... leave your LC_ALL setting as you normally would
yes, it works perfectly!
added patch to cvs then, thanks