Your message dated Fri, 24 Feb 2017 19:57:08 +0000
with message-id <e1chlzi-0009vw...@fasolo.debian.org>
and subject line Bug#856023: fixed in zeromq3 4.2.1-3
has caused the Debian Bug report #856023,
regarding Package is built without OpenPGM support
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
856023: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=856023
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: zeromq3
Version: 4.2.1-2
Severity: serious

Hello,

zeromq3 in testing is currently built without PGM support:

$ apt show libzmq5
Package: libzmq5
Version: 4.2.1-2
Priority: optional
Section: libs
Source: zeromq3
Maintainer: Laszlo Boszormenyi (GCS) <g...@debian.org>
Installed-Size: 572 kB
Depends: libc6 (>= 2.14), libgcc1 (>= 1:3.0), libsodium18 (>= 0.6.0), 
libstdc++6 (>= 5.2)
Homepage: http://www.zeromq.org/
Tag: role::shared-lib
Download-Size: 189 kB
APT-Manual-Installed: no
APT-Sources: http://ftp.de.debian.org/debian stretch/main amd64 Packages
Description: lightweight messaging kernel (shared library)


And indeed, these test scripts fail:
  
http://code.saghul.net/index.php/2011/06/25/implementing-a-pubsub-based-application-with-python-and-zeromq/
$ ./zmq-sender
Traceback (most recent call last):
  File "./zmq-sender", line 8, in <module>
    socket.connect('epgm://239.192.1.1:5000')
  File "zmq/backend/cython/socket.pyx", line 528, in 
zmq.backend.cython.socket.Socket.connect (zmq/backend/cython/socket.c:5980)
  File "zmq/backend/cython/checkrc.pxd", line 25, in 
zmq.backend.cython.checkrc._check_rc (zmq/backend/cython/socket.c:8400)
zmq.error.ZMQError: Protocol not supported


Looking at the build logs, it seems that upstream isn't supporting 
--with-system-pgm anymore:
https://buildd.debian.org/status/fetch.php?pkg=zeromq3&arch=i386&ver=4.2.1-2&stamp=1483291021&raw=0

  ./configure --build=i686-linux-gnu --prefix=/usr 
--includedir=\${prefix}/include --mandir=\${prefix}/share/man 
--infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var 
--disable-silent-rules --libdir=\${prefix}/lib/i386-linux-gnu 
--libexecdir=\${prefix}/lib/i386-linux-gnu --disable-maintainer-mode 
--disable-dependency-tracking --with-system-pgm --with-libsodium
  configure: WARNING: unrecognized options: --disable-maintainer-mode, 
--with-system-pgm

Looking into configure.ac, it seems that it uses the system pgm library by
default; however, one needs to add --with-pgm to configure options, as it's
disabled by default:

  # build using pgm
  have_pgm_library="no"
  
  AC_ARG_WITH([pgm], [AS_HELP_STRING([--with-pgm],
      [build libzmq with PGM extension. Requires pkg-config [default=no]])],
      [with_pgm_ext=$withval],
      [with_pgm_ext=no])
  
  # conditionally require pgm package
  if test "x$with_pgm_ext" != "xno"; then
      PKG_CHECK_MODULES([pgm], [openpgm-5.2 >= 5.2], [ have_pgm_library="yes" ],
          [PKG_CHECK_MODULES([pgm], [openpgm-5.1 >= 5.1],
              [ have_pgm_library="yes" ])])
  fi
  
  if test "x$have_pgm_library" = "xyes"; then
      AC_DEFINE(ZMQ_HAVE_OPENPGM, [1], [Have OpenPGM extension])
      PKGCFG_LIBS_PRIVATE="$PKGCFG_LIBS_PRIVATE $pgm_LIBS"
  fi
  
  AM_CONDITIONAL(HAVE_PGM, test "x$have_pgm_library" = "xyes")

I tried replacing --with-system-pgm with --with-pgm in debian/rules and it
indeed builds a libzmq5 which links to OpenPGM and in which epgm sockets work.


Enrico

-- System Information:
Debian Release: 9.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

--- End Message ---
--- Begin Message ---
Source: zeromq3
Source-Version: 4.2.1-3

We believe that the bug you reported is fixed in the latest version of
zeromq3, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 856...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Laszlo Boszormenyi (GCS) <g...@debian.org> (supplier of updated zeromq3 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Fri, 24 Feb 2017 17:35:03 +0000
Source: zeromq3
Binary: libzmq5 libzmq3-dev libzmq5-dbg
Architecture: source amd64
Version: 4.2.1-3
Distribution: unstable
Urgency: medium
Maintainer: Laszlo Boszormenyi (GCS) <g...@debian.org>
Changed-By: Laszlo Boszormenyi (GCS) <g...@debian.org>
Description:
 libzmq3-dev - lightweight messaging kernel (development files)
 libzmq5    - lightweight messaging kernel (shared library)
 libzmq5-dbg - lightweight messaging kernel (debugging symbols)
Closes: 856023
Changes:
 zeromq3 (4.2.1-3) unstable; urgency=medium
 .
   * Compile with OpenPGM support (closes: #856023).
Checksums-Sha1:
 0b482ea4410894832894150d19376a760871fd82 2026 zeromq3_4.2.1-3.dsc
 79fd8f8e42dc8b24b7f33c3a36a6f89199f1c9b4 20920 zeromq3_4.2.1-3.debian.tar.xz
 024683c38e9fd1b9aca7b64d03aedec44188ea34 369364 libzmq3-dev_4.2.1-3_amd64.deb
 ea4389ad9cac80b25cf2146596b6303c3ed13092 3249354 libzmq5-dbg_4.2.1-3_amd64.deb
 e6b5bf71577e4d96ce186c7f30b6f6b8e1d090b8 200566 libzmq5_4.2.1-3_amd64.deb
 7be5ba1ba0b9a6d4f0b70dafb40604e0474b7b24 6558 zeromq3_4.2.1-3_amd64.buildinfo
Checksums-Sha256:
 a18ffc0f64b2ee7dd9993c39362e2347c7fa42a06802fb46f71d43e6f1eeb2ac 2026 
zeromq3_4.2.1-3.dsc
 45eb3795b69a300883aeaadd1bc76578eb2a52619f3504cafe48b50b3c66200b 20920 
zeromq3_4.2.1-3.debian.tar.xz
 8c5fccf79e79f0f7c637c61f737010071209f7ad8b70758f437565fdb109a7cc 369364 
libzmq3-dev_4.2.1-3_amd64.deb
 d3a41ccc6068a5b4a4bc2ab02b16ba0cb110835fe8f7eb11eedc7cd0ddd7d7e8 3249354 
libzmq5-dbg_4.2.1-3_amd64.deb
 a0bfb0c827a9afa56946ed85ae073c1fa02ac5540b5f1d5c1003495c983f8cd1 200566 
libzmq5_4.2.1-3_amd64.deb
 9005b7f1509bb7d39acbc74f51e8cf5be74ec9c269e86829c8692dda61d830b2 6558 
zeromq3_4.2.1-3_amd64.buildinfo
Files:
 9d063388e703fe8a8ffbf983dab8d68c 2026 libs optional zeromq3_4.2.1-3.dsc
 267d6ccc858be8502ea2d9453a981d99 20920 libs optional 
zeromq3_4.2.1-3.debian.tar.xz
 b8203e8dc412fe1b84b5743d9cc953a2 369364 libdevel optional 
libzmq3-dev_4.2.1-3_amd64.deb
 0b20b7ba1a1c6bf6ada27cff545ef236 3249354 debug extra 
libzmq5-dbg_4.2.1-3_amd64.deb
 2d1b5d2855205f4bd0f76f94f58e9d89 200566 libs optional libzmq5_4.2.1-3_amd64.deb
 207681942f572b1db548d6daa58c82be 6558 libs optional 
zeromq3_4.2.1-3_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEfYh9yLp7u6e4NeO63OMQ54ZMyL8FAliwg60ACgkQ3OMQ54ZM
yL9lnw//SfgX2h5Zq0F1ci084f6TM7tC+ychAQ1EFQvzG4TOe+qB2pAzU4Gf43sW
R6EzGhHf50TjxdNTrH1K3jK1TEMeHaZP47GDCgipfQw5zpeyygc6nNxCvPdnmlYV
R4IvypApHbsAxrPayXKES6Edcndw/mYhtR1QkcNOR29Drzcbpm4n5k/yUNYHO8LM
hBdmR5h+ujKZ+uu2WbFePb+vNz92SHUnS8pOdrCqk2qteVLPCYz4FPNdqldsKWKQ
JRXBoQ7Yoyz4fAzSozcKUIqCB9oMG4kpjsmxWx0SMzr6+YvhJJgGQTJuM7BqKjoB
52Wd0xTqk9BhjnuHTdEMrtkCgvc/z8FFoN4qHg93KS9B7Zy/jxWutuLAtK9L4WDj
43bZi0JFaFSAU7A7wlvGleScOXh5ggtvMfslZtzde3pvUJESEQPhFjGb6YlYQSNg
9x+ECPzApUvEeG6AoIzf0HWErPa/YUCANqxE/fMjONAPFD7iatOD7kqa6rY44OsE
CreY+cC7GrrtY8F4mb5N/UFBv8Vgfh8T1DK7T8on36+whQCRIZXx6NcTnypU+JnF
ZWOxh04y1FSqYh5OdLjtdbqS9ImTEUo/uI5h+kARVyfoEZ8d1SdI1Bub7KcAfvU5
KND/oLev5ucHeyCfh+CNq1HQDNw66vGtFKSGYB4Px5G+Vn3vimA=
=gKKa
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to