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

Bug#564222: marked as done (ocaml-bitstring: Programs don't compile with the library due to missing patch)



Your message dated Sat, 09 Jan 2010 11:02:09 +0000
with message-id <E1NTZ57-0004II-3t@ries.debian.org>
and subject line Bug#564222: fixed in ocaml-bitstring 2.0.2-1
has caused the Debian Bug report #564222,
regarding ocaml-bitstring: Programs don't compile with the library due to missing patch
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.)


-- 
564222: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=564222
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: ocaml-bitstring
Version: 2.0.0-5
Severity: grave
Tags: patch
Justification: renders package unusable

When I use the bitmatch syntax provided by the bitstring library,
compiling my code always fails with 

Parse error: ":" expected after [patt] (in [patt_field])

The same happens when using the source package and trying to compile the
examples, so it is not an error of usage.

It turns out that the Fedora folks also had this issue, they included a
patch which I'll attach here that fixes the problem (taken directly from
the Fedora CVS). I checked out the debian source package from git, added
the patch and rebuilt - applied perfectly and the package worked
flawlessly.

So this seems to be a general upstream error and this patch is
necessary until upstream releases a fixed version.

regards,
Marek

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.30-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
--- ocaml-bitstring-2.0.0.orig/pa_bitstring.ml	2008-10-17 09:53:25.000000000 +0100
+++ ocaml-bitstring-2.0.0/pa_bitstring.ml	2008-11-20 18:10:27.000000000 +0000
@@ -1123,6 +1123,10 @@
       fields = LIST0 patt_field SEP ";";
       "}" ->
 	List.concat fields
+    | "{";
+      "_";
+      "}" ->
+	[]
     ]
   ];
 

--- End Message ---
--- Begin Message ---
Source: ocaml-bitstring
Source-Version: 2.0.2-1

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

libbitstring-ocaml-dev_2.0.2-1_amd64.deb
  to main/o/ocaml-bitstring/libbitstring-ocaml-dev_2.0.2-1_amd64.deb
libbitstring-ocaml_2.0.2-1_amd64.deb
  to main/o/ocaml-bitstring/libbitstring-ocaml_2.0.2-1_amd64.deb
ocaml-bitstring_2.0.2-1.diff.gz
  to main/o/ocaml-bitstring/ocaml-bitstring_2.0.2-1.diff.gz
ocaml-bitstring_2.0.2-1.dsc
  to main/o/ocaml-bitstring/ocaml-bitstring_2.0.2-1.dsc
ocaml-bitstring_2.0.2.orig.tar.gz
  to main/o/ocaml-bitstring/ocaml-bitstring_2.0.2.orig.tar.gz



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

Debian distribution maintenance software
pp.
Mehdi Dogguy <mehdi@debian.org> (supplier of updated ocaml-bitstring 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: SHA256

Format: 1.8
Date: Sat, 09 Jan 2010 11:47:21 +0100
Source: ocaml-bitstring
Binary: libbitstring-ocaml-dev libbitstring-ocaml
Architecture: source amd64
Version: 2.0.2-1
Distribution: unstable
Urgency: low
Maintainer: Debian OCaml Maintainers <debian-ocaml-maint@lists.debian.org>
Changed-By: Mehdi Dogguy <mehdi@debian.org>
Description: 
 libbitstring-ocaml - Erlang-style bitstrings for OCaml
 libbitstring-ocaml-dev - Erlang-style bitstrings for OCaml
Closes: 564222
Changes: 
 ocaml-bitstring (2.0.2-1) unstable; urgency=low
 .
   * New upstream release (Closes: #564222)
     + Remove fix_ARCH_ALIGN_INT64.dpatch: integrated upstream.
     + Remove add_dynlink.patch: fixed upstream.
   * Update 01-byte-compilation.dpatch
   * Update update-configure.patch
   * Add myself to uploaders.
   * Update Stéphane's mail address
   * Remove DMUA flag, not needed anymore.
Checksums-Sha1: 
 a964a12ba60b2e5a20dbbf389530b1809e48cf81 2141 ocaml-bitstring_2.0.2-1.dsc
 5ddfe2e138962a972b9a782ac55c38c4e872142c 157401 ocaml-bitstring_2.0.2.orig.tar.gz
 5e1808103c0be24bf5d96132407780d34c7d19a1 4806 ocaml-bitstring_2.0.2-1.diff.gz
 510b9bdb179dde316d7612013ac1e50a570eff86 196734 libbitstring-ocaml-dev_2.0.2-1_amd64.deb
 9e948a74e6f4d768a45f5838cee745229f6155b0 15450 libbitstring-ocaml_2.0.2-1_amd64.deb
Checksums-Sha256: 
 b10203df0118ec3b0a9085976c1639d458fb6582d7bbd5f9dc272d7631174734 2141 ocaml-bitstring_2.0.2-1.dsc
 914d3f34af3cdf3174d02047dd072ebba97aa7e37e91c664d9f8890dafb9be67 157401 ocaml-bitstring_2.0.2.orig.tar.gz
 8c37d60460a23b452e2a5fdaaae1597d2ea65926d5b6c0dbf6bfe61fc6ed8ee0 4806 ocaml-bitstring_2.0.2-1.diff.gz
 4ea927b1e0cdd28415a42b3f43c9a22419b17845b9e00bd7f470ac2f539afa7f 196734 libbitstring-ocaml-dev_2.0.2-1_amd64.deb
 b8a06f1e6d13d3dd9cf6ade216fc8c85a35d00b7003decb3dfc4cad981549463 15450 libbitstring-ocaml_2.0.2-1_amd64.deb
Files: 
 73e1f07cfa6b51e5e71d746c29b22a5a 2141 ocaml optional ocaml-bitstring_2.0.2-1.dsc
 0c9fa24a0e5201e8bb61f355b9058fe9 157401 ocaml optional ocaml-bitstring_2.0.2.orig.tar.gz
 b89f4caa3f14ac2c38209e7f1d22daa7 4806 ocaml optional ocaml-bitstring_2.0.2-1.diff.gz
 323fefee4b888aacc160efd0e4846b3f 196734 ocaml optional libbitstring-ocaml-dev_2.0.2-1_amd64.deb
 7a608d082226ba08d172d012913c3f62 15450 ocaml optional libbitstring-ocaml_2.0.2-1_amd64.deb

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

iQIcBAEBCAAGBQJLSGA0AAoJEDO+GgqMLtj/lk0P/RuHZnmL87kp6yj2RtS7m8MJ
r/QBQNNhQjC6XlR+De2LzeNI57CIKY7Z14Aa5+BRGZ4+f51w2gUsG2vlT1hPjfmz
etmV4qS6XpGjyNEdMmyeYrkgJ/jiwR73GedZSZtxxCGkarqWyA3bArwLRQBZqO3W
6OHURr959MVcXnBAPydnzVeoSUFZLTdIjUTId1tfSJma6AnVYpRGBUzwiOC4DQwG
lXw/GG4LNVsf+YtxPM/rgBgsUsU3KuEv8ss6dgArBi8soXQFk2XKY8JkvHaGB2Ci
qI3XnveiYGfD4KZtPv2HEj417/b3iMf6DaEvO0bqyMiy6hj3RQ/Ypxn67Ses/dzq
CJpUanFRxoNoioFKZm8QI4eTPO5OzIvVOyAtrXujCdYHIN2/c/VXLgfh80IOL2Tc
gaN1RXGtuycG4/X6LflcEfm9kYgXRLa1U4PKI17v6IltKwVYQ5v+D/+tmS646iJ2
XzAL3Hb+BEGLB44hOdJGqiRauSL7KKwJ1/tncqKKl6Gj/Zshgo5OeE4rHwaRn085
KfWvDxg4KU6Iwr0uAWy3xAhQvWHl/ZAFISWZyeoD8D0dNPId2hxGjYoA1RpqqQ+j
HyoWh09qVWEVuPXgZxNkGU0tl1OCv5kWAT8sJAJmTbzPRqv5QDTGlpuav302QD+X
T2KJA4UQ6WqlCSox8N5T
=cWrZ
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: