[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#623337: marked as done (ocaml-bjack: FTBFS on hurd-i386)



Your message dated Thu, 20 Oct 2011 12:47:48 +0000
with message-id <E1RGs2G-0004y3-58@franck.debian.org>
and subject line Bug#623337: fixed in ocaml-bjack 0.1.3-4
has caused the Debian Bug report #623337,
regarding ocaml-bjack: FTBFS on hurd-i386
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 owner@bugs.debian.org
immediately.)


-- 
623337: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=623337
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: ocaml-bjack
Version: 0.1.3-1
Severity: important
Tags: patch
User: debian-hurd@lists.debian.org
Usertags: hurd

currently[1] ocaml-bjack does not build on Debian/Hurd.
The problem seems to be some kind of conflict between our system errno
declaration and the 'errno' variables used in src/jack_stubs.c.
The attached patch fixes the issue, by renaming the variables used for JACK
error codes to 'errnum'.

[1] https://buildd.debian.org/status/fetch.php?pkg=ocaml-bjack&arch=hurd-i386&ver=0.1.3-1&stamp=1303217317

Thanks,
-- 
Pino
--- a/src/jack_stubs.c
+++ b/src/jack_stubs.c
@@ -50,9 +50,9 @@
 #include <caml/memory.h>
 #include <caml/signals.h>
 
-static value caml_bjack_handle_error(int errno)
+static value caml_bjack_handle_error(int errnum)
 {
-  switch (errno)
+  switch (errnum)
     {
     case ERR_OPENING_JACK:
       caml_raise_constant(*caml_named_value("bio2jack_exn_open"));
@@ -146,12 +146,12 @@
   int jack_ports_flags = Int_val(_jack_port_flags);
 
 
-  int errno = JACK_Open(drv,Int_val(bit_per_sample),&r,String_val(name),String_val(server),
+  int errnum = JACK_Open(drv,Int_val(bit_per_sample),&r,String_val(name),String_val(server),
                           Int_val(input_channels),Int_val(output_channels),
                           jack_ports_flags, Int_val(size));
 
-  if (errno != ERR_SUCCESS)
-    caml_bjack_handle_error(errno) ;
+  if (errnum != ERR_SUCCESS)
+    caml_bjack_handle_error(errnum) ;
 
   driver = caml_alloc_custom(&bjack_drv_ops, sizeof(jack_driver_t*), 1, 0);
   Bjack_drv_val(driver) = drv;
@@ -168,9 +168,9 @@
 {
   CAMLparam1(device);
   jack_driver_t *drv = Bjack_drv_val(device);
-  int errno = JACK_Close(drv);
-  if (errno != ERR_SUCCESS)
-    caml_bjack_handle_error(errno) ;
+  int errnum = JACK_Close(drv);
+  if (errnum != ERR_SUCCESS)
+    caml_bjack_handle_error(errnum) ;
   CAMLreturn(Val_unit);
 }
 

--- End Message ---
--- Begin Message ---
Source: ocaml-bjack
Source-Version: 0.1.3-4

We believe that the bug you reported is fixed in the latest version of
ocaml-bjack, which is due to be installed in the Debian FTP archive:

libbjack-ocaml-dev_0.1.3-4_i386.deb
  to main/o/ocaml-bjack/libbjack-ocaml-dev_0.1.3-4_i386.deb
libbjack-ocaml_0.1.3-4_i386.deb
  to main/o/ocaml-bjack/libbjack-ocaml_0.1.3-4_i386.deb
ocaml-bjack_0.1.3-4.debian.tar.gz
  to main/o/ocaml-bjack/ocaml-bjack_0.1.3-4.debian.tar.gz
ocaml-bjack_0.1.3-4.dsc
  to main/o/ocaml-bjack/ocaml-bjack_0.1.3-4.dsc



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 623337@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Romain Beauxis <toots@rastageeks.org> (supplier of updated ocaml-bjack 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 ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Thu, 20 Oct 2011 14:34:51 +0200
Source: ocaml-bjack
Binary: libbjack-ocaml libbjack-ocaml-dev
Architecture: source i386
Version: 0.1.3-4
Distribution: experimental
Urgency: low
Maintainer: Debian OCaml Maintainers <debian-ocaml-maint@lists.debian.org>
Changed-By: Romain Beauxis <toots@rastageeks.org>
Description: 
 libbjack-ocaml - OCaml blocking interface to jack audio connection kit
 libbjack-ocaml-dev - OCaml blocking interface to jack audio connection kit
Closes: 623337
Changes: 
 ocaml-bjack (0.1.3-4) experimental; urgency=low
 .
   * Added patch to avoid FTBFS on hurd caused by conflicts
     over errno variable name. Thanks to Pino Toscano for
     reporting and patching.
   Closes: #623337
   * Bumped standards-version to 3.9.2
   * Switched to 3.0 (quilt) package format.
Checksums-Sha1: 
 dd98d87e9f33055d224ed8412d8e9b6eed4a1e38 1878 ocaml-bjack_0.1.3-4.dsc
 b4a783de20ed562e6bfb5b98c53100cbd888016f 4074 ocaml-bjack_0.1.3-4.debian.tar.gz
 2a338e7dede58e8aa05bd0b70960e968e79a46e5 19052 libbjack-ocaml_0.1.3-4_i386.deb
 798ccbbaff2d8052e80e8550d676e609e4c86b0f 34530 libbjack-ocaml-dev_0.1.3-4_i386.deb
Checksums-Sha256: 
 0021bcabb5132be8c4c27d02561ec3a34cb8aa7b0bf933c997f1a1d5e94f4f1f 1878 ocaml-bjack_0.1.3-4.dsc
 64a98e9e8e94a900d1a0f7753a0032d07235c4f60866a74a248543718a500c40 4074 ocaml-bjack_0.1.3-4.debian.tar.gz
 607e749ec2462927a94cbf19d72efacacaf611ef18d47882f7a9e326dfd38f2e 19052 libbjack-ocaml_0.1.3-4_i386.deb
 531176534bcaad4229c50135bab4e68a296bd31ea2a7235a64221f706923fcc5 34530 libbjack-ocaml-dev_0.1.3-4_i386.deb
Files: 
 78fb498cd7087d3285cb9675672c21d2 1878 ocaml optional ocaml-bjack_0.1.3-4.dsc
 efc3b14407818083d51be1a508699e7d 4074 ocaml optional ocaml-bjack_0.1.3-4.debian.tar.gz
 d2f8463b8a3cb19ac97dbfb567c2a4f6 19052 ocaml optional libbjack-ocaml_0.1.3-4_i386.deb
 f4f0705a4e98dd8883d7c67e3b9ed04e 34530 ocaml optional libbjack-ocaml-dev_0.1.3-4_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQEcBAEBAgAGBQJOoBeGAAoJEAC5aaocqV0ZUWkIAKsYYAnFkPeOgadkZSxSS4fJ
5tFiBiVzCuO1QXQln4VM7NmRy1mYfd8M1VqUuo0G3aeshegTGnq+T1R2aabtZ8O8
S0rh/E0FBZiVlPX7f682kW8UxL7pg1UijYtolaD4kFHovWZNNxoxN8iMkQhe93ia
7hjT8sPsNVl6MUdppxhl0G0tLbEJjV6Yv2XGxXRRn3BFPIT7vHhLQcl5lCuBItEc
ePYHRG1wy9Ey3kmsk+RTtYPzrtOPRH0328/eHl/i2mu0awjyFUDTZXTNqt3R+vkQ
wtqw0C2HCerQenF0lz+WA/ZjmCM7ifDIqStj7bwjjsEmy9TBll/Dg4Cq9zkBi/I=
=MzPO
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: