Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 607716 - =app-text/dvipng-1.15 - failure in src_compile: /usr/bin/texi2dvi: TeX neither supports -recorder nor outputs \openout lines in its log file
Summary: =app-text/dvipng-1.15 - failure in src_compile: /usr/bin/texi2dvi: TeX neithe...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: TeX project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-30 12:36 UTC by Vadim A. Misbakh-Soloviov (mva)
Modified: 2017-01-31 05:47 UTC (History)
1 user (show)

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


Attachments
build.log (app-text:dvipng-1.15:20170130-074221.log,8.01 KB, text/plain)
2017-01-30 12:36 UTC, Vadim A. Misbakh-Soloviov (mva)
Details
emerge --info (file_607716.txt,32.12 KB, text/plain)
2017-01-30 14:58 UTC, Vadim A. Misbakh-Soloviov (mva)
Details

Note You need to log in before you can comment on or make changes to this bug.
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