Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 799209 - dev-util/codeblocks-9999: failed to build at r12481
Summary: dev-util/codeblocks-9999: failed to build at r12481
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:
Depends on:
Blocks:
 
Reported: 2021-06-29 11:00 UTC by Simon Litt
Modified: 2021-07-04 16:24 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Litt 2021-06-29 11:00:09 UTC
Сodeblocks is switched to wx 3.1.5 

https://forums.codeblocks.org/index.php/topic,3299.0.html


Reproducible: Always
Comment 1 Sergey Torokhov 2021-07-01 15:37:07 UTC
The codeblocks-20.03 required wxwidgets-3.1.4 on release. But addition  of wxwidgets-3.1.x dev branch to portage tree  isn't planning.

The current build issue is due to added patch https://sourceforge.net/p/codeblocks/code/HEAD/ .

Without it codeblocks-9999 successfully built. Maybe the build issue could be resolved by including  wx/vscroll.h into src/loggers.cpp or smth. like.
Comment 2 Sergey Torokhov 2021-07-01 20:07:47 UTC
https://sourceforge.net/p/codeblocks/tickets/1092/#f22e

From the linked comment by Teodor Petrov:

> Fails to build on linux when targeting wxWidgets 3.0.5:

> loggers.cpp: In member function ‘virtual void ListCtrlLogger::Append(const wxString&, Logger::level)’:
> loggers.cpp:371:19: error: ‘class wxListCtrl’ has no member named ‘IsVisible’
>   371 |     if (!control->IsVisible(idx -1))
      |                   ^~~~~~~~~
> It seems IsVisible has been added in 3.1.3: 
> https://docs.wxwidgets.org/trunk/classwx_list_ctrl.html#a2afa655c59b4e0b36ca1ebdd3b629ba2


Waiting for decision of upstream.
Comment 3 Sergey Torokhov 2021-07-04 16:24:02 UTC
fixed by upstream at r12483