Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 263986

Summary: TEXTREL app-text/texlive-core-2008 texlive fails to emerge on hardened gentoo
Product: Gentoo Linux Reporter: NaiL <nail2001>
Component: HardenedAssignee: The Gentoo Linux Hardened Team <hardened>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description NaiL 2009-03-27 18:04:09 UTC
texlive fails to emerge on hardened gentoo.

Emerging app-text/texlive-core-2008

 * QA Notice: The following files contain runtime text relocations
 *  Text relocations force the dynamic linker to perform extra
 *  work at startup, waste system resources, and may pose a security
 *  risk.  On some architectures, the code may not even function
 *  properly, if at all.
 *  For more information, see http://hardened.gentoo.org/pic-fix-guide.xml
 *  Please include the following list of files in your report:
 * TEXTREL usr/bin/mpost-texlive-core-2008
 * TEXTREL usr/bin/mf

Executing usr/bin/mf or usr/bin/mf-nowin
/usr/bin/mf: error while loading shared libraries: cannot make segment writable for relocation: Permission denied

Executing scanelf -lpqt
TEXTREL  /usr/bin/mpost-texlive-core-2008
TEXTREL  /usr/bin/mf

Consequence: "Emerging texlive-basic-2008..."
 * Building format texmf/fmtutil/format.metafont.cnf
fmtutil: running `mf-nowin -ini   -jobname=mf -progname=mf -translate-file=cp227.tcx mf.ini' ...
mf-nowin: error while loading shared libraries: cannot make segment writable for relocation: Permission denied
Error: `mf-nowin -ini  -jobname=mf -progname=mf -translate-file=cp227.tcx mf.ini' failed

I don't have the necesary skills to resolve this. I think that app-text/texlive-core-2008 package needs a patch to be hardened compatible.


Reproducible: Always
Comment 1 Alexis Ballier gentoo-dev 2009-03-27 19:18:23 UTC

*** This bug has been marked as a duplicate of bug 195688 ***