Skip Menu |

This queue is for tickets about the Alien-Libevent CPAN distribution.

Report information
The Basics
Id: 98058
Status: resolved
Priority: 0/
Queue: Alien-Libevent

People
Owner: Nobody in particular
Requestors: MRHORNER [...] cpan.org
Cc:
AdminCc:

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



Subject: Alien::Libevent syntax error at inc/Devel/CheckLib.pm line 164
I'm not sure how I made my cpanm so chatty with all the warnings... but here is the output of cpanm Alien::Libevent. I know that it works on OSX, as I just passed Alien::Gearman. you can look past the additional warnings hopefully... first error is: syntax error at inc/Devel/CheckLib.pm line 164, near "$mm_attr_key qw(LIBS INC)" Thanks for any suggestions to make this work in windows! --dave ----- Useless use of /d modifier in transliteration operator at /loader/0x48f660/App/cpanminus/script.pm line 1. "my" variable $dist masks earlier declaration in same scope at /loader/0x48f660/App/cpanminus/script.pm line 1. Use of uninitialized value in split at /loader/0x48f660/App/cpanminus/script.pm line 1. Subroutine YAML::Mo::import redefined at C:/strawberry/perl/site/lib/YAML/Mo.pm line 6. Use of uninitialized value in bitwise or (|) at C:/strawberry/perl/lib/B/Deparse.pm line 729. Use of uninitialized value in bitwise or (|) at C:/strawberry/perl/lib/B/Deparse.pm line 729. --> Working on Alien::Libevent Fetching http://www.cpan.org/authors/id/P/PL/PLU/Alien-Libevent-0.01004.tar.gz ... OK Configuring Alien-Libevent-0.01004 ... N/A ! Configure failed for Alien-Libevent-0.01004. See \.cpanm\work\1408141138.9260\build.log for details. cat \.cpanm\work\1408141138.9260\build.log cpanm (App::cpanminus) 1.7001 on perl 5.018002 built for MSWin32-x64-multi-thread Work directory is /.cpanm/work/1408141138.9260 You have make C:\strawberry\c\bin\dmake.exe You have LWP 6.05 You have "C:\Program Files (x86)\Git\bin\tar.exe", "C:\Program Files (x86)\Git\bin\gzip.exe" and "C:\Program Files (x86)\Git\bin\bzip2.exe" You have "C:\Program Files (x86)\Git\bin\unzip.exe" Searching Alien::Libevent on cpanmetadb ... --> Working on Alien::Libevent Fetching http://www.cpan.org/authors/id/P/PL/PLU/Alien-Libevent-0.01004.tar.gz -> OK Unpacking Alien-Libevent-0.01004.tar.gz Entering Alien-Libevent-0.01004 Checking configure dependencies from META.yml Checking if you have IO::Zlib 0 ... Yes (1.10) Checking if you have File::Spec 0 ... Yes (3.47) Checking if you have Archive::Tar 0 ... Yes (2.00) Configuring Alien-Libevent-0.01004 Running Makefile.PL syntax error at inc/Devel/CheckLib.pm line 164, near "$mm_attr_key qw(LIBS INC)" syntax error at inc/Devel/CheckLib.pm line 171, near "}" Global symbol "%args" requires explicit package name at inc/Devel/CheckLib.pm line 175. syntax error at inc/Devel/CheckLib.pm line 179, near "}" syntax error at inc/Devel/CheckLib.pm line 185, near "}" Global symbol "@headers" requires explicit package name at inc/Devel/CheckLib.pm line 192. Global symbol "@libs" requires explicit package name at inc/Devel/CheckLib.pm line 223. Global symbol "@libpaths" requires explicit package name at inc/Devel/CheckLib.pm line 230. Global symbol "@libpaths" requires explicit package name at inc/Devel/CheckLib.pm line 236. Global symbol "@libpaths" requires explicit package name at inc/Devel/CheckLib.pm line 240. syntax error at inc/Devel/CheckLib.pm line 252, near "}" inc/Devel/CheckLib.pm has too many errors. Compilation failed in require at Makefile.PL line 3. BEGIN failed--compilation aborted at Makefile.PL line 3. -> N/A -> FAIL Configure failed for Alien-Libevent-0.01004. See\.cpanm\work\1408141138.9260\build.log for details.
Show quoted text
> Subroutine YAML::Mo::import redefined at C:/strawberry/perl/site/lib/YAML/Mo.pm line 6.
You should reinstall YAML::Mo and the things generated with it. background starts here: http://blogs.perl.org/users/ovid/2012/04/the-price-of-cleverness-yaml-is-not-safe.html
Thank you for the quick response! Show quoted text
> You should reinstall YAML::Mo and the things generated with it.
hrm. well that may explain it as I am failing YAML install, which may be a prereq for YAML::Mo, I never see YAML::Mo, just these dynamic test failures which I am unsure how to resolve. I need to figure out how to resolve them....I appreciate your feedback, time, and attention. --dave ===== i can attach full output if you are interested, my cpan client is very verbose for some reason; i fail to remember what I did to make it so ==== Subroutine Spiffy::boolean_arguments redefined at C:/strawberry/perl/site/lib/Spiffy.pm line 61. Subroutine Spiffy::paired_arguments redefined at C:/strawberry/perl/site/lib/Spiffy.pm line 62. Subroutine Spiffy::boolean_arguments redefined at C:/strawberry/perl/site/lib/Spiffy.pm line 204. Subroutine Spiffy::paired_arguments redefined at C:/strawberry/perl/site/lib/Spiffy.pm line 205. Subroutine Spiffy::boolean_arguments redefined at C:/strawberry/perl/site/lib/Spiffy.pm line 204. Subroutine Spiffy::paired_arguments redefined at C:/strawberry/perl/site/lib/Spiffy.pm line 205. Subroutine Spiffy::boolean_arguments redefined at C:/strawberry/perl/site/lib/Spiffy.pm line 204. Subroutine Spiffy::paired_arguments redefined at C:/strawberry/perl/site/lib/Spiffy.pm line 205. Subroutine Spiffy::boolean_arguments redefined at C:/strawberry/perl/site/lib/Spiffy.pm line 204. Subroutine Spiffy::paired_arguments redefined at C:/strawberry/perl/site/lib/Spiffy.pm line 205. Subroutine Spiffy::boolean_arguments redefined at C:/strawberry/perl/site/lib/Spiffy.pm line 204. Subroutine Spiffy::paired_arguments redefined at C:/strawberry/perl/site/lib/Spiffy.pm line 205. Subroutine Spiffy::boolean_arguments redefined at C:/strawberry/perl/site/lib/Spiffy.pm line 204. Subroutine Spiffy::paired_arguments redefined at C:/strawberry/perl/site/lib/Spiffy.pm line 205. Subroutine Spiffy::boolean_arguments redefined at C:/strawberry/perl/site/lib/Spiffy.pm line 204. Subroutine Spiffy::paired_arguments redefined at C:/strawberry/perl/site/lib/Spiffy.pm line 205. Subroutine Spiffy::boolean_arguments redefined at C:/strawberry/perl/site/lib/Spiffy.pm line 204. Subroutine Spiffy::paired_arguments redefined at C:/strawberry/perl/site/lib/Spiffy.pm line 205. Subroutine Spiffy::boolean_arguments redefined at C:/strawberry/perl/site/lib/Spiffy.pm line 204. Subroutine Spiffy::paired_arguments redefined at C:/strawberry/perl/site/lib/Spiffy.pm line 205. Subroutine Spiffy::boolean_arguments redefined at C:/strawberry/perl/site/lib/Spiffy.pm line 204. Subroutine Spiffy::paired_arguments redefined at C:/strawberry/perl/site/lib/Spiffy.pm line 205. Subroutine Spiffy::boolean_arguments redefined at C:/strawberry/perl/site/lib/Spiffy.pm line 204. Subroutine Spiffy::paired_arguments redefined at C:/strawberry/perl/site/lib/Spiffy.pm line 205. Subroutine Spiffy::boolean_arguments redefined at C:/strawberry/perl/site/lib/Spiffy.pm line 204. Subroutine Spiffy::paired_arguments redefined at C:/strawberry/perl/site/lib/Spiffy.pm line 205. Subroutine Test::Builder::plan redefined at C:/strawberry/perl/site/lib/Test/Base.pm line 118. Subroutine Spiffy::boolean_arguments redefined at C:/strawberry/perl/site/lib/Spiffy.pm line 204. Subroutine Spiffy::paired_arguments redefined at C:/strawberry/perl/site/lib/Spiffy.pm line 205. Subroutine Spiffy::boolean_arguments redefined at C:/strawberry/perl/site/lib/Spiffy.pm line 204. Subroutine Spiffy::paired_arguments redefined at C:/strawberry/perl/site/lib/Spiffy.pm line 205. Subroutine Spiffy::boolean_arguments redefined at C:/strawberry/perl/site/lib/Spiffy.pm line 204. Subroutine Spiffy::paired_arguments redefined at C:/strawberry/perl/site/lib/Spiffy.pm line 205. Subroutine Spiffy::boolean_arguments redefined at C:/strawberry/perl/site/lib/Spiffy.pm line 204. Subroutine Spiffy::paired_arguments redefined at C:/strawberry/perl/site/lib/Spiffy.pm line 205. Subroutine Spiffy::boolean_arguments redefined at C:/strawberry/perl/site/lib/Spiffy.pm line 61. Subroutine Spiffy::paired_arguments redefined at C:/strawberry/perl/site/lib/Spiffy.pm line 62. Subroutine Spiffy::boolean_arguments redefined at C:/strawberry/perl/site/lib/Spiffy.pm line 61. Subroutine Spiffy::paired_arguments redefined at C:/strawberry/perl/site/lib/Spiffy.pm line 62. Subroutine Spiffy::boolean_arguments redefined at C:/strawberry/perl/site/lib/Spiffy.pm line 61. Subroutine Spiffy::paired_arguments redefined at C:/strawberry/perl/site/lib/Spiffy.pm line 62. Subroutine Spiffy::boolean_arguments redefined at C:/strawberry/perl/site/lib/Spiffy.pm line 61. Subroutine Spiffy::paired_arguments redefined at C:/strawberry/perl/site/lib/Spiffy.pm line 62. Subroutine YAML::Mo::import redefined at C:\Users\dhorner\.cpan\build\YAML-1.01-0lDjYW\blib\lib/YAML/Mo.pm line 6, <DA Show quoted text
TA> line 1.
===anyways, it repeats that a lot and then at the bottom here: Test Summary Report ------------------- t/dump-code.t (Wstat: 768 Tests: 7 Failed: 3) Failed tests: 1, 3, 7 Non-zero exit status: 3 t/dump-perl-types.t (Wstat: 512 Tests: 14 Failed: 2) Failed tests: 4, 8 Non-zero exit status: 2 Files=42, Tests=460, 219 wallclock secs ( 0.20 usr + 0.00 sys = 0.20 CPU) Result: FAIL Failed 2/42 test programs. 5/460 subtests failed. dmake.EXE: Error code 255, while making 'test_dynamic' (C:\strawberry\c\bin\dmake.EXE test exited with 65280) CPAN::Reporter: Test result is 'fail', One or more tests failed. CPAN::Reporter: preparing a CPAN Testers report for YAML-1.01 CPAN::Reporter: this appears to be a duplicate report for the test phase: FAIL YAML-1.01 MSWin32-x64-multi-thread 6.2 Test report will not be sent. INGY/YAML-1.01.tar.gz C:\strawberry\c\bin\dmake.EXE test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports INGY/YAML-1.01.tar.gz Running make install Appending installation info to C:\strawberry\perl\lib/perllocal.pod INGY/YAML-1.01.tar.gz C:\strawberry\c\bin\dmake.EXE install -- OK Failed during this command: INGY/YAML-1.01.tar.gz : make_test NO but failure ignored because 'force' in effect
On 2014-08-15 18:25:15, MRHORNER wrote: Show quoted text
> I'm not sure how I made my cpanm so chatty with all the warnings... > but here is the output of cpanm Alien::Libevent. I know that it works > on OSX, as I just passed Alien::Gearman. > > you can look past the additional warnings hopefully... > first error is: > syntax error at inc/Devel/CheckLib.pm line 164, near "$mm_attr_key > qw(LIBS INC)" > > Thanks for any suggestions to make this work in windows!
The bundled Devel::CheckLib is too old for newer perls (5.18 and newer). What you can do is: * install Devel::CheckLib * just extract the Alien::Libevent distribution, and remove the inc/ directory completely, and then proceed manually (perl Makefile.PL && make all test install)
On Wed Mar 04 01:45:59 2015, SREZIC wrote: Show quoted text
> On 2014-08-15 18:25:15, MRHORNER wrote:
> > I'm not sure how I made my cpanm so chatty with all the warnings... > > but here is the output of cpanm Alien::Libevent. I know that it > > works > > on OSX, as I just passed Alien::Gearman. > > > > you can look past the additional warnings hopefully... > > first error is: > > syntax error at inc/Devel/CheckLib.pm line 164, near "$mm_attr_key > > qw(LIBS INC)" > > > > Thanks for any suggestions to make this work in windows!
> > The bundled Devel::CheckLib is too old for newer perls (5.18 and > newer). What you can do is: > * install Devel::CheckLib > * just extract the Alien::Libevent distribution, and remove the inc/ > directory completely, and then proceed manually (perl Makefile.PL && > make all test install)
Hello, I updated the code of the module to fix this and pushed on my personal github repo : https://github.com/thibaultduponchelle/Alien-Libevent The repository pointed by the CPAN readme seems to have disappeared : https://github.com/plu/alien-libevent/ Could you please consider updating this module to fix the failed build that you see for instance here : https://github.com/thibaultduponchelle/aliens-ci/runs/645922791?check_suite_focus=true Or tell me if I need to attach a patch in RT ? Best regards Thibault
Subject: Re: [rt.cpan.org #98058] Alien::Libevent syntax error at inc/Devel/CheckLib.pm line 164
Date: Tue, 5 May 2020 14:42:21 +0200
To: bug-Alien-Libevent [...] rt.cpan.org
From: Johannes Plunien <johannes [...] plunien.de>
Hi, sorry, I'm not maintaining this anymore. Cheers, Johannes On Tue, May 5, 2020 at 2:37 PM Thibault Duponchelle via RT < bug-Alien-Libevent@rt.cpan.org> wrote: Show quoted text
> Queue: Alien-Libevent > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=98058 > > > On Wed Mar 04 01:45:59 2015, SREZIC wrote:
> > On 2014-08-15 18:25:15, MRHORNER wrote:
> > > I'm not sure how I made my cpanm so chatty with all the warnings... > > > but here is the output of cpanm Alien::Libevent. I know that it > > > works > > > on OSX, as I just passed Alien::Gearman. > > > > > > you can look past the additional warnings hopefully... > > > first error is: > > > syntax error at inc/Devel/CheckLib.pm line 164, near "$mm_attr_key > > > qw(LIBS INC)" > > > > > > Thanks for any suggestions to make this work in windows!
> > > > The bundled Devel::CheckLib is too old for newer perls (5.18 and > > newer). What you can do is: > > * install Devel::CheckLib > > * just extract the Alien::Libevent distribution, and remove the inc/ > > directory completely, and then proceed manually (perl Makefile.PL && > > make all test install)
> > Hello, > > I updated the code of the module to fix this and pushed on my personal > github repo : https://github.com/thibaultduponchelle/Alien-Libevent > The repository pointed by the CPAN readme seems to have disappeared : > https://github.com/plu/alien-libevent/ > > Could you please consider updating this module to fix the failed build > that you see for instance here : > https://github.com/thibaultduponchelle/aliens-ci/runs/645922791?check_suite_focus=true > > Or tell me if I need to attach a patch in RT ? > > Best regards > > Thibault > >
-- Johannes Plunien | Kleiner Schaeferkamp 12, 20357 Hamburg | +49-152-56192827
Hello, This issue is solved with recent 2.* uploads (CheckLib no longer used). Regards. Thibault