Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 770085 - dev-util/geany-plugins-1.37-r100[pretty-printer] PrettyPrinter.h:55:22: error: two or more data types in declaration specifiers
Summary: dev-util/geany-plugins-1.37-r100[pretty-printer] PrettyPrinter.h:55:22: error...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Chris Mayo
URL: https://github.com/geany/geany-plugin...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-11 14:42 UTC by Zentoo
Modified: 2021-02-18 14:07 UTC (History)
3 users (show)

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


Attachments
emerge --info (emerge-info.txt,20.82 KB, text/plain)
2021-02-11 14:43 UTC, Zentoo
Details
Build log with error (dev-util:geany-plugins-1.37-r100:20210211-140641.log.gz,48.64 KB, application/gzip)
2021-02-11 14:44 UTC, Zentoo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Zentoo 2021-02-11 14:42:17 UTC
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
Comment 1 Zentoo 2021-02-11 14:43:06 UTC
Created attachment 686349 [details]
emerge --info
Comment 2 Zentoo 2021-02-11 14:44:34 UTC
Created attachment 686352 [details]
Build log with error
Comment 3 Ionen Wolkens gentoo-dev 2021-02-11 15:03:00 UTC
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
	}
Comment 4 Ionen Wolkens gentoo-dev 2021-02-11 15:07:42 UTC
Also, upstream says for gcc10 but I can reproduce with gcc9.
Comment 5 Chris Mayo 2021-02-12 19:15:46 UTC
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.
Comment 6 Ionen Wolkens gentoo-dev 2021-02-12 19:35:53 UTC
(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.
Comment 7 Larry the Git Cow gentoo-dev 2021-02-18 14:07:53 UTC
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(+)