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

Bug#742779: marked as done (coccinelle introduces spurious whitespace changes)



Your message dated Sat, 29 Mar 2014 21:19:20 +0000
with message-id <E1WU0eu-00020z-Nq@franck.debian.org>
and subject line Bug#742779: fixed in coccinelle 1.0.0~rc20.deb-2
has caused the Debian Bug report #742779,
regarding coccinelle introduces spurious whitespace changes
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.)


-- 
742779: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=742779
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: coccinelle
Version: 1.0.0~rc20.deb-1
Severity: normal

Dear Maintainer,

coccinelle recently (since I upgraded to jessie I guess) began to
introduce spurious whitespace changes for a certain semantic patch.  I
made a minimal test case:

% tail test.*
==> test.c <==
int main () {
  int a = 4;
  a = 2;
  return a;
}

==> test.cocci <==
@@
@@
+  char *f = "%lu";

main (...) {
...
}

Curiously, the string %lu seems to trigger this.  Bad, e.g. the
current sid version:

% spatch --version
spatch version 1.0.0-rc20 with Python support and with PCRE support
% spatch --sp-file test.cocci test.c
init_defs_builtins: /usr/share/coccinelle/standard.h
HANDLING: test.c
diff = 
--- test.c
+++ /tmp/cocci-output-14372-7762e6-test.c
@@ -1,5 +1,6 @@
-int main () {
-  int a = 4;
-  a = 2;
+char *f= "%lu";
+int main() {
+  int a= 4;
+  a= 2;
   return a;
 }

Good, e.g. the version from wheezy:

% spatch --version
spatch version 1.0.0-rc12 with Python support and with PCRE support
% spatch --sp-file test.cocci test.c
init_defs_builtins: /usr/share/coccinelle/standard.h
HANDLING: test.c
diff = 
--- test.c
+++ /tmp/cocci-output-17254-5327d1-test.c
@@ -1,3 +1,4 @@
+char *f = "%lu";
 int main () {
   int a = 4;
   a = 2;

Thanks for your attention :)

-- System Information:
Distributor ID:	Debian
Description:	Debian GNU/Linux testing (jessie)
Release:	testing
Codename:	jessie
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.13-1-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

Versions of packages coccinelle depends on:
ii  libc6                                   2.18-4
ii  libpcre-ocaml [libpcre-ocaml-36gi0]     7.0.4-1
ii  libpcre3                                1:8.31-2
ii  libpycaml-ocaml                         0.82-14+b3
ii  libpython2.7                            2.7.6-7
ii  ocaml-base-nox [ocaml-base-nox-4.01.0]  4.01.0-3
ii  ocaml-findlib                           1.4-2
ii  python-glade2                           2.24.0-3+b1
ii  python-gobject                          3.10.2-2
ii  python-gtk2                             2.24.0-3+b1
pn  python:any                              <none>

coccinelle recommends no packages.

Versions of packages coccinelle suggests:
pn  coccinelle-doc     <none>
pn  vim-addon-manager  <none>

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: coccinelle
Source-Version: 1.0.0~rc20.deb-2

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.

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 742779@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@ftp-master.debian.org)


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

Format: 1.8
Date: Sat, 29 Mar 2014 21:39:41 +0100
Source: coccinelle
Binary: coccinelle coccinelle-doc
Architecture: source amd64 all
Version: 1.0.0~rc20.deb-2
Distribution: unstable
Urgency: medium
Maintainer: Debian OCaml Maintainers <debian-ocaml-maint@lists.debian.org>
Changed-By: Євгеній Мещеряков <eugen@debian.org>
Description: 
 coccinelle - semantic patching tool for C
 coccinelle-doc - documentation for coccinelle
Closes: 742779
Changes: 
 coccinelle (1.0.0~rc20.deb-2) unstable; urgency=medium
 .
   * New patch:
     - whitespace-fix.diff - fix incorrectly whitespace handling with some
       semantic patches (by Julia Lawall, closes: #742779)
Checksums-Sha1: 
 b79c72b1a2c77f3a48c3abd817eb090cb32076de 1793 coccinelle_1.0.0~rc20.deb-2.dsc
 df44a78164592a212071c85fc59c2c5d5ac7b637 8828 coccinelle_1.0.0~rc20.deb-2.debian.tar.xz
 780ed5695bfe8b580edb6b0b7c091d121fdf6896 1752588 coccinelle_1.0.0~rc20.deb-2_amd64.deb
 4251cdd426828b40751992b3c5bf6c4fcee17f7b 812018 coccinelle-doc_1.0.0~rc20.deb-2_all.deb
Checksums-Sha256: 
 388f68fa8558828b764f125685af02db32427ad659585557c737a44dddfb2318 1793 coccinelle_1.0.0~rc20.deb-2.dsc
 fd4a3571f2a119b11e85c299a34f5c4bb04e73899966120da0fa98e9644cf078 8828 coccinelle_1.0.0~rc20.deb-2.debian.tar.xz
 19f51712af9352dadf6c586b307870d8980f59c5285bcfbf234880998ccf6e00 1752588 coccinelle_1.0.0~rc20.deb-2_amd64.deb
 fd03b2f8cd118685229fa378b2f00de403872be6b50a8196f47f9b349de2eb67 812018 coccinelle-doc_1.0.0~rc20.deb-2_all.deb
Files: 
 7a3d4c8ceb16ade98d57dbd61090cc60 1793 devel optional coccinelle_1.0.0~rc20.deb-2.dsc
 c9aa7d608a4dd12b0d312bbe328d8cb0 8828 devel optional coccinelle_1.0.0~rc20.deb-2.debian.tar.xz
 bf6bf6bd636636923c17917d7197e6a4 1752588 devel optional coccinelle_1.0.0~rc20.deb-2_amd64.deb
 eaf57781a9b84a3c8d8a1bea16e63682 812018 doc optional coccinelle-doc_1.0.0~rc20.deb-2_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iEUEARECAAYFAlM3NG0ACgkQKaC6+zmozOKibwCggTsYzMdtAfSly1B+VkEW78P2
RVcAmKJnrTfBSdJOQSe6DXgXX/Q67ts=
=Y7m5
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: