Summary: | dev-haskell/haddock-0.7 does not compile when the 'doc' flag is specified | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Avinash Meetoo <avinash> |
Component: | Current packages | Assignee: | Gentoo's Haskell Language team <haskell> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | My emerge log |
Description
Avinash Meetoo
2005-10-11 11:51:34 UTC
Would it be possible to paste the last few lines of the build log. It would be very helpful for narrowing down the problem. Paste from the point where it starts to look like it's going wrong. Sometimes later error messages can be misleading, it's useful for us to really get the first error message. (In reply to comment #0) > The error message being (from memory) that /usr/bin/dvips cannot find > haddock.dvi The actual error message I'm getting is: ==fptools== make all -wr; in /var/tmp/portage/haddock-0.7/work/haddock-0.7/haddock/doc ------------------------------------------------------------------------ rm -f -rf haddock/ /usr/bin/xsltproc --stringparam base.dir haddock/ \ --stringparam use.id.as.filename 1 \ --stringparam html.stylesheet fptools.css \ --stringparam toc.section.depth 3 --stringparam section.autolabel 1 --stringparam section.label.includes.component.label 1 \ /usr/share/sgml/docbook/xsl-stylesheets-1.66.1/html/chunk.xsl haddoc k.xml Writing haddock/license.html for section(license) Writing haddock/ch01s03.html for section Writing haddock/introduction.html for chapter(introduction) Writing haddock/invoking.html for chapter(invoking) Writing haddock/ch03s02.html for section Writing haddock/ch03s03.html for section Writing haddock/ch03s04.html for section Writing haddock/ch03s05.html for section Writing haddock/hyperlinking.html for section(hyperlinking) Writing haddock/module-attributes.html for section(module-attributes) Writing haddock/ch03s08.html for section Writing haddock/markup.html for chapter(markup) Writing haddock/ix01.html for index Writing haddock/index.html for book(haddock) cp ../../mk/fptools.css haddock/ /usr/bin/dvips haddock.dvi -o haddock.ps This is dvips(k) 5.92b Copyright 2002 Radical Eye Software (www.radicaleye.com) /usr/bin/dvips: ! DVI file can't be opened. make[2]: *** [haddock.ps] Error 1 make[1]: *** [all] Error 1 make[1]: Leaving directory `/var/tmp/portage/haddock-0.7/work/haddock-0.7/haddoc k' make: *** [build] Error 1 !!! ERROR: dev-haskell/haddock-0.7 failed. !!! Function src_compile, Line 72, Exitcode 2 !!! make failed !!! If you need support, post the topmost build error, NOT this status message. I'm afraid we need the full build log. To me, it seems strange that dvips is called at all. This should not happen. When USE=java, then haddock depends on fop, and the haddock build system prefers fop over any TeX installation. So, no dvips should be called at all. But even if, your error is unlikely to be the first build error, because obviously the build process failed to generate the .dvi file it can't open at some point earlier ... ks Created attachment 70587 [details]
My emerge log
I have check my USE flags. Both doc and java are enabled and, prior to installing haddock, emerge has appropriately installed fop. I've attached my complete build log. By the way, when I type fop at the command prompt, I get the following error message: Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/avalon/framework/logger/Logger at org.apache.fop.apps.Fop.main(Fop.java:60) Are those 2 bugs related? Yes, the two problems are most likely related. In the meantime, araujo has disabled the java USE flag in the haddock ebuild due to fop unreliability, so this should no longer occur. |