| Summary: | kdesrc-build fails after upgrade to perl 5.26 | ||
|---|---|---|---|
| Product: | [Developer tools] kdesrc-build | Reporter: | Jacopo De Simoi <wilderkde> |
| Component: | general | Assignee: | Michael Pyne <mpyne> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | CC: | nate |
| Priority: | NOR | ||
| Version First Reported In: | Git | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
I am running gentoo
$ perl -V
Summary of my perl5 (revision 5 version 26 subversion 2) configuration:
Platform:
osname=linux
osvers=4.19.9-gentoo
archname=x86_64-linux-thread-multi
uname='linux bl4ckspoons 4.19.9-gentoo #1 smp mon dec 17 13:13:30 est 2018 x86_64 intel(r) core(tm) i5-6200u cpu @ 2.30ghz genuineintel gnulinux '
config_args='-des -Dinstallprefix=/usr -Dinstallusrbinperl=n -Ui_xlocale -Di_ndbm -Di_gdbm -Di_db -Dusethreads -DDEBUGGING=none -Dinc_version_list=5.24.3 5.24.1 5.22.2 5.20.2 -Dlibpth=/usr/local/lib64 /lib64 /usr/lib64 -Dnoextensions=ODBM_File -Duseshrplib -Darchname=x86_64-linux-thread -Dcc=x86_64-pc-linux-gnu-gcc -Doptimize=-march=native -O2 -pipe -Dldflags=-Wl,-O1 -Wl,--as-needed -Dprefix=/usr -Dsiteprefix=/usr/local -Dvendorprefix=/usr -Dscriptdir=/usr/bin -Dprivlib=/usr/lib64/perl5/5.26.2 -Darchlib=/usr/lib64/perl5/5.26.2/x86_64-linux-thread-multi -Dsitelib=/usr/local/lib64/perl5/5.26.2 -Dsitearch=/usr/local/lib64/perl5/5.26.2/x86_64-linux-thread-multi -Dvendorlib=/usr/lib64/perl5/vendor_perl/5.26.2 -Dvendorarch=/usr/lib64/perl5/vendor_perl/5.26.2/x86_64-linux-thread-multi -Dman1dir=/usr/share/man/man1 -Dman3dir=/usr/share/man/man3 -Dsiteman1dir=/usr/local/man/man1 -Dsiteman3dir=/usr/local/man/man3 -Dvendorman1dir=/usr/share/man/man1 -Dvendorman3dir=/usr/share/man/man3 -Dman1ext=1 -Dman3ext=3pm -Dlibperl=libperl.so.5.26.2 -Dlocincpth=/usr/include -Dglibpth=/lib64 /usr/lib64 -Duselargefiles -Dd_semctl_semun -Dcf_by=Gentoo -Dmyhostname=localhost -Dperladmin=root@localhost -Ud_csh -Dsh=/bin/sh -Dtargetsh=/bin/sh -Uusenm -Ui_xlocale -Di_ndbm -Di_gdbm -Di_db -Dusethreads -DDEBUGGING=none -Dinc_version_list=5.24.3 5.24.1 5.22.2 5.20.2 -Dlibpth=/usr/local/lib64 /lib64 /usr/lib64 -Dnoextensions=ODBM_File'
hint=recommended
useposix=true
d_sigaction=define
useithreads=define
usemultiplicity=define
use64bitint=define
use64bitall=define
uselongdouble=undef
usemymalloc=n
default_inc_excludes_dot=define
bincompat5005=undef
Compiler:
cc='x86_64-pc-linux-gnu-gcc'
ccflags ='-D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
optimize='-march=native -O2 -pipe'
cppflags='-D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe'
ccversion=''
gccversion='7.3.0'
gccosandvers=''
intsize=4
longsize=8
ptrsize=8
doublesize=8
byteorder=12345678
doublekind=3
d_longlong=define
longlongsize=8
d_longdbl=define
longdblsize=16
longdblkind=3
ivtype='long'
ivsize=8
nvtype='double'
nvsize=8
Off_t='off_t'
lseeksize=8
alignbytes=8
prototype=define
Linker and Libraries:
ld='x86_64-pc-linux-gnu-gcc'
ldflags ='-Wl,-O1 -Wl,--as-needed'
libpth=/usr/local/lib64 /lib64 /usr/lib64 /usr/local/lib /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include-fixed /usr/lib /lib/../lib64 /usr/lib/../lib64 /lib
libs=-lpthread -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc -lgdbm_compat
perllibs=-lpthread -ldl -lm -lcrypt -lutil -lc
libc=libc-2.27.so
so=so
useshrplib=true
libperl=libperl.so.5.26.2
gnulibc_version='2.27'
Dynamic Linking:
dlsrc=dl_dlopen.xs
dlext=so
d_dlsymun=undef
ccdlflags='-Wl,-E'
cccdlflags='-fPIC'
lddlflags='-shared -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed'
Characteristics of this binary (from libperl):
Compile-time options:
HAS_TIMES
MULTIPLICITY
PERLIO_LAYERS
PERL_COPY_ON_WRITE
PERL_DONT_CREATE_GVSV
PERL_IMPLICIT_CONTEXT
PERL_MALLOC_WRAP
PERL_OP_PARENT
PERL_PRESERVE_IVUV
USE_64_BIT_ALL
USE_64_BIT_INT
USE_ITHREADS
USE_LARGE_FILES
USE_LOCALE
USE_LOCALE_COLLATE
USE_LOCALE_CTYPE
USE_LOCALE_NUMERIC
USE_LOCALE_TIME
USE_PERLIO
USE_PERL_ATOF
USE_REENTRANT_API
Locally applied patches:
gentoo/hints_hpux - Fix hpux hints
gentoo/aix_soname - aix gcc detection and shared library soname support
gentoo/EUMM-RUNPATH - https://bugs.gentoo.org/105054 cpan/ExtUtils-MakeMaker: drop $PORTAGE_TMPDIR from LD_RUN_PATH
gentoo/config_over - Remove -rpath and append LDFLAGS to lddlflags
gentoo/opensolaris_headers - Add headers for opensolaris
gentoo/patchlevel - List packaged patches for perl-5.26.2(#1) in patchlevel.h
gentoo/cleanup-paths - Cleanup PATH and shrpenv
gentoo/enc2xs - Tweak enc2xs to follow symlinks and ignore missing @INC directories.
gentoo/darwin-cc-ld - https://bugs.gentoo.org/297751 darwin: Use $CC to link
gentoo/cpan_definstalldirs - Provide a sensible INSTALLDIRS default for modules installed from CPAN.
gentoo/interix - Fix interix hints
gentoo/create_libperl_soname - https://bugs.gentoo.org/286840 Set libperl soname
gentoo/mod_paths - Add /etc/perl to @INC
gentoo/EUMM_perllocalpod - cpan/ExtUtils-MakeMaker: remove targets that generate perllocal.pod
gentoo/drop_fstack_protector - https://bugs.gentoo.org/348557 Don't force -fstack-protector on everyone
gentoo/usr_local - Configure: Don't include sources in /usr/local/ for compiling perl
gentoo/D-SHA-CFLAGS - https://bugs.gentoo.org/506818 Do not set custom CFLAGS in cpan/Digest-SHA
gentoo/io_socket_ip_tests - cpan/IO-Socket-IP: Disable network tests
gentoo/tests - Fix EUMM podlocal tests
gentoo/no-nsl.patch -
debian/cpan-missing-site-dirs - Fix CPAN::FirstTime defaults with nonexisting site dirs if a parent is writable
debian/makemaker-pasthru - Pass LD settings through to subdirectories
fixes/memoize_storable_nstore - [rt.cpan.org #77790] Memoize::Storable: respect 'nstore' option not respected
fixes/podman-pipe - Better errors for man pages from standard input
fixes/respect_umask - Respect umask during installation
fixes/net_smtp_docs - [rt.cpan.org #36038] Document the Net::SMTP 'Port' option
fixes/document_makemaker_ccflags - [rt.cpan.org #68613] Document that CCFLAGS should include $Config{ccflags}
fixes/parallel-manisort.patch - Fix parallel building
Built under linux
Compiled at Jan 5 2019 16:05:17
@INC:
/etc/perl
/usr/local/lib64/perl5/5.26.2/x86_64-linux-thread-multi
/usr/local/lib64/perl5/5.26.2
/usr/lib64/perl5/vendor_perl/5.26.2/x86_64-linux-thread-multi
/usr/lib64/perl5/vendor_perl/5.26.2
/usr/local/lib64/perl5
/usr/lib64/perl5/vendor_perl/5.24.3
/usr/lib64/perl5/vendor_perl/5.24.1
/usr/lib64/perl5/vendor_perl/5.22.2
/usr/lib64/perl5/vendor_perl/5.20.2
/usr/lib64/perl5/vendor_perl
/usr/lib64/perl5/5.26.2/x86_64-linux-thread-multi
/usr/lib64/perl5/5.26.2
Thanks for the report. This particular crash is actually a kdesrc-build fault that shouldn't be related to Perl 5.26. The bug was fixed shortly after it was introduced, please see my comment in bug 403171. You may have to manually update kdesrc-build to obtain the fix, you can do this by changing to the kdesrc-build directory and running "git pull". *** This bug has been marked as a duplicate of bug 403171 *** |
I recently upgraded to Perl 5.26 (from 5.24) and I can no longer run kdesrc-build from git. This is the error message > Called unknown method ksb::test::inspect at /scratch/src/kde/extragear/utils/kdesrc-build/modules/ksb/Debug.pm line 203. at /scratch/src/kde/extragear/utils/kdesrc-build/modules/ksb/Debug.pm line 203. ksb::test::AUTOLOAD("log_command", "konversation", "git-fetch", ARRAY(0x5626023b07a0), HASH(0x5626023addd8)) called at /scratch/src/kde/extragear/utils/kdesrc-build/modules/ksb/Util.pm line 389 ksb::Util::log_command(ksb::Module=HASH(0x5626023bda68), "git-fetch", ARRAY(0x5626023b07a0)) called at /scratch/src/kde/extragear/utils/kdesrc-build/modules/ksb/Updater/Git.pm line 384 ksb::Updater::Git::updateExistingClone(ksb::Updater::KDEProject=HASH(0x5626023bae70)) called at /scratch/src/kde/extragear/utils/kdesrc-build/modules/ksb/Updater/Git.pm line 157 ksb::Updater::Git::updateCheckout(ksb::Updater::KDEProject=HASH(0x5626023bae70)) called at /scratch/src/kde/extragear/utils/kdesrc-build/modules/ksb/Updater/Git.pm line 36 ksb::Updater::Git::updateInternal(ksb::Updater::KDEProject=HASH(0x5626023bae70), ksb::IPC::Pipe=HASH(0x562602468040)) called at /scratch/src/kde/extragear/utils/kdesrc-build/modules/ksb/Module.pm line 720 eval {...} called at /scratch/src/kde/extragear/utils/kdesrc-build/modules/ksb/Module.pm line 720 ksb::Module::update(ksb::Module=HASH(0x5626023bda68), ksb::IPC::Pipe=HASH(0x562602468040), ksb::BuildContext=HASH(0x562600d302a0)) called at /scratch/src/kde/extragear/utils/kdesrc-build/modules/ksb/Application.pm line 1358 ksb::Application::_handle_updates(ksb::IPC::Pipe=HASH(0x562602468040), ksb::BuildContext=HASH(0x562600d302a0)) called at /scratch/src/kde/extragear/utils/kdesrc-build/modules/ksb/Application.pm line 1619 ksb::Application::_handle_async_build(ksb::IPC::Pipe=HASH(0x562602467c80), ksb::BuildContext=HASH(0x562600d302a0)) called at /scratch/src/kde/extragear/utils/kdesrc-build/modules/ksb/Application.pm line 689 ksb::Application::runAllModulePhases(ksb::Application=HASH(0x562601c06b20)) called at ./kdesrc-build line 367 eval {...} called at ./kdesrc-build line 363