Summary: | openmotif-2.1.30-r3: Error when installing: rm: cannot remove `/var/tmp/portage/openmotif-2.1.30-r3/image/usr/X11R6/bin/ll': No such file or directory | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Joshua Lambert <lambej> |
Component: | Current packages | Assignee: | Heinrich Wendel (RETIRED) <lanius> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | avenj, bartron, ronald, vermyndax, x11 |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge openmotif log
openmotif-2.1.30-r3_srcprms.diff |
Description
Joshua Lambert
2004-01-14 15:45:59 UTC
very strange, please rsync and try again same here Fractionally different here: Instead of /var, it is using /opt, but otherwise same bug? make[3]: Leaving directory `/opt/tmp/portage/openmotif-2.1.30-r3/work/motif/doc/man/man5' make[2]: Leaving directory `/opt/tmp/portage/openmotif-2.1.30-r3/work/motif/doc/man' make[1]: Leaving directory `/opt/tmp/portage/openmotif-2.1.30-r3/work/motif' * Cleaning up X11 stuff rm: cannot remove `/opt/tmp/portage/openmotif-2.1.30-r3/image/usr/X11R6/bin/ll': No such file or directory !!! ERROR: x11-libs/openmotif-2.1.30-r3 failed. !!! Function src_install, Line 73, Exitcode 1 !!! rm /opt/tmp/portage/openmotif-2.1.30-r3/image/usr/X11R6/bin/ll emerge info Portage 2.0.49-r20 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.6.1-mm2) ================================================================= System uname: 2.6.1-mm2 i686 AMD Athlon(tm) processor Gentoo Base System version 1.4.3.12 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-mcpu=athlon-tbird -O3 -pipe" 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/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O2 -mcpu=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="ftp://sunsite.cnlab-switch.ch/mirror/gentoo/ ftp://gentoo.linux.no/pub/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo http://gentoo.inode.at/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/opt/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aalib alsa apache2 apm arts avi berkdb bonobo cdr crypt cups dvd encode esd foomaticdb gd gdbm ggi gif gnome gpm gtk gtk2 gtkhtml guile imlib java jpeg kde libg++ libwww mad matrox mbox mikmod motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png postgres python qt quicktime readline sdl slang snmp spell ssl svga tcltk tcpd tetex tiff truetype x86 xml xml2 xmms xv zlib" I had a similar problem with this ebuild getting a lot of permission denied messages. I tracked the problem down to the permissions from the extracted tarball being like this: -r--r----- I had a similar problem with this ebuild getting a lot of permission denied messages. I tracked the problem down to the permissions from the extracted tarball being like this: -r--r----- 1 portage portage 16K Jun 3 2000 Imake.cf because there are no write permissions the ebuild isn't able to apply patches, etc... that are required for it to work. the solution for me was to turn off FEATURES="userpriv usersandbox" and do the emerge as root. Reproducible on all of my systems. I'm getting this error even if FEATURES="ccache" only. Yup, trimming FEATURES does not seem to help me either. can somebody please attach a complete emerge log there is a small bug in ebuild file;
-----8<-----
41c41
< egin "patching 'clients/mwm/Imakefile' (mwm confdir)"
---
> ebegin "patching 'clients/mwm/Imakefile' (mwm confdir)"
----->8-----
however fixing it did not resolve this bug.
Should there be ll binary in openmotif? Couldn't find any reference to it from the motif source (using a quick find/grep command)?
Happens to me also, and I just did an emerge sync (11:08am 1/17/04 CST) Created attachment 23996 [details]
emerge openmotif log
Heinrich, i hope this is what you wanted.
system has openmotif-2.2.2-r2 installed atm.
uil failed to compile, maybe that's the problem I commited a fix, please rsync and try again or add the following to src_unpack: sed -i -e "s:#define USE_BYACC YES:#undef USE_BYACC:" config/cf/host.def working for me now. Works for me too, thank you ;-) fine -> close :) Uil tries to build with byacc because the ebuild failed to copy `site.def' with "userpriv" in features (see also comment #4) : ===CUT=== cp: cannot create regular file `/var/tmp/portage/openmotif-2.1.30-r3/work/motif/config/cf/site.def': Permission denied /usr/sbin/ebuild.sh: line 33: /var/tmp/portage/openmotif-2.1.30-r3/work/motif/config/cf/site.def: Permission denied /usr/sbin/ebuild.sh: line 34: /var/tmp/portage/openmotif-2.1.30-r3/work/motif/config/cf/site.def: Permission denied /usr/sbin/ebuild.sh: line 35: /var/tmp/portage/openmotif-2.1.30-r3/work/motif/config/cf/site.def: Permission denied /usr/sbin/ebuild.sh: line 36: /var/tmp/portage/openmotif-2.1.30-r3/work/motif/config/cf/site.def: Permission denied /usr/sbin/ebuild.sh: line 37: /var/tmp/portage/openmotif-2.1.30-r3/work/motif/config/cf/site.def: Permission denied ===CUT=== (seems to be unrelated to the "egin" (comment #9 and comment #11) and "ll" errors though) Created attachment 24016 [details, diff]
openmotif-2.1.30-r3_srcprms.diff
(diffed against cvs rev 1.10)
* makes source tree writable
* adds some extra checks
Works for me now too. Great work guys! it also wanted to build with byacc here without my patch and without userpriv, so we need both patches :) |