dev-util/geany-plugins-1.37-r100 don't emerge with USE=pretty-printer Extract from build log: ----- PrettyPrinter.h:55:22: error: two or more data types in declaration specifiers 55 | typedef unsigned int bool; ----- * ERROR: dev-util/geany-plugins-1.37-r100::gentoo failed (compile phase): * emake failed Reproducible: Always Steps to Reproduce: 1. USE="pretty-printer" emerge geany-plugins Actual Results: emerge failed Expected Results: emerge successed
Created attachment 686349 [details] emerge --info
Created attachment 686352 [details] Build log with error
Next time please don't compress the build log if under 1MB. That aside, looks fixed upstream (see url) and also, unrelated to the issue but looks like ebuild is missing: pkg_setup() { use lua && lua-single_pkg_setup }
Also, upstream says for gcc10 but I can reproduce with gcc9.
Patch included in: https://github.com/gentoo/gentoo/pull/19389 I've added the pkg_setup change, thanks. I've checked on a system without Lua, geany-plugins was emerging but the change prevents a portage message about Lua being used, which might be confusing.
(In reply to Chris Mayo from comment #5) > I've added the pkg_setup change, thanks. I've checked on a system without > Lua, geany-plugins was emerging but the change prevents a portage message > about Lua being used, which might be confusing. Not just a message, I noticed because it caused an immediate build failure as my default lua is 5-3 while this ebuild does not support 5-3. It tries to run lua's pkg_setup and fails because of it, despite USE=-lua With the pkg_setup check it just ignores this and works as expected.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24a64bb88bc3a019d2c589ba2cc4773b44381a6c commit 24a64bb88bc3a019d2c589ba2cc4773b44381a6c Author: Chris Mayo <aklhfex@gmail.com> AuthorDate: 2021-02-12 19:09:35 +0000 Commit: Joonas Niilola <juippis@gentoo.org> CommitDate: 2021-02-18 14:07:47 +0000 dev-util/geany-plugins: drop GTK 2 support Bug: https://bugs.gentoo.org/769074 Closes: https://bugs.gentoo.org/770085 Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Chris Mayo <aklhfex@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/19389 Signed-off-by: Joonas Niilola <juippis@gentoo.org> .../files/geany-plugins-1.37_use-stdbool.patch | 39 +++++++ .../geany-plugins/geany-plugins-1.37-r101.ebuild | 126 +++++++++++++++++++++ 2 files changed, 165 insertions(+)