Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 692010 - media-sound/lilypond-2.19.80-r1 : sandbox issue
Summary: media-sound/lilypond-2.19.80-r1 : sandbox issue
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Scheme Project
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2019-08-12 18:06 UTC by Toralf Förster
Modified: 2020-07-05 09:33 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.95 KB, text/plain)
2019-08-12 18:06 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,66.65 KB, text/plain)
2019-08-12 18:06 UTC, Toralf Förster
Details
environment (environment,105.12 KB, text/plain)
2019-08-12 18:06 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,35.48 KB, application/x-bzip)
2019-08-12 18:06 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,10.59 KB, application/x-bzip)
2019-08-12 18:06 UTC, Toralf Förster
Details
media-sound:lilypond-2.19.80-r1:20190812-132218.log (media-sound:lilypond-2.19.80-r1:20190812-132218.log,12.43 KB, text/plain)
2019-08-12 18:06 UTC, Toralf Förster
Details
sandbox-6.log (sandbox-6.log,956 bytes, text/plain)
2019-08-12 18:06 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,27.57 KB, application/x-bzip)
2019-08-12 18:06 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 2019-08-12 18:06:33 UTC
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: mkostemp
S: deny

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_developer-abi32+64-20190810-161025

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

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

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

java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.12.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpvO media-sound/lilypond
[ebuild  N    ] media-sound/lilypond-2.19.80-r1  USE="-debug -emacs -guile2 -profile -vim-syntax" PYTHON_TARGETS="python2_7"
Comment 1 Toralf Förster gentoo-dev 2019-08-12 18:06:35 UTC
Created attachment 586632 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-08-12 18:06:38 UTC
Created attachment 586634 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2019-08-12 18:06:41 UTC
Created attachment 586636 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2019-08-12 18:06:43 UTC
Created attachment 586638 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2019-08-12 18:06:46 UTC
Created attachment 586640 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-08-12 18:06:49 UTC
Created attachment 586642 [details]
media-sound:lilypond-2.19.80-r1:20190812-132218.log
Comment 7 Toralf Förster gentoo-dev 2019-08-12 18:06:51 UTC
Created attachment 586644 [details]
sandbox-6.log
Comment 8 Toralf Förster gentoo-dev 2019-08-12 18:06:54 UTC
Created attachment 586646 [details]
temp.tbz2
Comment 9 Robert Spillner 2019-12-01 16:28:04 UTC
This is probably due to the fact that the lilypond configure script uses
fc-list to search for installed URW-fonts. fontconfig however maintains .uuid files and when fc-list is executed it also silently generates or updates these files. This leads to a sandbox violation during configuration phase.

A workaround for me was to execute "fc-list C059:fontformat=CFF file" as root before emerging lilypond so all .uuid files where generated beforehand.

Is this an upstream issue? Should the build system of a tool better not depend on a program that silently writes to the disk somewhere in the filesystem?
Comment 10 Alexey 2020-07-03 00:09:23 UTC
Still happens on media-sound/lilypond-2.21.1
Comment 11 Alexey 2020-07-03 11:10:45 UTC
This should be marked as blocking https://bugs.gentoo.org/223077

And https://github.com/gentoo/gentoo/pull/16568 fixes it
Comment 12 Larry the Git Cow gentoo-dev 2020-07-05 09:33:39 UTC
The bug has been closed via the following commit(s):

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

commit bd80db217c847c1b4c9d7bccc906610e66fb4b36
Author:     Alexey Sokolov <sokolov@google.com>
AuthorDate: 2020-07-03 11:07:26 +0000
Commit:     Miroslav Šulc <fordfrog@gentoo.org>
CommitDate: 2020-07-05 09:33:21 +0000

    media-sound/lilypond: fix sandbox violation
    
    Package-Manager: Portage-2.3.99, Repoman-2.3.23
    Signed-off-by: Alexey Sokolov <alexey+gentoo@asokolov.org>
    Closes: https://bugs.gentoo.org/692010
    Closes: https://github.com/gentoo/gentoo/pull/16568
    Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>

 media-sound/lilypond/lilypond-2.21.1.ebuild | 1 +
 media-sound/lilypond/lilypond-9999.ebuild   | 1 +
 2 files changed, 2 insertions(+)