Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 494390 - x11-libs/fltk-1.3.2 - pdflatex: LaTeX Error: File `a4wide.sty' not found. -/ /- make: *** [pdf] Error 1
Summary: x11-libs/fltk-1.3.2 - pdflatex: LaTeX Error: File `a4wide.sty' not found. -/ ...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-15 20:56 UTC by Brenn
Modified: 2021-03-28 01:01 UTC (History)
4 users (show)

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


Attachments
emerge --info + build.log (emergeinfo,146.74 KB, text/plain)
2013-12-15 20:56 UTC, Brenn
Details
Update emerge --info (LANG) (emergeinfo,5.18 KB, text/plain)
2013-12-15 21:56 UTC, Brenn
Details
build.log (build.log,110.26 KB, text/plain)
2013-12-16 19:34 UTC, Brenn
Details
pdfall.log (pdfall.log,1.53 KB, text/plain)
2013-12-16 19:37 UTC, Brenn
Details
emerge --info '=x11-libs/fltk-1.3.2::gentoo' (emerge.info.txt,5.40 KB, text/plain)
2013-12-29 08:15 UTC, Craig Everett
Details
emerge -pqv '=x11-libs/fltk-1.3.2::gentoo' (emerge.pqv.txt,126 bytes, text/plain)
2013-12-29 08:15 UTC, Craig Everett
Details
Build log (fltk.build.log,110.17 KB, text/plain)
2013-12-29 08:16 UTC, Craig Everett
Details
environment (fltk.environment.txt,129.69 KB, text/plain)
2013-12-29 08:16 UTC, Craig Everett
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Brenn 2013-12-15 20:56:23 UTC
Created attachment 365438 [details]
emerge --info + build.log

During emerge I get the following error: 

USE flag includes 'doc'. 

cp -f latex/refman.pdf fltk.pdf
cp: cannot stat 'latex/refman.pdf': No such file or directory
make: *** [pdf] Error 1
 * ERROR: x11-libs/fltk-1.3.2::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=x11-libs/fltk-1.3.2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=x11-libs/fltk-1.3.2::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/x11-libs/fltk-1.3.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-libs/fltk-1.3.2/temp/environment'.
 * Working directory: '/var/tmp/portage/x11-libs/fltk-1.3.2/work/fltk-1.3.2/documentation'
 * S: '/var/tmp/portage/x11-libs/fltk-1.3.2/work/fltk-1.3.2'

>>> Failed to emerge x11-libs/fltk-1.3.2, Log file:

>>>  '/var/tmp/portage/x11-libs/fltk-1.3.2/temp/build.log'

 * Messages for package x11-libs/fltk-1.3.2:

 * ERROR: x11-libs/fltk-1.3.2::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=x11-libs/fltk-1.3.2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=x11-libs/fltk-1.3.2::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/x11-libs/fltk-1.3.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-libs/fltk-1.3.2/temp/environment'.
 * Working directory: '/var/tmp/portage/x11-libs/fltk-1.3.2/work/fltk-1.3.2/documentation'
 * S: '/var/tmp/portage/x11-libs/fltk-1.3.2/work/fltk-1.3.2'

Attached is complete log and emerge --info
Comment 1 Ben Kohler gentoo-dev 2013-12-15 21:27:21 UTC
I don't think LANG="en" is valid, is it?  Try setting a proper locale like en_US or en_US.utf8 and see if that helps.
Comment 2 Brenn 2013-12-15 21:55:50 UTC
Thanks for information... 

no change after setting LANG to en_US.utf8 and env-update. 

"habicht mbrenn # set | grep LANG
LANG=en_US.utf8"

emerge output is now:

"
...
echo "Generating PDF documentation ..."
Generating PDF documentation ...
/usr/bin/doxygen Doxybook ;\
(cd latex ;\
pdflatex --interaction=nonstopmode refman.tex ;\
makeindex refman.idx ;\
pdflatex --interaction=nonstopmode refman.tex ;\
latex_count=5;\
while egrep -s 'Rerun (LaTeX|to get cross-references right)' refman.log \
	&& [ $latex_count -gt 0 ] ;\
    do \
      echo "Rerunning latex ..." ;\
      pdflatex --interaction=nonstopmode refman.tex ;\
      latex_count=`expr $latex_count - 1` ;\
    done ; \
cd ..) > pdfall.log 2>&1
warning: Tag `SHOW_DIRECTORIES' at line 462 of file Doxybook has become obsolete.
To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u"
warning: Tag `HTML_ALIGN_MEMBERS' at line 811 of file Doxybook has become obsolete.
To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u"
cp -f latex/refman.pdf fltk.pdf
cp: cannot stat ‘latex/refman.pdf’: No such file or directory
make: *** [pdf] Error 1
 * ERROR: x11-libs/fltk-1.3.2::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=x11-libs/fltk-1.3.2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=x11-libs/fltk-1.3.2::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/x11-libs/fltk-1.3.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-libs/fltk-1.3.2/temp/environment'.
 * Working directory: '/var/tmp/portage/x11-libs/fltk-1.3.2/work/fltk-1.3.2/documentation'
 * S: '/var/tmp/portage/x11-libs/fltk-1.3.2/work/fltk-1.3.2'

>>> Failed to emerge x11-libs/fltk-1.3.2, Log file:

>>>  '/var/tmp/portage/x11-libs/fltk-1.3.2/temp/build.log'
"
As an attachment, the updated emerge --info
Comment 3 Brenn 2013-12-15 21:56:50 UTC
Created attachment 365440 [details]
Update emerge --info (LANG)
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2013-12-16 01:38:11 UTC
Please attach the entire build log to this bug report.
Comment 5 Rafał Mużyło 2013-12-16 04:55:29 UTC
(In reply to Jeroen Roovers from comment #4)
> Please attach the entire build log to this bug report.

Actually, attach that pdfall.log too - it might be more interesting than build log itself.
Comment 6 Brenn 2013-12-16 19:34:54 UTC
Created attachment 365472 [details]
build.log
Comment 7 Brenn 2013-12-16 19:37:29 UTC
Created attachment 365474 [details]
pdfall.log
Comment 8 Brenn 2013-12-16 19:39:36 UTC
I see an error in pdfall.log, but did not find a solution: 

! LaTeX Error: File `a4wide.sty' not found.
Comment 9 Jeroen Roovers (RETIRED) gentoo-dev 2013-12-16 20:02:13 UTC
a4wide.sty should be part of dev-texlive/texlive-latex . Which version do you have?
Comment 10 Jeroen Roovers (RETIRED) gentoo-dev 2013-12-16 20:06:36 UTC
(In reply to Jeroen Roovers from comment #9)
> a4wide.sty should be part of dev-texlive/texlive-latex . Which version do
> you have?

Or maybe it should be dev-texlive/texlive-latexextra nowadays.

Maybe set a DEPEND on this?

   || (
      dev-texlive/texlive-latexextra
      <dev-texlive/texlive-latex-VER
   )
Comment 11 Brenn 2013-12-16 20:08:12 UTC

habicht mbrenn # emerge -a texlive-latex

[...]

[ebuild   R    ] dev-texlive/texlive-latex-2012 

[... After having rebuild texlive-latex]

habicht mbrenn # locate a4wide.sty
habicht mbrenn # find / | grep a4wide.sty
habicht mbrenn #
Comment 12 Brenn 2013-12-16 21:25:27 UTC
emerging "texlive-latexextra" solved the issue (for my local installation)
Comment 13 Craig Everett 2013-12-29 08:15:13 UTC
Created attachment 366414 [details]
emerge --info '=x11-libs/fltk-1.3.2::gentoo'
Comment 14 Craig Everett 2013-12-29 08:15:49 UTC
Created attachment 366416 [details]
emerge -pqv '=x11-libs/fltk-1.3.2::gentoo'
Comment 15 Craig Everett 2013-12-29 08:16:11 UTC
Created attachment 366418 [details]
Build log
Comment 16 Craig Everett 2013-12-29 08:16:33 UTC
Created attachment 366420 [details]
environment
Comment 17 Craig Everett 2013-12-29 08:18:42 UTC
Experiencing the same failure, but with a slightly different symptom. My workaround is to add "x11-libs/fltk -doc" to package.use, though that is obviously less than optimal. I think this is the same issue, so I'm attaching my output.