Bug#818222: libzeromq-perl: uses old libzmq1, should switch to libzmq5
gregor herrmann
gregoa at debian.org
Mon Mar 14 21:17:59 UTC 2016
On Mon, 14 Mar 2016 20:46:06 +0100, Emilio Pozuelo Monfort wrote:
> >>There's only a couple of rdeps left (not counting a couple of perl modules
> >>with no rdeps), which would need to get migrated to zeromq3 if they wanted
> >>to be released with stretch.
> > I don't know those Perl packages if they have an active upstream or
> >not. But you are right, those should use the new, still being
> >developed version.
> Yes. Bumping this to RC so we don't release stretch with it, and opening
> bugs for the rdeps.
Changing the build dep from libzmq-dev to libzmq5-dev is not enough
it seems:
dh_auto_configure
perl Makefile.PL INSTALLDIRS=vendor "OPTIMIZE=-g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2" "LD=x86_64-linux-gnu-gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro"
Probing environment variables:
Probing libzmq via pkg-config ...
+ found libzmq 4.1.4
+ Detected ZMQ_INCLUDES from pkg-config...
+ Detected ZMQ_LIBS from pkg-config...
Detected the following ZMQ settings:
+ ZMQ_HOME = (null)
+ ZMQ_H = (null)
+ ZMQ_INCLUDES =
+ ZMQ_LIBS = -lzmq
+ ZMQ_TRACE = (null)
Writing ppport.h
+ Using zmq.h from /usr/include/zmq.h
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for ZeroMQ
Writing MYMETA.yml and MYMETA.json
dh_auto_build
make -j1
make[1]: Entering directory '/build/libzeromq-perl-0.23'
cp lib/ZeroMQ.pm blib/lib/ZeroMQ.pm
cp lib/ZeroMQ/Raw.pm blib/lib/ZeroMQ/Raw.pm
cp lib/ZeroMQ/Constants.pm blib/lib/ZeroMQ/Constants.pm
cp lib/ZeroMQ/Context.pm blib/lib/ZeroMQ/Context.pm
cp lib/ZeroMQ/Poller.pm blib/lib/ZeroMQ/Poller.pm
cp lib/ZeroMQ/Socket.pm blib/lib/ZeroMQ/Socket.pm
cp lib/ZeroMQ/Message.pm blib/lib/ZeroMQ/Message.pm
Running Mkbootstrap for ZeroMQ ()
chmod 644 "ZeroMQ.bs"
"/usr/bin/perl" "-Iinc" "/usr/share/perl/5.22/ExtUtils/xsubpp" -typemap "/usr/share/perl/5.22/ExtUtils/typemap" xs/perl_zeromq.xs > xs/perl_zeromq.xsc && mv xs/perl_zeromq.xsc xs/perl_zeromq.c
x86_64-linux-gnu-gcc -c "-I." "-Ixs" "-I." -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -W -Wno-comment -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DVERSION=\"0.23\" -DXS_VERSION=\"0.23\" -o xs/perl_zeromq.o -fPIC "-I/usr/lib/x86_64-linux-gnu/perl/5.22/CORE" -DUSE_PPPORT xs/perl_zeromq.c
xs/perl_zeromq.xs: In function 'XS_ZeroMQ__Raw_zmq_recv':
xs/perl_zeromq.xs:492:14: error: too few arguments to function 'zmq_recv'
rv = zmq_recv(socket->socket, &msg, flags);
^
In file included from xs/perl_zeromq.h:7:0,
from xs/perl_zeromq.xs:1:
/usr/include/zmq.h:355:45: note: declared here
ZMQ_EXPORT int zmq_recv (void *s, void *buf, size_t len, int flags);
^
xs/perl_zeromq.xs: In function 'XS_ZeroMQ__Raw_zmq_send':
xs/perl_zeromq.xs:530:22: error: too few arguments to function 'zmq_send'
RETVAL = zmq_send(socket->socket, msg, flags);
^
In file included from xs/perl_zeromq.h:7:0,
from xs/perl_zeromq.xs:1:
/usr/include/zmq.h:353:45: note: declared here
ZMQ_EXPORT int zmq_send (void *s, const void *buf, size_t len, int flags);
^
xs/perl_zeromq.xs:540:22: error: too few arguments to function 'zmq_send'
RETVAL = zmq_send(socket->socket, &msg, flags);
^
In file included from xs/perl_zeromq.h:7:0,
from xs/perl_zeromq.xs:1:
/usr/include/zmq.h:353:45: note: declared here
ZMQ_EXPORT int zmq_send (void *s, const void *buf, size_t len, int flags);
^
xs/perl_zeromq.xs: In function 'XS_ZeroMQ__Raw_zmq_getsockopt':
xs/perl_zeromq.xs:577:18: error: 'ZMQ_SWAP' undeclared (first use in this function)
case ZMQ_SWAP:
^
xs/perl_zeromq.xs:577:18: note: each undeclared identifier is reported only once for each function it appears in
xs/perl_zeromq.xs:580:18: error: 'ZMQ_MCAST_LOOP' undeclared (first use in this function)
case ZMQ_MCAST_LOOP:
^
xs/perl_zeromq.xs:587:18: error: 'ZMQ_HWM' undeclared (first use in this function)
case ZMQ_HWM:
^
xs/perl_zeromq.xs: In function 'XS_ZeroMQ__Raw_zmq_setsockopt':
xs/perl_zeromq.xs:649:18: error: 'ZMQ_SWAP' undeclared (first use in this function)
case ZMQ_SWAP:
^
xs/perl_zeromq.xs:657:18: error: 'ZMQ_MCAST_LOOP' undeclared (first use in this function)
case ZMQ_MCAST_LOOP:
^
xs/perl_zeromq.xs:662:18: error: 'ZMQ_HWM' undeclared (first use in this function)
case ZMQ_HWM:
^
In file included from xs/perl_zeromq.xs:1:0:
xs/perl_zeromq.c: At top level:
xs/perl_zeromq.h:16:13: warning: inline function 'PerlZQM_set_bang' declared but never defined
inline void PerlZQM_set_bang(pTHX_ int err);
^
Makefile:378: recipe for target 'xs/perl_zeromq.o' failed
make[1]: *** [xs/perl_zeromq.o] Error 1
make[1]: Leaving directory '/build/libzeromq-perl-0.23'
dh_auto_build: make -j1 returned exit code 2
debian/rules:4: recipe for target 'build' failed
make: *** [build] Error 2
Cheers,
gregor
--
.''`. Homepage https://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
: :' : Debian GNU/Linux user, admin, and developer - https://www.debian.org/
`. `' Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
`- NP: Treibhaus: Rabih Abou Khalil
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: Digital Signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20160314/d5478983/attachment.sig>
More information about the pkg-perl-maintainers
mailing list