Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bugzilla DB migration completed. Please report issues to Infra team via email via infra@gentoo.org or IRC
Bug 727996 - dev-tex/rubber-1.5.1: emake failed: sandbox violation
Summary: dev-tex/rubber-1.5.1: emake failed: sandbox violation
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: TeX project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-11 20:49 UTC by Thomas Deutschmann
Modified: 2020-06-11 23:15 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Deutschmann gentoo-dev Security 2020-06-11 20:49:28 UTC
* Package:    dev-tex/rubber-1.5.1
 * Repository: gentoo
 * Maintainer: tex@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python3_6 python_targets_python3_7 python_targets_python3_8 userland_GNU
 * FEATURES:   network-sandbox preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking rubber-1.5.1.tar.gz to /var/tmp/portage/dev-tex/rubber-1.5.1/work
>>> Source unpacked in /var/tmp/portage/dev-tex/rubber-1.5.1/work
>>> Preparing source in /var/tmp/portage/dev-tex/rubber-1.5.1/work/rubber-1.5.1 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-tex/rubber-1.5.1/work/rubber-1.5.1 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-tex/rubber-1.5.1/work/rubber-1.5.1 ...
 * python3_6: running distutils-r1_run_phase distutils-r1_python_compile
 * DISTUTILS_USE_SETUPTOOLS value is probably incorrect
 *   value:    DISTUTILS_USE_SETUPTOOLS=bdepend (default?)
 *   expected: DISTUTILS_USE_SETUPTOOLS=no
python3.6 setup.py build -j 16
running build
generating doc/man-en/rubber.1 from doc/man-en/rubber.1.in
generating doc/man-en/rubber-info.1 from doc/man-en/rubber-info.1.in
generating doc/man-fr/rubber.1 from doc/man-fr/rubber.1.in
generating doc/man-fr/rubber-info.1 from doc/man-fr/rubber-info.1.in
generating doc/rubber.texi from doc/rubber.texi.in
generating src/version.py from src/version.py.in
running build_py
creating /var/tmp/portage/dev-tex/rubber-1.5.1/work/rubber-1.5.1-python3_6/lib/rubber
copying src/index.py -> /var/tmp/portage/dev-tex/rubber-1.5.1/work/rubber-1.5.1-python3_6/lib/rubber
copying src/convert.py -> /var/tmp/portage/dev-tex/rubber-1.5.1/work/rubber-1.5.1-python3_6/lib/rubber
copying src/depend.py -> /var/tmp/portage/dev-tex/rubber-1.5.1/work/rubber-1.5.1-python3_6/lib/rubber
copying src/module_interface.py -> /var/tmp/portage/dev-tex/rubber-1.5.1/work/rubber-1.5.1-python3_6/lib/rubber
copying src/cmdline.py -> /var/tmp/portage/dev-tex/rubber-1.5.1/work/rubber-1.5.1-python3_6/lib/rubber
copying src/environment.py -> /var/tmp/portage/dev-tex/rubber-1.5.1/work/rubber-1.5.1-python3_6/lib/rubber
copying src/version.py -> /var/tmp/portage/dev-tex/rubber-1.5.1/work/rubber-1.5.1-python3_6/lib/rubber
copying src/tex.py -> /var/tmp/portage/dev-tex/rubber-1.5.1/work/rubber-1.5.1-python3_6/lib/rubber
copying src/biblio.py -> /var/tmp/portage/dev-tex/rubber-1.5.1/work/rubber-1.5.1-python3_6/lib/rubber
copying src/util.py -> /var/tmp/portage/dev-tex/rubber-1.5.1/work/rubber-1.5.1-python3_6/lib/rubber
copying src/dvip_tool.py -> /var/tmp/portage/dev-tex/rubber-1.5.1/work/rubber-1.5.1-python3_6/lib/rubber
copying src/__init__.py -> /var/tmp/portage/dev-tex/rubber-1.5.1/work/rubber-1.5.1-python3_6/lib/rubber
creating /var/tmp/portage/dev-tex/rubber-1.5.1/work/rubber-1.5.1-python3_6/lib/rubber/converters
copying src/converters/latex.py -> /var/tmp/portage/dev-tex/rubber-1.5.1/work/rubber-1.5.1-python3_6/lib/rubber/converters
copying src/converters/compressor.py -> /var/tmp/portage/dev-tex/rubber-1.5.1/work/rubber-1.5.1-python3_6/lib/rubber/converters
copying src/converters/shell.py -> /var/tmp/portage/dev-tex/rubber-1.5.1/work/rubber-1.5.1-python3_6/lib/rubber/converters
copying src/converters/literate.py -> /var/tmp/portage/dev-tex/rubber-1.5.1/work/rubber-1.5.1-python3_6/lib/rubber/converters
copying src/converters/fig2dev.py -> /var/tmp/portage/dev-tex/rubber-1.5.1/work/rubber-1.5.1-python3_6/lib/rubber/converters
copying src/converters/__init__.py -> /var/tmp/portage/dev-tex/rubber-1.5.1/work/rubber-1.5.1-python3_6/lib/rubber/converters
copying src/converters/eps_gz.py -> /var/tmp/portage/dev-tex/rubber-1.5.1/work/rubber-1.5.1-python3_6/lib/rubber/converters
copying src/converters/mpost.py -> /var/tmp/portage/dev-tex/rubber-1.5.1/work/rubber-1.5.1-python3_6/lib/rubber/converters
creating /var/tmp/portage/dev-tex/rubber-1.5.1/work/rubber-1.5.1-python3_6/lib/rubber/latex_modules
copying src/latex_modules/index.py -> /var/tmp/portage/dev-tex/rubber-1.5.1/work/rubber-1.5.1-python3_6/lib/rubber/latex_modules
copying src/latex_modules/asymptote.py -> /var/tmp/portage/dev-tex/rubber-1.5.1/work/rubber-1.5.1-python3_6/lib/rubber/latex_modules
copying src/latex_modules/graphicx.py -> /var/tmp/portage/dev-tex/rubber-1.5.1/work/rubber-1.5.1-python3_6/lib/rubber/latex_modules
copying src/latex_modules/vtex.py -> /var/tmp/portage/dev-tex/rubber-1.5.1/work/rubber-1.5.1-python3_6/lib/rubber/latex_modules
copying src/latex_modules/listings.py -> /var/tmp/portage/dev-tex/rubber-1.5.1/work/rubber-1.5.1-python3_6/lib/rubber/latex_modules
copying src/latex_modules/pythontex.py -> /var/tmp/portage/dev-tex/rubber-1.5.1/work/rubber-1.5.1-python3_6/lib/rubber/latex_modules
copying src/latex_modules/verbatim.py -> /var/tmp/portage/dev-tex/rubber-1.5.1/work/rubber-1.5.1-python3_6/lib/rubber/latex_modules
copying src/latex_modules/makeidx.py -> /var/tmp/portage/dev-tex/rubber-1.5.1/work/rubber-1.5.1-python3_6/lib/rubber/latex_modules
copying src/latex_modules/xr.py -> /var/tmp/portage/dev-tex/rubber-1.5.1/work/rubber-1.5.1-python3_6/lib/rubber/latex_modules
copying src/latex_modules/bibtex.py -> /var/tmp/portage/dev-tex/rubber-1.5.1/work/rubber-1.5.1-python3_6/lib/rubber/latex_modules
copying src/latex_modules/ltxtable.py -> /var/tmp/portage/dev-tex/rubber-1.5.1/work/rubber-1.5.1-python3_6/lib/rubber/latex_modules
copying src/latex_modules/ps2pdf.py -> /var/tmp/portage/dev-tex/rubber-1.5.1/work/rubber-1.5.1-python3_6/lib/rubber/latex_modules
copying src/latex_modules/graphics.py -> /var/tmp/portage/dev-tex/rubber-1.5.1/work/rubber-1.5.1-python3_6/lib/rubber/latex_modules
copying src/latex_modules/combine.py -> /var/tmp/portage/dev-tex/rubber-1.5.1/work/rubber-1.5.1-python3_6/lib/rubber/latex_modules
copying src/latex_modules/nomencl.py -> /var/tmp/portage/dev-tex/rubber-1.5.1/work/rubber-1.5.1-python3_6/lib/rubber/latex_modules
copying src/latex_modules/moreverb.py -> /var/tmp/portage/dev-tex/rubber-1.5.1/work/rubber-1.5.1-python3_6/lib/rubber/latex_modules
copying src/latex_modules/multibib.py -> /var/tmp/portage/dev-tex/rubber-1.5.1/work/rubber-1.5.1-python3_6/lib/rubber/latex_modules
copying src/latex_modules/dvips.py -> /var/tmp/portage/dev-tex/rubber-1.5.1/work/rubber-1.5.1-python3_6/lib/rubber/latex_modules
copying src/latex_modules/pdftex.py -> /var/tmp/portage/dev-tex/rubber-1.5.1/work/rubber-1.5.1-python3_6/lib/rubber/latex_modules
copying src/latex_modules/dvipdfm.py -> /var/tmp/portage/dev-tex/rubber-1.5.1/work/rubber-1.5.1-python3_6/lib/rubber/latex_modules
copying src/latex_modules/biblatex.py -> /var/tmp/portage/dev-tex/rubber-1.5.1/work/rubber-1.5.1-python3_6/lib/rubber/latex_modules
copying src/latex_modules/__init__.py -> /var/tmp/portage/dev-tex/rubber-1.5.1/work/rubber-1.5.1-python3_6/lib/rubber/latex_modules
copying src/latex_modules/bibtopic.py -> /var/tmp/portage/dev-tex/rubber-1.5.1/work/rubber-1.5.1-python3_6/lib/rubber/latex_modules
copying src/latex_modules/epsfig.py -> /var/tmp/portage/dev-tex/rubber-1.5.1/work/rubber-1.5.1-python3_6/lib/rubber/latex_modules
copying src/latex_modules/minitoc.py -> /var/tmp/portage/dev-tex/rubber-1.5.1/work/rubber-1.5.1-python3_6/lib/rubber/latex_modules
copying src/latex_modules/xelatex.py -> /var/tmp/portage/dev-tex/rubber-1.5.1/work/rubber-1.5.1-python3_6/lib/rubber/latex_modules
copying src/latex_modules/hyperref.rub -> /var/tmp/portage/dev-tex/rubber-1.5.1/work/rubber-1.5.1-python3_6/lib/rubber/latex_modules
copying src/latex_modules/glossaries.rub -> /var/tmp/portage/dev-tex/rubber-1.5.1/work/rubber-1.5.1-python3_6/lib/rubber/latex_modules
copying src/latex_modules/minitoc-hyper.rub -> /var/tmp/portage/dev-tex/rubber-1.5.1/work/rubber-1.5.1-python3_6/lib/rubber/latex_modules
copying src/latex_modules/omega.rub -> /var/tmp/portage/dev-tex/rubber-1.5.1/work/rubber-1.5.1-python3_6/lib/rubber/latex_modules
copying src/latex_modules/ntheorem.rub -> /var/tmp/portage/dev-tex/rubber-1.5.1/work/rubber-1.5.1-python3_6/lib/rubber/latex_modules
copying src/latex_modules/aleph.rub -> /var/tmp/portage/dev-tex/rubber-1.5.1/work/rubber-1.5.1-python3_6/lib/rubber/latex_modules
copying src/latex_modules/backref.rub -> /var/tmp/portage/dev-tex/rubber-1.5.1/work/rubber-1.5.1-python3_6/lib/rubber/latex_modules
copying src/latex_modules/beamer.rub -> /var/tmp/portage/dev-tex/rubber-1.5.1/work/rubber-1.5.1-python3_6/lib/rubber/latex_modules
copying src/latex_modules/gnuplottex.rub -> /var/tmp/portage/dev-tex/rubber-1.5.1/work/rubber-1.5.1-python3_6/lib/rubber/latex_modules
copying src/rules.ini -> /var/tmp/portage/dev-tex/rubber-1.5.1/work/rubber-1.5.1-python3_6/lib/rubber
warning: build_py: byte-compiling is disabled, skipping.

running build_scripts
creating /var/tmp/portage/dev-tex/rubber-1.5.1/work/rubber-1.5.1-python3_6/scripts
copying and adjusting rubber -> /var/tmp/portage/dev-tex/rubber-1.5.1/work/rubber-1.5.1-python3_6/scripts
copying and adjusting rubber-info -> /var/tmp/portage/dev-tex/rubber-1.5.1/work/rubber-1.5.1-python3_6/scripts
copying and adjusting rubber-pipe -> /var/tmp/portage/dev-tex/rubber-1.5.1/work/rubber-1.5.1-python3_6/scripts
changing mode of /var/tmp/portage/dev-tex/rubber-1.5.1/work/rubber-1.5.1-python3_6/scripts/rubber from 644 to 755
changing mode of /var/tmp/portage/dev-tex/rubber-1.5.1/work/rubber-1.5.1-python3_6/scripts/rubber-info from 644 to 755
changing mode of /var/tmp/portage/dev-tex/rubber-1.5.1/work/rubber-1.5.1-python3_6/scripts/rubber-pipe from 644 to 755
generating doc/rubber.html from doc/rubber.texi
makeinfo --html --no-split --output=doc/rubber.html doc/rubber.texi
generating doc/rubber.info from doc/rubber.texi
makeinfo --info --output=doc/rubber.info doc/rubber.texi
generating doc/rubber.pdf from doc/rubber.texi
texi2dvi --pdf --quiet --tidy --output=doc/rubber.pdf doc/rubber.texi

kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 1+0/600 --dpi 600 cmr9
 * ACCESS DENIED:  mkdir:        /var/cache/fonts
 * ACCESS DENIED:  mkdir:        /var/cache/fonts
mkdir: cannot create directory ‘././var/cache/fonts’: Permission denied
mktexpk: /usr/share/texmf-dist/web2c/mktexdir /var/cache/fonts/pk/ljfour/public/cm failed.
kpathsea: Appending font creation commands to missfont.log.

kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 1+0/600 --dpi 600 cmr9
 * ACCESS DENIED:  mkdir:        /var/cache/fonts
 * ACCESS DENIED:  mkdir:        /var/cache/fonts
mkdir: cannot create directory ‘././var/cache/fonts’: Permission denied
mktexpk: /usr/share/texmf-dist/web2c/mktexdir /var/cache/fonts/pk/ljfour/public/cm failed.
kpathsea: Appending font creation commands to missfont.log.
/usr/bin/texi2dvi: pdfetex exited with bad status, quitting.
error: command 'texi2dvi' failed with exit status 1
 * ERROR: dev-tex/rubber-1.5.1::gentoo failed (compile phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  125:  Called src_compile
 *   environment, line 2880:  Called distutils-r1_src_compile
 *   environment, line 1181:  Called _distutils-r1_run_foreach_impl 'distutils-r1_python_compile'
 *   environment, line  440:  Called python_foreach_impl 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 2511:  Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 2017:  Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 2015:  Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line  823:  Called distutils-r1_run_phase 'distutils-r1_python_compile'
 *   environment, line 1172:  Called distutils-r1_python_compile
 *   environment, line 1042:  Called esetup.py 'build' '-j' '16'
 *   environment, line 1561:  Called die
 * The specific snippet of code:
 *       "${@}" || die "${die_args[@]}";
 * 
 * If you need support, post the output of `emerge --info '=dev-tex/rubber-1.5.1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-tex/rubber-1.5.1::gentoo'`.
 * The complete build log is located at '/var/log/portage/dev-tex:rubber-1.5.1:20200611-204632.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-tex/rubber-1.5.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-tex/rubber-1.5.1/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-tex/rubber-1.5.1/work/rubber-1.5.1'
 * S: '/var/tmp/portage/dev-tex/rubber-1.5.1/work/rubber-1.5.1'
 * --------------------------- ACCESS VIOLATION SUMMARY ---------------------------
 * LOG FILE: "/var/tmp/portage/dev-tex/rubber-1.5.1/temp/sandbox.log"
 * 
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
P: ././var/cache/fonts
A: /var/cache/fonts
R: /var/cache/fonts
C: mkdir ././var/cache/fonts 

F: mkdir
S: deny
P: ././var/cache/fonts
A: /var/cache/fonts
R: /var/cache/fonts
C: mkdir ././var/cache/fonts 

F: mkdir
S: deny
P: ././var/cache/fonts
A: /var/cache/fonts
R: /var/cache/fonts
C: mkdir ././var/cache/fonts 

F: mkdir
S: deny
P: ././var/cache/fonts
A: /var/cache/fonts
R: /var/cache/fonts
C: mkdir ././var/cache/fonts 
 * --------------------------------------------------------------------------------
Comment 1 Thomas Deutschmann gentoo-dev Security 2020-06-11 21:14:36 UTC
I was able to merge package with

  `VARTEXFONTS='${T}/fonts' emerge -a dev-tex/rubber`
Comment 2 Ulrich Müller gentoo-dev 2020-06-11 23:14:15 UTC
pkg_setup() {
export VARTEXFONTS="${T}"/fonts
Comment 3 Ulrich Müller gentoo-dev 2020-06-11 23:15:26 UTC
Does adding the following to the ebuild solve the problem too?

pkg_setup() {
    export VARTEXFONTS="${T}"/fonts
}