There is an sandbox violation when emerging gnuplot with USE=doc. I reemerged all texlive packages but the problem didn't disappear. I am also encountering this problem with gnuplot-4.6.5 Reproducible: Always Steps to Reproduce: 1. USE=doc emerge sci-visualization/gnuplot-5.0.1-r1 Actual Results: nderfull \vbox (badness 1931) has occurred while \output is active [240] [241] [242] (./gnuplot.ind [243] [244] [245] [246] [247] [248] [249] [250]) (./gnuplot.aux) ) kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 1+0/600 --dpi 600 lasy10 * ACCESS DENIED: mkdir: /var/cache/fonts/pk/ljfour/public/latex-fonts * ISE:write_logfile: unable to append logfile: /var/log/sandbox/sandbox-15360.log * ../../sandbox-2.6/libsandbox/libsandbox.c:check_syscall():879: failure (Chybný popisovač souboru): * ISE: abs_path: /var/cache/fonts/pk/ljfour/public/latex-fonts res_path: /var/cache/fonts/pk/ljfour/public/latex-fonts /usr/lib64/libsandbox.so(+0xba71)[0x7f8fb01fda71] /usr/lib64/libsandbox.so(+0xbb78)[0x7f8fb01fdb78] /usr/lib64/libsandbox.so(+0x59a2)[0x7f8fb01f79a2] /usr/lib64/libsandbox.so(mkdir+0x6c)[0x7f8fb01fcc4c] mkdir[0x40266c] mkdir[0x401ec4] mkdir[0x40494d] mkdir[0x401c53] /lib64/libc.so.6(__libc_start_main+0xf5)[0x7f8fafe788f5] mkdir[0x401d09] /proc/17270/cmdline: mkdir ././var/cache/fonts/pk/ljfour/public/latex-fonts /usr/share/texmf-dist/web2c/mktexdir: řádek 40: 17270 Neúspěšně ukončen (SIGABRT) mkdir "./$pathcomp" mktexpk: /usr/share/texmf-dist/web2c/mktexdir /var/cache/fonts/pk/ljfour/public/latex-fonts failed. kpathsea: Appending font creation commands to missfont.log. (see the transcript file for additional information) !pdfTeX error: pdflatex (file lasy10): Font lasy10 at 600 not found ==> Fatal error occurred, no output PDF file produced! Makefile:993: návod pro cíl „gnuplot.pdf“ selhal make: *** [gnuplot.pdf] Chyba 1 make: Opouští se adresář „/var/tmp/portage/sci-visualization/gnuplot-5.0.1-r1/work/gnuplot-5.0.1/docs“ * ERROR: sci-visualization/gnuplot-5.0.1-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=sci-visualization/gnuplot-5.0.1-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=sci-visualization/gnuplot-5.0.1-r1::gentoo'`. * The complete build log is located at '/var/tmp/portage/sci-visualization/gnuplot-5.0.1-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sci-visualization/gnuplot-5.0.1-r1/temp/environment'. * Working directory: '/var/tmp/portage/sci-visualization/gnuplot-5.0.1-r1/work/gnuplot-5.0.1' * S: '/var/tmp/portage/sci-visualization/gnuplot-5.0.1-r1/work/gnuplot-5.0.1' >>> Failed to emerge sci-visualization/gnuplot-5.0.1-r1, Log file: >>> '/var/tmp/portage/sci-visualization/gnuplot-5.0.1-r1/temp/build.log' Expected Results: No error emerge --info Portage 2.2.24 (python 2.7.10-final-0, default/linux/amd64/13.0/desktop, gcc-4.8.5, glibc-2.21-r1, 4.1.12-gentoo x86_64) ================================================================= System uname: Linux-4.1.12-gentoo-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_6400+-with-gentoo-2.2 KiB Mem: 8181508 total, 4085104 free KiB Swap: 17407996 total, 17350276 free Timestamp of repository gentoo: Mon, 21 Dec 2015 17:15:02 +0000 sh bash 4.3_p39 ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1 distcc 3.2rc1 x86_64-pc-linux-gnu [disabled] ccache version 3.1.9 [enabled] app-shells/bash: 4.3_p39::gentoo dev-java/java-config: 2.2.0::gentoo dev-lang/perl: 5.20.2::gentoo dev-lang/python: 2.7.10-r1::gentoo, 3.3.5-r1::gentoo, 3.4.3::gentoo dev-util/ccache: 3.1.9-r4::gentoo dev-util/cmake: 3.3.1-r1::gentoo dev-util/pkgconfig: 0.28-r2::gentoo sys-apps/baselayout: 2.2::gentoo sys-apps/openrc: 0.19.1::gentoo sys-apps/sandbox: 2.6-r1::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69::gentoo sys-devel/automake: 1.11.6-r1::gentoo, 1.12.6::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo sys-devel/binutils: 2.25.1-r1::gentoo sys-devel/gcc: 4.7.4::gentoo, 4.8.5::gentoo, 4.9.3::gentoo sys-devel/gcc-config: 1.7.3::gentoo sys-devel/libtool: 2.4.6::gentoo sys-devel/make: 4.1-r1::gentoo sys-kernel/linux-headers: 3.18::gentoo (virtual/os-headers) sys-libs/glibc: 2.21-r1::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.europe.gentoo.org/gentoo-portage priority: -1000 fedora location: /var/lib/layman/fedora masters: gentoo priority: 0 steam-overlay location: /var/lib/layman/steam-overlay masters: gentoo priority: 1 x-portage location: /usr/local/portage masters: gentoo priority: 2 Installed sets: @system ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=athlon64 -mtune=athlon64 -pipe -fstack-protector" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/apache2-php5.6/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -march=athlon64 -mtune=athlon64 -pipe -fstack-protector" DISTDIR="/usr/portage/distfiles" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs ccache config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org ftp://ftp.sh.cvut.cz/MIRRORS/gentoo/gentoo" LANG="C" LC_ALL="cs_CZ.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j4 -l2.0" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" USE="3dnow 3dnowext 7zip X X509 a52 aac aalib acl acpi additions afterimage aio alsa amd64 amr amrnb amrwb apache2 apng artswrappersuid authfile auto-hinter bash-completion berkdb blender-game bluetooth branding bzip2 cairo ccache cdda cddb cdio cdr cdrom cdsound cgi chroot clamav clamd clang cli cmdsubmenu consolekit cracklib crypt cscope cuda cups custom-cflags custom-optimization cxx dbus declarative dedicated device-mapper dia directfb doc down-root dri dts dv dvb dvd dvdnav dvdr dynload emboss emerald enca encode exif extensions extra fam fat fbcon ffmpeg fftw firefox flac flash fontconfig fortran freetts ftp fts3 fuse g3dvl gallium games gbm gd gdbm gdu geoip gif glamor glitz glut gmp gpm graphics gstreamer gtk gudev harfbuzz hddtemp hpn humanities iconv icq icu ident iptv ipv6 irc jabber jadetex jamu java javascript jit joystick jpeg kdrive kerberos kpathsea laptop lcms ldap libcaca libnotify libsamplerate lirc lm_sensors logrotate logwatch lzma lzo mad mainmenuhooks math mbrola md5sum mikmod minizip mmx mmxext mng mod modules mouse mozdevelop mp2 mp3 mp4 mpeg mpeg2 mpeg3 mplayer msn multilib multiuser music mysql nas ncurses nls nptl nsplugin ntfs ntfsprogs nvidia nvram ogg opencl opengl openmp pam pango pcre pda pdf php pixbuf png policykit ppds pstricks publishers python qt3support qt4 rar rdesktop readline rss rtc rtsp samba sasl savedconfig science screen sdl seamonkey seccomp sensord session setup setup-plugin sip sipim slang smime sound sounds sox spell srt sse sse2 sse3 ssl startup-notification stream submenu subtitles subversion suid svg sysfs syslog system-cairo system-icu system-jpeg system-sqlite tcpd tex4ht theora threads threadsafe tiff timercmd timerinfo tk truetype ttxtsubs udev udisks unicode unsupported upnp upower usb uvm v4l2 vcd vdpau vdr vim-syntax vim-with-x vlc vnc volctrl vorbis wav wifi wmf wxwidgets wxwindows x264 xattr xcb xcomposite xetex xft xine xinerama xml xosd xplanet xpm xscreensaver xv xvid xvmc zip zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="3dnow 3dnowext mmx mmxext sse sse2 sse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev keyboard joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="cs en" LIRC_DEVICES="devinput" NETBEANS_MODULES="cnd dlight enterprise ergonomics groovy identity mobility php profiler ruby apisupport harness ide java nb websvccommon" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Please attach the full build.log, with LC_MESSAGES=C.
Created attachment 420496 [details] Build log Full build log created by: export LC_MESSAGES=C USE=doc emerge -u gnuplot Unfortunately it seems there are still some messages localized. Maybe there is something broken in my texlive, but I did: emerge -1 `eix -I --only-names texlive` And I use stable texlive packages: eix -I -c texlive [I] app-text/texlive (2014@22.12.2015): A complete TeX distribution [I] app-text/texlive-core (2014-r4@22.12.2015): A complete TeX distribution [I] dev-texlive/texlive-basic (2014@22.12.2015): TeXLive Essential programs and files [I] dev-texlive/texlive-bibtexextra (2014@22.12.2015): TeXLive BibTeX additional styles [I] dev-texlive/texlive-fontsextra (2014@22.12.2015): TeXLive Additional fonts [I] dev-texlive/texlive-fontsrecommended (2014@22.12.2015): TeXLive Recommended fonts [I] dev-texlive/texlive-fontutils (2014@22.12.2015): TeXLive Graphics and font utilities [I] dev-texlive/texlive-formatsextra (2014@22.12.2015): TeXLive Additional formats [I] dev-texlive/texlive-games (2014@22.12.2015): TeXLive Games typesetting [I] dev-texlive/texlive-genericextra (2014@22.12.2015): TeXLive Generic additional packages [I] dev-texlive/texlive-genericrecommended (2014@22.12.2015): TeXLive Generic recommended packages [I] dev-texlive/texlive-htmlxml (2012@22.12.2015): TeXLive HTML/SGML/XML support [I] dev-texlive/texlive-humanities (2014@22.12.2015): TeXLive Humanities packages [I] dev-texlive/texlive-langczechslovak (2014@22.12.2015): TeXLive Czech/Slovak [I] dev-texlive/texlive-langenglish (2014@22.12.2015): TeXLive US and UK English [I] dev-texlive/texlive-latex (2014@22.12.2015): TeXLive LaTeX fundamental packages [I] dev-texlive/texlive-latexextra (2014@22.12.2015): TeXLive LaTeX additional packages [I] dev-texlive/texlive-latexrecommended (2014@22.12.2015): TeXLive LaTeX recommended packages [I] dev-texlive/texlive-mathextra (2014@22.12.2015): TeXLive Mathematics packages [I] dev-texlive/texlive-metapost (2014@22.12.2015): TeXLive MetaPost and Metafont packages [I] dev-texlive/texlive-music (2014@22.12.2015): TeXLive Music packages [I] dev-texlive/texlive-pictures (2014@22.12.2015): TeXLive Graphics, pictures, diagrams [I] dev-texlive/texlive-plainextra (2014@22.12.2015): TeXLive Plain TeX packages [I] dev-texlive/texlive-pstricks (2014@22.12.2015): TeXLive PSTricks [I] dev-texlive/texlive-publishers (2014@22.12.2015): TeXLive Publisher styles, theses, etc. [I] dev-texlive/texlive-science (2014@22.12.2015): TeXLive Natural and computer sciences [I] dev-texlive/texlive-xetex (2014@22.12.2015): TeXLive XeTeX and packages Found 27 matches. and it seems other packages build OK with doc (not counting VirtualBox).
(In reply to Yarda from comment #2) > Created attachment 420496 [details] > Build log Please don't compress build.log (at least, not twice!). Anyway, I succeeded to read it. > Unfortunately it seems there are still some messages localized. Right, in your emerge --info I see LC_ALL="cs_CZ.UTF-8". This will override LC_MESSAGES. More like a shot in the dark, does it build if you change the first line in src_compile() like this: - VARTEXFONTS="${T}/fonts" + export VARTEXFONTS="${T}/fonts"
(In reply to Ulrich Müller from comment #3) > (In reply to Yarda from comment #2) > > Created attachment 420496 [details] > > Build log > > Please don't compress build.log (at least, not twice!). Anyway, I succeeded > to read it. > I just gzipped it to save the bandwidth by: gzip build.log I checked the original file (which I preserved) and it's compressed only once, but the file downloaded from the bugzilla is compressed twice, really strange. Maybe some bugzilla feature/bug? Original file uploaded to bugzilla: 5a314ffe536e123728b14825f3773d45 build.log.gz 21491 zcat build.log.gz # text File downloaded from bugzilla: a9b1c70fc03dbc4fc49b2e7a2e645e86 build.log.gz 21204 zcat build.log.gz | less # garbage zcat build.log.gz | zcat | less # text > > Unfortunately it seems there are still some messages localized. > > Right, in your emerge --info I see LC_ALL="cs_CZ.UTF-8". This will override > LC_MESSAGES. > Thanks for the tip, portage is still mystery for me :) > > More like a shot in the dark, does it build if you change the first line in > src_compile() like this: > > - VARTEXFONTS="${T}/fonts" > + export VARTEXFONTS="${T}/fonts" Thanks it works.
(In reply to Yarda from comment #4) > > > Unfortunately it seems there are still some messages localized. > > > > Right, in your emerge --info I see LC_ALL="cs_CZ.UTF-8". This will override > > LC_MESSAGES. > > > Thanks for the tip, portage is still mystery for me :) > Not portage, my /etc/env.d/02locale, fixed.
(In reply to Yarda from comment #4) > > - VARTEXFONTS="${T}/fonts" > > + export VARTEXFONTS="${T}/fonts" > > Thanks it works. Good. I have added the export statement in 5.0.1-r1 and in the stable 4.6.5 version. Thanks for reporting!