Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 22224 - Lyx 1.3.2 access violation during emerge
Summary: Lyx 1.3.2 access violation during emerge
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Text-Markup Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-04 13:43 UTC by Shawn Tanner
Modified: 2003-09-20 00:03 UTC (History)
3 users (show)

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


Attachments
Patch to run a latex check with the --no-mktex=tfm flag (lyx-1.3.2-latex.patch,448 bytes, patch)
2003-08-31 09:14 UTC, Brandy Westcott (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Shawn Tanner 2003-06-04 13:43:06 UTC
When emerging Lyx 1.3.2, I get the following error:

-----------------------ACCESS VIOLATION SUMMARY------------------------
LOG FILE = "/tmp/sandbox-lyx-1.3.2-28858.log"

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


Reproducible: Always
Steps to Reproduce:
1.
2.
3.



Expected Results:  
Completed emerge without errors
Comment 1 Shawn Tanner 2003-06-11 14:23:46 UTC
Ok, so emerging from a console rather than an xterm fixes this problem.  Maybe not a 
bug afterall? 
Comment 2 Parker Dexter 2003-06-12 11:05:49 UTC
I get the error in either way, emerging from an xterm or from the console - doesn't matter.
Comment 3 Shawn Tanner 2003-06-19 19:20:12 UTC
Hmm, It was actually a couple of days time between when I emerged using xterm and when I emerge from a console.  I saw that advice for something else in portage so I tried it and it worked.  I guess it must have been something else I did in the couple of days.  Can't remember what though.
Comment 4 Markus Nigbur (RETIRED) gentoo-dev 2003-08-11 14:51:18 UTC
same problem over here.

the log file doesn't provide any useful information.
Comment 5 Brandy Westcott (RETIRED) gentoo-dev 2003-08-31 09:10:46 UTC
This seems to the the sandbox violation reported in Bug #15425 and Bug #15766 . 
The lyx-1.3.2-configure.diff patch does not seem to work. It creates this line in the 
lib/configure script: 
 
	rm -f wrap_chkconfig.ltx -no-mktex=tfm chkconfig.vars chkconfig.classes 
		 chklayouts.tex 
 
But when the configure script is run we see this: 
 
	checking LaTeX configuration... auto 
	rm: invalid option -- n 
	Try `rm --help' for more information. 
	+Inspecting your LaTeX configuration. 
 
The "-no-mktex=tfm" provided by the patch is seen as a flag of the rm command. 
Instead the -no-mktex=tfm flag should be associated with the latex command. 
Adding --no-mktex=tfm a little furthur down the configure script fixes things nicely. 
We need to change 
 
	eval ${LATEX} wrap_chkconfig.ltx 2>/dev/null | grep '^\+' 
 
to 
 
	eval ${LATEX} --no-mktex=tfm wrap_chkconfig.ltx 2>/dev/null | grep '^\+' 
 
Comment 6 Brandy Westcott (RETIRED) gentoo-dev 2003-08-31 09:14:30 UTC
Created attachment 16857 [details, diff]
Patch to run a latex check with the --no-mktex=tfm flag
Comment 7 Mike Gardiner (RETIRED) gentoo-dev 2003-09-20 00:03:37 UTC
thanks, once again, to brandy for supplying the patch. i've added the fix to 1.3.2 and 1.3.2-r1