>>> Install afterstep-2.0_beta2 into /var/tmp/portage/afterstep-2.0_beta2/image/ category x11-wm /bin/cp AfterStep.desktop /usr/share/gnome/wm-properties/ ACCESS DENIED open_wr: /usr/share/gnome/wm-properties/AfterStep.desktop /bin/cp: cannot create regular file `/usr/share/gnome/wm-properties/AfterStep.desktop': Permission denied make: *** [install.data] Error 1 !!! ERROR: x11-wm/afterstep-2.0_beta2 failed. !!! Function src_install, Line 78, Exitcode 2 !!! make install failed --------------------------- ACCESS VIOLATION SUMMARY --------------------------- LOG FILE = "/tmp/sandbox-afterstep-2.0_beta2-28341.log" open_wr: /usr/share/gnome/wm-properties/AfterStep.desktop -------------------------------------------------------------------------------- Reproducible: Always Steps to Reproduce: 1. emerge afterstep 2. 3. Actual Results: see above error Expected Results: a new cool afterstep thingy? # emerge info Portage 2.0.49-r13-2 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r6, 2.4.22-ck2) ================================================================= System uname: 2.4.22-ck2 i686 Pentium III (Coppermine) Gentoo Base System version 1.4.3.11 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=pentium3 -funroll-loops -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O3 -march=pentium3 -funroll-loops -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="sandbox ccache autoaddcvs" GENTOO_MIRRORS="http://gentoo.noved.org/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 oss apm avi crypt cups encode foomaticdb gif jpeg libg++ libwww mad mikmod motif mpeg ncurses nls pdflib png quicktime spell truetype xml2 xv zlib gdbm berkdb slang readline svga tcltk java sdl gpm tcpd pam ssl perl python esd imlib oggvorbis opengl X gtk -xmms -gnome alsa -kde -qt -arts pcmcia"
Created attachment 19500 [details, diff] Fixes the wm-properties sandbox violation This patch creates two new Makefile defines. GNOME_SHAREDIR and GNOME_SHAREDESTDIR. If GNOME_SHAREDIR/wm-properties (/usr/share/gnome/wm-properties) exists, then the desktop file is copied to GNOME_SHAREDESTDIR ($(DESTDIR)/usr/share/gnome/wm-properties). The use of /usr/local/share/gnome/ is still respected if present.
that seems like a rather complicated way to solve the problem, raker can you check the patch previously mentioned and the following one and decide on a course of action ? Thanks.
Created attachment 19541 [details, diff] afterstep-2.0_beta2.ebuild.patch
The ebuild has been added to portage with a patch for the bad makefile and with the dodir for the gnome windowmanager directory in the ebuild. Please test and let me know if you find any further problems. Hopefully there will be a final release of the 2.x series real soon now. Doug's patch looked good to me so i took it as is. It follows the coding style of the upstream authors fairly well and accomplishes what we need for Gentoo users. This may be something we could suggest upstream to fix as this fix will make life easier for packagers for all *nix distributions. It would be nice to include the creation of the directory within the makefile, so i'll modify the patch and send it out.
it works! danke (closing)