Debian Bug report logs -
#806610
cmocka: FTBFS when built with dpkg-buildpackage -A (36 tests failed out of 36)
Reported by: Santiago Vila <sanvila@debian.org>
Date: Sun, 29 Nov 2015 16:24:36 UTC
Severity: serious
Found in version cmocka/1.0.1-2
Fixed in version cmocka/1.0.1-3
Done: David Prévot <taffit@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, sanvila@debian.org, David Prévot <taffit@debian.org>:
Bug#806610; Package src:cmocka.
(Sun, 29 Nov 2015 16:24:39 GMT) (full text, mbox, link).
Acknowledgement sent
to Santiago Vila <sanvila@debian.org>:
New Bug report received and forwarded. Copy sent to sanvila@debian.org, David Prévot <taffit@debian.org>.
(Sun, 29 Nov 2015 16:24:39 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: src:cmocka
Version: 1.0.1-2
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 --list-missing
dh_testdir -i -O--list-missing
debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_configure -- -DLIB_SUFFIX=/x86_64-linux-gnu \
-DWITH_CMOCKERY_SUPPORT=ON \
-DUNIT_TESTING=ON
cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DLIB_SUFFIX=/x86_64-linux-gnu -DWITH_CMOCKERY_SUPPORT=ON -DUNIT_TESTING=ON
-- The C compiler identification is GNU 5.2.1
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
[... snipped ...]
4 - test_group_fixtures (Not Run)
5 - test_assert_macros (Not Run)
6 - test_assert_macros_fail (Not Run)
7 - test_exception_handler (Not Run)
8 - test_basics (Not Run)
9 - test_skip (Not Run)
10 - test_setup_fail (Not Run)
11 - test_cmockery (Not Run)
12 - test_setup_fail_1_failed (Not Run)
13 - test_setup_fail_1_passed (Not Run)
14 - test_setup_fail_match_failed (Not Run)
15 - test_setup_fail_match_passed (Not Run)
16 - test_basics_tap (Not Run)
17 - test_assert_macros_fail_tap (Not Run)
18 - test_skip_tap (Not Run)
19 - test_setup_fail_tap (Not Run)
20 - test_basics_subunit (Not Run)
21 - test_assert_macros_fail_subunit (Not Run)
22 - test_skip_subunit (Not Run)
23 - test_setup_fail_subunit (Not Run)
24 - test_basics_xml (Not Run)
25 - test_assert_macros_fail_xml (Not Run)
26 - test_skip_xml (Not Run)
27 - test_setup_fail_xml (Not Run)
28 - simple_test (Not Run)
29 - calculator_test (Not Run)
30 - allocate_module_test (Not Run)
31 - assert_macro_test (Not Run)
32 - assert_module_test (Not Run)
33 - customer_database_test (Not Run)
34 - key_value_test (Not Run)
35 - product_database_test (Not Run)
36 - waiter_test_wrap (Not Run)
Errors while running CTest
Makefile:152: recipe for target 'test' failed
make[1]: *** [test] Error 8
make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
dh_auto_test: make -j1 test ARGS+=-j1 returned exit code 2
debian/rules:6: 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.
Added tag(s) pending.
Request was from David Prévot <taffit@debian.org>
to control@bugs.debian.org.
(Sun, 29 Nov 2015 17:27:07 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org, David Prévot <taffit@debian.org>:
Bug#806610; Package src:cmocka.
(Wed, 13 Jul 2016 20:45:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Santiago Vila <sanvila@unex.es>:
Extra info received and forwarded to list. Copy sent to David Prévot <taffit@debian.org>.
(Wed, 13 Jul 2016 20:45:04 GMT) (full text, mbox, link).
Message #12 received at 806610@bugs.debian.org (full text, mbox, reply):
Greetings.
I have the ok from the Release Managers to consider this issue
as RC for stretch.
I'm going to wait a week before raising severities, but since this bug
is in pending state, I'd appreciate if you could make an upload
before that.
Thanks.
Severity set to 'serious' from 'important'
Request was from Santiago Vila <sanvila@debian.org>
to control@bugs.debian.org.
(Mon, 01 Aug 2016 21:15:44 GMT) (full text, mbox, link).
Reply sent
to David Prévot <taffit@debian.org>:
You have taken responsibility.
(Mon, 29 Aug 2016 04:24:05 GMT) (full text, mbox, link).
Notification sent
to Santiago Vila <sanvila@debian.org>:
Bug acknowledged by developer.
(Mon, 29 Aug 2016 04:24:05 GMT) (full text, mbox, link).
Message #19 received at 806610-close@bugs.debian.org (full text, mbox, reply):
Source: cmocka
Source-Version: 1.0.1-3
We believe that the bug you reported is fixed in the latest version of
cmocka, 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 806610@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
David Prévot <taffit@debian.org> (supplier of updated cmocka 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: Sun, 28 Aug 2016 16:53:27 -1000
Source: cmocka
Binary: cmocka-doc libcmocka0 libcmocka-dev
Architecture: source
Version: 1.0.1-3
Distribution: unstable
Urgency: medium
Maintainer: David Prévot <taffit@debian.org>
Changed-By: David Prévot <taffit@debian.org>
Description:
cmocka-doc - documentation for the CMocka unit testing framework
libcmocka-dev - development files for the CMocka unit testing framework
libcmocka0 - library for the CMocka unit testing framework
Closes: 806610
Changes:
cmocka (1.0.1-3) unstable; urgency=medium
.
* Do not run tests when building doc (Closes: #806610)
* Update Standards-Version to 3.9.8
Checksums-Sha1:
708c4ef22eb0fd17aaec29d23f728e16ab8ef25c 1620 cmocka_1.0.1-3.dsc
31ee9018aa40d4dfd7b03d76311078c2ed5df7f2 6780 cmocka_1.0.1-3.debian.tar.xz
Checksums-Sha256:
668740d141b41df67ed539ac625a9f870c0acda1c0e8bab597dbfe1ba7138e52 1620 cmocka_1.0.1-3.dsc
3e331cd061a0ce4a4447d8f09a67f57455eabe250c9e44708d5ac87f3dc269dc 6780 cmocka_1.0.1-3.debian.tar.xz
Files:
f0b851d0005b67cb8df1d811ab12d8fa 1620 devel extra cmocka_1.0.1-3.dsc
c5f17550699bb084e6fe0cb72616383f 6780 devel extra cmocka_1.0.1-3.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQEcBAEBCAAGBQJXw6fKAAoJEAWMHPlE9r08wssH/1B9fbrIs4+QAh5HW6Pk77qg
E27MHSpslYaP8xHlvfo46J+xjDTi9b+qw5J+3Yup9+NLpq0KhxgNmL9R9vVxR3dN
Qiw/rvBp3qqtMWf29wrXRhWtkayZO9pcsMnhiGmZ/Omhpa/9NMsk02qm8ZIj5itH
Rj15j6DTVIrQ5Ko8xzihk6fnod3gU3BBSgpCUX/JChxj76nJYvC1BY6lGLlVdxT1
Q8jbPBjjFqr99GJxZJ0EHCpZcBdiw4UO44ND3CJyoAWyyTI/wWM6zmDak1Na8GLn
naa6OGMG6vGeRPckT7F7iYOaMeeT960ahWVfpGM5Khwc6fKjb9oRMH3FQAyeHmo=
=mnid
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Mon, 26 Sep 2016 07:25:28 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Tue Nov 7 17:51:51 2017;
Machine Name:
beach
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.