Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 41857 - groff emerge fails
Summary: groff emerge fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-16 22:05 UTC by Matt Dew
Modified: 2004-09-13 16:07 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 Matt Dew 2004-02-16 22:05:20 UTC
I do a 'emerge groff' and I get this error.  
Very reproducible on this machine.  Every time I do an 'emerge groff' it fails.  



(wcharwidth=`expr 240 / 10 \* 2` ; \
  spacewidth=`expr 240 / 10` ; \
  sed -e "s/^spacewidth [0-9][0-9]*$/spacewidth $spacewidth/" \
      -e "s/^u\\([0-9A-F]*\\)..u\\([0-9A-F]*\\) [0-9][0-9]*/u\\1..u\\2 $wcharwidth/" \
  /var/tmp/portage/groff-1.18.1-r4/work/groff-1.18.1/font/devutf8/M.proto > M)
Making G
Making DESC
make[2]: Leaving directory `/var/tmp/portage/groff-1.18.1-r4/work/groff-1.18.1/font/devutf8'
make[2]: Entering directory `/var/tmp/portage/groff-1.18.1-r4/work/groff-1.18.1/font/devnippon'
Making R
Making I
Making B
Making BI
Making M
Making G
Making DESC
make[2]: Leaving directory `/var/tmp/portage/groff-1.18.1-r4/work/groff-1.18.1/font/devnippon'
make[1]: Nothing to be done for `font/devcp1047'.
make[2]: Entering directory `/var/tmp/portage/groff-1.18.1-r4/work/groff-1.18.1/man'
Making groff_font.n from groff_font.man
Making groff_out.n from groff_out.man
Making groff_tmac.n from groff_tmac.man
Making ditroff.n from ditroff.man
Making groff_char.n from groff_char.man
Making groff_diff.n from groff_diff.man
Making groff.n from groff.man
Making roff.n from roff.man
sed: -e expression #25, char 16: Unknown option to `s'
make[2]: *** [roff.n] Error 1
make[2]: Leaving directory `/var/tmp/portage/groff-1.18.1-r4/work/groff-1.18.1/man'
make[1]: *** [man] Error 2
make[1]: Leaving directory `/var/tmp/portage/groff-1.18.1-r4/work/groff-1.18.1'
make: *** [all] Error 2

!!! ERROR: sys-apps/groff-1.18.1-r4 failed.
!!! Function src_compile, Line 85, Exitcode 2
!!! (no error message)
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2004-02-18 03:27:48 UTC
which version of sed ?
Comment 2 Matt Dew 2004-02-19 21:38:32 UTC
bash-2.05b# sed --version
GNU sed version 4.0.7
Comment 3 Martin Holzer (RETIRED) gentoo-dev 2004-02-24 02:49:09 UTC
please provide
#emerge info
Comment 4 Matt Dew 2004-02-24 19:28:19 UTC
bash-2.05b$ emerge info
Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.0-test11)
=================================================================
System uname: 2.6.0-test11 i686 AMD Athlon(TM) MP 2000+
Gentoo Base System version 1.4.3.13
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.7.7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-mp -pipe -fPIC -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -march=athlon-mp -pipe -fPIC -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X apm arts avi berkdb cdr cjk crypt cups dga encode esd fbcon foomaticdb gdbm gif gnome gphoto2 gpm gtk gtk2 imlib java jpeg kde ldap libg++ libwww linguas_en linguas_zh_CN mad mikmod mmx motif mozilla mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline samba scanner sdl slang spell ssl svga tcltk tcpd truetype x86 xml2 xmms xv zlib"
Comment 5 Martin Schlemmer (RETIRED) gentoo-dev 2004-02-29 12:11:39 UTC
What about if you remove cjk from USE, or maybe try groff 1.19
Comment 6 tmp 2004-03-04 11:07:52 UTC
LANG seems to be wrong.
When LANG is set to zh_TW, groff-1.18.1/mdate.sh
puts out inappropriate characters and breaks the sed expression.
Comment 7 Matt Dew 2004-03-06 16:18:44 UTC
Oddly enough, I did a manual ebuild {fetch,unpack,compile,install,qmerge} and it installed fine. Now, even when I go back and do emerge groff, it works where it failed before.   

I'm not sure if that counts as resolved but I can't get it to fail on emerge now, even when I change the USE flags.
Comment 8 Mr. Bones. (RETIRED) gentoo-dev 2004-09-13 16:07:43 UTC
Sounds fixed to me.