Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 261411
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo's Team for Core System packages <base-system@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: steffen stramm <krytzz@soylent.eu>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
sys-fs:e2fsprogs-1.41.3-r1:20090402-013703.log compile log text/plain David Carlos Manuelda 2009-04-01 23:46 0000 38.71 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 261411 depends on: Show dependency tree
Bug 261411 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2009-03-06 03:35 0000
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

------- Comment #1 From Jeremy Olexa (darkside) 2009-03-06 05:35:19 0000 -------
thx for the report, looks like a missing dep. Assigning to maintaining team.

------- Comment #2 From SpanKY 2009-03-06 06:43:00 0000 -------
no idea how to make tex not crap itself

------- Comment #3 From Martin Väth 2009-03-06 15:43:41 0000 -------
/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.

------- Comment #4 From Alexis Ballier 2009-03-07 10:58:08 0000 -------
(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.

------- Comment #5 From Martin Väth 2009-03-07 13:57:15 0000 -------
(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.

------- Comment #6 From SpanKY 2009-03-07 20:13:53 0000 -------
having every ebuild add a line "export VARTEXFONTS=$T/fonts" seems kind of
wrong.  isnt there an eclass or something for this ?

------- Comment #7 From Alexis Ballier 2009-03-08 15:45:59 0000 -------
(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

------- Comment #8 From Rick Harris 2009-03-21 10:26:38 0000 -------
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.

------- Comment #9 From David Carlos Manuelda 2009-04-01 23:44:14 0000 -------
I can confirm with:
e2fsprogs-1.41.3-r1 and sandbox-1.7, but not with the stable sandbox

------- Comment #10 From David Carlos Manuelda 2009-04-01 23:46:02 0000 -------
Created an attachment (id=187035) [details]
compile log

------- Comment #11 From Hubert Mercier 2009-04-03 10:51:18 0000 -------
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 

------- Comment #12 From Hubert Mercier 2009-04-03 10:52:40 0000 -------
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

------- Comment #13 From Jiri Tyr 2009-04-03 16:41:46 0000 -------
(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.

------- Comment #14 From Colin DuPée 2009-04-03 17:40:52 0000 -------
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.

------- Comment #15 From SpanKY 2009-04-05 03:16:33 0000 -------
the /etc/ld.so.cache reports have nothing to do with this bug

------- Comment #16 From SpanKY 2009-04-05 03:19:10 0000 -------
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

------- Comment #17 From soya 2009-04-09 16:45:36 0000 -------
(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:

------- Comment #18 From SpanKY 2009-04-10 04:59:06 0000 -------
that error has nothing to do with this bug and is already fixed.  your tree is
out of date.

------- Comment #19 From soya 2009-04-12 13:53:08 0000 -------
(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.

------- Comment #20 From soya 2009-04-12 15:11:08 0000 -------
(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.

------- Comment #21 From SpanKY 2009-04-12 19:23:06 0000 -------
it's still unrelated and you should stop posting to this bug

------- Comment #22 From Jake Magee 2009-05-15 17:19:59 0000 -------
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.

------- Comment #23 From Oliver Maurhart 2009-06-01 07:26:51 0000 -------
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.

------- Comment #24 From Oliver Maurhart 2009-06-01 07:31:23 0000 -------
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 ...

------- Comment #25 From SpanKY 2009-06-25 14:16:04 0000 -------
*** Bug 274879 has been marked as a duplicate of this bug. ***

------- Comment #26 From Nickolaj Stjujsckij 2009-06-26 07:19:03 0000 -------
Now there's no e2fsprog-libs compilable with latex and latest sandbox in
Portage tree )-:E

------- Comment #27 From SpanKY 2009-07-03 19:35:18 0000 -------
no one has bothered to verify my request on comment #16, so ive just gone ahead
and merged it anyways

------- Comment #28 From José María Fernández González 2009-09-01 13:25:33 0000 -------
FYI, e2fsprogs-1.41.9 and e2fsprogs-libs-1.41.9 are working with sandbox 2.1

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug