Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 832796 - dev-util/codeblocks-9999 fails to build (PATCH)
Summary: dev-util/codeblocks-9999 fails to build (PATCH)
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sergey Torokhov
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2022-02-06 09:05 UTC by brankob
Modified: 2022-04-07 20:46 UTC (History)
3 users (show)

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


Attachments
first patch (0001-fix-cbDEBUG.patch,1.63 KB, patch)
2022-02-06 09:05 UTC, brankob
Details | Diff
second patch (0002-fix_includes.patch,288 bytes, patch)
2022-02-06 09:06 UTC, brankob
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description brankob 2022-02-06 09:05:55 UTC
Created attachment 764451 [details, diff]
first patch

it seems that there are two issues:

1. FileManager modules relies on fam and its configuration fails to use app-admin/gamin. I've disabled it in the ebuild by changing the ebuild to skip that module. It manifests during the confire of somethign deep in its bowels, whicgh seeks for fam and doesn't find it on systems that have gamin.
I tried to find it but got lost in a quagmire of different build systems.
So basically I deactivated the File manager module by changing the ebuild line to in src_configure/econf to :

$(use_with contrib contrib-plugins all,-FileManager)


2. Code has shitty include dependency, which fails with latest regular gcc versions ( I'm using gcc-11.2.1_p20220115), which don't tolerate this.

I've fixed that with two attached patch files.
Comment 1 brankob 2022-02-06 09:06:17 UTC
Created attachment 764452 [details, diff]
second patch
Comment 2 Sergey Torokhov 2022-02-18 21:33:42 UTC
Thank you for report and patches! I hope to check it this weekend with gcc-11.2.0 and one of 11.2.1
Comment 3 Sergey Torokhov 2022-02-20 19:49:57 UTC
Could you please attach full build.log for USE="contrib" (with FileManager anabled)? I have installed app-admin/gamin + dev-libs/libgamin (but not installed app-admin/fam) and configuration phase with USE="contrib" for codeblocks-9999 works for me.

The build.log for second issue also will be  usefull.
Comment 4 Sergey Torokhov 2022-04-07 20:46:16 UTC
The second patch is already in upstream.

I can't reproduce the build issue for FileManager for latest stable gcc-11.2.1_p20220115. Maybe it was also fixed by upstream.

I close this issue as obsolete. Please fill free to reopen it if build process will fail again with the same error.

Please attach the full build.log next time.