Bug 234056 - net-dialup/mgetty-1.1.36-r1 failes with "doc"
Bug#: 234056 Product:  Gentoo Linux Version: 2008.0 Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: tex@gentoo.org Reported By: Manfred.Knick@T-Online.de
Component: Ebuilds
URL: 
Summary: net-dialup/mgetty-1.1.36-r1 failes with "doc"
Keywords:  
Status Whiteboard: 
Opened: 2008-08-06 08:11 0000
Description:   Opened: 2008-08-06 08:11 0000
Having enabled "doc" in make.conf USE flags,
emerge compiles fine, but installing DOC fails:
...
  Building the voice extensions
...
  Installing the voice extensions
...
dodoc: doc/mgetty.ps does not exist    <---

Specifying "-doc" in /etc/portage/package.use,
emerge without DOC succeeds.

------- Comment #1 From Jeroen Roovers 2008-08-06 23:52:02 0000 -------
Please post your `emerge --info' and attach the build log.

------- Comment #2 From Jeroen Roovers 2008-08-07 00:03:04 0000 -------
Created an attachment (id=162400) [details]
net-dialup:mgetty-1.1.36-r1:20080806-235508.log [success]

Seems to be a missing dep on whatever provides dvips (on a system here, that's
app-text/texlive-core and the dodoc mgetty.ps doesn't fail here).

------- Comment #3 From Alin Năstac 2008-08-09 10:52:12 0000 -------
Tex team, please advise. The way I see it, it could be solved easily by
replacing virtual/latex-base dependency atom with app-text/texlive-core.

------- Comment #4 From Alexis Ballier 2008-08-09 11:21:14 0000 -------
(In reply to comment #3)
> Tex team, please advise. The way I see it, it could be solved easily by
> replacing virtual/latex-base dependency atom with app-text/texlive-core.


(quick answer because I'm leaving for some days really soon, should be gone by
now)

It seems more it should depend virtual/texi2dvi, it uses it to build mgetty.dvi
(which is then used to get the .ps). See bug #230473

By the way, please don't make anything depend on texlive-core unless you have a
*very* good reason to do so, use tex-base if you need only tex/kpathsea or
latex-base if you need a latex compiler. texlive-core is a subset of both
tex-base and latex-base anyway.


As a side note, while you're at it, please export VARTEXFONTS=${T}/fonts before
calling any latex stuff, it might want to build some fonts on minimal installs
and cause sandbox violations if this is not set (and even if it does not need
any other font, it doesn't hurt to set the variable)

------- Comment #5 From Alin Năstac 2008-08-09 11:33:41 0000 -------
Since I don't know nothing about latex and its friends, I prefer to let you
guys deal with this. Fix this bug in any way you see fit (even removing the doc
flag). Just don't bump the revision.

------- Comment #6 From Alexis Ballier 2008-08-12 17:56:58 0000 -------
(In reply to comment #5)
> Since I don't know nothing about latex and its friends, I prefer to let you
> guys deal with this. Fix this bug in any way you see fit (even removing the doc
> flag). Just don't bump the revision.

dep added, should be good now

it seems I read too quickly the ebuild for the VARTEXFONTS stuff, as it was
already there in the ebuild :)