Summary: | app-emulation/crossover-bin-14.0.3 - src_install(): many sandbox violations (in /usr/local!) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | urcindalo <urcindalo> |
Component: | Current packages | Assignee: | Richard Yao (RETIRED) <ryao> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | pacho |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | build.log |
Description
urcindalo
2015-01-27 18:49:32 UTC
I have the same problem. Looks like cxmenu ignores parameter destdir, or rather that some submodules it installs ignore the passed parameter. On my box I can see this command failing: XDG_CONFIG_HOME="/etc/xdg" /tmp/portage/app-emulation/crossover-bin-14.0.3/image/opt/cxoffice/bin/cxmenu --destdir=/tmp/portage/app-emulation/crossover-bin-14.0.3/image/ --crossover --install While the perl script cxmenu passed the destdir variable to the the modules it install like CXMenuWindows or CXMenuXDG ( in /tmp/portage/app-emulation/crossover-bin-14.0.3/image/opt/cxoffice/lib/perl/CXMenuWindows.pm and /tmp/portage/app-emulation/crossover-bin-14.0.3/image/opt/cxoffice/lib/perl/CXAssocXDG.pm on my box), CXMenuWindows for example doesn't do anything with it and just install to /usr/local straight away instead of .../image/usr/local. We probably could compare the "*pm* files with previous versions of Crossover, but I just used FEATURES="-usersandbox" once I checked this is just few menu files to let it emerge with security warnings. It has to do with XDG_DATA_DIRS=${ED}"/usr/share" var being unset... but for some reason $ED is not expanded when I try to set it :S Anyway changing its value makes the violation to change and, then, I guess the problem is at: lib/python/BaseDirectory.py: (os.environ.get('XDG_DATA_DIRS') or '/usr/local/share:/usr/share').split(':') Michał Górny did a version bump without testing and unfortunately, I did not have time to dedicate to this until recently. It has been fixed via sed manipulation. I have also bumped the ebuild to 14.1.4. I have informed Codeweavers of the problem so that they can fix it officially. Future updates should also be smoother because Codeweavers has agreed to a licensing change that will allow us to fetch the distfile automatically, which makes maintenance require less of my time and therefore should ensure that it is done in a more timely manner. Bug #556338 tracks the licensing change. |