[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#733598: marked as done (lintian: Warn about packages shipping config.h in /usr/include/foo)



Your message dated Fri, 27 Dec 2019 19:19:46 +0000
with message-id <E1ikv9G-000AXb-V6@fasolo.debian.org>
and subject line Bug#733598: fixed in lintian 2.43.0
has caused the Debian Bug report #733598,
regarding lintian: Warn about packages shipping config.h in /usr/include/foo
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 owner@bugs.debian.org
immediately.)


-- 
733598: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=733598
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: lintian
Severity: wishlist

Some packages ship an autotools config.h in /usr/include/foo/config.h

Here is a list of such packages:

http://packages.debian.org/search?searchon=contents&keywords=config.h&mode=exactfilename&suite=stable&arch=any

This can cause problems if one autotools-based package A builds by using
a dev package from another package B.  Specifically, situations arise
where config.h from A and B are both included in the same compiler
invocation and warnings are generated about redefinitions of PACKAGE_NAME

Here is an example:

https://buildd.debian.org/status/fetch.php?pkg=resiprocate&arch=i386&ver=1.9.0~beta8-5&stamp=1388333982

In file included from dtls_wrapper/DtlsSocket.hxx:2:0,
                 from FlowDtlsSocketContext.hxx:15,
                 from FlowDtlsSocketContext.cxx:14:
../config.h:105:0: warning: "PACKAGE_NAME" redefined [enabled by default]
 #define PACKAGE_NAME "resiprocate"
 ^
In file included from /usr/include/srtp/aes.h:49:0,
                 from /usr/include/srtp/prng.h:14,
                 from /usr/include/srtp/crypto_kernel.h:50,
                 from /usr/include/srtp/srtp.h:53,
                 from FlowDtlsSocketContext.hxx:12,
                 from FlowDtlsSocketContext.cxx:14:
/usr/include/srtp/config.h:125:0: note: this is the location of the previous definition
 #define PACKAGE_NAME ""
 ^


In this case, it is a build of resiprocate, and the dependency package libsrtp0-dev is providing a rogue config.h in /usr/include/srtp/config.h

--- End Message ---
--- Begin Message ---
Source: lintian
Source-Version: 2.43.0

We believe that the bug you reported is fixed in the latest version of
lintian, 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 733598@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Chris Lamb <lamby@debian.org> (supplier of updated lintian 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: Fri, 27 Dec 2019 18:28:08 +0000
Source: lintian
Architecture: source
Version: 2.43.0
Distribution: unstable
Urgency: medium
Maintainer: Debian Lintian Maintainers <lintian-maint@debian.org>
Changed-By: Chris Lamb <lamby@debian.org>
Closes: 528001 733598 947115 947269
Changes:
 lintian (2.43.0) unstable; urgency=medium
 .
   * Summary of tag changes:
     + Added:
       - obsolete-commands-in-modprobe.d-file
       - package-name-defined-in-config-h
       - unused-entry-in-debian-source-include-binaries
 .
   [ Felix Lechner ]
   * Allow curly braces in $@ for the dh-sequencer tag.
     (Closes: #947115)
   * Fix the tag description of the no-dh-sequencer tag. (Closes: #947269)
   * Add a check for PACKAGE_NAME in config.h C/C++ include files.
     (Closes: #733598)
   * Add add check for unused entries in debian/source/include-binaries.
     (Closes: #528001)
   * Look for COM (not COFF) binaries when warning against Windows
     executables in sources. See #913867 for more info.
 .
   [ Chris Lamb ]
   * Add missing tag summaries to older debian/changelog entries and fix the
     generate-tag-summary script to match our newer style of changelog entry
     placeholder in the future.
 .
   [ Topi Miettinen ]
   * Check for obsolete "install" or "remove" commands in modprobe.d files.
Checksums-Sha1:
 88a53a64727a5e66e43eb43481aa9a5b0dab96a6 4101 lintian_2.43.0.dsc
 a4edeb665e026718f30c683beec5c8700605ed9a 1866064 lintian_2.43.0.tar.xz
 f9a2de2486e04649de640831fcb276887ac02312 17077 lintian_2.43.0_amd64.buildinfo
Checksums-Sha256:
 4799707384b02cfc7bb60433c31b9dce935fab4e8d5b0fb016fd7dd41932fdc2 4101 lintian_2.43.0.dsc
 fae21aca5d30d62685cd27454f5b817adeef6394e094387c667ea5bc4a493dfc 1866064 lintian_2.43.0.tar.xz
 b87c3831b3cb3d1a95bb5e1f58ecde1e18cb07b31bfff391815706fd53cdbe2d 17077 lintian_2.43.0_amd64.buildinfo
Files:
 3b5b6171b3a7bf20a2597773f547f61d 4101 devel optional lintian_2.43.0.dsc
 b4b343e5f2074d202cbbdc57ebcb9419 1866064 devel optional lintian_2.43.0.tar.xz
 45ef10f75da650c2ec756a107028809a 17077 devel optional lintian_2.43.0_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEwv5L0nHBObhsUz5GHpU+J9QxHlgFAl4GV0YACgkQHpU+J9Qx
HliSJA//YYGKjKqiebOcG9ULzdqlcAebagfFvkcNSQF4zk4wjXEJQ1ajEgyTlwzm
ZltV24huRkA18mV/9FWAm/ERfFNDPkbDEW04UX3uedLUusbJ4kOwjhuLWH2mmbOo
QK0NsqpJ5oNS/MuVVivj3m+6syZS/IQmqxP6y4RbZMoEUPuX+3qaQ+ypw+3WA0YS
H9zsjRucN5+cjq1K6COZz0hH29oYlR34lRNN9JFpvX1LottbykHRaMPhVeUMk6mH
hBZmDbfCxEu05vnhpYoimwVn5dUvpVrnHcaeU7drhovnt0notEmiu+g5+xUlgPHI
Om9bYNdDHHMX6Vh6RykHfIsodxw+37y9/hi5GCkzXNpW4klpzGCZMwQ2cXv/6GMD
qEqP+/9Y2l39MTJhtCblA1HxeBZpY1MxdSETS8NWH6/+bh4dYb/CyYWpQfAqff/C
OLAqD+jyNjoTFNVRV1XMpC4v6mYBHgnjVifwiHR+ucWhaqqjJ6M1GpFxe3ygS0fo
T7jVPT7t/OZuKMGzSW8995A+9IeOwSodJp0tXABSp/u6mBQr+9ROhXzq8SGpKcUT
PVHdxJXLUK3+ubICfEDklt/PTEaeMy6uZ9mxsWqovzPlP4zi8HyOxAaX19WMQole
mPzLLcShCfxh5mtXDtiBZIlfi60J+AdPu9lH2s7dgNgOVBJDrXs=
=BHln
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: