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

Bug#806611: marked as done (coccinelle: FTBFS when built with dpkg-buildpackage -A (recipe for target 'check' failed))



Your message dated Fri, 25 Dec 2015 06:19:03 +0000
with message-id <E1aCLiR-0001GV-QC@franck.debian.org>
and subject line Bug#806611: fixed in coccinelle 1.0.4.deb-2
has caused the Debian Bug report #806611,
regarding coccinelle: FTBFS when built with dpkg-buildpackage -A (recipe for target 'check' failed)
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.)


-- 
806611: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=806611
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: src:coccinelle
Version: 1.0.4.deb-1
User: sanvila@debian.org
Usertags: binary-indep
Severity: important

Dear maintainer:

I tried to build this package with "dpkg-buildpackage -A"
(i.e. only architecture-independent packages), and it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-indep
dh build-indep --with ocaml,python2 --parallel
   dh_testdir -i -O--parallel
   dh_ocamlinit -i -O--parallel
   debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
./configure --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib --enable-ocaml --enable-release
configure: configuring coccinelle 1.0.4 in /<<PKGBUILDDIR>>
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no

[... snipped ...]

549 states, 26116 transitions, table size 107758 bytes
15973 additional bytes used for bindings
/usr/bin/ocamlyacc -v parser_c.mly
/usr/bin/ocamldep -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I  ../parsing_cocci *.mli *.ml | sed "s%\.\./commons/bytes\.cm.%%g" > .depend
/usr/bin/ocamldep -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I  ../parsing_cocci *.mli *.ml | sed "s%\.\./commons/bytes\.cm.%%g" > .depend
make[4]: Leaving directory '/<<PKGBUILDDIR>>/parsing_c'
make[4]: Entering directory '/<<PKGBUILDDIR>>/engine'
/usr/bin/ocamldep -I ../commons -I ../commons/ocamlextra -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c *.mli *.ml > .depend
/usr/bin/ocamldep -I ../commons -I ../commons/ocamlextra -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c *.mli *.ml > .depend
make[4]: Leaving directory '/<<PKGBUILDDIR>>/engine'
make[4]: Entering directory '/<<PKGBUILDDIR>>/popl09'
/usr/bin/ocamldep -I ../commons -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c  -I ../engine *.mli *.ml > .depend
/usr/bin/ocamldep -I ../commons -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c  -I ../engine *.mli *.ml > .depend
make[4]: Leaving directory '/<<PKGBUILDDIR>>/popl09'
make[4]: Entering directory '/<<PKGBUILDDIR>>/extra'
/usr/bin/ocamldep -I ../commons -I ../globals -I  ../parsing_cocci -I  ../parsing_c *.mli *.ml > .depend
/usr/bin/ocamldep -I ../commons -I ../globals -I  ../parsing_cocci -I  ../parsing_c *.mli *.ml > .depend
make[4]: Leaving directory '/<<PKGBUILDDIR>>/extra'
make[4]: Entering directory '/<<PKGBUILDDIR>>/python'
/usr/bin/ocamldep -I ../commons -I ../commons/ocamlextra -I ../globals -I ../parsing_c -I ../parsing_cocci  *.mli *.ml > .depend
/usr/bin/ocamldep -I ../commons -I ../commons/ocamlextra -I ../globals -I ../parsing_c -I ../parsing_cocci  *.mli *.ml > .depend
make[4]: Leaving directory '/<<PKGBUILDDIR>>/python'
make[4]: Entering directory '/<<PKGBUILDDIR>>/ocaml'
/usr/bin/ocamldep -I ../commons -I ../commons/ocamlextra -I ../globals -I ../parsing_cocci -I ../parsing_c -I ../engine *.mli *.ml | sed 's/bytes\.cm[a-z]\{1,\}//g' > .depend
/usr/bin/ocamldep -I ../commons -I ../commons/ocamlextra -I ../globals -I ../parsing_cocci -I ../parsing_c -I ../engine *.mli *.ml | sed 's/bytes\.cm[a-z]\{1,\}//g' > .depend
make[4]: Leaving directory '/<<PKGBUILDDIR>>/ocaml'
/usr/bin/ocamldep -I commons -I commons/ocamlextra -I globals -I ctl -I parsing_cocci -I parsing_c -I engine -I popl09 -I extra -I python -I ocaml cocci.mli testing.mli flag_cocci.ml cocci.ml testing.ml  read_options.ml main.ml > .depend
make[3]: Leaving directory '/<<PKGBUILDDIR>>'
cp scripts/spatch.sh scripts/spatch
chmod +x scripts/spatch
Testing if spatch works on hello world...
No 'spatch' nor 'spatch.opt' found in /<<PKGBUILDDIR>>
Makefile:481: recipe for target 'check' failed
make[2]: *** [check] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:39: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:18: recipe for target 'build-indep' failed
make: *** [build-indep] Error 2
dpkg-buildpackage: error: debian/rules build-indep gave error exit status 2
--------------------------------------------------------------------------------

Sorry not to have a fix, as I am reporting many bugs similar to
this one. The common hints are:

* If the only architecture-independent packages are dummy transitional
ones and they were released with jessie, the easy fix is to drop them
now.

* When using "dh", it is allowed to use (independently)
optional targets override_dh_foo-arch and override_dh_foo-indep
(for several values of "foo").


Once that both "dpkg-buildpackage -A" and "dpkg-buildpackage -B" work
properly, the package would be suitable to be uploaded in source-only
form if you wish.

Thanks.

--- End Message ---
--- Begin Message ---
Source: coccinelle
Source-Version: 1.0.4.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 806611@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: SHA256

Format: 1.8
Date: Thu, 24 Dec 2015 14:54:31 +0100
Source: coccinelle
Binary: coccinelle coccinelle-doc
Architecture: source
Version: 1.0.4.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: 806611
Changes:
 coccinelle (1.0.4.deb-2) unstable; urgency=medium
 .
   * Run tests only when building architecture-dependant packages
     (closes: #806611)
Checksums-Sha1:
 137c4a84f7d2e4d7f05026e0d77a16445a6b30df 2484 coccinelle_1.0.4.deb-2.dsc
 b4f84d9277bb618c58b0e8e5bcb4785b98de6338 9660 coccinelle_1.0.4.deb-2.debian.tar.xz
Checksums-Sha256:
 9b5bae966b4c82763005518b3d3de1361ee6fe82d536664c69a4ddc64a3da992 2484 coccinelle_1.0.4.deb-2.dsc
 43a3ab76066810769d16c94687b09147c25e0b631ab0e1180ca79d3a6c93e6ec 9660 coccinelle_1.0.4.deb-2.debian.tar.xz
Files:
 f2f4fad039a9a50112b838a29cfb0ecc 2484 devel optional coccinelle_1.0.4.deb-2.dsc
 bbe5fec2dc5afb8d3f7e0e9fb8b87b13 9660 devel optional coccinelle_1.0.4.deb-2.debian.tar.xz

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

iQIcBAEBCAAGBQJWfNUgAAoJEMFtqOf0Ubk8QdMP/3K7OXRT+2PEbsFTmOOdm1fP
yp7LaJwWcHeue5cw2+nBiXfeyQ17bpvxGtskPiP9/UaNFd5Y/OdXXj7SaiGVECsC
+lihokocJ43Z/t5J0OfGhzLPVQwGGgAIVB0nISv55qxY2BEyN8yojD3X3zWnINP1
lB/tlv2qVYzKjGVOz0u6JeinLebojMREU3gZx+McwhqKoypsV6AIwJHdk4et9A7N
Q0Y2JN6Z9Gd8uEmYIOKCv+o8jrtpwDLDv1qizq/LVAGAOebSxQ6mpG4wSIUMA/Gq
hvf4cEdoPzUD2I/ke0p+JbqcnDYC/19ahemllStHtxkrokk8Eg1YAqCTkyxlcWIj
up54gbgohqifz6K/BsIEXut1ITaCWPgnaxfKT7gNBjeDq28VGiiBbhY3ccDXz5cW
q3AisCTXb7tkOOgBFiz1JgtP4w4QHCw327MA1Wm8RrzlFSR3gHVzhBqD9fJbsTo0
Q+iSZCv1oFu6ySmF8/QjQOKlxCg1v6L49EKeza3JIaEKYCs7H+Euf7VLEjYENntb
VneAOcwH3wbm0gZ38rXhyEHDxBkZdOH8ce2Jd2A28N/AJ6N/+peANv1Dz9F4l98Y
5ZIOcYUDrT3cweREQCavkDyPvOVgdMkazZcrVDYijgB2SJsQtpWdKYVWwlrjVyWZ
AZGIGQ2dxdgNMP4aooRs
=/4xF
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: