Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 559302 - app-editors/padre doesn't load after upgrade to perl 5.22.0
Summary: app-editors/padre doesn't load after upgrade to perl 5.22.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-01 04:14 UTC by Tanktalus
Modified: 2016-12-29 13:11 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tanktalus 2015-09-01 04:14:42 UTC
$ padre
Can't load '/usr/lib64/perl5/vendor_perl/5.22.0/x86_64-linux-thread-multi/auto/Wx/Scintilla/Scintilla.so' for module Wx::Scintilla: /usr/lib64/perl5/vendor_perl/5.22.0/x86_64-linux-thread-multi/auto/Wx/Scintilla/libwx_gtk2u_scintilla-3.0.2.so: undefined symbol: _ZN13wxPopupWindow13sm_eventTableE at /usr/lib64/perl5/5.22.0/XSLoader.pm line 70.
 at /usr/lib64/perl5/vendor_perl/5.22.0/x86_64-linux-thread-multi/Wx/Scintilla.pm line 32.
Compilation failed in require at /usr/lib64/perl5/vendor_perl/5.22.0/Padre/Wx/Theme.pm line 15.
BEGIN failed--compilation aborted at /usr/lib64/perl5/vendor_perl/5.22.0/Padre/Wx/Theme.pm line 15.
Compilation failed in require at /usr/lib64/perl5/vendor_perl/5.22.0/Padre/Wx/Main.pm line 50.
BEGIN failed--compilation aborted at /usr/lib64/perl5/vendor_perl/5.22.0/Padre/Wx/Main.pm line 50.
Compilation failed in require at /usr/lib64/perl5/vendor_perl/5.22.0/Padre/Wx/App.pm line 58.
Perl exited with active threads:
        1 running and unjoined
        0 finished and unjoined
        0 running and detached

I've tried re-merging Wx-Scintilla, no luck.

Using padre 1.0.0, Wx-Scintilla 0.390.0-r1, wxperl 0.992.700

Portage 2.2.20.1 (python 2.7.9-final-0, default/linux/amd64/13.0, gcc-4.8.5, glibc-2.20-r2, 4.0.5-gentoo x86_64)
=================================================================
System uname: Linux-4.0.5-gentoo-x86_64-Intel-R-_Core-TM-_i7-4770_CPU_@_3.40GHz-with-gentoo-2.2
KiB Mem:    32887332 total,   6539516 free
KiB Swap:   33553404 total,  33034200 free
Timestamp of repository gentoo: Mon, 31 Aug 2015 07:45:01 +0000
sh bash 4.3_p39
ld GNU ld (Gentoo 2.24 p1.4) 2.24
distcc 3.1 x86_64-pc-linux-gnu [enabled]
app-shells/bash:          4.3_p39::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.22.0::gentoo
dev-lang/python:          2.7.9-r1::gentoo, 3.3.5-r1::gentoo, 3.4.1::gentoo
dev-util/cmake:           3.3.1-r1::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.17::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.4_p6-r2::gentoo, 1.11.6-r1::gentoo, 1.12.6::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.24-r3::gentoo
sys-devel/gcc:            4.7.3-r1::gentoo, 4.8.5::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.20-r2::gentoo
Repositories:

gentoo
    location: /disk1/usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.ca.gentoo.org/gentoo-portage
    priority: -1000

personal
    location: /home/portdir-mine
    masters: gentoo
    priority: 0

kde
    location: /disk1/share/layman/kde
    masters: gentoo
    priority: 1

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -pipe -march=core-avx2 -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/init.d /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O3 -pipe -march=core-avx2 -ggdb"
DISTDIR="/disk1/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs collision-protect config-protect-if-modified distcc distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.arcticnetwork.ca/ ftp://gentoo.mirrors.tds.net/gentoo http://mirror.datapipe.net/gentoo ftp://mirror.datapipe.net/gentoo ftp://gentoo.arcticnetwork.ca/pub/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j13 -l25"
PKGDIR="/disk1/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa amd64 apache2 audiofile avahi avi bash-completion berkdb branding bzip2 cairo cdda cddb cdparanoia cdr cli consolekit cracklib crypt css cups cxx dbus dri dvd dvdr dvdread enca encode exif expat ffmpeg fftw firefox fontconfig fortran gd gdbm gif gimp gmp gnutls gs handbook htmlhandbook iconv imagemagick ipv6 java jbig jpeg jpeg2k kde kipi lcms libnotify lzma lzo mad mjpeg mmx mmxext mng modules mp3 mpeg multilib ncurses nepomuk nls nptl nsplugin ogg opengl openmp otr pam pcre pdf perl png policykit postscript pulseaudio python qt4 rdesktop readline scanner sdl seccomp semantic-desktop session smp sse sse2 ssl subversion svg tcpd threads tiff truetype tty-helpers udev unicode vaapi vcd vde vorbis win32codecs wmf x264 xcb xcomposite xinerama xml xulrunner xvid zlib" ABI_X86="32 64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="proxy proxy_http actions access_compat alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_core authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status socache_shmcb unique_id unixd userdir usertrack vhost_alias remoteip" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Tanktalus 2015-09-03 17:36:32 UTC
So the problem looks to be more of Wx::Scintilla:

$ perl -MWx::Scintilla -e 1
Can't load '/usr/lib64/perl5/vendor_perl/5.22.0/x86_64-linux-thread-multi/auto/Wx/Scintilla/Scintilla.so' for module Wx::Scintilla: /usr/lib64/perl5/vendor_perl/5.22.0/x86_64-linux-thread-multi/auto/Wx/Scintilla/libwx_gtk2u_scintilla-3.0.2.so: undefined symbol: _ZN13wxPopupWindow13sm_eventTableE at /usr/lib64/perl5/5.22.0/XSLoader.pm line 70.
 at /usr/lib64/perl5/vendor_perl/5.22.0/x86_64-linux-thread-multi/Wx/Scintilla.pm line 32.
Compilation failed in require.
BEGIN failed--compilation aborted.

However, I have a private copy of perl5.22.0 also installed, and I don't get the same problem:

$ perl5.22.0 -MWx::Scintilla -E 'say "hello"'
hello

So there's something in the Wx-Scintilla build that is changing something unexpectedly.
Comment 2 Oleh 2016-01-03 08:32:13 UTC
a problem (bug) likely is in wxGTK:3.0. it doesn't have a _ZN13wxPopupWindow13sm_eventTableE symbol anywhere.

# scanelf -qs +_ZN13wxPopupWindow13sm_eventTableE /usr/lib64/libwx*
_ZN13wxPopupWindow13sm_eventTableE  /usr/lib64/libwx_gtk2u_core-2.8.so
_ZN13wxPopupWindow13sm_eventTableE  /usr/lib64/libwx_gtk2u_core-2.8.so.0
_ZN13wxPopupWindow13sm_eventTableE  /usr/lib64/libwx_gtk2u_core-2.8.so.0.8.0

that's output for wxGTK:2.8. padre need an 0.390-r1 Wx::Scintilla, that is compiled against wxGTK:2.8 until wxGTK:3.0 fixed, either in ebuild or upstream.

# c++filt _ZN13wxPopupWindow13sm_eventTable
wxPopupWindow::sm_eventTable

grep search pattern for sm_eventTable in /usr/include/wx* gives both wxGTK:2.8 and wxGTK:3.0, so above symbol present in headers but not in wxGTK:3.0 *.so library.
Comment 3 Oleh 2016-02-04 13:13:31 UTC
any progress on this?
the fix is simple as strict dependency on wxGTK:2.8 (in Wx-Scintilla and other wx-related reverse deps of Wx-Scintilla).
Comment 4 Oleh 2016-04-03 08:36:06 UTC
a friendly reminder. padre-1.00 is not compatible with wxGTK-3.0, all related deps of it need to use wxGTK:2.8. This also need revival of older Alien-wxWidgets ebuild, because the only one exist in tree is wxGTK:3.0 dependent.
Comment 5 Oleh 2016-04-03 13:30:38 UTC
padre-1.01 (unreleased) is the one that claimed wxGTK:3.0 support
Comment 6 Oleh 2016-06-01 05:29:09 UTC
any progress here? quite clear case.
Comment 7 Oleh 2016-06-02 14:06:25 UTC
this can be closed. padre now (after various update in perl modules and wx-* packages) works. It needs small patch that fixes startup, to be reported separately.
Comment 8 Andreas K. Hüttel archtester gentoo-dev 2016-12-29 13:11:26 UTC
(In reply to Oleg from comment #7)
> this can be closed. padre now (after various update in perl modules and wx-*
> packages) works. It needs small patch that fixes startup, to be reported
> separately.

OK thanks.