Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 655902 - x11-terms/terminology-1.2.1 : sandbox issue (XDG_xxx_DIR related)
Summary: x11-terms/terminology-1.2.1 : sandbox issue (XDG_xxx_DIR related)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Joonas Niilola
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-16 16:50 UTC by Toralf Förster
Modified: 2018-05-20 00:37 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.50 KB, text/plain)
2018-05-16 16:50 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,262.78 KB, text/plain)
2018-05-16 16:50 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,15.15 KB, application/x-bzip)
2018-05-16 16:50 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,598 bytes, application/x-bzip)
2018-05-16 16:50 UTC, Toralf Förster
Details
sandbox-19285.log (sandbox-19285.log,452 bytes, text/plain)
2018-05-16 16:50 UTC, Toralf Förster
Details
x11-terms:terminology-1.2.1:20180516-111747.log (x11-terms:terminology-1.2.1:20180516-111747.log,3.47 KB, text/plain)
2018-05-16 16:50 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2018-05-16 16:50:28 UTC
This issue is forced at the tinderbox (pls see bug #567192 too) by setting:

export XDG_DESKTOP_DIR="/root/Desktop"
export XDG_DOCUMENTS_DIR="/root/Documents"
export XDG_DOWNLOAD_DIR="/root/Downloads"
export XDG_MUSIC_DIR="/root/Music"
export XDG_PICTURES_DIR="/root/Pictures"
export XDG_PUBLICSHARE_DIR="/root/Public"
export XDG_TEMPLATES_DIR="/root/Templates"
export XDG_VIDEOS_DIR="/root/Videos"
export XDG_RUNTIME_DIR="/root/run"
export XDG_CONFIG_HOME="/root/config"
export XDG_CACHE_HOME="/root/cache"
export XDG_DATA_HOME="/root/share"

sandbox output:

VERSION 1.0
FORMAT: F - Function called
FORMAT: S - Access Status
FORMAT: P - Path as passed to function
FORMAT: A - Absolute Path (not canonical)
FORMAT: R - Canonical Path
FORMAT: C - Command Line

F: mkdir
S: deny

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-desktop-plasma-systemd_20180508-183531

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.0 *

Available Python interpreters, in order of preference:
  [1]   python3.5
  [2]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby23 (with Rubygems) *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.7.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpv x11-terms/terminology
[ebuild  N    ] x11-terms/terminology-1.2.1  USE="nls" 

!!! The following installed packages are masked:
- dev-util/scons-3.0.1-r2::gentoo (masked by: package.mask)
/usr/portage/profiles/package.mask:
# Michał Górny <mgorny@gentoo.org> (16 May 2018)
# Broken *FLAGS handling.  Use -r3 instead.

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.
Comment 1 Toralf Förster gentoo-dev 2018-05-16 16:50:31 UTC
Created attachment 531844 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-05-16 16:50:34 UTC
Created attachment 531846 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2018-05-16 16:50:37 UTC
Created attachment 531848 [details]
etc.portage.tbz2
Comment 4 Toralf Förster gentoo-dev 2018-05-16 16:50:40 UTC
Created attachment 531850 [details]
logs.tbz2
Comment 5 Toralf Förster gentoo-dev 2018-05-16 16:50:43 UTC
Created attachment 531852 [details]
sandbox-19285.log
Comment 6 Toralf Förster gentoo-dev 2018-05-16 16:50:46 UTC
Created attachment 531854 [details]
x11-terms:terminology-1.2.1:20180516-111747.log
Comment 7 Joonas Niilola gentoo-dev 2018-05-17 05:06:34 UTC
Looking at other similar bugs, the solution seems simple enough for this. Ill prepare a PR to fix it. Thanks!
Comment 8 Larry the Git Cow gentoo-dev 2018-05-20 00:37:04 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0b4bfc415388f4d5f5ecbebc5c59e5ce4235998

commit f0b4bfc415388f4d5f5ecbebc5c59e5ce4235998
Author:     Joonas Niilola <juippis@gmail.com>
AuthorDate: 2018-05-17 05:12:10 +0000
Commit:     Aaron Bauman <bman@gentoo.org>
CommitDate: 2018-05-20 00:36:09 +0000

    x11-terms/terminology: fix xdg_environment_reset for 1.2.1
    
    Reported by Toralf Förster
    Closes: https://bugs.gentoo.org/655902
    Package-Manager: Portage[mgorny]-2.3.36.1
    Closes: https://github.com/gentoo/gentoo/pull/8439

 x11-terms/terminology/terminology-1.2.1.ebuild | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)