Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 799209

Summary: dev-util/codeblocks-9999: failed to build at r12481
Product: Gentoo Linux Reporter: Simon Litt <slsoft>
Component: Current packagesAssignee: Sergey Torokhov <torokhov-s-a>
Status: RESOLVED FIXED    
Severity: normal CC: wxwidgets
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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