Your message dated Tue, 28 Mar 2017 21:04:08 +0000 with message-id <[email protected]> and subject line Bug#858885: fixed in socket-wrapper 1.1.7-2 has caused the Debian Bug report #858885, regarding tests fail with libcmocka-dev 0.4.1-2 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 [email protected] immediately.) -- 858885: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=858885 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Source: socket-wrapper Version: 1.1.7-1 Severity: serious Tags: patch Justification: fails to build from source (but built successfully in the past) Preparing a backport of libsocket-wrapper to stable, I noticed that it won't build with the stated build-dependency of libcmocka-dev 0.4.1. The last lines of the build attempt follow: /usr/bin/cmake -E cmake_progress_report .../socket-wrapper-1.1.7/obj/CMakeFiles 3 [ 22%] Building C object tests/CMakeFiles/test_echo_tcp_bind.dir/test_echo_tcp_bind.c.o cd .../socket-wrapper-1.1.7/obj/tests && /usr/bin/cc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu99 -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wcast-align -Wcast-qual -Wno-missing-field-initializers -Werror=pointer-arith -Werror=declaration-after-statement -Werror=implicit-function-declaration -Werror=write-strings -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fstrict-aliasing -Wstrict-aliasing=2 -fstrict-overflow -Wstrict-overflow=5 -Werror=strict-overflow -D_GNU_SOURCE -fPIC -fstack-protector -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I.../socket-wrapper-1.1.7/obj/tests -I.../socket-wrapper-1.1.7/tests -I.../socket-wrapper-1.1.7/obj -I.../socket-wrapper-1.1.7/src -o CMakeFiles/test_echo_tcp_bind.dir/test_echo_tcp_bind.c.o -c .../socket-wrapper-1.1.7/tests/test_echo_tcp_bind.c .../socket-wrapper-1.1.7/tests/test_echo_tcp_bind.c: In function ‘main’: .../socket-wrapper-1.1.7/tests/test_echo_tcp_bind.c:501:26: error: array type has incomplete element type const struct CMUnitTest tcp_bind_tests[] = { ^ .../socket-wrapper-1.1.7/tests/test_echo_tcp_bind.c:502:3: error: implicit declaration of function ‘cmocka_unit_test_setup_teardown’ [-Werror=implicit-function-declaration] cmocka_unit_test_setup_teardown(test_bind_ipv4, ^ .../socket-wrapper-1.1.7/tests/test_echo_tcp_bind.c:533:2: error: implicit declaration of function ‘cmocka_run_group_tests’ [-Werror=implicit-function-declaration] rc = cmocka_run_group_tests(tcp_bind_tests, NULL, NULL); ^ .../socket-wrapper-1.1.7/tests/test_echo_tcp_bind.c:501:26: warning: unused variable ‘tcp_bind_tests’ [-Wunused-variable] const struct CMUnitTest tcp_bind_tests[] = { ^ cc1: some warnings being treated as errors tests/CMakeFiles/test_echo_tcp_bind.dir/build.make:57: recipe for target 'tests/CMakeFiles/test_echo_tcp_bind.dir/test_echo_tcp_bind.c.o' failed make[3]: *** [tests/CMakeFiles/test_echo_tcp_bind.dir/test_echo_tcp_bind.c.o] Error 1 Installing libcmocka-dev 1.0.1-2~bpo8+1 fixed the issue so I propose the attached patch.--- socket-wrapper-1.1.7/debian/control~ 2016-05-24 22:27:10.000000000 +0200 +++ socket-wrapper-1.1.7/debian/control 2017-03-28 10:12:35.314128801 +0200 @@ -7,7 +7,7 @@ debhelper (>= 9), dh-buildinfo, cmake (>= 2.8.8-3~), - libcmocka-dev (>= 0.4.1), + libcmocka-dev (>= 1.0.1), asciidoc, libxml2-utils, xsltproc, docbook-xml, docbook-xsl XS-Testsuite: autopkgtest Standards-Version: 3.9.8
--- End Message ---
--- Begin Message ---Source: socket-wrapper Source-Version: 1.1.7-2 We believe that the bug you reported is fixed in the latest version of socket-wrapper, 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 [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Laszlo Boszormenyi (GCS) <[email protected]> (supplier of updated socket-wrapper 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 [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Format: 1.8 Date: Tue, 28 Mar 2017 19:18:47 +0000 Source: socket-wrapper Binary: libsocket-wrapper Architecture: source amd64 Version: 1.1.7-2 Distribution: unstable Urgency: medium Maintainer: Laszlo Boszormenyi (GCS) <[email protected]> Changed-By: Laszlo Boszormenyi (GCS) <[email protected]> Description: libsocket-wrapper - socket wrapper library Closes: 858885 Changes: socket-wrapper (1.1.7-2) unstable; urgency=medium . * Tighten CMocka build dependency (closes: #858885). Checksums-Sha1: f69aa9f9dc443d46c7a718213073b844a6eaeacc 1987 socket-wrapper_1.1.7-2.dsc 697eaaf1fea20b58f2c2d7c550a12318a3a88d33 5266 socket-wrapper_1.1.7-2.debian.tar.gz f9ffd3ab2313553d8e35b20dec49400d80e74c17 55924 libsocket-wrapper-dbgsym_1.1.7-2_amd64.deb 7cd09e37f09979f965373b0001d816a002cdb97e 30356 libsocket-wrapper_1.1.7-2_amd64.deb 4c09d55e8adb7e4e32011cb7b26d657977419ad8 8099 socket-wrapper_1.1.7-2_amd64.buildinfo Checksums-Sha256: 35f1389e4634fb09adbfeb1b7237b052c701982c6ee9f6782111f3909a639ce3 1987 socket-wrapper_1.1.7-2.dsc d1d5f315719bbe15de8c40806d080ffb306f6a8871b476347577c19e808ad3c7 5266 socket-wrapper_1.1.7-2.debian.tar.gz e7cf772d3a5b232a17dedede44e663813abbfe1a7dbad8a321b6612ea2222ece 55924 libsocket-wrapper-dbgsym_1.1.7-2_amd64.deb aec14fd6710b166d9def974676db14ee9609d3bd5a4a57a9e9a0f1653dba0f10 30356 libsocket-wrapper_1.1.7-2_amd64.deb e304387b0418905877386b6cd9902844419e28bb0408b092ba38665bd0ee00c3 8099 socket-wrapper_1.1.7-2_amd64.buildinfo Files: 4c2ed1cded23022d07662b7fea13c654 1987 devel optional socket-wrapper_1.1.7-2.dsc 689cdbb92943bad08451fbc003e3bc4a 5266 devel optional socket-wrapper_1.1.7-2.debian.tar.gz 3c5afb4ee01b8116696926d59a124cda 55924 debug extra libsocket-wrapper-dbgsym_1.1.7-2_amd64.deb cc4d68dfb9839516f879d031c2e0f64a 30356 devel optional libsocket-wrapper_1.1.7-2_amd64.deb a097b7748397dcf3d61be5df6381c0fc 8099 devel optional socket-wrapper_1.1.7-2_amd64.buildinfo -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEfYh9yLp7u6e4NeO63OMQ54ZMyL8FAljavBQACgkQ3OMQ54ZM yL++Tg/9EWVMmCz2hGjayr/j5JKg+qwiuWiapOJ1OCUc5F/5ASS1wV6VJ/xofPPB d60Pw8/NNeHMLpaM4RHFLggE5SdrehPMzWO6WJI0RKXcittF9Ou8o61+rJdksFGQ DML83D+crpYA6JRkl4yyYJX9dTTlD7/9GdrYt5xuoJAmzgDbpXRVyB57+TlwxIBy 8/b/EblQCrVrag7kOsyZ1B5Piszr5vu7GxOr3KXi3+Xu/o0o75wAdYWJPIna4wB9 xuk4d4j3ISPxqnI1suewhAiAghRUFTR03kBcw0OfnZQ1uX/mUDvY46alQ6SlP6lj wkYhMhoYJwUFEVyONSVdUOGHo0rANnyARQSHcaGCEAPnpUolpUFmCwO5VAEwnhBe Zstdcn1B0xd3ht64PPJj3BI18+iRhIXYfB5NXGha5F7JXqIHdl4yhenvbtHLc0dJ A9doRCv1q0ZphB2y9lI6AoGY1Jros/6qc7d3X3Zzdb7GeJ6TmWhZP6wU6KHr0HgO gOvRz4fIpLaK331auA1YWwoNf9YLqc4sbFw6xAvrpYLqP6K+A3xQ86r/Hv5P7G/Z LgXZsvKx9aIUOSMw6KvLDRCPz63QCA71PYPiwh47RdgqNph2FZ/NJ611WW71Ji4S ewshRTYsYFCXL7VFc81kiDM7Iv7GZUzQFaBxfb3Ly7tTuCOb7Hk= =F+Rt -----END PGP SIGNATURE-----
--- End Message ---

