Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 15425 - Lyx-1.2.3 wont emerge... Access violation error.
Summary: Lyx-1.2.3 wont emerge... Access violation error.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Matthew Turk (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-10 04:22 UTC by Alexander Isacson
Modified: 2003-02-26 21:53 UTC (History)
0 users

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


Attachments
Patch to prevent sandbox violation. (lyx-1.2.3-no-texmf-files.patch,544 bytes, patch)
2003-02-12 18:39 UTC, Mikael A
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Isacson 2003-02-10 04:22:41 UTC
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.
Comment 1 Matthew Turk (RETIRED) gentoo-dev 2003-02-10 12:56:00 UTC
Which tetex are you using? 
Comment 2 Alexander Isacson 2003-02-10 17:36:07 UTC
I'm using:

*  app-text/tetex
      Latest version available: 2.0-r1
  
Comment 3 Mikael A 2003-02-12 18:39:10 UTC
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.
Comment 4 Mikael A 2003-02-12 18:41:30 UTC
Forgot to mention that the patch is indeed intended to 1.2.3 but untested 
on that version since i only unpacked,edited,diffed. 
Comment 5 Matthew Turk (RETIRED) gentoo-dev 2003-02-12 20:02:48 UTC
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? 
Comment 6 Alexander Isacson 2003-02-20 11:22:11 UTC
After an upgrade of portage lyx 1.3.0 now merged without problems.
Comment 7 Matthew Turk (RETIRED) gentoo-dev 2003-02-26 21:53:24 UTC
Ok, if it works, I'm closing.  There are some other lyx bugs, and I'll fix font generation in 
those...