Your message dated Fri, 31 May 2019 17:34:48 +0000
with message-id <[email protected]>
and subject line Bug#929792: fixed in pugixml 1.9-3
has caused the Debian Bug report #929792,
regarding libpugixml-dev: CMake fails to find pugixml library
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.)


-- 
929792: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=929792
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libpugixml-dev
Version: 1.9-2
Severity: normal

Dear Maintainer,

The libpugixml-dev package installs the file pugixml-config.cmake in the
/usr/share/libpugixml-dev/cmake/ folder.

It should be possible to find the pugixml library from CMake with

  find_package(pugixml)

Unfortunately, this path is not in the list of directories searched by
CMake (see [1]) 

It is still possible to find it, but it requires to set the pugixml_DIR
environment variable to /usr/share/libpugixml-dev/cmake or to pass
-Dpugixml_DIR=/usr/share/libpugixml-dev/cmake when running cmake.

Anyway, the file contains some unexistent paths
(/usr/lib/<triplet>/cmake/pugixml) and the number lines like this
get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
is wrong for the current path (4 instead of 3). As a consequence, the
_IMPORT_PREFIX variable becomes "/" and therefore the target location
points to /lib/x86_64-linux-gnu/libpugixml.so.1.9 instead of
/usr/lib/x86_64-linux-gnu/libpugixml.so.1.9, that is not a valid path
(unless usrmerge is installed but this is not the default yet)

A better places to install this file /usr/lib/<triplet>/cmake/pugixml

Thanks,
 Daniele

[1]https://cmake.org/cmake/help/v3.14/command/find_package.html#search-procedure

-- System Information:
Debian Release: 10.0
  APT prefers testing
  APT policy: (900, 'testing'), (500, 'stable'), (300, 'unstable'), (150, 
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-5-amd64 (SMP w/8 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libpugixml-dev depends on:
ii  libpugixml1v5  1.9-2

libpugixml-dev recommends no packages.

libpugixml-dev suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: pugixml
Source-Version: 1.9-3

We believe that the bug you reported is fixed in the latest version of
pugixml, 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.
Gianfranco Costamagna <[email protected]> (supplier of updated pugixml 
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: Fri, 31 May 2019 13:00:23 +0200
Source: pugixml
Binary: libpugixml1v5 libpugixml-dev pugixml-doc
Architecture: source
Version: 1.9-3
Distribution: unstable
Urgency: medium
Maintainer: Vasudev Kamath <[email protected]>
Changed-By: Gianfranco Costamagna <[email protected]>
Description:
 libpugixml-dev - Light-weight C++ XML processing library (development)
 libpugixml1v5 - Light-weight C++ XML processing library
 pugixml-doc - Light-weight C++ XML processing library (documentation)
Closes: 929792
Changes:
 pugixml (1.9-3) unstable; urgency=medium
 .
   * Team upload
   * Fixup dev package creation, cmake was put in wrong place
     (Closes: #929792)
Checksums-Sha1:
 cadb3c11a7ef5eed5f6368c1f22e2fd24b60917e 2013 pugixml_1.9-3.dsc
 a53320a6f56029fa92fe023823e21362adb0fc47 13064 pugixml_1.9-3.debian.tar.xz
 be00e37c20c1a3d44aece42b69820ad1f01fcf40 11420 pugixml_1.9-3_source.buildinfo
Checksums-Sha256:
 433513cd274cf0991069170a8c4e2aa3f75dcce2c2e5ffa72ceeff9c4e3f2b64 2013 
pugixml_1.9-3.dsc
 3b75771c2c185ce02cf6201b785edb95efd8e4622291154c69aa00894f2d76ed 13064 
pugixml_1.9-3.debian.tar.xz
 d666238b7c7418dd31315f2edc8261b0bd0663cb6275068ecb5f626e969b6e5d 11420 
pugixml_1.9-3_source.buildinfo
Files:
 0513749106cb3be8b3dd2744338929f0 2013 libs optional pugixml_1.9-3.dsc
 5d82505e8722c520fb5c780626c34f5f 13064 libs optional 
pugixml_1.9-3.debian.tar.xz
 123faa5bb4a1a2795aa0a8aa43c2bc02 11420 libs optional 
pugixml_1.9-3_source.buildinfo

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

iQIzBAEBCAAdFiEEkpeKbhleSSGCX3/w808JdE6fXdkFAlzxYi0ACgkQ808JdE6f
XdkaKg//agt+yb/I+Zj3ZFO0KmNgLjZe93UXCaVibXbsI0AGmMz9vXEqHUa1vrJH
DO6yFouwvw/PTruJcidxdoGu3iW8In8df8vQAF3mKCPJVJyA1t63kTKt+cssBYr6
TXdSKWItctwQrgfak7T2Om32N/XLYk3pErRMeVkyH00kHLWroVDbHQ6DfAd3gLKz
sgqBIiyPhZlcFoRHrxcqHdfyeOVTgmCHCztegIVGyaN2uO6Qf6cCtGd2qn7A67YI
oFgKdbB2Hwyg8VJ7Q8xhdymFMpI1+ZrQyiagiViiilmf4Vk3UvgtkiE1QkKL8LHt
DypcwAbL9vLkZtALBNYFkdPxh2FmySPfazHNljs4mHdO/er07GdMCJq3WWeKuOIM
rYU+fVLizyxleiYkd6qj6L+iy83AMVaqamDB187gAbKLfNo7gybiG/mlA3cG4hiv
G9DS7aUaWghsI6gxRQGr2ifAqYvCNrkR0MHIUlrDYca9crYRpj8x5GrvtTY9RrJ3
ylaji5EmfrUHmxWSCnGg85bdKqGbZvv3HMj7MH6KUe29PTRO/Vdfyekf2FbOKNPL
lgRA63OgVyy17EOIHozCsN2rVjCdUhuyOrAS5WyaZE6MMCQfawm6fHRxp5FqHYY0
ndsMUSyalreoZNEO1pkKt3Hx/zOxubpfeBxAu68I2+VARsIZAQo=
=e3Ly
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to