[Pkg-haskell-maintainers] Bug#743102: Bug#743102: haskell-zeromq3-haskell: FTBFS: Base.hsc:12:2: error: #error *** INVALID 0MQ VERSION (must be 3.x) ***

Alessandro Ghedini ghedo at debian.org
Sun Mar 30 19:20:23 UTC 2014


On Sun, Mar 30, 2014 at 08:36:13PM +0200, Joachim Breitner wrote:
> Dear Alessandro,
> 
> 
> Am Sonntag, den 30.03.2014, 18:46 +0200 schrieb David Suárez:
> > Source: haskell-zeromq3-haskell
> > Version: 0.4-1
> > Severity: serious
> > Tags: jessie sid
> > User: debian-qa at lists.debian.org
> > Usertags: qa-ftbfs-20140329 qa-ftbfs
> > Justification: FTBFS on amd64
> 
> 
> your recent upload of zeromq3 broke the Haskell bindings; the bindings
> expect to be built against zeromq3, but you have uploaded version 4 –
> with a package name with 3 inside?
> 
> Is there a reason why this has not become zeromq4? What exactly is the
> relation between the version number and number in the package name?

The source package is called "3" only because I could not rename it to just
"zeromq", since that name is still used. The idea being that zeromq should be
removed as soon as nothing uses it anymore, and zeromq3 renamed to zeromq.

As for the 3 in the binary packages (libzmq3, libzmq3-dev, ...), that simply
reflects the library SONAME as per Debian policy. Having a zeromq4 source
package would not have changed anything, since its binary package would still
have to be named libzmq3.

In your case the check should be "#if ZMQ_VERSION_MAJOR < 3", since 4.x is
backwards-compatible with 3.x.

Cheers

-- 
perl -E '$_=q;$/= @{[@_]};and s;\S+;<inidehG ordnasselA>;eg;say~~reverse'
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-haskell-maintainers/attachments/20140330/a274aaa0/attachment.sig>


More information about the Pkg-haskell-maintainers mailing list