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
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.
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
Created attachment 365440 [details] Update emerge --info (LANG)
Please attach the entire build log to this bug report.
(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.
Created attachment 365472 [details] build.log
Created attachment 365474 [details] pdfall.log
I see an error in pdfall.log, but did not find a solution: ! LaTeX Error: File `a4wide.sty' not found.
a4wide.sty should be part of dev-texlive/texlive-latex . Which version do you have?
(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 )
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 #
emerging "texlive-latexextra" solved the issue (for my local installation)
Created attachment 366414 [details] emerge --info '=x11-libs/fltk-1.3.2::gentoo'
Created attachment 366416 [details] emerge -pqv '=x11-libs/fltk-1.3.2::gentoo'
Created attachment 366418 [details] Build log
Created attachment 366420 [details] environment
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.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf28418f30a122955e636dfba07d29cfa7447e75 commit bf28418f30a122955e636dfba07d29cfa7447e75 Author: Ionen Wolkens <ionen@gentoo.org> AuthorDate: 2024-12-25 00:16:13 +0000 Commit: Ionen Wolkens <ionen@gentoo.org> CommitDate: 2024-12-26 17:48:28 +0000 x11-libs/fltk: add 1.4.1 Brand new ebuild not really based on the old. Changes may or may not introduce some regressions, but will see to these as needed. Regardless of the ebuild, note some revdeps may be broken with fltk-1.4.x. "Often" it's just trivial like a missing include (IWYU) or an include needing different casing due to compatibility symlinks (e.g. Fl/Fl_file_chooser.H -> FL/Fl_File_Chooser.H>) being dropped. Upstream discourages re-enabling them and suggests fixing packages instead. Some revdeps may also be relying on X-specific things (e.g. including x.H and using fl_display), and may need to depend on fltk[X(+)] (have not really looked at if things work on wayland). x.H is also deprecated and due for removal, should use platform.H. I've fixed a few while updating revdeps for := and USE changes but haven't tried nor handled everything myself. That aside, overview of (some) notable ebuild differences vs old: * Use cmake Upstream plans to remove autotools support in 1.5.0, so. * Actually run some tests The old ebuild's src_test was just building tests and never running anything, so at least run (minor) "unittests --core" like upstream's CI does. * Add subslot Gets a new soname + ABI incompatible changes every 1.x versions, but <1.3 is so old that never got a subslot (see README.abi-version.txt). * Drop multilib Do not think this is worth keeping. At most old 32bit prebuilts can need 32bit fltk but they cannot use 1.4 due to soname/ABI changes. (*if* really needed could consider a fltk-compat:1.3 for these). Can revisit if a reason to. * Drop USE=games Not convinced that there is real interest in these example apps being installed, and they all have generic naming by default (e.g. previous was installing /usr/bin/sudoku) making it easy to conflict. They also need to be installed manually (no cmake option for this that I can see at the moment). Could revisit if there is actual users and it is not just for completeness. * Drop USE=xft Can use either pango or xft w/ USE=X with pango being preferred, and it is kind of bogus to disable both (breaks things in unexpected ways). So now USE=cairo will use pango (forced by build system if cairo is enabled, -DFLTK_USE_PANGO accomplishes little), and USE=-cairo uses xft only. Pango/cairo is not optional for wayland, and that's why USE=cairo is default enabled now (also because it supposedly renders better on X as well). * Drop USE=threads, always enabled Nothing special there, but requires adjusting some revdeps w/ (+) * Drop USE=xinerama and always depend on it if USE=X Could understand some users not wanting it, however, for some reason -DFLTK_USE_XINERAMA is ignored when USE="X wayland" (works if -wayland) and README.Wayland.txt says that xinerama is always required if X11 is enabled as well. *could* make it optional with -wayland but that felt messy and a req use of "wayland? ( X? ( xinerama ) )" seems confusing. Ultimately it was enabled by default before and it's a very small dep. May revisit only after the build system gets polished and if there's a demand. * Drop env.d file and -rpath hacks This doesn't install in /usr/lib*/fltk anymore and so no need for LDPATH, and if the FLTK_DOCDIR env var is unset it should fallback to the builtin path which points to /usr/share/doc/${PF}/html (albeit the in-app help browser renders these rather poorly right now, better use a real browser). * Misc notes Was tempted to drop USE=static-libs, but I believe there is a demand for this on this package, may revisit. Considered making fluid optional being a GUI app for developers, but it's also used at build time by some packages and it's not worth being conditional on Gentoo then. It may be possible to make dbus optional with USE=wayland, but build system has no switch for it (automagic-only), so hard-depend for now. For those trying to avoid X libs, hard libglvnd[X] is not a typo, USE="-X wayland opengl" still links with libGLX->libX11 at the moment. Like before, fltk-config --ldflags still gives a wall of unnecessary libraries (that libftlk.so is linked with, more than before w/ wayland) due to expecting static -- but otherwise appears fine despite generated by cmake. bug #494390: pdf build is explicitly disabled in this version, so it shouldn't be trying to use latex (build system also changed, if still into something please open a new bug). Closes: https://bugs.gentoo.org/494390 Closes: https://bugs.gentoo.org/946882 Signed-off-by: Ionen Wolkens <ionen@gentoo.org> x11-libs/fltk/Manifest | 1 + x11-libs/fltk/files/fltk-1.4.1-fltk-config.patch | 25 +++++ x11-libs/fltk/files/fltk-1.4.1-tests-odr.patch | 9 ++ x11-libs/fltk/fltk-1.4.1.ebuild | 113 +++++++++++++++++++++++ 4 files changed, 148 insertions(+)