Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 947342 - dev-util/codeblocks-20.03_p13518[contrib] should not depend on dev-libs/libgamin
Summary: dev-util/codeblocks-20.03_p13518[contrib] should not depend on dev-libs/libgamin
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Sergey Torokhov
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2025-01-02 05:57 UTC by Elmar Haag
Modified: 2025-01-26 12:45 UTC (History)
4 users (show)

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


Attachments
emerge --info Bug_947342; build.log (build.log_Bug_947342.xz,5.95 KB, application/x-xz)
2025-01-02 21:31 UTC, Elmar Haag
Details
emerge_info_Bug_947342.txt.xz (emerge_info_Bug_947342.txt.xz,3.04 KB, application/x-xz)
2025-01-02 21:34 UTC, Elmar Haag
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Elmar Haag 2025-01-02 05:57:41 UTC
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.
Comment 1 Greg Kubaryk 2025-01-02 06:07:23 UTC
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?
Comment 2 Greg Kubaryk 2025-01-02 06:08:22 UTC
...is this a bug about dev-util/codeblocks or app-admin/gam-server?
Comment 3 Elmar Haag 2025-01-02 21:31:27 UTC
Created attachment 915746 [details]
emerge --info Bug_947342; build.log
Comment 4 Elmar Haag 2025-01-02 21:34:00 UTC
Created attachment 915747 [details]
emerge_info_Bug_947342.txt.xz
Comment 5 Elmar Haag 2025-01-02 22:26:05 UTC
(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]
Comment 6 kylemaasdev 2025-01-19 00:17:17 UTC
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
Comment 7 Larry the Git Cow gentoo-dev 2025-01-26 12:45:09 UTC
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(+)