Package Details: perl-wx-scintilla 0.39-3

Git Clone URL: https://aur.archlinux.org/perl-wx-scintilla.git (read-only)
Package Base: perl-wx-scintilla
Description: Wx::Scintilla - Scintilla source code editing component for wxWidgets
Upstream URL: http://search.cpan.org/~azawawi/Wx-Scintilla/
Licenses: GPL, PerlArtistic
Provides: perl-wx-scintilla-constant, perl-wx-scintilla-textctrl, perl-wx-scintilla-textevent, perl-wx-scintillatextctrl, perl-wx-scintillatextevent
Submitter: dracorp
Maintainer: dracorp
Last Packager: dracorp
Votes: 5
Popularity: 0.000000
First Submitted: 2011-12-14 23:27
Last Updated: 2016-09-11 19:05

Latest Comments

mrbit commented on 2016-09-10 15:38

STC_compilation_with_GCC6.patch --> no validation file !!

3ED_0 commented on 2016-05-29 19:13

gcc>=6 + perl-wx-scintilla-0.39-1 == :(
https://rt.cpan.org/Public/Bug/Display.html?id=112742

dracorp commented on 2016-03-16 21:49

@dumphblooz
Yes, we know. But if you feel up to fix it then go.

dumphblooz commented on 2016-03-16 09:01

Building Wx-Scintilla
t/01_load.t .......... Can't load '/tmp/yaourt-tmp-nuklea/aur-perl-wx-scintilla/src/Wx-Scintilla-0.39/blib/arch/auto/Wx/Scintilla/Scintilla.so' for module Wx::Scintilla: /tmp/yaourt-tmp-nuklea/aur-perl-wx-scintilla/src/Wx-Scintilla-0.39/blib/arch/auto/Wx/Scintilla/libwx_gtk2u_scintilla-3.0.2.so: undefined symbol: _ZNK8wxObject12CloneRefDataEPK15wxObjectRefData at /usr/lib/perl5/core_perl/DynaLoader.pm line 193.
at t/01_load.t line 11.
Compilation failed in require at t/01_load.t line 11.
BEGIN failed--compilation aborted at t/01_load.t line 11.
t/01_load.t .......... Dubious, test returned 2 (wstat 512, 0x200)
Failed 1/1 subtests
t/02_inheritance.t ... Can't load '/tmp/yaourt-tmp-nuklea/aur-perl-wx-scintilla/src/Wx-Scintilla-0.39/blib/arch/auto/Wx/Scintilla/Scintilla.so' for module Wx::Scintilla: /tmp/yaourt-tmp-nuklea/aur-perl-wx-scintilla/src/Wx-Scintilla-0.39/blib/arch/auto/Wx/Scintilla/libwx_gtk2u_scintilla-3.0.2.so: undefined symbol: _ZNK8wxObject12CloneRefDataEPK15wxObjectRefData at /usr/lib/perl5/core_perl/DynaLoader.pm line 193.
at t/02_inheritance.t line 15.
Compilation failed in require at t/02_inheritance.t line 15.
BEGIN failed--compilation aborted at t/02_inheritance.t line 15.
# Looks like your test exited with 2 before it could output anything.
t/02_inheritance.t ... Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/03_editor.t ........ Can't load '/tmp/yaourt-tmp-nuklea/aur-perl-wx-scintilla/src/Wx-Scintilla-0.39/blib/arch/auto/Wx/Scintilla/Scintilla.so' for module Wx::Scintilla: /tmp/yaourt-tmp-nuklea/aur-perl-wx-scintilla/src/Wx-Scintilla-0.39/blib/arch/auto/Wx/Scintilla/libwx_gtk2u_scintilla-3.0.2.so: undefined symbol: _ZNK8wxObject12CloneRefDataEPK15wxObjectRefData at /usr/lib/perl5/core_perl/DynaLoader.pm line 193.
at t/03_editor.t line 23.
Compilation failed in require at t/03_editor.t line 23.
BEGIN failed--compilation aborted at t/03_editor.t line 23.
t/03_editor.t ........ Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/03_editor_child.t .. Can't load '/tmp/yaourt-tmp-nuklea/aur-perl-wx-scintilla/src/Wx-Scintilla-0.39/blib/arch/auto/Wx/Scintilla/Scintilla.so' for module Wx::Scintilla: /tmp/yaourt-tmp-nuklea/aur-perl-wx-scintilla/src/Wx-Scintilla-0.39/blib/arch/auto/Wx/Scintilla/libwx_gtk2u_scintilla-3.0.2.so: undefined symbol: _ZNK8wxObject12CloneRefDataEPK15wxObjectRefData at /usr/lib/perl5/core_perl/DynaLoader.pm line 193.
at t/03_editor_child.t line 23.
Compilation failed in require at t/03_editor_child.t line 23.
BEGIN failed--compilation aborted at t/03_editor_child.t line 23.
t/03_editor_child.t .. Dubious, test returned 2 (wstat 512, 0x200)
No subtests run

Test Summary Report
-------------------
t/01_load.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 1 tests but ran 0.
t/02_inheritance.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/03_editor.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/03_editor_child.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
Files=4, Tests=0, 1 wallclock secs ( 0.04 usr 0.00 sys + 0.51 cusr 0.08 csys = 0.63 CPU)
Result: FAIL
Failed 4/4 test programs. 0/0 subtests failed.

everfart commented on 2016-01-22 03:17

This isn't building for me on perl 5.22.1, 4.3.3-3-ARCH. Wx::Scintilla build is failing with the same issue when I try to build from source via cpan as well, but installs successfully if I use `cpan -i Wx::Scintilla`. The errors are like this:

==> Starting check()...
Building Wx-Scintilla
t/01_load.t .......... Can't load '/home/ian/scintilla/perl-wx-scintilla/src/Wx-Scintilla-0.39/blib/arch/auto/Wx/Scintilla/Scintilla.so' for module Wx::Scintilla: /home/ian/scintilla/perl-wx-scintilla/src/Wx-Scintilla-0.39/blib/arch/auto/Wx/Scintilla/libwx_gtk2u_scintilla-3.0.2.so: undefined symbol: _ZNK8wxObject12CloneRefDataEPK15wxObjectRefData at /usr/lib/perl5/core_perl/DynaLoader.pm line 193.
at t/01_load.t line 11.

Looks similar to a previous issue, but the patch referenced before still seems to be in place.

dracorp commented on 2015-01-04 14:16

I've downgraded package to 0.39. If someone neesd 0.40 then install perl-wx-scintilla-dev

dracorp commented on 2015-01-04 00:31

With perl-wx-scintilla-0.39 I can't do 'make test' for perl-padre-git:
t/perl/general.t ........... Can't load '/usr/lib/perl5/vendor_perl/auto/Wx/Scintilla/Scintilla.so' for module Wx::Scintilla: /usr/lib/perl5/vendor_perl/auto/Wx/Scintilla/libwx_gtk2u_scintilla-2.8.12.so: undefined symbol: _ZTI14wxEventFunctor at /usr/share/perl5/core_perl/XSLoader.pm line 68.

But in a few days I can fix those packages.

dracorp commented on 2015-01-04 00:15

Maybe you are right but I can't verify this becase I can't compile perl-padre with perl-wx-scintilla-0.39.
But I can downgrade this package and upload new perl-wx-scintilla-devel.

not_anonymous commented on 2015-01-03 06:27

Thanks for taking care of this so quickly. Please note: perl-padre will successfully package ONLY if this is reverted to version 0.39. (It appears that version 0.40 is called a "developmental" version by it's author.)

http://search.cpan.org/~azawawi/Wx-Scintilla/

** Perhaps version 0.40 should be it's own PKGBUILD, i.e. called perl-wx-scintilla-devel ???

not_anonymous commented on 2015-01-03 06:26

Thanks for taking care of this so quickly. Please note: perl-padre will successfully package ONLY if this is reverted to version 0.39. (It appears that version 0.40 is called a "developmental" version by it's author.)

http://search.cpan.org/~azawawi/Wx-Scintilla/

** Perhaps version 0.40 should be it's own PKGBUILD, i.e. called perl-wx-scintilla-devel ???




not_anonymous commented on 2015-01-03 06:25

Thanks for taking care of this so quickly. Please note: perl-padre will successfully package ONLY if this is reverted to version 0.39. (It appears that version 0.40 is called a "developmental" version by it's author.)

** Perhaps version 0.40 should be it's own PKGBUILD, i.e. called perl-wx-scintilla-devel ???

not_anonymous commented on 2015-01-03 06:24

Thanks for taking care of this so quickly. Please note: perl-padre will successfully package ONLY if this is reverted to version 0.39. It trurns out that version 0.40 is called a "developmental" version by it's author.

** Perhaps version 0.40 should be it's own PKGBUILD, i.e. called perl-wx-scintilla-devel ???

dracorp commented on 2015-01-02 22:50

Yes, you are right.

not_anonymous commented on 2015-01-01 22:22

If this package requires a patched to use wx-config-2.8 shouldn't the depends ALSO be changed from wx-config to wx-config-2.8 ????

dk_gm commented on 2014-07-13 10:15

PKGBUILD for perl-wx-scintilla.

wx-scintilla uses wx-config instead of wx-config-2.8, and generates _ZTI14wxEventFunctor error.

add patches to fix it:

source=("http://search.cpan.org/CPAN/authors/id/$_author/$_perlmod-$pkgver.tar.gz"
remove-uneeded-libs.patch
p.patch)

build(){
cd "$srcdir/$_perlmod-$pkgver"
patch -Np1 -i "$srcdir/remove-uneeded-libs.patch"
patch -Np1 -i "$srcdir/p.patch"

_________________________________________________________________________
p.patch
_________________________________________________________________________
diff -ru inc/Module/Build/Scintilla.pm inc_new/Module/Build/Scintilla.pm
--- a/inc/Module/Build/Scintilla.pm 2012-09-04 14:53:28.000000000 +0300
+++ b/inc/Module/Build/Scintilla.pm 2014-07-13 11:05:46.827760686 +0300
@@ -47,7 +47,7 @@
# not available on windows
return $self->{_wxstc_config_wxconfig} if $self->{_wxstc_config_wxconfig};
my $binpathconfig;
- my $sympathconfig = Alien::wxWidgets->prefix . '/bin/wx-config';
+ my $sympathconfig = Alien::wxWidgets->prefix . '/bin/wx-config-2.8';

# sometimes the symlink is broken - if there has been relocation etc.
# but we know where it should be if installed by Alien::wxWidgets
@@ -60,7 +60,7 @@
$binpathconfig = $testpath if -f $testpath;
};

- my $wxconfig = $binpathconfig || 'wx-config';
+ my $wxconfig = $binpathconfig || 'wx-config-2.8';
my $configtest = qx($wxconfig --version);
if ( $configtest !~ /^\d+\.\d+\.\d+/ ) {
die
Only in inc/Module/Build: Scintilla.pm.new
________________________________________________________________________________
remove-uneeded-libs.patch
__________________________________________________________________
--- a/inc/Module/Build/Scintilla/GTK.pm
+++ b/inc/Module/Build/Scintilla/GTK.pm
@@ -83,9 +83,7 @@ sub stc_prebuild_check {

sub stc_extra_scintilla_libs {
my $self = shift;
- my $extras = '-lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lpangoft2-1.0 ';
- $extras .= '-lgdk_pixbuf-2.0 -lm -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 ';
- $extras .= '-lgmodule-2.0 -lgthread-2.0 -lglib-2.0';
+ my $extras = ' -lm ';
return $extras;
}

_____________________________________________________________

dracorp commented on 2014-04-14 13:36

I don't know how to fix this problem. Any suggestions?

baronmog commented on 2014-04-13 07:53

Tests die with:

Can't load '/tmp/yaourt-tmp-klevin/aur-perl-wx-scintilla/src/Wx-Scintilla-0.39/blib/arch/auto/Wx/Scintilla/Scintilla.so' for module Wx::Scintilla: /tmp/yaourt-tmp-klevin/aur-perl-wx-scintilla/src/Wx-Scintilla-0.39/blib/arch/auto/Wx/Scintilla/libwx_gtk2u_scintilla-2.8.12.so: undefined symbol: _ZTI14wxEventFunctor at /usr/lib/perl5/core_perl/DynaLoader.pm line 190.

sputnick commented on 2013-01-14 21:50

0.39 is out =)

Install of padre Perl IDE fails on this module.

sputnick commented on 2013-01-14 21:47

0.39 is out =)

dracorp commented on 2012-01-03 12:00

Fixed.

Anonymous comment on 2012-01-03 11:20

error: target not found: perl-test-more