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

Bug 623824

Summary: dev-lang/scala-2.12.2 : sandbox issue (XDG_xxx_DIR related)
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Java team <java>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 567192    
Attachments: emerge-info.txt
dev-lang:scala-2.12.2:20170704-030600.log
emerge-history.txt
etc.portage.tbz2
logs.tbz2
sandbox-25618.log

Description Toralf Förster gentoo-dev 2017-07-04 17:04:33 UTC
This issue is forced at the tinderbox by making:

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"

pls see bug #567192 too

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_20170623-211337

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

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

Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python2.7 (fallback)
  [3]   pypy3 (fallback)
Available Ruby profiles:
  [1]   ruby21 (with Rubygems)
  [2]   ruby22 (with Rubygems) *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.4.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm
Comment 1 Toralf Förster gentoo-dev 2017-07-04 17:04:37 UTC
Created attachment 480706 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-07-04 17:04:40 UTC
Created attachment 480708 [details]
dev-lang:scala-2.12.2:20170704-030600.log
Comment 3 Toralf Förster gentoo-dev 2017-07-04 17:04:43 UTC
Created attachment 480710 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2017-07-04 17:04:46 UTC
Created attachment 480712 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2017-07-04 17:04:50 UTC
Created attachment 480714 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2017-07-04 17:04:52 UTC
Created attachment 480716 [details]
sandbox-25618.log
Comment 7 Larry the Git Cow gentoo-dev 2020-01-14 12:15:09 UTC
The bug has been closed via the following commit(s):

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

commit 626af0525b7cae58bc7051c5dd627a89ce1b1ad5
Author:     Mark Wright <gienah@gentoo.org>
AuthorDate: 2020-01-14 12:13:15 +0000
Commit:     Mark Wright <gienah@gentoo.org>
CommitDate: 2020-01-14 12:13:15 +0000

    dev-lang/scala: Bump to 2.12.10
    
    Thanks to toralf for reporting bug #623824, fixed with EAPI=7.
    
    Thanks to Till Schafer for reporting bug #662184, fixed with:
    use doc && einstalldocs
    
    Thanks to Gentookh for reporting, fixed by only calling
    check-reqs functions if ! use binary
    
    Closes: https://bugs.gentoo.org/show_bug.cgi?id=623824
    Closes: https://bugs.gentoo.org/show_bug.cgi?id=662184
    Closes: https://bugs.gentoo.org/show_bug.cgi?id=617586
    Package-Manager: Portage-2.3.84, Repoman-2.3.20
    Signed-off-by: Mark Wright <gienah@gentoo.org>

 dev-lang/scala/Manifest                         |   4 +
 dev-lang/scala/files/scala-2.12.10-no-git.patch |  37 +++++
 dev-lang/scala/scala-2.12.10.ebuild             | 198 ++++++++++++++++++++++++
 3 files changed, 239 insertions(+)