Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 83984 - emerge sed-4.1.4 failed, error: "unmatched }" in sed.texi, details as follow
Summary: emerge sed-4.1.4 failed, error: "unmatched }" in sed.texi, details as follow
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High blocker (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-03 10:55 UTC by Stanley
Modified: 2005-03-13 00:47 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge sed >& log (log,12.74 KB, text/plain)
2005-03-03 19:12 UTC, Stanley
Details
sed-lang.patch (sed-lang.patch,469 bytes, patch)
2005-03-12 13:32 UTC, SpanKY
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Stanley 2005-03-03 10:55:33 UTC
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
Comment 1 SpanKY gentoo-dev 2005-03-03 15:39:04 UTC
what version of sys-apps/texinfo do you have installed ?
Comment 2 Stanley 2005-03-03 18:38:50 UTC
here is the information required:
sys-apps/texinfo-4.8  -build -debug +nls -static
thanks Spanky
Comment 3 SpanKY gentoo-dev 2005-03-03 18:42:49 UTC
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
Comment 4 Stanley 2005-03-03 18:47:50 UTC
what a quick response!

#sed sed-4.1.4/doc
sed: -e expression #1, char 13: unterminated `s' command
Comment 5 SpanKY gentoo-dev 2005-03-03 18:49:31 UTC
err, i'm stupid ... i didnt mean 'sed sed-4.1.4/doc' i meant 'cd sed-4.1.4/doc'
Comment 6 Stanley 2005-03-03 18:55:54 UTC
It works!
Comment 7 SpanKY gentoo-dev 2005-03-03 18:59:04 UTC
could you do `emerge sed >& log` and post the log as an attachment please ?
Comment 8 Stanley 2005-03-03 19:12:21 UTC
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
Comment 9 SpanKY gentoo-dev 2005-03-03 19:46:12 UTC
hmm, if you set your locale/lang to C, does sed emerge fine ?
Comment 10 Stanley 2005-03-04 01:29:05 UTC
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!^_^
Comment 11 Stanley 2005-03-04 02:07:31 UTC
it's also ok with 
#LC_ALL="C" emerge -u sed
Comment 12 SpanKY gentoo-dev 2005-03-12 13:32:45 UTC
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
Comment 13 Stanley 2005-03-13 00:39:03 UTC
yes, it works perfectly!
Comment 14 SpanKY gentoo-dev 2005-03-13 00:47:34 UTC
added patch to cvs then, thanks