i am using modular x and /tmp is mounted 'noexec'. ebuilds using imake, xmkmf fail like this: >>> Compiling source in /var/tmp/portage/xclip-0.08/work/xclip ... mv -f Makefile Makefile.bak imake -DUseInstalled -I/usr/lib/X11/config sh: /tmp/imakeERlpxw: Permission denied /usr/bin/xmkmf: line 57: 27035 Aborted imake $imake_defines $args !!! ERROR: x11-misc/xclip-0.08 failed. !!! Function src_compile, Line 25, Exitcode 134 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. see also bug #28482 the patch '0128_all_4.2.0-imake-tmpdir-v2.patch' in xorg-x11-6.8.2-patches-0.1.13.tar.bz2 still works for me. Portage 2.1_pre3-r1 (default-linux/x86/dev/2006.0, gcc-4.0.2, glibc-2.3.6-r2, 2.6.12.6-xen i686) ================================================================= System uname: 2.6.12.6-xen i686 AMD Athlon(tm) XP 2800+ Gentoo Base System version 1.12.0_pre15 ccache version 2.4 [enabled] dev-lang/python: 2.4.2 sys-apps/sandbox: 1.2.12 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.6-r1 sys-devel/binutils: 2.16.1-r1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer -mno-tls-direct-seg-refs" 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 /var/log/" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer -mno-tls-direct-seg-refs" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache collision-protect cvs distlocks sandbox sfperms sign strict stricter test userpriv usersandbox" GENTOO_MIRRORS="http://pandemonium.tiscali.de/pub/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/" LANG="de_DE.UTF-8" LINGUAS="de" MAKEOPTS="-j3 -l2.3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage/portage" PORTDIR_OVERLAY="/usr/portage/local" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowext crypt mmx nptl pam sse ssl test unicode elibc_glibc fritzcapi_cards_fcpci kernel_linux linguas_de userland_GNU video_cards_nvidia" Unset: ASFLAGS, CTARGET, LC_ALL, LDFLAGS
Thanks, fixed.
*** Bug 170376 has been marked as a duplicate of this bug. ***
The patch is *still* needed, despite out ChangeLog suggesting something else. https://bugs.freedesktop.org/show_bug.cgi?id=2562
Well, so can we stick the patch back?
You need to set TMPDIR for it to use somewhere else that isn't noexec. That's what the patch does -- allows you to use TMPDIR.