Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 667182 - dev-lang/nim-0.19.0 : sandbox issue (XDG_xxx_DIR related)
Summary: dev-lang/nim-0.19.0 : 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: Sergei Trofimovich (RETIRED)
URL:
Whiteboard:
Keywords:
: 667184 (view as bug list)
Depends on:
Blocks: 567192
  Show dependency tree
 
Reported: 2018-09-27 19:13 UTC by Toralf Förster
Modified: 2018-10-06 20:15 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,15.42 KB, text/plain)
2018-09-27 19:13 UTC, Toralf Förster
Details
dev-lang:nim-0.19.0:20180927-120749.log (dev-lang:nim-0.19.0:20180927-120749.log,25.37 KB, text/plain)
2018-09-27 19:13 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,101.96 KB, text/plain)
2018-09-27 19:14 UTC, Toralf Förster
Details
environment (environment,47.90 KB, text/plain)
2018-09-27 19:14 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,23.84 KB, application/x-bzip)
2018-09-27 19:14 UTC, Toralf Förster
Details
sandbox-25130.log (sandbox-25130.log,301 bytes, text/plain)
2018-09-27 19:14 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,14.95 KB, application/x-bzip)
2018-09-27 19:14 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-09-27 19:13:53 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_test_20180924-211226

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] x86_64-pc-linux-gnu-8.2.0 *

Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.6
  [3]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby23 (with Rubygems)
  [2]   ruby25 (with Rubygems) *



emerge -qpv dev-lang/nim
[ebuild  N    ] dev-lang/nim-0.19.0  USE="readline -doc -test"
Comment 1 Toralf Förster gentoo-dev 2018-09-27 19:13:55 UTC
Created attachment 548062 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-09-27 19:13:59 UTC
Created attachment 548064 [details]
dev-lang:nim-0.19.0:20180927-120749.log
Comment 3 Toralf Förster gentoo-dev 2018-09-27 19:14:02 UTC
Created attachment 548066 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2018-09-27 19:14:05 UTC
Created attachment 548068 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2018-09-27 19:14:08 UTC
Created attachment 548070 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-09-27 19:14:10 UTC
Created attachment 548072 [details]
sandbox-25130.log
Comment 7 Toralf Förster gentoo-dev 2018-09-27 19:14:13 UTC
Created attachment 548074 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2018-09-28 21:32:33 UTC
The bug has been closed via the following commit(s):

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

commit bf096829a1577b14677ed810d6171c1b7fa4b523
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2018-09-28 21:32:10 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2018-09-28 21:32:25 +0000

    dev-lang/nim: fix USE=doc building, bug #667182
    
    Use 'koch doc' instead of 'koch web'. Old command
    does not generate html output anymore.
    
    While at it dropped XDG_CACHE_HOME to avoid user-defined dorectory.
    
    Reported-by: Toralf Förster
    Closes: https://bugs.gentoo.org/667182
    Package-Manager: Portage-2.3.50, Repoman-2.3.11

 dev-lang/nim/nim-0.19.0.ebuild | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
Comment 9 Sergei Trofimovich (RETIRED) gentoo-dev 2018-10-06 20:15:57 UTC
*** Bug 667184 has been marked as a duplicate of this bug. ***