If /tmp is mounted as noexec then tightvnc will refuse to compile with the following error: sh: line 1: /tmp/imakeomq9fL: Permission denied make[1]: *** [config/makedepend/Makefile.proto] Aborted make[1]: *** Deleting file `config/makedepend/Makefile.proto' make[1]: Leaving directory `/var/tmp/portage/tightvnc-4.0_beta20031113/work/vnc-make: *** [World] Error 2 !!! ERROR: net-misc/tightvnc-4.0_beta20031113 failed. !!! Function src_compile, Line 85, Exitcode 2 !!! (no error message) The name of the file that tries to execute from /tmp always a different randomly generated name. The ebuild should not use /tmp to do its compilation I think because many persons put it as noexec for security reasons. Reproducible: Always Steps to Reproduce: 1.Mount /tmp as noexec 2.ACCEPT_KEYWORDS=~arch emerge tightvnc 3. emerge info: Gentoo Base System version 1.4.16 Portage 2.0.50-r9 (gcc34-2004.2, gcc-3.4.1, glibc-2.3.4.20040619-r1, 2.6.7-gentoo-r12) ================================================================= System uname: 2.6.7-gentoo-r12 x86_64 AMD Athlon(tm) 64 Processor 3200+ Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CFLAGS="-march=k8 -O2 -pipe -fomit-frame-pointer" CHOST="x86_64-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=k8 -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache" GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo ftp://ftp.ussg.iu.edu/pub/linux/gentoo ftp://mirrors.tds.net/gentoo http://mirrors.tds.net/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X alsa amd64 apm avi berkdb crypt dvd encode escreen esd fbcon foomaticdb gdbm gif gpm gtk gtk2 imlib javascript joystick jpeg libg++ libwww mikmod moznocompose moznoirc moznomail mpeg ncurses nls nptl oggvorbis opengl oss pam pdflib perl png python quicktime readline sdl slang spell ssl tcpd truetype xml2 xmms xv zlib"
A temporary fix is to: mount /tmp -oexec -oremount then it will compile sucessfully. Then you can: mount /tmp -onoexec -oremount
tightvnc-4.0 beta has been removed, please use net-misc/vnc-4.0. When tightvnc releases a new version based on xfree 4.x it will be added to the tree.