Hi Olly,

On Wed, May 13, 2015 at 5:55 PM, Olly Betts <o...@survex.com> wrote:
> It's high time we actually got rid of wxwidgets2.8, so I took another
> look at this bug.
>
> Upstream have yet to make a release from trunk, so I tried to make
> minimal changes to get 13.12 working rather than packaging a VCS
> snapshot.
>
> Olly Betts wrote:
>> On Thu, Apr 10, 2014 at 04:59:25AM -0700, Vincent Cheng wrote:
>> > My understanding is that upstream is working towards porting
>> > codeblocks for wx 3.0, but it's currently not fully stable yet (e.g.
>> > #736368).
>>
>> The issue there is most likely because wx 3.0 enables "WXDEBUG" mode
>> by default which includes checks for incorrect API usage, whereas with
>> wx 2.8 you had to specify it explicitly when you built the library.  In
>> other words, codeblocks is misusing the wx API, but with 2.8 this gets
>> quietly ignored by default, whereas 3.0 reports it by default.
>>
>> I bet if you rebuilt codeblocks using the WXDEBUG build of 2.8
>> (available in Debian in package libwxgtk2.8-dbg - despite the name, this
>> isn't debug symbols, but a separate build of the library) you'd see this
>> assertion too.
>>
>> The simplest way to address this is to build codeblocks with -DNDEBUG
>> (pass it in CPPFLAGS usually), which makes wx 3.0 behave as a default
>> build of 2.8 would.
>
> I tested this workaround and I can't reproduce #736368 in a build with
> -DNDEBUG defined.  It's a shame we didn't actually test that before
> jessie - sorry about that.
>
> Running cleanly without disabling the WXDEBUG checks would be better,
> but these checks are off by default in wx2.8, so it's no worse than the
> current situation, and it doesn't seem worth investing time trying to
> track down the relevant fixes from trunk.

Ack; sorry on my side for dropping the ball on this.

> Vincent Cheng <vch...@debian.org> writes:
>> In case I haven't made it clear previously, you're more than welcome
>> to NMU codeblocks; I doubt David and/or Michael would object.
>
> Thanks, I've prepared an NMU for codeblocks (versioned as 13.12-3.1) and
> uploaded it.

Thanks, I've committed your changes to collab-maint as well.

Regards,
Vincent


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to