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

Bug#699495: marked as done (ocamldsort breaks with recent versions of ocamldep)



Your message dated Fri, 01 Feb 2013 09:47:36 +0000
with message-id <E1U1DDc-0005pX-AC@franck.debian.org>
and subject line Bug#699495: fixed in ocamldsort 0.15.0-3
has caused the Debian Bug report #699495,
regarding ocamldsort breaks with recent versions of ocamldep
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.)


-- 
699495: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=699495
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: ocamldsort
Version: 0.15.0-2
Severity: grave
Justification: renders package unusable


the 4.00 release of OCaml comes with a version of ocamldep that outputs dependency lines of the
form

  foo : bar baz

instead of the old

  foo: bar baz

Since the parser in ocamldsort is not expecting the extra blanks before the colon, it gets stymied,
and outputs a puzzling error message like

Error: what kind of file foo.cmx  is?

The fix is easy in dep_parse.ml

--- dep_parse.ml        2010-08-02 01:10:03.000000000 +0200
+++ /home/dicosmo/ocamldsort-0.15.0/dep_parse.ml        2013-02-01 00:41:04.000000000 +0100
@@ -41,6 +41,7 @@
 
 let rec parse_target = parser
   | [< '':' >] -> ""
+  | [< '' '; _ = parse_target >] -> ""
 | [< 'a;  n = parse_target >] -> concat a n
 
 let rec parse_ocamldep stream =

Please forward upstream, as this is a general issue.

-- System Information:
Debian Release: 6.0.1
  APT prefers testing
  APT policy: (760, 'testing'), (700, 'stable'), (600, 'unstable'), (550, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-3-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.utf8)
Shell: /bin/sh linked to /bin/dash

Versions of packages ocamldsort depends on:
ii  libc6                         2.13-35    Embedded GNU C Library: Shared lib

ocamldsort recommends no packages.

ocamldsort suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: ocamldsort
Source-Version: 0.15.0-3

We believe that the bug you reported is fixed in the latest version of
ocamldsort, 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 699495@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Ralf Treinen <treinen@debian.org> (supplier of updated ocamldsort 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: Fri, 01 Feb 2013 09:39:56 +0100
Source: ocamldsort
Binary: ocamldsort
Architecture: source amd64
Version: 0.15.0-3
Distribution: experimental
Urgency: low
Maintainer: Debian OCaml Maintainers <debian-ocaml-maint@lists.debian.org>
Changed-By: Ralf Treinen <treinen@debian.org>
Description: 
 ocamldsort - dependency sorter for OCaml source files
Closes: 699495
Changes: 
 ocamldsort (0.15.0-3) experimental; urgency=low
 .
   * Patch ocaml4.0-deps: make ocamldsort accept dependencies generated
     by ocaml-4.0's dependency generator (closes: #699495). Thanks to
     Roberto Di Cosmo for the patch.
   * Standards-Version 3.9.4 (no change)
Checksums-Sha1: 
 8d649142064fc237a31c6faf9afa1bbda51c3b75 1370 ocamldsort_0.15.0-3.dsc
 c8121aef6d510887c0ac7d2b49b9201acf09ba33 3558 ocamldsort_0.15.0-3.debian.tar.gz
 0a4e79aa9e0e08ec325786b31931fceb5e7ce686 162268 ocamldsort_0.15.0-3_amd64.deb
Checksums-Sha256: 
 69189e7d2096e2c6650ae62cf61d00793aebc17b18cfdb8db30dea294e1b4b53 1370 ocamldsort_0.15.0-3.dsc
 9405a9d75cfea2805e060c048cb57f48f4f22a397de8e152e791cf2c15989e62 3558 ocamldsort_0.15.0-3.debian.tar.gz
 5b12fcd342d1e50a9bcab1108cbd7797f593ca19ecb5ec36fa28f1a2813d8716 162268 ocamldsort_0.15.0-3_amd64.deb
Files: 
 0ad50bd6e4ba7ed1197716a3d4b0a236 1370 ocaml optional ocamldsort_0.15.0-3.dsc
 34ebd2b4303f36b50f36dc0e9d9c8611 3558 ocaml optional ocamldsort_0.15.0-3.debian.tar.gz
 8be99ec29e13666474a5b397ee1c9eaa 162268 ocaml optional ocamldsort_0.15.0-3_amd64.deb

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

iEYEARECAAYFAlELjEgACgkQtzWmSeC6BMF3zwCguUGRmnRhrJfyv0pnDSSRFEYF
vWsAoKDJqVjvqtdIyk7gROXrt9QypWec
=ZuFO
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: