Skip Menu |

This queue is for tickets about the Tkx CPAN distribution.

Report information
The Basics
Id: 115662
Status: open
Priority: 0/
Queue: Tkx

People
Owner: Nobody in particular
Requestors: adnan.haider [...] rmi.edu.pk
Cc:
AdminCc:

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



Subject: trouble installing Tkx in Ubuntu 14.04
Date: Tue, 28 Jun 2016 04:59:03 +0000
To: "bug-Tkx [...] rt.cpan.org" <bug-Tkx [...] rt.cpan.org>
From: Syed Adnan Haider | Scientific Officer <adnan.haider [...] rmi.edu.pk>
Dear concerned, In order to install a package called PrimerMapper for designing primers on Ubuntu 14.04, I need to install a perl module called Tkx but facing trouble in installing it. So, kindly assist me in resolving this bug. For your quick and easy reference, I am pasting complete commands of installation. Thanks a lot **adnan@adnan-Inspiron-N5110[Tkx-1.09]** sudo perl Makefile.PL Writing Makefile for Tkx Writing MYMETA.yml and MYMETA.json **adnan@adnan-Inspiron-N5110[Tkx-1.09]** sudo make Skip blib/lib/Tkx/Tutorial.pod (unchanged) Skip blib/lib/Tkx.pm (unchanged) Skip blib/lib/Tkx/MegaConfig.pm (unchanged) Skip blib/lib/Tkx/LabEntry.pm (unchanged) cp tkx-prove blib/script/tkx-prove /usr/bin/perl -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/tkx-prove cp tkx-ed blib/script/tkx-ed /usr/bin/perl -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/tkx-ed Manifying blib/man1/tkx-ed.1p Manifying blib/man3/Tkx::MegaConfig.3pm Manifying blib/man3/Tkx::LabEntry.3pm Manifying blib/man3/Tkx::Tutorial.3pm Manifying blib/man3/Tkx.3pm **adnan@adnan-Inspiron-N5110[Tkx-1.09]** sudo make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/LabEntry.t ...... 1/2 (in cleanup) Can't call method "DeleteCommand" on an undefined value at /usr/local/lib/perl/5.18.2/Tcl.pm line 655 during global destruction. t/LabEntry.t ...... ok t/mega-config.t ... ok t/mega.t .......... ok t/nul-char.t ...... ok t/tcl-callback.t .. 1/7 (in cleanup) Can't call method "DeleteCommand" on an undefined value at /usr/local/lib/perl/5.18.2/Tcl.pm line 655 during global destruction. t/tcl-callback.t .. ok t/tcl.t ........... 1/18 # Test 18 got: "Tcl error 'Foo at /usr/local/lib/perl/5.18.2/Tcl.pm line 585.\n' while invoking scalar result call:\n\t\"error Foo\" at /usr/local/lib/perl/5.18.2/Tcl.pm line 588.\n\tTcl::call('Tcl=SCALAR(0x1b2ce48)', 'error', 'Foo') called at /media/windows/NGS/GATK_FINAL_PIPELINE/PrimerMapper-master/Tkx-1.09/blib/lib/Tkx.pm line 329\n\teval {...} called at /media/windows/NGS/GATK_FINAL_PIPELINE/PrimerMapper-master/Tkx-1.09/blib/lib/Tkx.pm line 329\n\tTkx::i::call('error', 'Foo') called at /media/windows/NGS/GATK_FINAL_PIPELINE/PrimerMapper-master/Tkx-1.09/blib/lib/Tkx.pm line 51\n\tTkx::AUTOLOAD('Foo') called at t/tcl.t line 38\n\teval {...} called at t/tcl.t line 38\n" (t/tcl.t at line 39) # Expected: "Foo at t/tcl.t line 38.\n" # t/tcl.t line 39 is: ok($@, "Foo at @{[__FILE__]} line @{[__LINE__ - 1]}.\n"); t/tcl.t ........... Failed 1/18 subtests t/tk.t ............ 12/12 (in cleanup) Can't call method "DeleteCommand" on an undefined value at /usr/local/lib/perl/5.18.2/Tcl.pm line 655 during global destruction. t/tk.t ............ ok t/utf8.t .......... ok Test Summary Report t/tcl.t (Wstat: 0 Tests: 18 Failed: 1) Failed test: 18 Files=8, Tests=54, 9 wallclock secs ( 0.15 usr 0.03 sys + 1.85 cusr 0.31 csys = 2.34 CPU) Result: FAIL Failed 1/8 test programs. 1/54 subtests failed. make: *** [test_dynamic] Error 255 GAAS/Tkx-1.09.tar.gz /usr/bin/make test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports GAAS/Tkx-1.09.tar.gz Running make install make test had returned bad status, won't install without force Failed during this command: GAAS/Tkx-1.09.tar.gz : make_test NO Thanks and Best Regards, Syed Adnan Haider Scientific Officer | Rehman Medical Institute | Hayatabad Peshawar UAN: 111-REH-MAN (734-626) |Tel: +92-91-5838 000 (ext. 5027) | Fax: +92-91-5838 333 Doctor’s Appointment: +92-91-5838 666 www.rmi.edu.pk DISCLAIMER: “The information and any attachments in this email are confidential and intended solely for the use of the addressee. If you are not the intended recipient please notify sender. Any disclosure, copying, distribution or taking any action in reliance of the contents of this information may be unlawful. Rehman Medical Institute (RMI) is neither liable for the proper and complete transmission of the content nor for any delay in its receipt. Any views or opinions presented in this email are those of the author and do not necessarily represent those of RMI. Finally, although this message has been scanned the recipient should check this email and any attachments for the presence of viruses. RMI accepts no liability for any damage caused by this email.”
Subject: re: [rt.cpan.org #115662] - bug still appears to be active
Date: Tue, 19 Nov 2019 17:43:27 +0000
To: bug-Tkx [...] rt.cpan.org
From: Dave Howorth <djh [...] cpan.org>
I just tried to install Tkx 1.09 and failed with what seems to be the same error reported by Adnan three years ago. Here's the output from cpanm. I'd appreciate any suggestions. Cheers, Dave cpanm (App::cpanminus) 1.7042 on perl 5.026001 built for x86_64-linux-thread-mul ti Work directory is /root/.cpanm/work/1574183093.27598 You have make /usr/bin/make You have LWP 6.31 You have /usr/bin/tar: tar (GNU tar) 1.30 Copyright (C) 2017 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by John Gilmore and Jay Fenlason. You have /usr/bin/unzip Searching install () on cpanmetadb ... install is up to date. (0.01) Searching Tkx () on cpanmetadb ... --> Working on Tkx Fetching http://www.cpan.org/authors/id/G/GA/GAAS/Tkx-1.09.tar.gz -> OK Unpacking Tkx-1.09.tar.gz Entering Tkx-1.09 Checking configure dependencies from META.yml Checking if you have ExtUtils::MakeMaker 6.58 ... Yes (7.24) Configuring Tkx-1.09 Running Makefile.PL Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for Tkx Writing MYMETA.yml and MYMETA.json -> OK Checking dependencies from MYMETA.json ... Checking if you have Tcl 1 ... Yes (1.27) Checking if you have ExtUtils::MakeMaker 0 ... Yes (7.24) Building and testing Tkx-1.09 cp lib/Tkx/LabEntry.pm blib/lib/Tkx/LabEntry.pm cp lib/Tkx/Tutorial.pod blib/lib/Tkx/Tutorial.pod cp lib/Tkx/MegaConfig.pm blib/lib/Tkx/MegaConfig.pm cp lib/Tkx.pm blib/lib/Tkx.pm cp tkx-ed blib/script/tkx-ed "/usr/bin/perl" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/tkx-ed cp tkx-prove blib/script/tkx-prove "/usr/bin/perl" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/tkx-prove Manifying 1 pod document Manifying 4 pod documents PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/LabEntry.t ...... ok t/mega-config.t ... ok t/mega.t .......... ok t/nul-char.t ...... ok (in cleanup) Undefined subroutine &Tcl::Cmdbase::TRACE_DELETECOMMAND called at /usr/lib/perl5/site_perl/5.26.1/x86_64-linux-thread-multi/Tcl.pm line 1009. (in cleanup) Undefined subroutine &Tcl::Cmdbase::TRACE_DELETECOMMAND called at /usr/lib/perl5/site_perl/5.26.1/x86_64-linux-thread-multi/Tcl.pm line 1009. t/tcl-callback.t .. ok # Test 18 got: "Tcl error 'Foo at /usr/lib/perl5/site_perl/5.26.1/x86_64-linux-thread-multi/Tcl.pm line 817.\n' while invoking scalar result call:\n\t\"error Foo\" at t/tcl.t line 38.\n" (t/tcl.t at line 39) # Expected: "Foo at t/tcl.t line 38.\n" # t/tcl.t line 39 is: ok($@, "Foo at @{[__FILE__]} line @{[__LINE__ - 1]}.\n"); t/tcl.t ........... Failed 1/18 subtests t/tk.t ............ ok t/utf8.t .......... ok Test Summary Report ------------------- t/tcl.t (Wstat: 0 Tests: 18 Failed: 1) Failed test: 18 Files=8, Tests=54, 7 wallclock secs ( 0.03 usr 0.00 sys + 0.61 cusr 0.03 csys = 0.67 CPU) Result: FAIL Failed 1/8 test programs. 1/54 subtests failed. make: *** [Makefile:892: test_dynamic] Error 255 -> FAIL Installing Tkx failed. See /root/.cpanm/work/1574183093.27598/build.log for details. Retry with --force to force install it.
RT-Send-CC: djh [...] cpan.org
Related issue on GitHub: https://github.com/gisle/tkx/issues/4

There is also a proposed fix on GitHub: https://github.com/gisle/tkx/pull/2

To anyone affected by this issue, I would suggest ignoring it for now, e.g. installing using cpanm --force

Installation is being prevented by a single test failure. But the only purpose of the failing test appears to make sure an error message can be generated intentionally; the error message is successfully generated, but the exact message slightly differs from what was hardcoded in the test long ago. I don't know if this will be fixed by Tkx, but I believe it is a benign issue.