Your message dated Tue, 13 Oct 2015 09:20:46 +0000 with message-id <[email protected]> and subject line Bug#782366: fixed in cunit 2.1-3-dfsg-1 has caused the Debian Bug report #782366, regarding libcunit1-dev: pkg-config file is broken 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.) -- 782366: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=782366 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: libcunit1-dev Version: 2.1-2.dfsg-2 Severity: important Tags: patch Dear Maintainer, The pkg-config file distributed with libcunit1-dev is broken: 1. it has no "Version" field, which makes pkg-config error-out: $ pkg-config --libs cunit Package 'cunit' has no Version: field Fixing this only requires adding a "Version: 2.1" (or alike) field. 2. its "libdir" variable misses a "$" to expand "exec_prefix", leading to a literal "{exec_prefix}": $ pkg-config --libs cunit -L\{exec_prefix\}/lib -lcunit Fixing this is even easier, just add the missing "$": libdir=${exec_prefix}/lib After fixing these two issues, the pkg-config file seem to work nicely -- to my limited cunit knowledge, all I needed was building something using it. Interestingly apparently the source file debian/cunit.pc contains the issues, but what I can only assume is the upstream template, cunit.pc.in, does not suffer from the issues. Maybe simply distributing upstream's version would fix it, but note it has a difference: it adds "/usr/include" to the search path, not "/usr/include/CUnit". Presumably upstream expects users to list the prefix "CUnit/" in their includes -- and the package I tried to build did just that. If this is a problem, a patch could be added to add both paths, keeping compatibility with both sides -- but as the current pkg-config file in Debian does not work, I doubt it is a real problem. Regards, Colomban -- System Information: Debian Release: 8.0 APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores) Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages libcunit1-dev depends on: ii libcunit1 2.1-2.dfsg-2 libcunit1-dev recommends no packages. Versions of packages libcunit1-dev suggests: pn libcunit1-doc <none> -- no debconf informationFrom: Colomban Wendling <[email protected]> Date: Sat Apr 11 02:44:06 2015 +0200 Subject: Fix pkg-config file diff -Nur cunit-2.1-2.dfsg.old/debian/cunit.pc cunit-2.1-2.dfsg/debian/cunit.pc --- cunit-2.1-2.dfsg.old/debian/cunit.pc 2015-04-11 02:06:05.569044199 +0200 +++ cunit-2.1-2.dfsg/debian/cunit.pc 1970-01-01 01:00:00.000000000 +0100 @@ -1,9 +0,0 @@ -prefix=/usr -exec_prefix=${prefix} -libdir={exec_prefix}/lib -includedir=${prefix}/include/CUnit - -Name: CUnit -Description: The C Unit Test Library -Libs: -L${libdir} -lcunit -CFlags: -I${includedir} diff -Nur cunit-2.1-2.dfsg.old/debian/libcunit1-dev.install cunit-2.1-2.dfsg/debian/libcunit1-dev.install --- cunit-2.1-2.dfsg.old/debian/libcunit1-dev.install 2015-04-11 02:06:05.569044199 +0200 +++ cunit-2.1-2.dfsg/debian/libcunit1-dev.install 2015-04-11 02:22:03.547971399 +0200 @@ -1,5 +1,5 @@ -debian/tmp-cunit/usr/include usr -debian/tmp-cunit/usr/lib/lib*.a usr/lib -debian/tmp-cunit/usr/lib/lib*.so usr/lib -debian/tmp-cunit/usr/share/man/man3 usr/share/man -debian/cunit.pc usr/lib/pkgconfig +debian/tmp-cunit/usr/include usr +debian/tmp-cunit/usr/lib/lib*.a usr/lib +debian/tmp-cunit/usr/lib/lib*.so usr/lib +debian/tmp-cunit/usr/share/man/man3 usr/share/man +debian/tmp-cunit/usr/lib/pkgconfig/cunit.pc usr/lib/pkgconfig diff -Nur cunit-2.1-2.dfsg.old/debian/libcunit1-ncurses-dev.install cunit-2.1-2.dfsg/debian/libcunit1-ncurses-dev.install --- cunit-2.1-2.dfsg.old/debian/libcunit1-ncurses-dev.install 2015-04-11 02:06:05.569044199 +0200 +++ cunit-2.1-2.dfsg/debian/libcunit1-ncurses-dev.install 2015-04-11 02:21:32.620005868 +0200 @@ -1,5 +1,5 @@ -debian/tmp-cunit-ncurses/usr/include usr -debian/tmp-cunit-ncurses/usr/lib/lib*.a usr/lib -debian/tmp-cunit-ncurses/usr/lib/lib*.so usr/lib -debian/tmp-cunit-ncurses/usr/share/man/man3 usr/share/man -debian/cunit.pc usr/lib/pkgconfig +debian/tmp-cunit-ncurses/usr/include usr +debian/tmp-cunit-ncurses/usr/lib/lib*.a usr/lib +debian/tmp-cunit-ncurses/usr/lib/lib*.so usr/lib +debian/tmp-cunit-ncurses/usr/share/man/man3 usr/share/man +debian/tmp-cunit-ncurses/usr/lib/pkgconfig/cunit.pc usr/lib/pkgconfig
--- End Message ---
--- Begin Message ---Source: cunit Source-Version: 2.1-3-dfsg-1 We believe that the bug you reported is fixed in the latest version of cunit, 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. Azat Khuzhin <[email protected]> (supplier of updated cunit 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: Sun, 12 Jul 2015 02:04:35 +0300 Source: cunit Binary: libcunit1-dev libcunit1 libcunit1-ncurses-dev libcunit1-ncurses libcunit1-doc Architecture: source Version: 2.1-3-dfsg-1 Distribution: unstable Urgency: medium Maintainer: Azat Khuzhin <[email protected]> Changed-By: Azat Khuzhin <[email protected]> Description: libcunit1 - Unit Testing Library for C libcunit1-dev - Unit Testing Library for C -- development files libcunit1-doc - Unit Testing Library for C -- documentation libcunit1-ncurses - Unit Testing Library for C (ncurses) libcunit1-ncurses-dev - Unit Testing Library for C (ncurses) -- development files Closes: 763096 782366 Changes: cunit (2.1-3-dfsg-1) unstable; urgency=medium . * New maintainer. (Closes: #763096). * Fix pkg-config file is broken (Closes: #782366). * Bump Standards version to 3.9.6 * Bump debhelper to version 9 * Migrate to git * copyright: link to [L]GPL-2 instead of versionless [L]GPL * copyright: migrate to DEP-5 (machine-readable debian/copyright file) * copyright: add year for the second author * copyright: update header for GFDL * patches: migrate "manual-warnings" to git patch format * patches: drop "d/patches" prefix for c99 patch * patches: migrate "gcc-warnings" patch to git format * patches: migrate c99.patch to git patch format * Bump compat version * README.source, drop it * control: avoid Section duplicates (lintian) * control: drop XS prefix (lintian) * Bump to 2.1-3 (generated stuff was removed: Makefile/*.cache/libtool/cunit.pc/config.{status,log}) * Fix versions * d/watch: cleanup * d/patches: drop c99, useless int 2.1-3 * d/patches: drop fix-some-warnings-for-gcc, useless in 2.1-3 Checksums-Sha1: 6d154537d780ae5e8556b0d8ca9fee6936956377 2157 cunit_2.1-3-dfsg-1.dsc 6aad1838d3abfed7dc3c6e717c8ed0e5d7dd9345 778444 cunit_2.1-3-dfsg.orig.tar.gz 667b61462b23925bdd4156ef1d57b19a1ca43620 6556 cunit_2.1-3-dfsg-1.debian.tar.xz Checksums-Sha256: 50db3c56e612580922c55dae269f3707d3ccdd650fd4246f0dae1cd46881f7d2 2157 cunit_2.1-3-dfsg-1.dsc 1b90baf4ffe130ddafe1e0fdc359f0ffdfc351dbf8e7a6831e5b0e57b5e23bfa 778444 cunit_2.1-3-dfsg.orig.tar.gz 647685260caf4ca01ce62869051bca163e684b6d8ddb7943c4bc64a24960f8a3 6556 cunit_2.1-3-dfsg-1.debian.tar.xz Files: 73d1df65e0218590572b2722026a0931 2157 libs optional cunit_2.1-3-dfsg-1.dsc 0334e0f4de58322e5e1e12ed05ba430c 778444 libs optional cunit_2.1-3-dfsg.orig.tar.gz 1efa61a3a900a0299f967406b77517c4 6556 libs optional cunit_2.1-3-dfsg-1.debian.tar.xz -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCAAGBQJWHL5pAAoJEPNPCXROn13ZCXcQAIkulaRP32moSdpHpurVIWL+ fNIP+cnGeUOLEvxuhTTk/MCiaBxtqV/UWrszMWlskliqA0qu4kuFT6wo3hDh7kvV CeIBrKHBknmjd4KOv+Tys2mo0YX2dxAvEOzQE7aMftsaMW68AtYM8QM6Iu9oW287 vMZ3pLCIOzowLDrVJ9/DZ4blhdlC518FS5X3yIe9G5AV+3AuTcbV+4lku/v0WAd1 eatGJ/9GVHD8rlr+TpWNGMHb0hEKYt0cTHfcN6wRg4HmP6LlXCyFSy2+JHqM51EJ htBhroKDxkMcg7i6/zz/Objzbpjo9FEzZv6GW6BEmV8HZRwGawg01sWC+vsaebR+ y1J4W7knGnPYpX9TWusXtzMdFlLQpC1V6ZhsuoN4bhP5Fq6KBkkc10ETPS1S110p Zp53IHHgI6GCLeO8jmF5ZIbTQKsjeCpZL+yc+jTL5e2yX9n9i9n2TGkbbGt3JB5E MWv3NIGNt5cZ1Dq3C1I/zi9NoFjRFRHMnyh+g+hXuyH4+GlfYSaiAMR/LM/uSpxS Club3UOue5uAlW8kLrAQ6fE7aMw72qEhg3KWto3+PEzKabWh7jJgiWj92ggv2FD8 iiH1Ow67uvCRLeIwwNeErec9VfbrPTAcxBqJTlnvu3J6kGQYPU88m6YxOQgbXvFY YnGhJ2NEHpzaD2CNsZ8d =vGdZ -----END PGP SIGNATURE-----
--- End Message ---

