Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 15766 - sandbox violation for lyx-13.0
Summary: sandbox violation for lyx-13.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Matthew Turk (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-15 22:12 UTC by Brian Magnuson
Modified: 2003-05-12 22:31 UTC (History)
2 users (show)

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


Attachments
capture from make install (lyx-1.3.0-sandbox.log,26.28 KB, text/plain)
2003-02-15 22:18 UTC, Brian Magnuson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Brian Magnuson 2003-02-15 22:12:53 UTC
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/tmp/sandbox-lyx-1.3.0-24990.log"

mkdir:     /var/cache/fonts/tfm/jknappen
mkdir:     /var/cache/fonts/tfm/jknappen/ec
--------------------------------------------------------------------------------

Reproducible: Always
Steps to Reproduce:
Comment 1 Brian Magnuson 2003-02-15 22:18:07 UTC
Created attachment 8318 [details]
capture from make install
Comment 2 Cong 2003-02-16 09:47:19 UTC
I dont know why, but I have found that adding a line:
econf ""
before line 41 in /usr/portage/app-office/lyx/lyx-1.3.0.ebuild
may solve your problem.

cf  bugzilla.lyx.org #874.
Comment 3 Ferris McCormick (RETIRED) gentoo-dev 2003-02-20 08:36:27 UTC
This might be coincidence, but it is similar enough to note here.  A couple days
ago, with 'emerge html2latex' (required by something else), the I received the
same Access Violation with LOG_FILE=/tmp/sandbox-pyOpenSSL-0.5.1-30089.log

and said file contains
mkdir:     /usr/share/texmf/fonts/tfm/jknappen
mkdir:     /usr/share/texmf/fonts/tfm/jknappen/ec

I note this because of the unusual permissions on /usr/share/texmf/fonts/tfm:
1 drwxrwxrwt   11 1340     1340          272 Feb 18 17:38 tfm/

Creating the directories by hand ant retrying gives
open_wr:   /usr/share/texmf/fonts/source/jknappen/ec/mf30534.tmp
unlink:    /usr/share/texmf/fonts/source/jknappen/ec/ecrm1000.mf

And here, we have
drwxrwxrwt    5 1340     1340          120 Sep 13 15:29 jknappen/

I am not sure why tetex sets the sticky bit on these directories (and, of
course, I have no userid=1340).

Then again, this might be totally unrelated to the problem with lyx.
Comment 4 Andreas Pokorny 2003-02-20 09:21:56 UTC
I had the same problems, I solved it by using the patch provided in this bug report: 
http://bugs.gentoo.org/show_bug.cgi?id=15425

After modfiing lib/configure,  I called ebuild compile, install and merge manually, and the sandbox violation did not occur anymore. 
Comment 5 Caleb Tennis (RETIRED) gentoo-dev 2003-05-12 22:31:40 UTC
Added this patch to the new lyx-1.3.2 version ebuild that is now in portage. Should fix the 
sandbox violation.