this happens as some latex docs are being generated, so if you dont have a latexsuite installed, wont happen probably (texlive-core in my case). happens with the last stable and newest ~ version. ----cut---- kpathsea: Running mktextfm lcircle10 ACCESS DENIED mkdir: /var/cache/fonts/tfm mkdir: cannot create directory `././var/cache/fonts/tfm': Permission denied mktextfm: mktexdir /var/cache/fonts/tfm/public/latex failed. kpathsea: Appending font creation commands to missfont.log. /usr/bin/texi2dvi: texinfo.tex appears to be broken, quitting. make[1]: [libext2fs.dvi] Error 1 (ignored) ----cut---- --------------------------- ACCESS VIOLATION SUMMARY --------------------------- LOG FILE "/var/log/sandbox/sandbox-11317.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/tfm A: /var/cache/fonts/tfm R: /var/cache/fonts/tfm C: mkdir ././var/cache/fonts/tfm -------------------------------------------------------------------------------- Reproducible: Always Portage 2.2_rc23 (default/linux/amd64/2008.0, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.29-rc7 x86_64) ================================================================= System uname: Linux-2.6.29-rc7-x86_64-Intel-R-_Core-TM-2_CPU_U7500_@_1.06GHz-with-glibc2.2.5 Timestamp of tree: Thu, 05 Mar 2009 18:00:01 +0000 app-shells/bash: 3.2_p48-r1 dev-lang/python: 2.5.4-r2 dev-util/cmake: 2.6.3 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.4.3-r1 sys-apps/sandbox: 1.3.9 sys-devel/autoconf: 2.13, 2.63 sys-devel/automake: 1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.19.1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.28-r1 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=core2 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/live/env /usr/kde/live/share/config /usr/kde/live/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://mirror.mdfnet.se/mirror/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo http://gentoo.cs.nctu.edu.tw/gentoo/" LDFLAGS="-Wl,-O1" LINGUAS="en" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/layman/pro-audio /usr/local/portage/layman/kde-testing /usr/local/portage/layman/sunrise /usr/local/portage/layman/qting-edge /usr/local/portage/layman/roslin /usr/local/portage/layman/oss-overlay /usr/local/portage/layman/custom" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aac acl acpi amd64 automount bzip2 cli cmake crypt curl custom-cflags custom-cxxflags dbus dhcpcd dri encode ffmpeg gif git gnutls hal iconv idn inotify ipv6 isdnlog jpeg kde kdeprefix laptop mdnsresponder-compat midi mikmod mmx mmxext mng mp2 mp3 mudflap multilib ncurses networkmanager nls nptl nptlonly ogg opengl openmp oss otr pam pcre pdf plasma png pppd qt4 raster readline redland reflection resolvconf sdl session spl sse sse2 ssl ssse3 svg svgz symlink sysfs tcpd theora threads thumbnail tordns unicode v4l2 vim-syntax vorbis x264 xcomposite xinerama xorg xv xvid xvmc zeroconf zlib" 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" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon 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 deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en"USERLAND="GNU" VIDEO_CARDS="intel i810" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
thx for the report, looks like a missing dep. Assigning to maintaining team.
no idea how to make tex not crap itself
/var/cache/fonts (and thus its subdirs) should be world writable with the sticky bit set. If texlive does not set this as a default (I have not checked), I would say this is a bug of texlive.
(In reply to comment #3) > /var/cache/fonts (and thus its subdirs) should be world writable with the > sticky bit set. why? > If texlive does not set this as a default (I have not checked), > I would say this is a bug of texlive. its not the case anymore; ebuilds shall set VARTEXFONTS to $T/fonts see bug #223077 and bug #221921 (In reply to comment #0) > kpathsea: Running mktextfm lcircle10 > ACCESS DENIED mkdir: /var/cache/fonts/tfm > mkdir: cannot create directory `././var/cache/fonts/tfm': Permission denied > mktextfm: mktexdir /var/cache/fonts/tfm/public/latex failed. > kpathsea: Appending font creation commands to missfont.log. this is the vartexfonts stuff > /usr/bin/texi2dvi: texinfo.tex appears to be broken, quitting. for this e2fsprogs-libs may use a virtual/texi2dvi build dep.
(In reply to comment #4) > (In reply to comment #3) > > /var/cache/fonts (and thus its subdirs) should be world writable with the > > sticky bit set. > > why? Because this is the natural way to use the TeX systems: All users sharing the same fonts. There may be exceptions for some special-purpose systems, but these are, well, exceptions... Since this bug is the wrong place for this discussion, I add my remark to bug 221921.
having every ebuild add a line "export VARTEXFONTS=$T/fonts" seems kind of wrong. isnt there an eclass or something for this ?
(In reply to comment #6) > having every ebuild add a line "export VARTEXFONTS=$T/fonts" seems kind of > wrong. isnt there an eclass or something for this ? when I suggested that about one year ago there have been only voices against that idea [1], so no there is none. [1] http://archives.gentoo.org/gentoo-dev/msg_ca9614df6d0fb75f38ba776858cafaef.xml
So what's a poor user to do ? Is the only current solution to installing this important package to uninstall latex, install e2fsprogs-libs, then re-install latex ? I have the same problem but my error output is only slightly different to the original reporter as /var/cache/fonts/tfm/ directory already exists on my system prior to e2fsprogs-libs installation. /var/cache/fonts/ and all it's subdirectories are also world writable with the sticky bit set (this was mentioned in Comment #3, but was already the case). --------------------------- ACCESS VIOLATION SUMMARY --------------------------- LOG FILE "/var/log/sandbox/sandbox-21237.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/tfm/unknown A: /var/cache/fonts/tfm/unknown R: /var/cache/fonts/tfm/unknown C: mkdir ././var/cache/fonts/tfm/unknown ----------------------------------------- Manually mkdir'ing /var/cache/fonts/tfm/unknown/ with the appropriate permissions (drwxrwxrwt) still doesn't do it. Had to mkdir /var/cache/fonts/tfm/unknown/unknown/ with above permissions before e2fsprogs-libs would emerge on a system with latex installed.
I can confirm with: e2fsprogs-1.41.3-r1 and sandbox-1.7, but not with the stable sandbox
Created attachment 187035 [details] compile log
Same problem here, but without any Tex tools installed : it's a freshly installed system. 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: open_wr S: deny P: /etc/ld.so.cache~ A: /etc/ld.so.cache~ R: /etc/ld.so.cache~ C: /sbin/ldconfig F: open_wr S: deny P: /etc/ld.so.cache~ A: /etc/ld.so.cache~ R: /etc/ld.so.cache~ C: /sbin/ldconfig F: open_wr S: deny P: /etc/ld.so.cache~ A: /etc/ld.so.cache~ R: /etc/ld.so.cache~ C: /sbin/ldconfig F: open_wr S: deny P: /etc/ld.so.cache~ A: /etc/ld.so.cache~ R: /etc/ld.so.cache~ C: /sbin/ldconfig
Forgot to mention : it's a ~x86 system, not stable : Portage 2.1.6.11 (default/linux/x86/2008.0, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.28.6-20090221 i686) ================================================================= System uname: Linux-2.6.28.6-20090221-i686-Intel-R-_Core-TM-2_Duo_CPU_E8400_@_3.00GHz-with-glibc2.0 Timestamp of tree: Fri, 03 Apr 2009 10:15:01 +0000 app-shells/bash: 4.0_p10-r1 dev-lang/python: 2.5.4-r2 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.4.3-r1 sys-apps/sandbox: 1.7 sys-devel/autoconf: 2.63 sys-devel/automake: 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.19.1-r1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.28-r1 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=native -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -march=native -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://ftp.proxad.net/mirrors/ftp.gentoo.org ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo" LANG="fr_FR@euro" LC_ALL="fr_FR@euro" LDFLAGS="-Wl,--hash-style=gnu" LINGUAS="fr" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X acl acpi berkdb bzip2 cairo cleartype cli cracklib crypt cups dbus device-mapper dri fortran gdbm gif glitz gpm gtk hal iconv isdnlog jpeg jpeg2k midi mmx mudflap ncurses nls nptl nptlonly opengl openmp pam pcre perl png pppd python readline reflection samba sdl session spl sse2 ssl sysfs tcpd tiff truetype unicode x86 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon 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 deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr" USERLAND="GNU" VIDEO_CARDS="nvidia fbdev vesa" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
(In reply to comment #9) > I can confirm with: > e2fsprogs-1.41.3-r1 and sandbox-1.7, but not with the stable sandbox > I can confirm that. It is OK with sandbox-1.6-r2 but it doesn't work with the sandbox-1.7.
Not that it's necessary, but since I fixed it before I found this thread, I'm going to add my /confirm as well; masking sandbox 1.7 gets you passed this.
the /etc/ld.so.cache reports have nothing to do with this bug
does this fix things for people with tex errors ? sed -i 's:addwrite /var/cache/fonts:export VARTEXFONTS=$T/fonts:' <ebuild> looks like we've been carrying an addwrite for a while in this ebuild
(In reply to comment #16) > does this fix things for people with tex errors ? > > sed -i 's:addwrite /var/cache/fonts:export VARTEXFONTS=$T/fonts:' <ebuild> > > looks like we've been carrying an addwrite for a while in this ebuild > So is there nay fix? it's just awesome to find out those errors during a new install :'( I hope this can be solved asap. --------------------------- ACCESS VIOLATION SUMMARY --------------------------- LOG FILE "/var/log/sandbox/sandbox-22957.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: open_wr S: deny P: /etc/ld.so.cache~ A: /etc/ld.so.cache~ R: /etc/ld.so.cache~ C: /sbin/ldconfig F: open_wr S: deny P: /etc/ld.so.cache~ A: /etc/ld.so.cache~ R: /etc/ld.so.cache~ C: /sbin/ldconfig F: open_wr S: deny P: /etc/ld.so.cache~ A: /etc/ld.so.cache~ R: /etc/ld.so.cache~ C: /sbin/ldconfig -------------------------------------------------------------------------------- >>> Failed to emerge sys-fs/e2fsprogs-1.41.3-r1, Log file:
that error has nothing to do with this bug and is already fixed. your tree is out of date.
(In reply to comment #18) > that error has nothing to do with this bug and is already fixed. your tree is > out of date. > No, my tree is not out of date the only way i could emerge e2fsprogs was doing it from the installation stage3 and before emerge anything else. After that, i emerged --sync and emerged xorg etc and the error appeared. I sync my tree once a day so that's not the ase. Please could you tell which poackage you think is out of date? what makes you think my portage is out of date? Thanks, and please remember y have an updated system.
it's still unrelated and you should stop posting to this bug
I have had the same issue. The solution I found was to emerge version 1.41.4 (which is still testing "~" at the moment). Sonya, I suggest adding the following to /etc/portage/package.keywords: sys-fs/e2fsprogs ~x86 sys-libs/e2fsprogs-libs ~x86 Then try emerging the package again. I think this can be marked as having a workaround provided, until 1.41.4 has been marked stable at which time the bug should be marked as fixed.
I'trying to install sys-libs/e2fsprogs-libs-1.41.6 and I run just right into this bug: --------------------------- ACCESS VIOLATION SUMMARY --------------------------- LOG FILE "/var/log/sandbox/sandbox-13636.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/tfm A: /var/cache/fonts/tfm R: /var/cache/fonts/tfm C: mkdir ././var/cache/fonts/tfm -------------------------------------------------------------------------------- I'm confused right now ... as an user: should I really uninstal texlive-install e2fs..-installtexlive or should switch to sanbox<1.7 ... Sorry, but this thread is sorta mess.
Heheh ... geee ... easy: # mkdir -p /var/cache/fonts/tfm/unknown/unknown # chmod -R 777 /var/cache/fonts/tfm did it. It's pretty ugly though ...
*** Bug 274879 has been marked as a duplicate of this bug. ***
Now there's no e2fsprog-libs compilable with latex and latest sandbox in Portage tree )-:E
no one has bothered to verify my request on comment #16, so ive just gone ahead and merged it anyways
FYI, e2fsprogs-1.41.9 and e2fsprogs-libs-1.41.9 are working with sandbox 2.1