[Debian-med-packaging] Bug#749487: Help (Was: Bug#749487: ginkgocadx: Please update to use wxwidgets3.0)

Olly Betts olly at survex.com
Sat Jun 28 05:40:41 UTC 2014


On Sat, Jun 21, 2014 at 07:13:14AM +0200, Andreas Tille wrote:
> On Sat, Jun 21, 2014 at 03:00:11AM +0100, Olly Betts wrote:
> > That done, it seems just removing the problematic header include is enough.
> > But at the end of the buold, I get (unrelated) linking errors due to the wx
> > propgrid library being needed, and fixing that, the rather odd:
> > 
> > ../cadxcore/libCADxCore.a(selectimagesimportation.cpp.o): In function `wxEvtHandler::AddPendingEvent(wxEvent const&)':
> > /usr/include/wx-3.0/wx/event.h:3395: undefined reference to `wxCommandEvent::Clone() const'
> > collect2: error: ld returned 1 exit status
> > 
> > I need to stop for now, but that's progress so far.  Will try to resolve the
> > above later and send a patch either way.
> 
> Great.  This help is very welcome.

Turns out that the wxCommandEvent::Clone() linking error is due to a bug
in GCC4.9 (#752733) (as Andreas already knows from another bug).

I uploaded wxwidgets3.0 3.0.1-2 a short while ago with a workaround for
this GCC 4.9 bug, so versioning your wx BD(s) >= 3.0.1-2~ should do the
trick (if you backport to wheezy, you can drop the versioning as the
3.0.1-1 backport is unaffected since wheezy doesn't have GCC 4.9 as the
default compiler).

I've attached a patch of where I got to above, plus the versioned BD.
This patch is against your SVN repo.

The new wx upload hasn't yet appeared on the mirror I use yet, so I've
not test built this, but given it got to the linking stage before
hitting the GCC4.9 issue, I'm pretty confident this should at least get
you a build.

Cheers,
    Olly



More information about the Debian-med-packaging mailing list