codeblocks-20.03_p13518 with USE "contrib" fails to build and install. Reason: dev-util/codeblocks-20.03_p13518.ebuild with USE "contrib" pulls in app-admin/gamin. app-admin/gamin depends on dev-libs/libgamin and app-admin/gam-server. app-admin/gam-server fails to compile. dev-util/codeblocks-20.03_p13518 USE "contrib" does not require app-admin/gamin. FIX: codeblocks-20.03_p13518.ebuild, remove line 44 and line 48. This works on all mt\y amd64 systems. Reproducible: Always Steps to Reproduce: 1. emerge codeblocks-20.03_p13518 USE "contrib" 2. 3. Actual Results: ebuild failure Expected Results: Completed installaton of Codeblocks This problem does not exist if codeblocks-20.03_p13518 is build outside of portage using configure, make, make install commands.
Can you please provide the output from 'emerge --info' as a comment and then also some build.log or other emerge output as an attachment?
...is this a bug about dev-util/codeblocks or app-admin/gam-server?
Created attachment 915746 [details] emerge --info Bug_947342; build.log
Created attachment 915747 [details] emerge_info_Bug_947342.txt.xz
(In reply to Greg Kubaryk from comment #2) > ...is this a bug about dev-util/codeblocks or app-admin/gam-server? The problem is caused because dev-util/codeblocks-20.03_p13518.ebuild with USE "contrib" unnecessarily pulls in app-admin/gam-server, which fails to compile. View: https://forums.codeblocks.org/index.php?topic=25791.0 [quote] Resolved Fixed: applied patch by danselmi from ticket #663: Don't use deprecated gamin library [/quote] View: https://sourceforge.net/p/codeblocks/tickets/663/ [quote] Don't use deprecated gamin library Discussion Morten MacFly Morten MacFly - 2024-05-05 That one looks good to me. Thank you! Morten MacFly Morten MacFly - 2024-04-30 status: open --> accepted assigned_to: Morten MacFly Type: Feature_Request --> Patch Milestone: Undefined --> Next_Release Morten MacFly Morten MacFly - 2024-05-05 status: accepted --> applied Morten MacFly Morten MacFly - 2024-05-05 Applied patch by danselmi in [r13518]. Thank you! Related Commit: [r13518] [/quote]
Just ran into this as well when trying to install codeblocks with the contrib USE flag, which appears to be required to use wxSmith. Related to bug #920356
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8e88cd487828131565f05f4ed64555362184162 commit b8e88cd487828131565f05f4ed64555362184162 Author: Sergey Torokhov <torokhov-s-a@yandex.ru> AuthorDate: 2025-01-19 18:10:02 +0000 Commit: Petr Vaněk <arkamar@gentoo.org> CommitDate: 2025-01-26 12:44:31 +0000 dev-util/codeblocks: 20.03_p13518-r1, rm needless deps, update RDEPEND Update RDEPEND '>=dev-util/astyle-3.1-r2:0/3.1' with '>=dev-util/astyle-3.1-r2:0='. Remove needless 'app-admin/gamin', 'dev-libs/libgamin' dependencies. Closes: https://bugs.gentoo.org/947342 Signed-off-by: Sergey Torokhov <torokhov-s-a@yandex.ru> Signed-off-by: Petr Vaněk <arkamar@gentoo.org> .../codeblocks/codeblocks-20.03_p13518-r1.ebuild | 124 +++++++++++++++++++++ 1 file changed, 124 insertions(+)