Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 130851 - net-misc/streamtuner-0.99.99-r1 failure in sed expression
Summary: net-misc/streamtuner-0.99.99-r1 failure in sed expression
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-22 09:44 UTC by Felix Finch
Modified: 2007-03-25 13:25 UTC (History)
4 users (show)

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


Attachments
Makefile (Makefile,31 bytes, text/plain)
2006-04-30 15:22 UTC, TGL
Details
files/streamtuner-0.99.99-sedfix.patch (streamtuner-0.99.99-sedfix.patch,1.58 KB, patch)
2006-05-01 04:44 UTC, TGL
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Felix Finch 2006-04-22 09:44:45 UTC
Writing ix01.html for index
Writing index.html for book(index)
Writing index.sgml for book(index)
Writing streamtuner.devhelp for book(index)
sed -i -e \
		's/background: #ffeeee/background: #daffd1/g; \
		 s/border: solid 1px #ffaaaa/border: solid 1px #74ff54/g; \
		 s/background: #eeeeff/background: #feffde/g; \
		 s/border: solid 1px #aaaaff/border: solid 1px #e9ed1c/g; \
		 s/color: #770000/color: #2fba0f/g; \
		 s/color: #550000/color: #22850b/g' ./html/*.html
sed: -e expression #1, char 292: unterminated address regex
make[3]: *** [html-build.stamp] Error 1
make[3]: Leaving directory `/var/tmp/portage/streamtuner-0.99.99-r1/work/streamtuner-0.99.99/docs/reference'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/streamtuner-0.99.99-r1/work/streamtuner-0.99.99/docs'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/streamtuner-0.99.99-r1/work/streamtuner-0.99.99'
make: *** [all] Error 2

!!! ERROR: net-misc/streamtuner-0.99.99-r1 failed.
Call stack:
  ebuild.sh, line 1532:   Called dyn_compile
  ebuild.sh, line 929:   Called src_compile
  ebuild.sh, line 1242:   Called gnome2_src_compile
  gnome2.eclass, line 55:   Called die

!!! compile failure
!!! If you need support, post the topmost build error, and the call stack if relevant.


emerge --info follows:

Portage 2.1_pre7-r5 (default-linux/amd64/2005.1, gcc-3.4.6, glibc-2.4-r1, 2.6.15-gentoo-r7 x86_64)
=================================================================
System uname: 2.6.15-gentoo-r7 x86_64 AMD Opteron(tm) Processor 244
Gentoo Base System version 1.12.0_pre17
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5, 2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
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-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -march=k8 -mtune=k8 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/fax /usr/lib64/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 /var/qmail/alias /var/qmail/control /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=k8 -mtune=k8 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="amd64 X a52 aac acpi aim alsa apache2 arts avi bash-completion bcmath berkdb bidi bitmap-fonts bluetooth bonobo bzlib canna cdb cdparanoia cdr cjk cli crypt cups curl dba dbm dga divx4linux doc dri dv dvb dvd dvdr dvdread eds emacs emacs-w3 emboss encode esd ethereal evo examples exif expat fam fastcgi ffmpeg flac foomaticdb fortran freetds freewnn ftp gb gcj gd gdbm gif ginac glut gmp gnome gnustep gnutls gphoto2 gps gstreamer gtk gtk2 gtkhtml guile iconv icq imagemagick imap imlib innodb isdnlog ithreads jabber jack java javascript jpeg junit kde lcms ldap leim libg++ libgda libwww lirc lm_sensors lzw lzw-tiff mad maildir mikmod mime ming mmap mng mono mp3 mpeg mpi mule mysql mysqli nas ncurses nis nls nptl nptlonly nsplugin odbc offensive ofx ogg oggvorbis openal opengl pam pcre pda pdflib perl php plotutils png portaudio posix postgres ppds pppd python qdbm qt quicktime readline recode reflection ruby samba sasl scanner sdl session shared sharedmem slang slp sndfile snmp soap sockets sox spell spl ssl sysvipc tcltk tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts unicode usb v4l vcd vorbis wifi wmf xine xml xml2 xmlrpc xorg xosd xpm xv xvid zlib elibc_glibc kernel_linux userland_GNU"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 TGL 2006-04-30 15:21:24 UTC
Are you using sys-devel/make-3.81? If yes, try downgrading to 3.80-r4.

I've encountered the same issue on two packages today (app-dict/verbiste and app-text/ttf2pt1). The issue is specific to sys-devel/make-3.81, and downgrading to 3.80-r4 fixed it for me. 

I will attach a testcase which shows the difference beetween this two versions:
-------------------
-- make 3.80:
% make test
foo... bar!
-------------------
-- make 3.81:
% make test
foo... \
        bar!
-------------------

This multi-lined sed commands breakage is just the consequence of this change. Now, i don't know which version has the "expected behavior" (if there is one at all).

CCing toolchain@ to get their opinion on what should be fixed (Make, or Makefiles).
Comment 2 TGL 2006-04-30 15:22:59 UTC
Created attachment 85860 [details]
Makefile

a simple test Makefile
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-04-30 15:46:33 UTC
I just encountered a similar problem in krystaldrop (bug #131834, the deps patch).
Comment 4 Felix Finch 2006-04-30 16:07:02 UTC
make-3.80-r4 fixes the streamtuner emerge.  I tried make-3.81 again after the streamtuner emerge to confirm streamtuner fails again.  I am not going to mark this as FIXED because something is still broken.  There should be a WORKAROUND resolution :-)
Comment 5 TGL 2006-04-30 17:58:45 UTC
I've found the doc about this behavior change, and it makes sense:
http://cvs.savannah.gnu.org/viewcvs/make/doc/make.texi?root=make&r1=1.32&r2=1.33
So i think that's the makefiles which are to be fixed.
Comment 6 TGL 2006-05-01 04:44:48 UTC
Created attachment 85911 [details, diff]
files/streamtuner-0.99.99-sedfix.patch

This is a fix for streamtuner-0.99.99. It replaces the existing "files/streamtuner-0.99.99-sedfix.patch", thus no ebuild change is required (but adding "doc" to IUSE, although it's not specific to this fix)
Comment 7 TGL 2006-05-01 05:13:56 UTC
I've sent this fix upstream.
(well, not exactly this one actually, but the same for "docs/gtk-doc.make")
Comment 8 bme 2006-10-24 06:51:40 UTC
Any chance this fix can make it into portage?
Comment 9 Michael Mauch 2006-10-25 11:46:13 UTC
Yes, please can the fix go into portage? I have to re-emerge streamtuner because xmms is masked now, otherwise "emerge -avDu world" doesn't work.
Comment 10 Pacho Ramos gentoo-dev 2006-12-07 05:22:40 UTC
I cannot reproduce this. I emerge streamtuner-0.99.99-r1 succesfully. I am using make-3.81

This is my emerge --info:
Portage 2.1.1-r2 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.4-r4, 2.6.18-gentoo-r3 x86_64)
=================================================================
System uname: 2.6.18-gentoo-r3 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.12.6
Last Sync: Thu, 07 Dec 2006 12:20:01 +0000
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
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-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe -msse3"
CHOST="x86_64-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"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=k8 -O2 -pipe -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.club-internet.fr/pub/mirrors/gentoo http://ftp.heanet.ie/pub/gentoo/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://gentoo.intergenia.de/ http://ftp.rhnet.is/pub/gentoo/"
LC_ALL="es_ES.UTF-8"
LINGUAS="es en_US"
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 /usr/portage/local/layman/science /usr/portage/local/layman/sunrise"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acpi alsa amd64 apache2 arts asf audiofile bash-completion beagle bitmap-fonts bzip2 bzlib cairo caps cdb cdda cddb cdparanoia cdr cli cracklib cross crypt cscope cups curl dbus dga divx4linux dlloader dri dts dvd dvdr dvdread elibc_glibc encode erandom escreen esd evo evolution exif fam fbcon flac foomaticdb fortran ftp galago gb gcj ggi gif gimp gimpprint glitz glut glx gnome gnome-print gphoto2 gpm gstreamer gtk gtk2 gtkhtml hal iconv idn imagemagick imlib input_devices_keyboard input_devices_mouse isdnlog ithreads jabber jack java jpeg kde kdeenablefinal kdehiddenvisibility kernel_linux latex lcms libg++ libnotify linguas_en_US linguas_es logrotate mad madwifi mikmod mime mng mono motif mp3 mpeg mpi mplayer musepack musicbrainz nas nautilus ncurses nethack network nls nocardbus nptl nptlonly nvidia ogg oggvorbis openal opengl oss pam pcre pdf perl pic plotutils png posix ppds pppd python qt3 qt4 quicktime readline reflection rtc ruby scanner sdl seamonkey session slang slp sockets spell spl ssl svg sysvipc tcltk tcpd tetex theora threads tiff timidity tk totem trayicon truetype truetype-fonts type1-fonts udev unicode usb userland_GNU v4l v4l2 vcd video_cards_fbdev video_cards_nv video_cards_nvidia video_cards_vesa video_cards_vga videos vim vorbis wma wmf xcomposite xine xml xml2 xorg xpm xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 11 Michael Mauch 2006-12-08 03:16:46 UTC
You are right, Pacho: it works now for me, too. I still have the same make-3.81, the streamtuner ebuild apparently didn't change and I even have the "doc" USE flag - but magically, it works now.

Portage 2.1.1-r2 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r5, 2.6.18-gentoo-r3 i686)
=================================================================
System uname: 2.6.18-gentoo-r3 i686 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.12.6
Last Sync: Thu, 07 Dec 2006 11:50:02 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.3.5-r3, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  0.4.2-r1
sys-apps/sandbox:    1.2.17
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-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon64 -msse3 -O2 -pipe -g"
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 /usr/share/vdr/sysinfo"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=athlon64 -msse3 -O2 -pipe -g"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--alphabetical"
FEATURES="autoconfig ccache distlocks fixpackages parallel-fetch sandbox sfperms splitdebug strict userfetch"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo/ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo/ http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="de_DE@euro"
LINGUAS="en de en_GB fa ru"
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/overlays/g-cpan /usr/portage/local/layman/gentoo-de /usr/portage/local/layman/sunrise /usr/local/overlays/kmediafactory/portage /usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 3dnow X a52 aac ac3 acpi alsa alsa_cards_cmipci apache2 arts asf audacious audiofile avi berkdb bitmap-fonts bluetooth bzip2 cdr cli cracklib crypt css cups curl dbus dga djvu dlloader dmi doc dri dts dvb dvd dvdr dvdread dvi edl elibc_glibc emacs emboss encode esd exif exiscan-acl fame fbcon fbsplash ffmpeg firefox flac foomaticdb freetype gcj gd gdbm ggi gif gimp gimpprint gnokii gnome gnutls gphoto2 gstreamer gtk gtk2 hal iconv idn ieee1394 imagemagick imap imlib innodb input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 irmc isdnlog jack java joystick jpeg kde kdeenablefinal kdepim kdexdeltas kernel_linux kqemu ladspa libg++ libgda libsamplerate libwww linguas_de linguas_en linguas_en_GB linguas_fa linguas_ru lirc lirc_devices_all live lm_sensors logitech-mouse lzo mad mailwrapper matroska mbox mcal memlimit mikmod mjpeg mmx mng mono motif mozcalendar mozdevelop mozsvg mp3 mpeg mplayer mpm-prefork mule musicbrainz mysql ncurses network nls nntp nptl nptlonly nsplugin objc oci8 ogg oggvorbis opengl oracle oss pam pcre pda pdf perl php pic png postgres pppd python qt3 qt4 quicktime rdesktop readline real reflection rtc rtsp samba scanner sdl session skins slp sndfile spl sqlite sse sse2 ssl subtitles svg sysfs t1lib tcpd theora tidy tiff truetype truetype-fonts type1-fonts udev usb userland_GNU utempter v4l v4l2 vcd vdr vdr-net video_cards_ati video_cards_fbdev video_cards_radeon video_cards_v4l video_cards_vesa vorbis wifi win32codecs wmf xemacs xine xinetd xml xml2 xorg xosd xprint xscreensaver xv xvid zlib"
Unset:  CTARGET, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 12 Felix Finch 2006-12-08 06:20:47 UTC
And it's working for me too now.  I had forgotten all about this bug, and I have no idea when it started working.  Maybe the sed version changed?  I don't know that either.