Inorder to emerge xscreensaver it makes me emerge svgalib which gets an error. as it compiles, everything is good until a certain line is reached dealing with lib3dkit. here is what i copied over from my laptop (there might be typos, but the first line is ok, the -c-m is how it was) install -c-m 755 -o root -g bin lib3dkit.so.1.9.19 /bar/tmp/portage/svgalib-1.9319-r3/image//user/lib/lib3dkit.so.1.9.19 isntall: invalid option -- - make[1]: *** [/car/tmp/portage/svgalib-1.9.19r3/image//user/lib/lib3dkit.so.1.9.19] Error 1 leavig directory '/var/tmp/portage/svglib-1.9.19-r3/work/sbgalib-1.9.19/threeDKit' lib3dkit-install Error 2 !!! ERROR: media-libs/svgalib-1.9.19r3 failed !!! Function src_install, Line144, Exitcode 2 !!! Failed to isntall svgalib! i am using gcc 3.3.5 i think if that matters. i am using the newest gentoo-sources kernel .. like 2.6.something... IT hapens everytime i try to emerge svgalib. Reproducible: Always Steps to Reproduce: 1. emerge svgalib 2. 3. Actual Results: it ends in an error about syntax maybe about lib3dkit.. Expected Results: compile completely
*** Bug 91034 has been marked as a duplicate of this bug. ***
install -c-m 755 -o root -g bin lib3dkit.so.1.9.19 ... should have been install -c -m 755 -o root -g bin lib3dkit.so.1.9.19 ... i would randomly guess
Just out of curiosity do you have "ACCEPT_KEYWORDS" set in your make.conf? I am going back and removing this and doing an emerge --update world. I will report results....
Similar problem emerging svgalib-1.9.19-r3 Topmost error seems to be In file included from /var/tmp/portage/svgalib-1.9.19-r3/work/svgalib-1.9.19/kernel/svgalib_helper/main.c:1: include/linux/config.h:4:28: linux/autoconf.h: No such file or directory In file included from include/linux/kernel.h:11, from /var/tmp/portage/svgalib-1.9.19-r3/work/svgalib-1.9.19/kernel/svgalib_helper/main.c:7: include/linux/linkage.h:5:25: asm/linkage.h: No such file or directory In file included from include/linux/types.h:13, from include/linux/kernel.h:13, from /var/tmp/portage/svgalib-1.9.19-r3/work/svgalib-1.9.19/kernel/svgalib_helper/main.c:7: include/linux/posix_types.h:47:29: asm/posix_types.h: No such file or directory In file included from include/linux/kernel.h:13, from /var/tmp/portage/svgalib-1.9.19-r3/work/svgalib-1.9.19/kernel/svgalib_helper/main.c:7: include/linux/types.h:14:23: asm/types.h: No such file or directory In file included from include/linux/kernel.h:13, from /var/tmp/portage/svgalib-1.9.19-r3/work/svgalib-1.9.19/kernel/svgalib_helper/main.c:7: include/linux/types.h:18: error: syntax error before "__kernel_dev_t" include/linux/types.h:18: warning: type defaults to `int' in declaration of `__kernel_dev_t' include/linux/types.h:18: warning: data definition has no type or storage class include/linux/types.h:21: error: syntax error before "dev_t" include/linux/types.h:21: warning: type defaults to `int' in declaration of `dev_t' include/linux/types.h:21: warning: data definition has no type or storage class include/linux/types.h:22: error: syntax error before "ino_t" include/linux/types.h:22: warning: type defaults to `int' in declaration of `ino And so on for several pages. emerge info gives: Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.4.200 41102-r1, 2.6.8-gentoo-r3 i686) ================================================================= System uname: 2.6.8-gentoo-r3 i686 Pentium III (Katmai) Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 20 2005, 16:57:09) ] dev-lang/python: 2.3.4-r1 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.4 sys-devel/binutils: 2.15.92.0.2-r7 sys-devel/libtool: 1.5.16 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=i686 -fomit-frame-pointer" 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/share/config /usr/lib/X11/xkb /usr/lib/ mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/sh are/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/te x/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://open-systems.ufl.edu/mirrors/gentoo/ http://ftp.heanet.ie /pub/gentoo/ http://gentoo.spb.ru/rsync ftp:///ftp-stud.fht-esslingen.de/pub/Mir rors/gentoo/ http://128.213.5.34/gentoo/" LANG="en_GB@euro" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X aim alsa apm avi bitmap-fonts cdr crypt cups curl directfb divx4linux doc dvd eds emacs emboss encode esd fam fbcon fftw flac font-server fortran gdb m gif ginac gnome gpm gstreamer gtk gtk2 guile icq imlib ipv6 java jpeg kde libg ++ libwww mad mikmod mmx motif mozilla mp3 mpeg ncurses nls ogg opengl oscar oss pam pdflib perl png python qt quicktime readline real samba sdl slang spell ssl svga sysfs tcpd tetex tiff truetype truetype-fonts type1-fonts usb win32codecs xml xml2 xmms xv zlib userland_GNU kernel_linux libc_glibc" Unset: ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
fyi: A user in the forums gave this temp fix - it worked and it appears svgalib is installing. however the root of the issue has not been solved. 1) emerge "=svgalib-1.9.19-r3" --> error 2) cd /var/tmp/portage/svgalib-1.9.19-r3/work/svgalib-1.9.19 (3) grep -r "\-c-m" *) 4) nano Makefile.cfg and correct "-c-m" --> "-c -m" 5) ebuild /usr/portage/media-libs/svgalib/svgalib-1.9.19-r3.ebuild install 6) ebuild /usr/portage/media-libs/svgalib/svgalib-1.9.19-r3.ebuild preinst 7) ebuild /usr/portage/media-libs/svgalib/svgalib-1.9.19-r3.ebuild qmerge 8) ebuild /usr/portage/media-libs/svgalib/svgalib-1.9.19-r3.ebuild postinst Thanks. Zach
In http://forums.gentoo.org/viewtopic-t-331550.html, crash3k says: In the ebuild, ... * find the line that says: sed -i '/^INSTALL_PROGRAM/s: -s :: ' Makefile.cfg * change it to: sed -i '/^INSTALL_PROGRAM/s: -s:: ' Makefile.cfg
Just as a commentary -- the American accent lends its users to misspell badly -- if "due" wasn't actually pronounced "do" such a misspelling wouldn't happen. Just sayin'. I'm almost looking forward to someone spelling "toosday" instead of "tuesday".
The comment from Peter Thomassen seems to help (it installs for me...) so can someone verify this and fix this in portage?
jdw says he's a sed geek and proposes: sed -i '/^INSTALL_PROGRAM/s: -s : : ' Makefile.cfg He says, this is safer. Dunno.
@Peter: that would be safer, as it wouldn't catch false positives (although I don't think there would be any in this case). The problem is still there in the ebuild of 1.9.21
fixed in portage
*** Bug 91117 has been marked as a duplicate of this bug. ***
*** Bug 91139 has been marked as a duplicate of this bug. ***
*** Bug 91372 has been marked as a duplicate of this bug. ***
*** Bug 98417 has been marked as a duplicate of this bug. ***