Skip Menu |

This queue is for tickets about the Wx CPAN distribution.

Report information
The Basics
Id: 103129
Status: open
Priority: 0/
Queue: Wx

People
Owner: mdootson [...] cpan.org
Requestors: dolmen [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.9926
Fixed in: (no value)



Subject: build failure with wx 2.8 on Ubuntu 14.04: wxComboBox has no member RemoveSelection
Hi,

I'm using wx 2.8 packaged by Ubuntu 14.04.

Wx 0.9926 fails to build with the following error:


"/home/omengue/.plenv/versions/5.20.1/bin/perl5.20.1" "/home/omengue/.plenv/versions/5.20.1/lib/perl5/5.20.1/ExtUtils/xsubpp"  -nolinenumbers -noprototypes  -typemap "/home/omengue/.plenv/versions/5.20.1/lib/perl5/5.20.1/ExtUtils/typemap" -typemap "typemap"  Controls.xs > Controls.xsc && mv Controls.xsc Controls.c
Warning: duplicate function definition 'GetSelection' detected in XS/ComboBox.xs, line 184
Warning: duplicate function definition 'SetSelection' detected in XS/ComboBox.xs, line 203
g++ -pthread   -c  -I. -I. -I/usr/lib/x86_64-linux-gnu/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8  -fwrapv -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2   -DVERSION=\"0.9926\" -DXS_VERSION=\"0.9926\" -fPIC "-I/home/omengue/.plenv/versions/5.20.1/lib/perl5/5.20.1/x86_64-linux/CORE"  -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__   Controls.c
Controls.c: In function ‘void XS_Wx__ComboBox_RemoveSelection(CV*)’:
Controls.c:33633:8: error: ‘class wxComboBox’ has no member named ‘RemoveSelection’
  THIS->RemoveSelection();
        ^
make: *** [Controls.o] Erreur 1
  MDOOTSON/Wx-0.9926.tar.gz
  /usr/bin/make -- NOT OK


-- 
Olivier Mengué - http://perlresume.org/DOLMEN - https://gratipay.com/dolmen/
This should be fixed in Wx 0.9927 which has been uploaded to CPAN On Thu Mar 26 05:01:42 2015, DOLMEN wrote: Show quoted text
> Hi, > > I'm using wx 2.8 packaged by Ubuntu 14.04. > > Wx 0.9926 fails to build with the following error: > > > "/home/omengue/.plenv/versions/5.20.1/bin/perl5.20.1" > "/home/omengue/.plenv/versions/5.20.1/lib/perl5/5.20.1/ExtUtils/xsubpp" > -nolinenumbers -noprototypes -typemap > "/home/omengue/.plenv/versions/5.20.1/lib/perl5/5.20.1/ExtUtils/typemap" > -typemap "typemap" Controls.xs > Controls.xsc && mv Controls.xsc Controls.c > Warning: duplicate function definition 'GetSelection' detected in > XS/ComboBox.xs, line 184 > Warning: duplicate function definition 'SetSelection' detected in > XS/ComboBox.xs, line 203 > g++ -pthread -c -I. -I. > -I/usr/lib/x86_64-linux-gnu/wx/include/gtk2-unicode-release-2.8 > -I/usr/include/wx-2.8 -fwrapv -fno-strict-aliasing -pipe -fstack-protector > -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 > -DVERSION=\"0.9926\" -DXS_VERSION=\"0.9926\" -fPIC > "-I/home/omengue/.plenv/versions/5.20.1/lib/perl5/5.20.1/x86_64-linux/CORE" > -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ Controls.c > Controls.c: In function ‘void XS_Wx__ComboBox_RemoveSelection(CV*)’: > Controls.c:33633:8: error: ‘class wxComboBox’ has no member named > ‘RemoveSelection’ > THIS->RemoveSelection(); > ^ > make: *** [Controls.o] Erreur 1 > MDOOTSON/Wx-0.9926.tar.gz > /usr/bin/make -- NOT OK > > > -- > Olivier Mengué - http://perlresume.org/DOLMEN - https://gratipay.com/dolmen/