Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 119984 - x11-misc/imake tempdir patch missing -- ebuilds using xmkmf fail with noexec mounted /tmp directories
Summary: x11-misc/imake tempdir patch missing -- ebuilds using xmkmf fail with noexec ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Highest critical (vote)
Assignee: Gentoo X packagers
URL: https://bugs.freedesktop.org/show_bug...
Whiteboard:
Keywords: Inclusion
: 170376 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-01-22 15:04 UTC by Torsten Veller (RETIRED)
Modified: 2007-08-01 23:33 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Torsten Veller (RETIRED) gentoo-dev 2006-01-22 15:04:53 UTC
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
Comment 1 Joshua Baergen (RETIRED) gentoo-dev 2006-01-22 15:17:42 UTC
Thanks, fixed.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-03-11 09:05:39 UTC
*** Bug 170376 has been marked as a duplicate of this bug. ***
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-03-11 09:08:18 UTC
The patch is *still* needed, despite out ChangeLog suggesting something else.

https://bugs.freedesktop.org/show_bug.cgi?id=2562
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2007-07-01 01:25:30 UTC
Well, so can we stick the patch back?
Comment 5 Donnie Berkholz (RETIRED) gentoo-dev 2007-08-01 23:33:49 UTC
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.