Package: src:cmocka
Version: 1.0.1-2
User: [email protected]
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.