Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 501770 - dev-util/cppunit-1.13.1 - ccache: FATAL: Failed to create /var/tmp/ccache/5/1: Permission denied
Summary: dev-util/cppunit-1.13.1 - ccache: FATAL: Failed to create /var/tmp/ccache/5/1...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-19 12:08 UTC by Juanlu Pérez
Modified: 2014-02-26 14:30 UTC (History)
0 users

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


Attachments
config.log (config.log,12.25 KB, text/plain)
2014-02-19 12:10 UTC, Juanlu Pérez
Details
build.log (build.log,2.24 KB, text/plain)
2014-02-19 12:11 UTC, Juanlu Pérez
Details
environment (environment,80.44 KB, text/plain)
2014-02-19 12:12 UTC, Juanlu Pérez
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Juanlu Pérez 2014-02-19 12:08:52 UTC
>>> Emerging (1 of 15) dev-util/cppunit-1.13.1
>>> Failed to emerge dev-util/cppunit-1.13.1, Log file:
>>>  '/var/tmp/portage/dev-util/cppunit-1.13.1/temp/build.log'
>>> Jobs: 0 of 15 complete, 1 failed                Load avg: 0.23, 0.67, 0.88
 * Package:    dev-util/cppunit-1.13.1
 * Repository: gentoo
 * Maintainer: cpp@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux multilib static-libs us
erland_GNU
 * FEATURES:   ccache preserve-libs sandbox userpriv usersandbox
configure: loading site script /usr/share/config.site
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make sets $(MAKE)... (cached) yes
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... configure: error: in `/var/tmp/portage/de
v-util/cppunit-1.13.1/work/cppunit-1.13.1':
configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details


Reproducible: Always
Comment 1 Juanlu Pérez 2014-02-19 12:10:48 UTC
Created attachment 370760 [details]
config.log
Comment 2 Juanlu Pérez 2014-02-19 12:11:50 UTC
Created attachment 370762 [details]
build.log
Comment 3 Juanlu Pérez 2014-02-19 12:12:39 UTC
Created attachment 370764 [details]
environment
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2014-02-19 12:17:54 UTC
Please post your `emerge --info dev-util/ccache' output in a comment.
Comment 5 Juanlu Pérez 2014-02-19 12:25:57 UTC
# emerge --info dev-util/ccache
Portage 2.2.7 (default/linux/amd64/13.0/desktop/gnome/systemd, gcc-4.7.3, glibc-2.16.0, 3.10.17-gentoo x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.10.17-gentoo-x86_64-Intel-R-_Core-TM-_i5_CPU_M_430_@_2.27GHz-with-gentoo-2.2
KiB Mem:     3913808 total,   1481984 free
KiB Swap:    4218876 total,   4211596 free
Timestamp of tree: Wed, 19 Feb 2014 11:15:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 3.1.9 [enabled]
app-shells/bash:          4.2_p45
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.6.8-r3, 2.7.5-r3, 3.2.3-r2, 3.3.2-r2
dev-util/ccache:          3.1.9
dev-util/cmake:           2.8.11.2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6, 1.13.4
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.5.4, 4.6.3, 4.7.3-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.16.0
Repositories: gentoo My-Local-Overlay sunrise
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/home/distfiles/"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs ccache config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.ovh.net/gentoo-distfiles/ http://mirror.netcologne.de/gentoo/ http://ftp.heanet.ie/pub/gentoo/ "
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j6"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/local-overlay /var/lib/layman/sunrise"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="2sse X a52 aac acl acpi alsa amd64 autoipd avahi bash-completion berkdb bluetooth bonjour branding bzip2 cairo ccache cdda cdr cli colord cracklib crypt cups curl cxx daap dbus dell directfb dri dts dvd dvdr eds emboss encode esd evo exif fam fbcon fbcondecor ffmpeg firefox flac fontconfig fortran fuse gd gdbm gif git gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk hal hddtemp howl-compat iconv icu introspection ipod ipv6 java jpeg lame laptop latex lcms ldap libnotify libsecret lm_sensors mad mdnsresponder-compat mmx mng modules mp3 mp4 mpeg mtp multilib mysql nautilus ncurses networkmanager nls nptl nsplugin ntp ogg opengl openmp pam pango pcre pdf perl png policykit ppds pulseaudio python qt3support qt4 readline samba sdl session socialweb sockets spell sqlite sse sse2 ssl startup-notification static-libs subversion svg systemd tcpd theora threads tiff truetype udev udisks unicode upnp upower usb v4l v4l2 vala valgrind vorbis webkit wifi wmf wxwidgets x264 xcb xinerama xml xv xvid zeroconf zlib" ABI_X86="64" ALSA_CARDS="hda-intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="es es_ES en en_US" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" QEMU_SOFTMMU_TARGETS="x86_64 arm i386" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="ati radeon" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

=================================================================
                        Package Settings
=================================================================

dev-util/ccache-3.1.9 was built with the following:
USE="(multilib)" ABI_X86="64"
Comment 6 Juanlu Pérez 2014-02-19 12:28:50 UTC
it emerged correctly after this:

# emerge -uvaq @system

 * IMPORTANT: 12 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.

[ebuild     U ] sys-devel/gnuconfig-20131128 [20130111]
[ebuild     U ] sys-apps/which-2.20-r1 [2.20]
[ebuild     U ] sys-apps/coreutils-8.21 [8.20] USE="acl nls -caps -gmp (-selinux
) -static -vanilla -xattr"
[ebuild     U ] sys-process/procps-3.3.8-r2 [3.3.6] USE="ncurses nls static-libs
 unicode {-test}"
[ebuild     U ] virtual/man-0-r1 [0]
[ebuild     U ] sys-apps/man-pages-3.57 [3.53] USE="nls" LINGUAS="-da -de -fr -i
t -ja -nl -pl -ro -ru -zh_CN"
[ebuild     U ] sys-apps/file-5.17 [5.15] USE="python static-libs zlib" PYTHON_T
ARGETS="python2_7 python3_3 (-pypy2_0) -python2_6 -python3_2"
[ebuild     U ] sys-apps/kbd-1.15.5-r1 [1.15.3] USE="nls pam%*"
[ebuild     U ] sys-devel/binutils-2.23.2 [2.23.1] USE="cxx nls static-libs zlib
 -multislot -multitarget {-test} -vanilla"
[ebuild     U ] sys-apps/gawk-4.0.2 [4.0.1] USE="nls readline"
Comment 7 Jeroen Roovers (RETIRED) gentoo-dev 2014-02-20 01:11:29 UTC
(In reply to Juanlu Pérez from comment #6)
> it emerged correctly after this:
> 
> # emerge -uvaq @system

All those packages seem unrelated. I would rather think there is a problem with the initial creation of /var/tmp/ccache that got somehow fixed before you ran the system update (race condition?).

What happens if you (re)move that directory and try again? Do you get the same errro?
Comment 8 Juanlu Pérez 2014-02-26 14:30:53 UTC
I'm not using ccache anymore.