Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 518500 - =sci-mathematics/flint-2.4.4 fails to build for USE="doc"
Summary: =sci-mathematics/flint-2.4.4 fails to build for USE="doc"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Julian Ospald
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 518208
  Show dependency tree
 
Reported: 2014-07-29 16:18 UTC by Chema Alonso Josa (RETIRED)
Modified: 2014-07-30 19:40 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chema Alonso Josa (RETIRED) gentoo-dev 2014-07-29 16:18:22 UTC
USE="doc"  emerge -1 =sci-mathematics/flint-2.4.4 fails to build probably due to missing dependency on dev-texlive/texlive-latex:


[...]
make[1]: Leaving directory `/var/tmp/portage/sci-mathematics/flint-2.4.4/work/flint-2.4.4'
make -j6 -C doc/latex 
make: Entering directory `/var/tmp/portage/sci-mathematics/flint-2.4.4/work/flint-2.4.4/doc/latex'
cc -c -ansi -pedantic -std=c99 -g create_doc.c -o create_doc.o
cc create_doc.o -o create_doc
./create_doc
pdflatex flint-manual.tex
make: pdflatex: Command not found
make: *** [manual] Error 127
make: Leaving directory `/var/tmp/portage/sci-mathematics/flint-2.4.4/work/flint-2.4.4/doc/latex'
 * ERROR: sci-mathematics/flint-2.4.4::gentoo failed (compile phase):
 *   emake failed
 *
Comment 1 Julian Ospald 2014-07-29 16:42:49 UTC
can you check if that is the only missing dep?
Comment 2 Chema Alonso Josa (RETIRED) gentoo-dev 2014-07-30 15:04:47 UTC
Well, actually I cannot build it with USE="doc" even with dev-texlive/texlive-latex installed. Also I see that the C compiler is not properly called (cc):


[...]
make -j6 -C doc/latex 
make: Entering directory `/var/tmp/portage/sci-mathematics/flint-2.4.4/work/flint-2.4.4/doc/latex'
cc -c -ansi -pedantic -std=c99 -g create_doc.c -o create_doc.o
cc create_doc.o -o create_doc
./create_doc
pdflatex flint-manual.tex
This is pdfTeX, Version 3.1415926-2.4-1.40.13 (TeX Live 2012)
 restricted \write18 enabled.
entering extended mode
(./flint-manual.tex
LaTeX2e <2011/06/27>
Babel <v3.8m> and hyphenation patterns for english, dumylang, nohyphenation, lo
aded.
(/usr/share/texmf-dist/tex/latex/base/book.cls
Document Class: book 2007/10/19 v1.4h Standard LaTeX document class
(/usr/share/texmf-dist/tex/latex/base/bk10.clo))
(/usr/share/texmf-dist/tex/latex/geometry/geometry.sty
(/usr/share/texmf-dist/tex/latex/graphics/keyval.sty)
(/usr/share/texmf-dist/tex/generic/oberdiek/ifpdf.sty)
(/usr/share/texmf-dist/tex/generic/oberdiek/ifvtex.sty)
(/usr/share/texmf-dist/tex/generic/ifxetex/ifxetex.sty))
(/usr/share/texmf-dist/tex/latex/amsmath/amsmath.sty
For additional information on amsmath, use the `?' option.
(/usr/share/texmf-dist/tex/latex/amsmath/amstext.sty
(/usr/share/texmf-dist/tex/latex/amsmath/amsgen.sty))
(/usr/share/texmf-dist/tex/latex/amsmath/amsbsy.sty)
(/usr/share/texmf-dist/tex/latex/amsmath/amsopn.sty))
(/usr/share/texmf-dist/tex/latex/amscls/amsthm.sty)
(/usr/share/texmf-dist/tex/latex/amsmath/amscd.sty)
(/usr/share/texmf-dist/tex/latex/amsfonts/amsfonts.sty)
(/usr/share/texmf-dist/tex/latex/amsfonts/amssymb.sty)

! LaTeX Error: File `cases.sty' not found.

Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: sty)

Enter file name: 
! Emergency stop.
<read *> 
         
l.48 \usepackage
                [all]{xy}^^M
!  ==> Fatal error occurred, no output PDF file produced!
Transcript written on flint-manual.log.
make: *** [manual] Error 1
make: Leaving directory `/var/tmp/portage/sci-mathematics/flint-2.4.4/work/flint-2.4.4/doc/latex'
 * ERROR: sci-mathematics/flint-2.4.4::gentoo failed (compile phase):
 *   emake failed
Comment 3 Julian Ospald 2014-07-30 15:06:32 UTC
(In reply to Chema Alonso from comment #2)
> Also I see that the C compiler is not
> properly called (cc):
> 

That's irrelevant. Those binaries are not installed.
Comment 4 Julian Ospald 2014-07-30 15:11:45 UTC
(In reply to Chema Alonso from comment #2)
> ! LaTeX Error: File `cases.sty' not found.
> 

That one is part of dev-texlive/texlive-latexextra
try installing it.
Comment 5 Chema Alonso Josa (RETIRED) gentoo-dev 2014-07-30 19:26:44 UTC
Yeah, it worked. Apparently the missing deps are dev-texlive/texlive-latex and dev-texlive/texlive-latexextra it builds fine here with those.
Comment 6 Julian Ospald 2014-07-30 19:40:27 UTC
+*flint-2.4.4-r1 (30 Jul 2014)
+
+  30 Jul 2014; Julian Ospald <hasufell@gentoo.org> -flint-2.4.4.ebuild,
+  +flint-2.4.4-r1.ebuild:
+  fix deps wrt #518500