Summary: | app-admin/conky-1.8.0 doesn't compile | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Seerp <roaldkoudenburg> |
Component: | Current packages | Assignee: | Daniel Pielmeier <billie> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | brenden, dragonheart, omp |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Seerp
2010-04-04 12:14:07 UTC
Please attach the full build log. I believe in the two very long Conky threads on forums this was mentioned before, (my memory is very bad, and I read them over a year ago). With the USE=X, USE=ncurses also has to be enabled. I just verified this by Compiling without X and With both... I also just verified that conky builds with USE="-X -ncurses", and USE-X ncurses" (so they are not co-dependent). Reading into the source, I believe (my C isn't very good), that in sections (IFDEF X11) that protoype Xwindow related functions, variables are used that are defined elsewhere by whatever IFDEFs ncurses (but then, that is logical deduction anyway, isn't it?). Perhaps ebuild needs to be modified so that building with USE X depends on USE ncurses? At least until those variables are supplied to X without ncurses being defined. After enabling the ncurses use-flag it compiles fine. Thanks geoscope! Did this change between 1.8.0_rc2 and 1.8.0? I thought I used to compile 1.8.0_rc2 with the same use flags (i.e. +X -ncurses) without problems. Here is the full log of the build Andreas: http://pastebin.org/135074 (In reply to comment #3) > After enabling the ncurses use-flag it compiles fine. Thanks geoscope! Quite welcome, I don't remember whether I read it on gentoo forums or direct from conky site, but it was more than a year ago. So seems to be a recurring problem that disappeared for a while... would have been pre-1.6.1 version I think. @Andreas: Please add all maintainers next time. > After enabling the ncurses use-flag it compiles fine. Thanks geoscope!
>
> Did this change between 1.8.0_rc2 and 1.8.0? I thought I used to compile
> 1.8.0_rc2 with the same use flags (i.e. +X -ncurses) without problems.
I am having this error trying to compile update from 1.8.0_rc2 to 1.8.0 with only X and truetype enabled so I guess this bug is a new one, I don't think I had a problem building rc2 and I don't think I changed any flags.
(In reply to comment #7) > Try this: > > http://git.omp.am/?p=conky.git;a=commit;h=c8e687406502be8c6f4e75b077113591823405f0 > Brenden thanks for the patch. I have added it to to conky-1.8.0. The changes should be available in a few hours. Please reopen if there are still problems. |