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

Bug#674469: marked as done (Test pkgconfig file location for multi-arch same packages)



Your message dated Mon, 26 Aug 2013 06:18:10 +0000
with message-id <E1VDq7u-0003xJ-Fs@franck.debian.org>
and subject line Bug#674469: fixed in lintian 2.5.17
has caused the Debian Bug report #674469,
regarding Test pkgconfig file location for multi-arch same packages
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.)


-- 
674469: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=674469
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: lintian
Version: 2.5.7
Severity: normal
Tags: patch

Please add a check for multi-arch same packages to check for pkgconfig .pc
files in /usr/lib/pkgconfig. They should be in /usr/lib/(triplet)/pkgconfig.

Inspired by bug #674215

Ivo
diff --git a/checks/shared-libs b/checks/shared-libs
index d7c0227..c10cd4b 100644
--- a/checks/shared-libs
+++ b/checks/shared-libs
@@ -590,6 +590,14 @@ if ($multiarch eq 'foreign' and $must_call_ldconfig) {
     tag 'shlib-in-multi-arch-foreign-package', $must_call_ldconfig;
 }
 
+if ($multiarch eq 'same') {
+	foreach my $file (@{$info->sorted_index}) {
+		if ($file =~ m;^usr/lib/pkgconfig/.*\.pc;) {
+			tag 'wrong-pkgconfig-file-in-multi-arch-same-package', $file;
+		}
+	}
+}
+
 if (-f $info->control('prerm')) {
     local $_ = slurp_entire_file($info->control('prerm'));
     if (/^[^\#]*\bldconfig\b/m) {
diff --git a/checks/shared-libs.desc b/checks/shared-libs.desc
index 7d13f39..fab1126 100644
--- a/checks/shared-libs.desc
+++ b/checks/shared-libs.desc
@@ -435,3 +435,11 @@ Certainty: certain
 Ref: https://wiki.ubuntu.com/MultiarchSpec
 Info: The package is marked as Multi-Arch: foreign, but it includes a shared
  library in a public library directory.
+
+Tag: wrong-pkgconfig-file-in-multi-arch-same-package
+Severity: normal
+Certainty: possible
+Ref: https://wiki.ubuntu.com/MultiarchSpec
+Info: The package is marked as Multi-Arch: same, but it includes a pkgconfig
+ .pc file in /usr/lib/pkgconfig. The .pc file should be installed in
+ /usr/lib/(triplet)/pkgconfig.

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

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 674469@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Niels Thykier <niels@thykier.net> (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: Mon, 26 Aug 2013 07:49:21 +0200
Source: lintian
Binary: lintian
Architecture: source all
Version: 2.5.17
Distribution: unstable
Urgency: low
Maintainer: Debian Lintian Maintainers <lintian-maint@debian.org>
Changed-By: Niels Thykier <niels@thykier.net>
Description: 
 lintian    - Debian package checker
Closes: 528975 674469 708482 719769 720835
Changes: 
 lintian (2.5.17) unstable; urgency=low
 .
   * Summary of tag changes:
     + Added:
       - apache2-unparsable-dependency
       - deprecated-configure-filename
       - doc-base-abstract-field-separator-extra-whitespace
       - doc-base-abstract-might-contain-extra-leading-whitespace
       - doc-base-file-separator-extra-whitespace
       - md5sums-lists-nonexistent-file
       - non-multi-arch-lib-dir
       - pkg-config-multi-arch-wrong-dir
     + Removed:
       - apache2-unparseable-dependency
       - doc-base-abstract-field-separator-extra-whitespaces
       - doc-base-abstract-might-contain-extra-leading-whitespaces
       - doc-base-file-separator-extra-whitespaces
       - md5sums-lists-nonexisting-file
 .
   * checks/apache2.{desc,pm}:
     + [JW,NT] Rename a tag for consistent spelling of
       "unparsable" in tag names.  The tag has no known
       overrides.
   * checks/automake.{desc,pm}:
     + [NT] Apply patch from Gautier Minster to detect
       usage of configure.in with automake.  Thanks to
       Paul Wise for the report.  (Closes: #708482)
   * checks/cruft.pm:
     + [NT] Avoid given/when which was demoted to an
       experimental feature.  (Closes: #720835)
   * checks/files.{desc,pm}:
     + [BR] Add check for architecture pkg-config files using
       multi-arch paths but being installed in a non-multi-arch
       location.  Thanks to Ivo De Decker for the report.
       (Closes: #674469)
     + [BR] Add check for using the old bi-arch directories
       (/usr/lib64) instead of multi-arch dirs.  Thanks to
       Kurt Roeckx for the report.  (Closes: #528975)
     + [BR] Remove "emul/" as a recognised top-level directory.
   * checks/md5sums.{desc,pm}:
     + [JW,NT] Rename a tag due to a typo in the tag name.
       The tag has no known overrides.
   * checks/menus.{desc,pm}:
     + [JW,NT] Rename tags due to a typo in their tag name.
       These tags have no known overrides.
   * checks/source-copyright.pm:
     + [NT] Avoid accidental use of an experimental feature.
 .
   * debian/control:
     + [NT] Add Build-Depends on aspell, aspell-en and
       libtest-spelling-perl.
 .
   * lib/Lintian/Tag/TextUtil.pm:
     + [NT] Prevent very long URLs from being split into two
       lines.  Thanks to Jari Aalto for the report.
       (Closes: #719769)
   * lib/Lintian/Util.pm:
     + [NT] Prefer paths without leading slash in the
       documentation for normalize_pkg_path.  Thanks to
       Kevin Ryde for spotting this inconsistency.
     + [NT] The first argument argument of normalize_pkg_path
       is now unconditionally normalized.  Furthermore, allow
       the function to be called with only one argument like
       Cwd::realpath.
 .
   * t/*:
     + [NT] Adapt several tests to work under perl 5.18.
Checksums-Sha1: 
 42f7f70773abf9fdbeae74574ede46e98492246a 2615 lintian_2.5.17.dsc
 0e28728468cabe19c3aae68d2231878f4d1b76d3 1260347 lintian_2.5.17.tar.gz
 4c81d98013ae0079fa4752b6f2a77c23c512f82c 692630 lintian_2.5.17_all.deb
Checksums-Sha256: 
 115e54c8f5c95e0dacafd2015ef7810939d3dbf6827a2cf357c2a678c2dcc400 2615 lintian_2.5.17.dsc
 ac62cc8d231552334d3786fc8f5aa1d21f75de7a5fa673dd1b38427a5eb0a138 1260347 lintian_2.5.17.tar.gz
 bdc77819c22ed6f431436cfe5f8185e1f3991e2e3f131fff60dbcdfea56be396 692630 lintian_2.5.17_all.deb
Files: 
 5f79142d61534988b5b7e3c7d598d0d7 2615 devel optional lintian_2.5.17.dsc
 2fcca93989b85e0b795cf8b17bbb5e22 1260347 devel optional lintian_2.5.17.tar.gz
 762a28cb085430f0a255da45bf5ff2b7 692630 devel optional lintian_2.5.17_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.14 (GNU/Linux)

iQIcBAEBCAAGBQJSGvBZAAoJEAVLu599gGRCGBsQAItlU23lT8PDJsauD2TRyxTS
pBm0v0arJaNoxc7QLVVsqr23KfZ+KGFDjhoS+bPIjhML7tbS4vlyIxk/EfPhtcNt
qm/WRnK0PIqAAswtqjxaQ6lHrzVF8OLl3uvfGSCurZ35D89Cb1pEYsGJYu9AK5gV
iRK9nMQUGwZ/De4w2R8jBAUgLasZz55raZBhWeQm3Sd6HWjDavzsFqTwn8dtlK9Q
ccHCKEAIts4BDnTJU3565wr0/gGPKTlPFlyNtiVLP/fnKtm5RWTky6PnJ3Y08MgA
oeUPQSU0e5fIBuVjmujvuya0NeSCpPInoL7nn5BYxpbqlA3iKvljbRBtRnX/7ZMz
PouSdu97kAjwZ0KdLmg7pPBxlUccfBo4URfdTEweBSVjWhqGlnO8lrwGKCcs1plY
8wVcyfFBgP3IDWxonSwDGra23bMReHeWoYKBq+i19OreaxpocJQzJC68bWGeZSQV
xMnkpAfmP0z5soi7VzYuvol/YWaHCyWgRIUFa3CtXSE8mU7vwFAK2FhM7uzCPsfp
Khw3rEqjHJthZVAx3i7wLGcFuSBp/2KrmDT2Zodoh3EdISeDYziTdga2zORlCYeM
R5gFM2F5d5MOSUq2Qg8Enhc/H32QnNz5NQBb9SXjO0DuGfhQ/sQhrQef39C4grYU
B3Eu0f1jI2nqm6G9bqRK
=xLS5
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: