Package: libcpputest-dev Version: 3.8-1 Justification: renders package unusable Severity: grave Tags: patch
Dear Maintainer, Since libcpputest-dev 3.8 generated/CppUTestGeneratedConfig.h is generated at build time and included by include/CppUTest/CppUTestGeneratedConfig.h which is included by include/CppUTest/CppUTestConfig.h, but it is not installed, causing a build failure for any project that includes include/CppUTest/CppUTestGeneratedConfig.h. I set the severity to grave to stop migration to testing since this bug will cause a build failure for almost any project using cpputest. [ 169s] In file included from /usr/include/CppUTest/CppUTestConfig.h:32:0, [ 169s] from /usr/include/CppUTest/TestHarness.h:31, [ 169s] /usr/include/CppUTest/CppUTestGeneratedConfig.h:45:47: fatal error: generated/CppUTestGeneratedConfig.h: No such file or directory [ 169s] #include "generated/CppUTestGeneratedConfig.h" [ 169s] ^ [ 169s] compilation terminated. The simple solution is to have libcpputest-dev install generated/CppUTestGeneratedConfig.h in /usr/include/CppUTest. A simple patch for the install file is attached. Thanks! Kind regards, Luca Boccassi -- System Information: Debian Release: 8.5 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'proposed-updates'), (500, 'stable'), (104, 'testing'), (103, 'unstable'), (102, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.5.0-0.bpo.2-amd64 (SMP w/4 CPU cores) Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) -- no debconf information From 49c5fe9b2cf90e7b021bf798f440cbc4321e87fa Mon Sep 17 00:00:00 2001 From: Luca Boccassi <luca.bocca...@gmail.com> Date: Tue, 14 Jun 2016 14:15:59 +0100 Subject: [PATCH] Install generated config in libcpputest-dev generated/CppUTestGeneratedConfig.h is generated at build time and included by include/CppUTest/CppUTestGeneratedConfig.h which is included by include/CppUTest/CppUTestConfig.h, but it is not installed, causing a build failure for any project that includes include/CppUTest/CppUTestGeneratedConfig.h. Have libcpputest-dev install it. --- debian/libcpputest-dev.install | 1 + 1 file changed, 1 insertion(+) diff --git a/debian/libcpputest-dev.install b/debian/libcpputest-dev.install index d088890..f59daff 100644 --- a/debian/libcpputest-dev.install +++ b/debian/libcpputest-dev.install @@ -1,4 +1,5 @@ include/CppUTest usr/include/ include/CppUTestExt usr/include/ +generated/CppUTestGeneratedConfig.h usr/include/CppUTest/generated usr/lib/*/*.a usr/lib/*/pkgconfig/cpputest.pc -- 2.1.4