#1146292 libc4core-dev: cmake/c4core/c4coreConfig.cmake is unusable

Package:
libc4core-dev
Source:
libc4core-dev
Description:
low-latency, low-level C++ library (development files)
Submitter:
Sébastien Noel
Date:
2026-08-31 19:07:05 UTC
Severity:
normal
#1146292#5
Date:
2026-08-31 08:44:52 UTC
From:
To:
Dear maintainer,

Upstream dev makes a number of assumption on the filesystem layout,
that cause failure on Debian systems.
In practice it means that the cmake files can't be used when
the library is installed in multiarch dirs.

A simple
   find_package(c4core REQUIRED)

would fail with:
   CMake Error at /usr/lib/x86_64-linux-gnu/cmake/c4core/c4coreConfig.cmake:14 (message):
     File or directory /usr/lib/include/ referenced by variable
     C4CORE_INCLUDE_DIR does not exist !


One "hack"/simple-solution is to tweak the upstream's assumption
with a simple patch like the one in attachement

The same problem will exist in src:rapidyaml when upgraded,
as it use the same "c4Project.cmake" file from the same upstream

Cheers,
Sébastien -- waiting for to dust to settle to upgrade another piece
              of software that depends on src:rapidyaml

#1146292#12
Date:
2026-08-31 19:05:38 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
c4core, 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 1146292@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sébastien Noel <twolife@debian.org> (supplier of updated c4core 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)
Format: 1.8
Date: Mon, 31 Aug 2026 14:53:53 +0200
Source: c4core
Architecture: source
Version: 0.6.0-4
Distribution: unstable
Urgency: medium
Maintainer: Gabriel Barrantes <gabriel.barrantes.dev@outlook.com>
Changed-By: Sébastien Noel <twolife@debian.org>
Closes: 1146292
Changes:
 c4core (0.6.0-4) unstable; urgency=medium
 .
   * Team upload
   * Fix CMake files (Closes: #1146292)
Checksums-Sha1:
 ab8a117c2d1418dbd8f82b00e55e3f26e6993a2d 1592 c4core_0.6.0-4.dsc
 4c2961b6ebcf0bc1a1e29b43a872004cf3930969 8204 c4core_0.6.0-4.debian.tar.xz
 23124298e9d0a4feb84f7d725d5fa06793920b93 6612 c4core_0.6.0-4_amd64.buildinfo
Checksums-Sha256:
 08f9c541292aa3426b122d9b09f2c3d0c96468971cffddfd0b79abac3a92aa75 1592 c4core_0.6.0-4.dsc
 f969a5c1573c2751c8db11ec9b49606e46a659a7e2d86e8c91508e8ea2003a14 8204 c4core_0.6.0-4.debian.tar.xz
 84c6f726779f8a6ae6a675859e41b7587c091f6d9f112a330f0a4ad2a151e81c 6612 c4core_0.6.0-4_amd64.buildinfo
Files:
 3eed08e8e52f9414f1f9744f06ca879a 1592 libs optional c4core_0.6.0-4.dsc
 ae402f512b4c75724b2dd8b6c4691ab4 8204 libs optional c4core_0.6.0-4.debian.tar.xz
 7fa6863d7fc7aaafa1c97239d35c8382 6612 libs optional c4core_0.6.0-4_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iQFHBAEBCgAxFiEEdlP6my3wO8aMe9FCrKAIuMk0p9QFAmqVzWMTHHR3b2xpZmVA
ZGViaWFuLm9yZwAKCRCsoAi4yTSn1ASOB/9gg06e7AfimfgfC5jLKjdRX5gb09ZW
qJCTTPCkt86OF6FRcFiZvkU6eVF8dEsM9p1gJKVoVqUAQQkI7CE4EGA8iUN0GPN5
3o2LSQiM0dMMjcSFAduTtRSvn63j8Kv+nBMilafJprWxjLWEBVZlLYYwL4k0srLo
JRNcQDH6ql2inkxpw2stG7SRKLl3FkXCAxI5S/x9Bn2U0E7nNlA6aQXJh96L5IQC
2hfi/VpkYkmYosKMR95aYNZy1qxFbNzqZjsmniEJriKiTBYZJD/8PkNS5QbydSKt
PuPivJtynGXes2Br+IAyttxEVj5MBDPAwlWpVqIzGikH+gR+WdewWP3b
=cdZL
-----END PGP SIGNATURE-----