Skip Menu |

This queue is for tickets about the ZeroMQ CPAN distribution.

Report information
The Basics
Id: 80210
Status: resolved
Priority: 0/
Queue: ZeroMQ

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

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



Subject: Build of 0.22 failed
Hi the last ZeroMQ version failed to build on Linux & FreeBSD. lib/ZeroMQ/Raw.pm reference 0.21 version instead of 0.22. => XSLoader::load('ZeroMQ', '0.21'); The log build follows: Show quoted text
> cpanm -v ZeroMQ-0.22.tar.gz
cpanm (App::cpanminus) 1.5001 on perl 5.012004 built for amd64-freebsd Work directory is /home/max/.cpanm/work/1350380752.63245 You have make /usr/bin/make You have /usr/bin/tar: bsdtar 2.8.5 - libarchive 2.8.5 You have /usr/local/bin/unzip Checking if you have ExtUtils::MakeMaker 6.31 ... Yes (6.62) Checking if you have ExtUtils::Install 1.46 ... Yes (1.54) --> Working on ZeroMQ-0.22.tar.gz Fetching file:///usr/home/max/ZeroMQ-0.22.tar.gz ... OK Unpacking ZeroMQ-0.22.tar.gz x ZeroMQ-0.22/ x ZeroMQ-0.22/Changes x ZeroMQ-0.22/eg/ x ZeroMQ-0.22/inc/ x ZeroMQ-0.22/lib/ x ZeroMQ-0.22/Makefile.PL ... x ZeroMQ-0.22/eg/threaded_server.pl Entering ZeroMQ-0.22 Checking configure dependencies from META.yml Checking if you have Devel::CheckLib 0.4 ... Yes (0.98) Checking if you have ExtUtils::ParseXS 2.21 ... Yes (3.15) Checking if you have ExtUtils::MakeMaker 6.59 ... Yes (6.62) Checking if you have Devel::PPPort 3.19 ... Yes (3.20) Configuring ZeroMQ-0.22 ... Running Makefile.PL Probing environment variables: Probing libzmq via pkg-config ... + found libzmq 2.2.0 + Detected ZMQ_INCLUDES from pkg-config... + Detected ZMQ_H from pkg-config... + Detected ZMQ_LIBS from pkg-config... Detected the following ZMQ settings: + ZMQ_HOME = (null) + ZMQ_H = /usr/local/include/zmq.h + ZMQ_INCLUDES = /usr/local/include + ZMQ_LIBS = -L/usr/local/lib -lzmq -pthread + ZMQ_TRACE = (null) Writing ppport.h + Using zmq.h from /usr/local/include/zmq.h Checking if your kit is complete... Looks good Unrecognized argument in LIBS ignored: '-pthread' Note (probably harmless): No library found for -luuid Writing Makefile for ZeroMQ Writing MYMETA.yml and MYMETA.json OK Checking dependencies from MYMETA.json ... Checking if you have Test::Requires 0 ... Yes (0.06) Checking if you have Test::More 0.98 ... Yes (0.98) Checking if you have Test::TCP 1.08 ... Yes (1.15) Checking if you have Devel::CheckLib 0.4 ... Yes (0.98) Checking if you have ExtUtils::ParseXS 2.21 ... Yes (3.15) Checking if you have ExtUtils::MakeMaker 6.59 ... Yes (6.62) Checking if you have Test::Fatal 0 ... Yes (0.010) Checking if you have Devel::PPPort 3.19 ... Yes (3.20) Checking if you have XSLoader 0.02 ... Yes (0.10) Checking if you have Task::Weaken 0 ... Yes (1.04) Building and testing ZeroMQ-0.22 ... cp lib/ZeroMQ/Context.pm blib/lib/ZeroMQ/Context.pm cp lib/ZeroMQ/Poller.pm blib/lib/ZeroMQ/Poller.pm cp lib/ZeroMQ/Constants.pm blib/lib/ZeroMQ/Constants.pm cp lib/ZeroMQ.pm blib/lib/ZeroMQ.pm cp lib/ZeroMQ/Socket.pm blib/lib/ZeroMQ/Socket.pm cp lib/ZeroMQ/Message.pm blib/lib/ZeroMQ/Message.pm cp lib/ZeroMQ/Raw.pm blib/lib/ZeroMQ/Raw.pm /usr/local/bin/perl "-Iinc" /usr/local/lib/perl5/site_perl/5.12.4/ExtUtils/xsubpp -typemap /usr/local/lib/perl5/5.12.4/ExtUtils/typemap xs/perl_zeromq.xs > xs/perl_zeromq.xsc && mv xs/perl_zeromq.xsc xs/perl_zeromq.c cc -c "-I." "-I/usr/local/include" "-Ixs" "-I." -DAPPLLIB_EXP="/usr/local/lib/perl5/5.12.4/BSDPAN" -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -Wall -Wextra -Wdeclaration-after-statement -Wc++-compat -O2 -pipe -march=native -fno-strict-aliasing -DVERSION=\"0.22\" -DXS_VERSION=\"0.22\" -o xs/perl_zeromq.o -DPIC -fPIC "-I/usr/local/lib/perl5/5.12.4/mach/CORE" -DUSE_PPPORT xs/perl_zeromq.c In file included from xs/perl_zeromq.xs:1: xs/perl_zeromq.h:58:30: warning: no newline at end of file Running Mkbootstrap for ZeroMQ () chmod 644 ZeroMQ.bs rm -f blib/arch/auto/ZeroMQ/ZeroMQ.so LD_RUN_PATH="/usr/local/lib" cc -shared -L/usr/local/lib -fstack-protector xs/perl_zeromq.o -o blib/arch/auto/ZeroMQ/ZeroMQ.so -L/usr/local/lib -lzmq -lzmq chmod 755 blib/arch/auto/ZeroMQ/ZeroMQ.so cp ZeroMQ.bs blib/arch/auto/ZeroMQ/ZeroMQ.bs chmod 644 blib/arch/auto/ZeroMQ/ZeroMQ.bs Manifying blib/man3/ZeroMQ::Poller.3 Manifying blib/man3/ZeroMQ::Context.3 Manifying blib/man3/ZeroMQ::Constants.3 Manifying blib/man3/ZeroMQ.3 Manifying blib/man3/ZeroMQ::Socket.3 Manifying blib/man3/ZeroMQ::Raw.3 Manifying blib/man3/ZeroMQ::Message.3 PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e" "\$ENV{q{LC_ALL}} = q{C}; test_harness(0, 'inc', 'blib/lib', 'blib/arch'); " t/*.t t/000_compile.t ... 1/? # Failed test 'use ZeroMQ;' # at t/000_compile.t line 3. # Tried to use 'ZeroMQ'. # Error: ZeroMQ object version 0.22 does not match bootstrap parameter 0.21 at /usr/local/lib/perl5/5.12.4/mach/DynaLoader.pm line 223. # BEGIN failed--compilation aborted at /usr/home/max/.cpanm/work/1350380752.63245/ZeroMQ-0.22/blib/lib/ZeroMQ/Raw.pm line 11. # Compilation failed in require at /usr/home/max/.cpanm/work/1350380752.63245/ZeroMQ-0.22/blib/lib/ZeroMQ.pm line 7. # BEGIN failed--compilation aborted at /usr/home/max/.cpanm/work/1350380752.63245/ZeroMQ-0.22/blib/lib/ZeroMQ.pm line 7. # Compilation failed in require at (eval 6) line 2. # BEGIN failed--compilation aborted at (eval 6) line 2. Undefined subroutine &ZeroMQ::version called at t/000_compile.t line 5. # Tests were run but no plan was declared and done_testing() was not seen. t/000_compile.t ... Dubious, test returned 255 (wstat 65280, 0xff00) Failed 1/1 subtests and so on... FAIL Best regards, Max.
Oh yeah, that's a blunder on my part, I'll upload a new version after I write this, but please consider this a good chance to move to ZMQ::LibZMQ2 instead.
Hi, Le Mar 16 Oct 2012 06:45:56, DMAKI a écrit : Show quoted text
> Oh yeah, that's a blunder on my part, I'll upload a new version after > I write this, but please
It's OK now, thanks a lot! Show quoted text
> consider this a good chance to move to ZMQ::LibZMQ2 instead.
In fact I use AnyEvent::Handle::ZeroMQ which use ZeroMQ... :( Best regards, Max.