Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 518118

Summary: games-strategy/openra-20140608 USE=doc - Unhandled Exception: System.UnauthorizedAccessException: Access to the path "/var/lib/portage/.openra" is denied.
Product: Gentoo Linux Reporter: Jonas Jelten <jj>
Component: [OLD] GamesAssignee: Julian Ospald <hasufell>
Status: RESOLVED INVALID    
Severity: normal CC: games, jj
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/OpenRA/OpenRA/issues/5947
Whiteboard:
Package list:
Runtime testing required: ---

Description Jonas Jelten 2014-07-25 16:22:45 UTC
When the ebuild invokes emake doc, the home directory of the portage user is being written to.

See also upstream bug report: https://github.com/OpenRA/OpenRA/issues/5947

Probably the best solution is to remove emake docs from the ebuild.


Reproducible: Always

Steps to Reproduce:
emerge openra
Actual Results:  
build fails, access to portage home dir is denied.

Expected Results:  
build should make docs without writing to the portage home dir.


make -j5 docs 

Unhandled Exception:
System.UnauthorizedAccessException: Access to the path "/var/lib/portage/.openra" is denied.
  at System.IO.Directory.CreateDirectoriesInternal (System.String path) [0x0006c] in /tmp/portage/dev-lang/mono-3.2.8/work/mono-3.2.8/mcs/class/corlib/System.IO/Directory.cs:116 
  at System.IO.Directory.CreateDirectory (System.String path) [0x000a4] in /tmp/portage/dev-lang/mono-3.2.8/work/mono-3.2.8/mcs/class/corlib/System.IO/Directory.cs:80 
  at OpenRA.Platform.get_SupportDir () [0x00099] in /tmp/portage/games-strategy/openra-20140608/work/openra-20140608/OpenRA.Game/Platform.cs:91 
  at OpenRA.Utility.Program.Main (System.String[] args) [0x0004d] in /tmp/portage/games-strategy/openra-20140608/work/openra-20140608/OpenRA.Utility/Program.cs:45 
[ERROR] FATAL UNHANDLED EXCEPTION: System.UnauthorizedAccessException: Access to the path "/var/lib/portage/.openra" is denied.
  at System.IO.Directory.CreateDirectoriesInternal (System.String path) [0x0006c] in /tmp/portage/dev-lang/mono-3.2.8/work/mono-3.2.8/mcs/class/corlib/System.IO/Directory.cs:116 
  at System.IO.Directory.CreateDirectory (System.String path) [0x000a4] in /tmp/portage/dev-lang/mono-3.2.8/work/mono-3.2.8/mcs/class/corlib/System.IO/Directory.cs:80 
  at OpenRA.Platform.get_SupportDir () [0x00099] in /tmp/portage/games-strategy/openra-20140608/work/openra-20140608/OpenRA.Game/Platform.cs:91 
  at OpenRA.Utility.Program.Main (System.String[] args) [0x0004d] in /tmp/portage/games-strategy/openra-20140608/work/openra-20140608/OpenRA.Utility/Program.cs:45
Comment 1 Julian Ospald 2014-07-29 12:31:45 UTC
there is no USE=doc
Comment 2 Julian Ospald 2014-07-29 12:36:44 UTC
I think you are using an unofficial overlay.
Comment 3 Julian Ospald 2014-07-29 12:43:46 UTC
Also, I have no idea what /var/lib/portage/.openra is. It's not the default temp homedir directory of portage which is

/var/tmp/portage/games-strategy/openra-20140608/homedir

and has write and read access.
Comment 4 Julian Ospald 2014-07-29 12:44:23 UTC
are you using sabayoon, funtoo or something like that?
Comment 5 Jonas Jelten 2014-07-29 13:52:55 UTC
yes indeed, funtoo it is. I can't find misconfiguration for the homedir location though.
Comment 6 Julian Ospald 2014-07-29 14:12:34 UTC
report this bug to the funtoo maintainers
Comment 7 Jonas Jelten 2014-08-11 22:38:37 UTC
i now fully switched over to gentoo, and there it compiles flawlessly...