I have 5Gb free on the usr and var partitions. Lyx 1.3.0 was released a little while ago... I haven't found an ebuild for it but maybe that will work better. The compilation ends like this: /bin/install -c -m 644 languages /var/tmp/portage/lyx-1.2.3/image//usr/share/lyx/languages /bin/install -c -m 644 symbols /var/tmp/portage/lyx-1.2.3/image//usr/share/lyx/symbols make[3]: Leaving directory `/var/tmp/portage/lyx-1.2.3/work/lyx-1.2.3/lib' make[2]: Leaving directory `/var/tmp/portage/lyx-1.2.3/work/lyx-1.2.3/lib' make[1]: Leaving directory `/var/tmp/portage/lyx-1.2.3/work/lyx-1.2.3/lib' make[1]: Entering directory `/var/tmp/portage/lyx-1.2.3/work/lyx-1.2.3' make[2]: Entering directory `/var/tmp/portage/lyx-1.2.3/work/lyx-1.2.3' make[2]: Nothing to be done for `install-exec-am'. /bin/sh ./config/mkinstalldirs /var/tmp/portage/lyx-1.2.3/image//usr/share/man/man1 /bin/install -c -m 644 ./lyx.1 /var/tmp/portage/lyx-1.2.3/image//usr/share/man/man1/lyx.1 make[2]: Leaving directory `/var/tmp/portage/lyx-1.2.3/work/lyx-1.2.3' make[1]: Leaving directory `/var/tmp/portage/lyx-1.2.3/work/lyx-1.2.3' /usr/lib/portage/bin/dodoc: NEW does not exist. man: gzipping man page: reLyX.1 gzipping man page: lyx.1 strip: /var/tmp/portage/lyx-1.2.3/image//usr/bin/lyx >>> Completed installing into /var/tmp/portage/lyx-1.2.3/image/ --------------------------- ACCESS VIOLATION SUMMARY --------------------------- LOG FILE = "/tmp/sandbox-lyx-1.2.3-10897.log" mkdir: /usr/share/texmf/fonts/tfm/jknappen mkdir: /usr/share/texmf/fonts/tfm/jknappen/ec -------------------------------------------------------------------------------- Reproducible: Always Steps to Reproduce: 1. 2. 3.
Which tetex are you using?
I'm using: * app-text/tetex Latest version available: 2.0-r1
Created attachment 8209 [details, diff] Patch to prevent sandbox violation. Regarding the sandbox violation i have tracked down the creation of the directories as a result of running latex within the configure script for the lib directory. I did this with lyx-1.3.0, but i'm quite certain it's the same problem in 1.2.3. This script executes latex with lyx-1.3.0/lib/chkconfig.ltx which contain a call to a latex macro called \ecrm. Which seems to select a specific font and during the processing of that macro the offending directories are created. Patching the configure script with the following patch resolves the problem for 1.3.0. But i must add i'm not sure if there are any ill-effects of using the flag, but i've compiled and merged my 1.3.0 ebuild with it and it seems to work as far as i can tell.
Forgot to mention that the patch is indeed intended to 1.2.3 but untested on that version since i only unpacked,edited,diffed.
Well, I'm not going to disable generating, instead I'm going to disable the sandboxing of that directory. I'm also going to investigate why it's generating the fonts there, when it should be someplace else. Did you change anything in texconfig?
After an upgrade of portage lyx 1.3.0 now merged without problems.
Ok, if it works, I'm closing. There are some other lyx bugs, and I'll fix font generation in those...