Your message dated Thu, 02 Apr 2026 09:05:10 +0000
with message-id <[email protected]>
and subject line Bug#1130914: fixed in pupnp 1:1.18.4-1
has caused the Debian Bug report #1130914,
regarding pupnp: Triggers CMake errors due to listing non-existent excess paths
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.)


-- 
1130914: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1130914
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: pupnp
Version: 1:1.14.25-1
Severity: important
Tags: patch upstream
Control: forwarded -1 https://github.com/pupnp/pupnp/pull/534

Dear Maintainer,

I am currently working on an updated version of the amule package which
normally build-depends on libupnp-dev. When trying such a build,
setting up the build environment using pbuilder/cowbuilder fails with
various messages like:

   CMake Error in src/CMakeLists.txt:
     Imported target "UPNP::Shared" includes non-existent path
       "/usr/COMPONENT"
     in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:
     * The path was deleted, renamed, or moved to another location.
     * An install or uninstall procedure did not complete successfully.
     * The installation package was faulty and references files it does not
     provide.

See pipeline on Salsa [1] for a complete picture.

These errors are caused by a malformed INTERFACE_INCLUDE_DIRECTORIES
statement in /usr/lib/*/cmake/UPNP/UPNP.cmake at line 73. In addition,
exactly the same malformed statement exists in
/usr/lib/*/IXML/IXML.cmake again at line 73.

These malformed statements are originating from invalid use of
'install(TARGETS ... INCLUDES DESTINATION ...)' in source files
upnp/CMakeLists.txt [2] + [3] and ixml/CMakeLists.txt [4] + [5].
INCLUDES DESTINATION does not know artifact options like COMPONENT but
solely directories [6].

I reported the issue upstream. Though, upstream seems to be hesitant to
accept my pull request [7].

I prepared patches to fix this in Debian for versions 1:1.14.25-1 and 
1:1.18.0-1 of pupnp. Please find the patches attached, ready to be
imported with 'quilt import ...'. A patched local build of pupnp
1:1.14.25-1 enabled a successful local build of the amule package under
development. It would be great patched versions 1:1.14.25-2 and
1:1.18.0-2 of pupnp would show up in the repo.

Best,
Sven

[1] https://salsa.debian.org/sge/amule/-/jobs/9235504#L2703 ff.
[2] https://sources.debian.org/src/pupnp/1%3A1.14.25-1/upnp/CMakeLists.txt#L159 
+ L160
[3] https://sources.debian.org/src/pupnp/1%3A1.14.25-1/upnp/CMakeLists.txt#L218 
+ L219
[4] https://sources.debian.org/src/pupnp/1%3A1.14.25-1/ixml/CMakeLists.txt#L60 
+ L61
[5] https://sources.debian.org/src/pupnp/1%3A1.14.25-1/ixml/CMakeLists.txt#L109 
+ L110
[6] https://cmake.org/cmake/help/v4.0/command/install.html#signatures
[7] https://github.com/pupnp/pupnp/pull/534

-- System Information:
Debian Release: forky/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 6.18.9+deb14-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8),
LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

-- 
GPG Fingerprint
3DF5 E8AA 43FC 9FDF D086 F195 ADF5 0EDA F8AD D585
Description: Fix usage of INCLUDES DESTINATION
 In ixml/CMakeLists.txt and upnp/CMakeLists.txt:
 INCLUDES DESTINATION is not an <artifact-kind> and thus does not come with
 <artifact-option>s like e.g. COMPONENT. At least with cmake 4, the strings
 up to the next <artifact-kind> get considered as paths which do not exist,
 resulting in invalid 'INTERFACE_INCLUDE_DIRECTORIES ...' lines in the
 generated files /usr/lib/*/cmake/IXML/IXML.cmake and
 /usr/lib/*/cmake/UPNP/UPNP.cmake.
 .
 This patch drops the false 'COMPONENT UPNP_Development' lines. As a
 saveguard the remaining 'INCLUDES DESTINATION...' lines are moved to the
 end of the respective invocation of 'install(TARGET...)' as the cmake
 manual suggests, see
 https://cmake.org/cmake/help/v4.0/command/install.html#signatures. 
Author: Sven Geuer <[email protected]>
Origin: backport, https://github.com/pupnp/pupnp/pull/534
Forwarded: not-needed
Last-Update: 2026-03-13
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/ixml/CMakeLists.txt
+++ b/ixml/CMakeLists.txt
@@ -57,8 +57,6 @@
 		EXPORT IXML
 		ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
 			COMPONENT UPNP_Development
-		INCLUDES DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/upnp
-			COMPONENT UPNP_Development
 		LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
 			COMPONENT UPNP_RunTime
 			NAMELINK_COMPONENT UPNP_Development
@@ -66,6 +64,7 @@
 			COMPONENT UPNP_Development
 		RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
 			COMPONENT UPNP_RunTime
+		INCLUDES DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/upnp
 	)
 endif()
 
@@ -106,8 +105,6 @@
 		EXPORT IXML
 		ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
 			COMPONENT UPNP_Development
-		INCLUDES DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/upnp
-			COMPONENT UPNP_Development
 		LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
 			COMPONENT UPNP_RunTime
 			NAMELINK_COMPONENT UPNP_Development
@@ -115,6 +112,7 @@
 			COMPONENT UPNP_Development
 		RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
 			COMPONENT UPNP_RunTime
+		INCLUDES DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/upnp
 	)
 endif()
 
--- a/upnp/CMakeLists.txt
+++ b/upnp/CMakeLists.txt
@@ -156,8 +156,6 @@
 		EXPORT UPNP
 		ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
 			COMPONENT UPNP_Development
-		INCLUDES DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/upnp
-			COMPONENT UPNP_Development
 		LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
 			COMPONENT UPNP_RunTime
 			NAMELINK_COMPONENT UPNP_Development
@@ -165,6 +163,7 @@
 			COMPONENT UPNP_Development
 		RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
 			COMPONENT UPNP_RunTime
+		INCLUDES DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/upnp
 	)
 endif()
 
@@ -215,8 +214,6 @@
 		EXPORT UPNP
 		ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
 			COMPONENT UPNP_Development
-		INCLUDES DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/upnp
-			COMPONENT UPNP_Development
 		LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
 			COMPONENT UPNP_RunTime
 			NAMELINK_COMPONENT UPNP_Development
@@ -224,6 +221,7 @@
 			COMPONENT UPNP_Development
 		RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
 			COMPONENT UPNP_RunTime
+		INCLUDES DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/upnp
 	)
 endif()
 
Description: Fix usage of INCLUDES DESTINATION
 In ixml/CMakeLists.txt and upnp/CMakeLists.txt:
 INCLUDES DESTINATION is not an <artifact-kind> and thus does not come with
 <artifact-option>s like e.g. COMPONENT. At least with cmake 4, the strings
 up to the next <artifact-kind> get considered as paths which do not exist,
 resulting in invalid 'INTERFACE_INCLUDE_DIRECTORIES ...' lines in the
 generated files /usr/lib/*/cmake/IXML/IXML.cmake and
 /usr/lib/*/cmake/UPNP/UPNP.cmake.
 .
 This patch drops the false 'COMPONENT UPNP_Development' lines. As a
 saveguard the remaining 'INCLUDES DESTINATION...' lines are moved to the
 end of the respective invocation of 'install(TARGET...)' as the cmake
 manual suggests, see
 https://cmake.org/cmake/help/v4.0/command/install.html#signatures. 
Author: Sven Geuer <[email protected]>
Origin: backport, https://github.com/pupnp/pupnp/pull/534
Forwarded: not-needed
Last-Update: 2026-03-13
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/ixml/CMakeLists.txt
+++ b/ixml/CMakeLists.txt
@@ -58,9 +58,6 @@
 		EXPORT IXML
 		ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
 			COMPONENT UPNP_Development
-		INCLUDES
-		DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/upnp
-		COMPONENT UPNP_Development
 		LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
 			COMPONENT UPNP_RunTime
 			NAMELINK_COMPONENT UPNP_Development
@@ -68,6 +65,7 @@
 				COMPONENT UPNP_Development
 		RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
 			COMPONENT UPNP_RunTime
+		INCLUDES DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/upnp
 	)
 endif()
 
@@ -111,9 +109,6 @@
 		EXPORT IXML
 		ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
 			COMPONENT UPNP_Development
-		INCLUDES
-		DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/upnp
-		COMPONENT UPNP_Development
 		LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
 			COMPONENT UPNP_RunTime
 			NAMELINK_COMPONENT UPNP_Development
@@ -121,6 +116,7 @@
 				COMPONENT UPNP_Development
 		RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
 			COMPONENT UPNP_RunTime
+		INCLUDES DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/upnp
 	)
 endif()
 
--- a/upnp/CMakeLists.txt
+++ b/upnp/CMakeLists.txt
@@ -163,9 +163,6 @@
 		EXPORT UPNP
 		ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
 			COMPONENT UPNP_Development
-		INCLUDES
-		DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/upnp
-		COMPONENT UPNP_Development
 		LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
 			COMPONENT UPNP_RunTime
 			NAMELINK_COMPONENT UPNP_Development
@@ -173,6 +170,7 @@
 				COMPONENT UPNP_Development
 		RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
 			COMPONENT UPNP_RunTime
+		INCLUDES DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/upnp
 	)
 endif()
 
@@ -230,9 +228,6 @@
 		EXPORT UPNP
 		ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
 			COMPONENT UPNP_Development
-		INCLUDES
-		DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/upnp
-		COMPONENT UPNP_Development
 		LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
 			COMPONENT UPNP_RunTime
 			NAMELINK_COMPONENT UPNP_Development
@@ -240,6 +235,7 @@
 				COMPONENT UPNP_Development
 		RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
 			COMPONENT UPNP_RunTime
+		INCLUDES DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/upnp
 	)
 endif()
 

Attachment: signature.asc
Description: This is a digitally signed message part


--- End Message ---
--- Begin Message ---
Source: pupnp
Source-Version: 1:1.18.4-1
Done: Sebastian Ramacher <[email protected]>

We believe that the bug you reported is fixed in the latest version of
pupnp, 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.
Sebastian Ramacher <[email protected]> (supplier of updated pupnp 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: SHA512

Format: 1.8
Date: Thu, 02 Apr 2026 10:55:36 +0200
Source: pupnp
Architecture: source
Version: 1:1.18.4-1
Distribution: experimental
Urgency: medium
Maintainer: Debian Multimedia Maintainers <[email protected]>
Changed-By: Sebastian Ramacher <[email protected]>
Closes: 1130914
Changes:
 pupnp (1:1.18.4-1) experimental; urgency=medium
 .
   * New upstream version 1.18.4
     - Fix cmake export (Closes: #1130914)
Checksums-Sha1:
 4e69ebecfa0400e96d27fce833be97da66c2d46a 1718 pupnp_1.18.4-1.dsc
 634e446357e34d9af67fe799508cbaac547d3982 831842 pupnp_1.18.4.orig.tar.gz
 857841d690842a2b3efce1a04ccc03256a3d269b 14060 pupnp_1.18.4-1.debian.tar.xz
 2d8fd53666d83713452673fe8a83c2df5dd2f430 9651 pupnp_1.18.4-1_amd64.buildinfo
Checksums-Sha256:
 873be6bfc1d29af83adb51c498ee210aef5387611895d6e1f891499b9678562c 1718 
pupnp_1.18.4-1.dsc
 855502aa87123e275ceab89a999161b8d631f99fd7b93e4151eba77a29ae666d 831842 
pupnp_1.18.4.orig.tar.gz
 465e20aaffa440b7d626ab9c2475e3edbafbe89f94259e12934b9cc71d870e37 14060 
pupnp_1.18.4-1.debian.tar.xz
 e019920583105a656d0c6044895bb8dea40fc73391077c1a3da602139592435a 9651 
pupnp_1.18.4-1_amd64.buildinfo
Files:
 820da8887a8843db36691aba8de6164d 1718 net optional pupnp_1.18.4-1.dsc
 0524f649cfca8e0a45ac2f715fb0c8a8 831842 net optional pupnp_1.18.4.orig.tar.gz
 02a9a9b03544af187576cb82b1284590 14060 net optional 
pupnp_1.18.4-1.debian.tar.xz
 ff3f30ace56f6f7c60bcc98d91d6b37e 9651 net optional 
pupnp_1.18.4-1_amd64.buildinfo


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

wr0EARYKAG8FgmnOL9MJECGTazZgD82JRxQAAAAAAB4AIHNhbHRAbm90YXRpb25z
LnNlcXVvaWEtcGdwLm9yZzB9DO4QR1Yi5yMqmo8/gRvGonUJrElTVu4tdwuMHFzF
FiEEQmJ+hB2ZZ9qD4fqQIZNrNmAPzYkAAMuCAQClQDGlHTwFHIjKzpXv5ttNPugE
GkWYFeJGfG3TILcEZgEAiPgavs7nA9U4akF5jgu7anBW9xuAjT1OkfkBOlSL3Qk=
=sKc/
-----END PGP SIGNATURE-----

Attachment: pgprb9My2ftxO.pgp
Description: PGP signature


--- End Message ---

Reply via email to