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

Bug#618555: marked as done (spatch: exception Failure("More that one variable in decl. Have to split to transform."))



Your message dated Thu, 07 Apr 2011 14:47:21 +0000
with message-id <E1Q7qUT-0008GM-33@franck.debian.org>
and subject line Bug#618555: fixed in coccinelle 0.2.5.deb-1
has caused the Debian Bug report #618555,
regarding spatch: exception Failure("More that one variable in decl. Have to split to transform.")
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.)


-- 
618555: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=618555
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: coccinelle
Version: 0.2.4.deb-3

Hi,

Given the uninitialized.cocci and fast-import.c as below[1], we
find:

 $ spatch -sp_file uninitialized.cocci fast-import.c
 init_defs_builtins: /usr/share/coccinelle/standard.h
 HANDLING: fast-import.c
 Fatal error: exception Failure("More that one variable in decl. Have to split to transform.")

I see two problems:

 1. The message is unclear.  I suppose the intent is something like

	fatal: cannot transform a line with multiple declarations in it

 2. The limitation is unfortunate.

Known problem?  Do I understand correctly?

Thanks for spatch. :)  It's a great tool.
Jonathan

[1]
-- 8< -- uninitialized.cocci -- 8< --
@@
identifier x;
type T;
@@

- T x = x;
+ T x;
-- >8 -- snipsnip -- >8 --
-- 8< -- fast-import.c -- 8< --
static void parse_merge(void)
{
        int *list = NULL, *n, *e = e;
}
-- >8 -- snipsnip -- >8 --



--- End Message ---
--- Begin Message ---
Source: coccinelle
Source-Version: 0.2.5.deb-1

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

coccinelle_0.2.5.deb-1.debian.tar.gz
  to main/c/coccinelle/coccinelle_0.2.5.deb-1.debian.tar.gz
coccinelle_0.2.5.deb-1.dsc
  to main/c/coccinelle/coccinelle_0.2.5.deb-1.dsc
coccinelle_0.2.5.deb-1_amd64.deb
  to main/c/coccinelle/coccinelle_0.2.5.deb-1_amd64.deb
coccinelle_0.2.5.deb.orig.tar.gz
  to main/c/coccinelle/coccinelle_0.2.5.deb.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 618555@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Євгеній Мещеряков <eugen@debian.org> (supplier of updated coccinelle 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, 07 Apr 2011 14:14:08 +0200
Source: coccinelle
Binary: coccinelle
Architecture: source amd64
Version: 0.2.5.deb-1
Distribution: unstable
Urgency: low
Maintainer: Debian OCaml Maintainers <debian-ocaml-maint@lists.debian.org>
Changed-By: Євгеній Мещеряков <eugen@debian.org>
Description: 
 coccinelle - semantic patching tool for C
Closes: 618555
Changes: 
 coccinelle (0.2.5.deb-1) unstable; urgency=low
 .
   * New upstream release
     - better handling of multiple declarations in one statement
       (Closes: #618555)
   * New patches:
     - pycaml-build-check.diff - check for python version only if pycaml is not
       installed
     - python-string-regression-fix.diff - fix a regression in new version
   * Do not pass "--with-python --without-trac" to configure, those options
     do not exist anymore
   * Standards-Version 3.9.2 — no changes required
Checksums-Sha1: 
 47ceb4764f8983f40ec8979f0da46994b95fdfcf 1667 coccinelle_0.2.5.deb-1.dsc
 fd9a0cec96a38e549147801e66aedd2ade5bbcd5 1423470 coccinelle_0.2.5.deb.orig.tar.gz
 20c606924f9698724c73c0268e79fab8e0429277 9226 coccinelle_0.2.5.deb-1.debian.tar.gz
 23c457cbfc18ae77c071be3f15fb54bd4a2434c6 2955554 coccinelle_0.2.5.deb-1_amd64.deb
Checksums-Sha256: 
 60f2033354ed39b6a14a721c4153c3f7aff6fa397bb69c422a2ae361cbd11469 1667 coccinelle_0.2.5.deb-1.dsc
 ba4da303003f4cc911002d3067e60ba2a3efb9ed2c5047176ec08904d8bb1d14 1423470 coccinelle_0.2.5.deb.orig.tar.gz
 cf714f725106846620133a7f052644550d9ab5ef23b9319e37b7f6824988a8c2 9226 coccinelle_0.2.5.deb-1.debian.tar.gz
 16e460d3785e9a9b6e7c8fd5fedc4016f60631cbacaa6df4214c53fb50e7bfe4 2955554 coccinelle_0.2.5.deb-1_amd64.deb
Files: 
 765623ea49b4fda0241abecd231876a3 1667 devel optional coccinelle_0.2.5.deb-1.dsc
 2d238ccc44714a01e61809e5f6b6e4d8 1423470 devel optional coccinelle_0.2.5.deb.orig.tar.gz
 f529b60304ff7986087d61ce023bd7ed 9226 devel optional coccinelle_0.2.5.deb-1.debian.tar.gz
 f9ab59f742eef94ff98de133b5948716 2955554 devel optional coccinelle_0.2.5.deb-1_amd64.deb

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

iEYEARECAAYFAk2dx8UACgkQKaC6+zmozOI5wACfTS1B1+WvjRCDj4qYRbD4j/aV
aCwAoIvMsIKK2A1V+7mjAeNpZ2vXXTL/
=kLSz
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: