Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 583338 - games-strategy/openra-20140722-r1: Unhandled Exception: System.UnauthorizedAccessException: Access to the path "/var/tmp/portage/.openra" is denied.
Summary: games-strategy/openra-20140722-r1: Unhandled Exception: System.UnauthorizedAc...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-17 20:47 UTC by Joerg Schaible
Modified: 2018-08-04 12:03 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 Joerg Schaible 2016-05-17 20:47:34 UTC
Build of openra-20140722-r1 fails:

================= %< =====================
>>> Emerging (1 of 1) games-strategy/openra-20140722-r1::gentoo
 * openra-20140722.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ...                                                   [ ok ]
>>> Unpacking source...
>>> Source unpacked in /var/tmp/portage/portage/games-strategy/openra-20140722-r1/work
>>> Preparing source in /var/tmp/portage/portage/games-strategy/openra-20140722-r1/work/openra-20140722 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/portage/games-strategy/openra-20140722-r1/work/openra-20140722 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/portage/games-strategy/openra-20140722-r1/work/openra-20140722 ...
make -j3 -s 
CSC fixheader.exe
CSC OpenRA.Game.exe
CSC OpenRA.Renderer.Sdl2.dll
CSC OpenRA.Renderer.Null.dll
CSC OpenRA.Lint.exe
CSC OpenRA.Irc.dll
CSC OpenRA.Utility.exe
CSC mods/ra/OpenRA.Mods.RA.dll
CSC mods/cnc/OpenRA.Mods.Cnc.dll
CSC mods/ts/OpenRA.Mods.TS.dll
CSC mods/d2k/OpenRA.Mods.D2k.dll
make -j3 -s native-dependencies 
make -j3 -s docs 

Unhandled Exception: System.UnauthorizedAccessException: Access to the path "/var/tmp/portage/.openra" is denied.
  at System.IO.Directory.CreateDirectoriesInternal (System.String path) [0x0006e] in /var/tmp/portage/portage/dev-lang/mono-2.10.9-r2/work/mono-2.10.9/mcs/class/corlib/System.IO/Directory.cs:122 
  at System.IO.Directory.CreateDirectory (System.String path) [0x000a4] in /var/tmp/portage/portage/dev-lang/mono-2.10.9-r2/work/mono-2.10.9/mcs/class/corlib/System.IO/Directory.cs:83 
  at OpenRA.Platform.get_SupportDir () [0x00092] in /var/tmp/portage/portage/games-strategy/openra-20140722-r1/work/openra-20140722/OpenRA.Game/Platform.cs:90 
  at OpenRA.Utility.Program.Main (System.String[] args) [0x00036] in /var/tmp/portage/portage/games-strategy/openra-20140722-r1/work/openra-20140722/OpenRA.Utility/Program.cs:46 
[ERROR] FATAL UNHANDLED EXCEPTION: System.UnauthorizedAccessException: Access to the path "/var/tmp/portage/.openra" is denied.
  at System.IO.Directory.CreateDirectoriesInternal (System.String path) [0x0006e] in /var/tmp/portage/portage/dev-lang/mono-2.10.9-r2/work/mono-2.10.9/mcs/class/corlib/System.IO/Directory.cs:122 
  at System.IO.Directory.CreateDirectory (System.String path) [0x000a4] in /var/tmp/portage/portage/dev-lang/mono-2.10.9-r2/work/mono-2.10.9/mcs/class/corlib/System.IO/Directory.cs:83 
  at OpenRA.Platform.get_SupportDir () [0x00092] in /var/tmp/portage/portage/games-strategy/openra-20140722-r1/work/openra-20140722/OpenRA.Game/Platform.cs:90 
  at OpenRA.Utility.Program.Main (System.String[] args) [0x00036] in /var/tmp/portage/portage/games-strategy/openra-20140722-r1/work/openra-20140722/OpenRA.Utility/Program.cs:46 
Makefile:295: recipe for target 'docs' failed
make: *** [docs] Error 1
 * ERROR: games-strategy/openra-20140722-r1::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=games-strategy/openra-20140722-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=games-strategy/openra-20140722-r1::gentoo'`.
 * The complete build log is located at '/var/log/portage/games-strategy:openra-20140722-r1:20160517-144229.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/portage/games-strategy/openra-20140722-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/portage/games-strategy/openra-20140722-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/portage/games-strategy/openra-20140722-r1/work/openra-20140722'
 * S: '/var/tmp/portage/portage/games-strategy/openra-20140722-r1/work/openra-20140722'

>>> Failed to emerge games-strategy/openra-20140722-r1, Log file:

>>>  '/var/log/portage/games-strategy:openra-20140722-r1:20160517-144229.log'
================= %< =====================

Reproducible: Always

Steps to Reproduce:
1. emerge openra-20140722-r1

Actual Results:  
build fails

Expected Results:  
successful build

$ emerge --info
Portage 2.2.28 (python 2.7.10-final-0, default/linux/amd64/13.0/desktop/kde, gcc-4.9.3, glibc-2.22-r4, 4.4.6-gentoo x86_64)
=================================================================
System uname: Linux-4.4.6-gentoo-x86_64-Intel-R-_Core-TM-_i7_CPU_920_@_2.67GHz-with-gentoo-2.2
KiB Mem:     6106224 total,     76484 free
KiB Swap:   16383996 total,  15800740 free
Timestamp of repository gentoo: Tue, 17 May 2016 08:45:01 +0000
sh bash 4.3_p42-r1
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
ccache version 3.2.4 [disabled]
app-shells/bash:          4.3_p42-r1::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.10-r1::gentoo, 3.4.3-r1::gentoo
dev-util/ccache:          3.2.4::gentoo
dev-util/cmake:           3.3.1-r1::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.19.1::gentoo
sys-apps/sandbox:         2.10-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.9.3::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.3::gentoo (virtual/os-headers)
sys-libs/glibc:           2.22-r4::gentoo
Repositories:

gentoo
    location: /mnt/portage/tree/central
    sync-type: rsync
    sync-uri: rsync://rsync.europe.gentoo.org/gentoo-portage
    priority: -1000

local
    location: /mnt/portage/local
    masters: gentoo
    priority: 0

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -mtune=native -Os -pipe -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-2.0/conf /usr/share/maven-bin-2.2/conf /usr/share/maven-bin-3.0/conf /usr/share/maven-bin-3.1/conf /usr/share/maven-bin-3.2/conf /usr/share/maven-bin-3.3/conf /usr/share/themes/oxygen-gtk/gtk-2.0 /usr/share/themes/oxygen-gtk/gtk-3.0 /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/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -mtune=native -Os -pipe -ggdb -fno-default-inline"
DISTDIR="/mnt/portage/distfiles/floh"
EMERGE_DEFAULT_OPTS="--autounmask=n --with-bdeps=y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://sunsite.cnlab-switch.ch/mirror/gentoo/ http://ftp.heanet.ie/pub/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3 -s"
PKGDIR="/mnt/portage/packages/core-i7"
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 --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp/portage"
USE="X a52 aac acl acpi alsa amd64 bash-completion berkdb bmp branding bzip2 cairo caps cdda cdr cli consolekit cracklib crypt cups curl cxx dbus declarative dga dri dts dvd dvdr egl emboss encode exif fam firefox flac fortran gdbm gif glamor gpm gstreamer gtk handbook iconv icu idn jpeg jpeg2k kde kipi lcms libnotify lzma mad maildir mmap mmx mmxext mng modules mp3 mp4 mpeg multilib mysql ncurses nls nptl odbc ogg openexr opengl openmp openssh openvg pam pango pch pcre pdf phonon plasma png policykit popcnt ppds qt qt3support qt4 readline sdl seccomp semantic-desktop session spell sse sse2 sse3 sse4_1 sse4_2 ssl ssse3 startup-notification svg syslog tcpd threads tiff truetype udev udisks unicode upower usb vim-syntax vorbis wxwidgets x264 xattr xcb xcomposite xml xpm xscreensaver xv xvid 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" CPU_FLAGS_X86="mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" 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" GRUB_PLATFORMS="multiboot pc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7" RUBY_TARGETS="ruby21" SANE_BACKENDS="net" USERLAND="GNU" VIDEO_CARDS="radeon radeonsi fbdev v4l amdgpu vesa" 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:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Joerg Schaible 2016-05-17 20:48:04 UTC
openra-20141029-r2 fails in the same way.
Comment 2 DrSlony 2016-07-11 09:50:19 UTC
Could not reproduce this in any of the 2015 releases using mono-3.* and 4.*. Please confirm whether still a problem in release-20160508, otherwise close.
Comment 3 Joerg Schaible 2016-07-11 19:41:49 UTC
It fails still, however openra depends on mono-2.10:

$ equery g openra
 * Searching for openra ...

 * dependency graph for games-strategy/openra-20140722-r1
 `--  games-strategy/openra-20140722-r1  amd64 
   `--  dev-dotnet/libgdiplus-2.10.9-r1  (dev-dotnet/libgdiplus) amd64 
   `--  dev-lang/mono-2.10.9-r2  (dev-lang/mono) amd64 
   `--  media-libs/freetype-2.6.3-r1  (media-libs/freetype) amd64  [X]
   `--  media-libs/libsdl2-2.0.4  (media-libs/libsdl2) amd64  [X opengl video]
   `--  media-libs/openal-1.15.1-r2  (media-libs/openal) amd64 
   `--  virtual/jpeg-0-r2  (virtual/jpeg) amd64 
   `--  virtual/opengl-7.0-r1  (virtual/opengl) amd64 
   `--  sys-apps/sed-4.2.1-r1  (>=sys-apps/sed-4) amd64 
   `--  games-misc/games-envd-0  (games-misc/games-envd) amd64 
[ games-strategy/openra-20140722-r1 stats: packages (10), max depth (1) ]

 * dependency graph for games-strategy/openra-20141029-r2
 `--  games-strategy/openra-20141029-r2  [~amd64 keyword] 
   `--  dev-dotnet/libgdiplus-2.10.9-r1  (dev-dotnet/libgdiplus) amd64 
   `--  dev-lang/mono-2.10.9-r2  (dev-lang/mono) amd64 
   `--  media-libs/freetype-2.6.3-r1  (media-libs/freetype) amd64  [X]
   `--  media-libs/libsdl2-2.0.4  (media-libs/libsdl2) amd64  [X opengl video]
   `--  media-libs/openal-1.15.1-r2  (media-libs/openal) amd64 
   `--  virtual/jpeg-0-r2  (virtual/jpeg) amd64 
   `--  virtual/opengl-7.0-r1  (virtual/opengl) amd64 
   `--  sys-apps/sed-4.2.1-r1  (>=sys-apps/sed-4) amd64 
   `--  games-misc/games-envd-0  (games-misc/games-envd) amd64 
[ games-strategy/openra-20141029-r2 stats: packages (10), max depth (1) ]
Comment 4 Joerg Schaible 2016-07-11 19:44:12 UTC
I have not yet tested any version 20160508, it's not in my tree. Maybe after next sync. I'll report later.
Comment 5 DrSlony 2016-07-11 20:07:32 UTC
Only OpenRA-20160508 or higher is of interest to me, and that requires mono-3.2 or higher. It is not yet in portage, that is why I ask - in hope to someday get it there. Keep an eye on bug 582942.
Comment 6 Joerg Schaible 2018-08-04 12:03:46 UTC
Last version in tree is 20141029-r1 which does not have this problem.