| Summary: | svgalib-1.9.21 - possible sed error in ebuild | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Christian <evilninja> |
| Component: | [OLD] Library | Assignee: | SpanKY <vapier> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
please change the title of this bug to "svgalib-1.9.21 - possible sed error in ebuild" to aid searching |
compiling svgalib-1.9.21 fails, and although i am not too familiar with the .ebuild files yet, i've tracked it down to this line in /usr/portage/media-libs/svgalib/svgalib-1.9.21.ebuild: # Don't strip stuff, let portage do it sed -i '/^INSTALL_PROGRAM/s: -s ::' Makefile.cfg this leads to this line in Makefile.cfg: INSTALL_PROGRAM = install -c-m 755 -o root -g bin later on, "make install" and thus emerge fails, because of the missing space between "-c" and "-m 755". not being a sed guru either, i'd change the .ebuild line to something like this: # Don't strip stuff, let portage do it sed -i 's/install -c -s -m 755/install -c -m 755/' Makefile.cfg when i do this, svgalib compiles and installs fine. Reproducible: Always Steps to Reproduce: 1. emerge media-libs/svgalib 2. (wait) 3. see the error: install: invalid option -- - Try `install --help' for more information. Actual Results: error showed up: install: invalid option -- - Try `install --help' for more information. emerge exits. Expected Results: install should be successful, emerge should go on. emerge info Portage 2.0.51.20-r5 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.4.20050125-r1, 2.6.12-rc3-mm2 i686) ================================================================= System uname: 2.6.12-rc3-mm2 i686 AMD Athlon(tm) Processor Gentoo Base System version 1.6.10 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [enabled] dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.3 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r8 sys-devel/libtool: 1.5.16 virtual/os-headers: 2.6.11 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=athlon-tbird -fomit-frame-pointer -DHAVE_SNPRINTF=1" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=athlon-tbird -fomit-frame-pointer -DHAVE_SNPRINTF=1" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://linux.rz.ruhr-uni-bochum.de/gentoo-portage/" USE="x86 X alsa apm arts avi bash-completion berkdb bitmap-fonts cdr crypt cups curl eds emboss encode esd fam flac foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 imagemagick imlib ipv6 java jpeg junit kde libg++ libwww mad mikmod motif mozilla mp3 mpeg mysql ncurses nls ogg oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl spell ssl svga tcltk tcpd tiff truetype truetype-fonts type1-fonts vorbis xine xml2 xmms xv zlib userland_GNU kernel_linux libc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY