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

Bug 607716

Summary: =app-text/dvipng-1.15 - failure in src_compile: /usr/bin/texi2dvi: TeX neither supports -recorder nor outputs \openout lines in its log file
Product: Gentoo Linux Reporter: Vadim A. Misbakh-Soloviov (mva) <mva>
Component: Current packagesAssignee: TeX project <tex>
Status: RESOLVED INVALID    
Severity: normal CC: emacs
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
emerge --info

Description Vadim A. Misbakh-Soloviov (mva) gentoo-dev 2017-01-30 12:36:55 UTC
Created attachment 461898 [details]
build.log

I found that app-text/dvipng tries to violate sandbox restrictions and operate in user's (root) homedir.

See buildlog in attachment.
Comment 1 Ulrich Müller gentoo-dev 2017-01-30 14:21:27 UTC
(In reply to Vadim A. Misbakh-Soloviov (mva) from comment #0)
> Created attachment 461898 [details]
> build.log

Is this the complete build.log? Because it looks like there are no lines from src_compile.

Also, please post the output of emerge --info.
Comment 2 Vadim A. Misbakh-Soloviov (mva) gentoo-dev 2017-01-30 14:57:23 UTC
(In reply to Ulrich Müller from comment #1)
> (In reply to Vadim A. Misbakh-Soloviov (mva) from comment #0)
> > Created attachment 461898 [details]
> > build.log
> 
> Is this the complete build.log? Because it looks like there are no lines
> from src_compile.
1) yes, it is. It is exactly what it printed on the terminal (after keepgoing build finished), and also I just attached the content of /var/log/portage/app-text:dvipng-1.5*2017* (there is only single file for 2017 year).

> 
> Also, please post the output of emerge --info.

will add it as second attach...
Comment 3 Vadim A. Misbakh-Soloviov (mva) gentoo-dev 2017-01-30 14:58:20 UTC
Created attachment 461900 [details]
emerge --info
Comment 4 Ulrich Müller gentoo-dev 2017-01-30 19:14:45 UTC
The issue is with running texi2dvi in src_compile:

texi2dvi -I . ./dvipng.texi
/usr/bin/texi2dvi: TeX neither supports -recorder nor outputs \openout lines in its log file
make: [Makefile:84: dvipng.dvi] Error 1 (ignored)

And then it tries to run the command again in src_install, where there is no writeable homedir. So the sandbox violation is just a fallout of the first problem.

I cannot reproduce this with TeX Live 2016.
Comment 5 Ulrich Müller gentoo-dev 2017-01-31 05:47:55 UTC
<ulm> aballier: ping, can you reproduce bug 607716?
[...]
<aballier> ulm: no but it is definitely a broken texlive install; it tries to build tex.fmt installed by texlive-basic
<aballier> ulm: toralf had a few broken bugs like this, emerge by default doesnt do -D so deps of deps might not be satisfied...
<ulm> aballier: so, close as invalid?
<aballier> ulm: from my pov yes