Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 94928 - app-doc/doxygen-1.4.2 fails to install due to improper sed -e expression
Summary: app-doc/doxygen-1.4.2 fails to install due to improper sed -e expression
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor
Assignee: Development Tools Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-03 07:30 UTC by clemenswaechter
Modified: 2005-10-19 19:24 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description clemenswaechter 2005-06-03 07:30:29 UTC
I am using the LC_ALL=ja_JP setting, which poduces dates in japanese format.  
But this seems to be not fully supported by the system. doxygen's install  
proceducre tried to replace the date to the current date using sed which  
misunderstood the japanese formatted date. The bug can be worked around  
by emerging doxygen by using  
LC_ALL=en_US emerge -u doxygen  

Reproducible: Always
Steps to Reproduce:
1. LC_ALL=ja_JP emerge doxygen 
2. 
3. 
 
Actual Results:  
/usr/bin/install -d /var/tmp/portage/doxygen-1.4.2/image//usr/bin 
/usr/bin/install -m 755 
bin/doxygen    /var/tmp/portage/doxygen-1.4.2/image//usr/bin 
/usr/bin/install -m 755 
bin/doxytag    /var/tmp/portage/doxygen-1.4.2/image//usr/bin 
/usr/bin/install -d /var/tmp/portage/doxygen-1.4.2/image//usr/man/man1 
cat doc/doxygen.1    | sed -e "s/DATE/\6
Comment 1 clemenswaechter 2005-06-03 07:30:29 UTC
I am using the LC_ALL=ja_JP setting, which poduces dates in japanese format.  
But this seems to be not fully supported by the system. doxygen's install  
proceducre tried to replace the date to the current date using sed which  
misunderstood the japanese formatted date. The bug can be worked around  
by emerging doxygen by using  
LC_ALL=en_US emerge -u doxygen  

Reproducible: Always
Steps to Reproduce:
1. LC_ALL=ja_JP emerge doxygen 
2. 
3. 
 
Actual Results:  
/usr/bin/install -d /var/tmp/portage/doxygen-1.4.2/image//usr/bin 
/usr/bin/install -m 755 
bin/doxygen    /var/tmp/portage/doxygen-1.4.2/image//usr/bin 
/usr/bin/install -m 755 
bin/doxytag    /var/tmp/portage/doxygen-1.4.2/image//usr/bin 
/usr/bin/install -d /var/tmp/portage/doxygen-1.4.2/image//usr/man/man1 
cat doc/doxygen.1    | sed -e "s/DATE/\6·î 2005/g" -e "s/VERSION/1.4.2/g" 
> /var/tmp/portage/doxygen-1.4.2/image//usr/man/man1/doxygen.1 ; \ 
cat doc/doxytag.1    | sed -e "s/DATE/\6·î 2005/g" -e "s/VERSION/1.4.2/g" 
> /var/tmp/portage/doxygen-1.4.2/image//usr/man/man1/doxytag.1 ; \ 
cat doc/doxywizard.1 | sed -e "s/DATE/\6·î 2005/g" -e "s/VERSION/1.4.2/g" 
> /var/tmp/portage/doxygen-1.4.2/image//usr/man/man1/doxywizard.1 ; 
sed: -e expression #1, char 18: invalid reference \7 on `s' command's RHS 
sed: -e expression #1, char 18: invalid reference \7 on `s' command's RHS 
sed: -e expression #1, char 18: invalid reference \7 on `s' command's RHS 
make: *** [install] Error 1 
 

Expected Results:  
sed should have replaced the dates using the japanese time format. 

Portage 2.0.51.19 (default-linux/x86/2005.0/2.4, gcc-3.3.5-20050130, 
glibc-2.3.4.20041102-r1, 2.4.30 i686) 
================================================================= 
System uname: 2.4.30 i686 AMD Athlon(TM) XP 2600+ 
Gentoo Base System version 1.4.16 
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Apr 27 2005, 22:35:03)] 
ccache version 2.3 [enabled] 
dev-lang/python:     2.3.5 
sys-apps/sandbox:    [Not Present] 
sys-devel/autoconf:  2.59-r6, 2.13 
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5 
sys-devel/binutils:  2.15.92.0.2-r10 
sys-devel/libtool:   1.5.16 
virtual/os-headers:  2.4.19-r1, 2.4.22-r1 
ACCEPT_KEYWORDS="x86" 
AUTOCLEAN="yes" 
CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -fstrength-reduce" 
CHOST="i686-pc-linux-gnu" 
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -fstrength-reduce" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict" 
GENTOO_MIRRORS="ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ 
http://gentoo.inode.at/" 
LANG="en_US" 
LC_ALL="ja_JP" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="x86 3dnow X aalib acpi apm avi berkdb bitmap-fonts bonobo canna cdr cjk 
crypt cups curl doc dvd emboss encode esd fam flac foomaticdb fortran gd gdbm 
gif gnome gpm gstreamer gtk gtk2 gtkhtml imagemagick imlib ipv6 jack java jpeg 
junit kde ldap libg++ libwww mad maildir mikmod mmx motif mozilla mp3 mpeg nas 
ncurses nls ogg oggvorbis opengl oss pam pdflib perl png python qt readline sdl 
slang softmmu speex spell sse ssl svga tcltk tcpd tiff truetype truetype-fonts 
type1-fonts unicode usb vorbis xine xml xml2 xmms xv zlib userland_GNU 
kernel_linux elibc_glibc" 
Unset:  ASFLAGS, CBUILD, CTARGET, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 2 Steve Arnold archtester gentoo-dev 2005-06-12 16:09:11 UTC
Try the new -r1 ebuild; sorry I missed this one until now.
Comment 3 Eiichirou Shimazu 2005-06-17 21:02:59 UTC
I have used LANG=ja_JP.eucJP, and I have the same problem at doxygen-1.4.2.

I have tried emerging doxygen-1.4.3-r1, It seems no problem.
Comment 4 clemenswaechter 2005-06-18 11:57:31 UTC
Ok, I've tested doxygen-1.4.3-r1 right now and the bug seems to 
be fixed. 
Comment 5 Steve Arnold archtester gentoo-dev 2005-10-19 19:24:02 UTC
Stale but fixed...