Summary: | app-shells/ksh refuses to build, throws "cross compiler" error | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Michael Jinks <mjinks> |
Component: | Current packages | Assignee: | Mike Gilbert <floppym> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 386339 | ||
Bug Blocks: | |||
Attachments: | Full output from "emerge ksh" |
Description
Michael Jinks
2008-09-27 19:57:34 UTC
Created attachment 166632 [details]
Full output from "emerge ksh"
do you have /var/tmp mounted as a diff filesystem ? perhaps with the noexec option ? (In reply to comment #2) > do you have /var/tmp mounted as a diff filesystem ? perhaps with the noexec > option ? Aha. No, /var/tmp is part of /, but /tmp is mounted noexec (which used to be recommended practice from the Gentoo install guide, IIRC). I thought I'd tried this already, but I just remounted /tmp exec, and as I type I'm watching ksh compile happily. So apparently something tries to exec out of /tmp? I can second this bug (not that I really care about ksh, but broken packages should die :>). /var/tmp/portage is a separate fs here, mounted as: tmpfs on /var/tmp/portage type tmpfs (rw,nodev,size=800m) Removing the nodev option does not make a difference. emerge --info says: Portage 2.1.8.3 (hardened/linux/x86/10.0, gcc-4.3.4, glibc-2.11.2-r0, 2.6.27-openvz-kiprensky.1-r1 i686) ================================================================= System uname: Linux-2.6.27-openvz-kiprensky.1-r1-i686-Intel-R-_Pentium-R-_III_CPU_family_1133MHz-with-gentoo-2.0.1 Timestamp of tree: Wed, 15 Sep 2010 10:45:01 +0000 app-shells/bash: 4.1_p7 dev-lang/python: 2.6.5-r3, 3.1.2-r4 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.6.3 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.65 sys-devel/automake: 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.3.4 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b sys-devel/make: 3.81-r2 virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS="x86" ACCEPT_LICENSE="* -@EULA" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=i686 -O2 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=i686 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests distlocks news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch userpriv usersandbox" GENTOO_MIRRORS="ftp://trumpetti.atm.tut.fi/gentoo ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo" LANG="en_GB.utf8" LC_ALL="en_GB.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /usr/portage/local/layman/whyscream-experimental" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="cli cracklib crypt cxx hardened ipv6 modules mudflap nptl nptlonly pam pcre pic readline ssl sysfs tcpd unicode urandom x86 zlib" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" RUBY_TARGETS="ruby18" USERLAND="GNU" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS this bites me over and over and i have to look it up every time :-) confirmed on amd64. nothing explicitly stating /tmp in the 93.20090505.ebuild Should be fixed in ksh-93.20110208. |