Your message dated Tue, 28 Oct 2025 08:34:11 +0000
with message-id <[email protected]>
and subject line Bug#1119138: fixed in flac 1.5.0+ds-5
has caused the Debian Bug report #1119138,
regarding regression: libflac-dev no longer enough for CMake find_package(FLAC)
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.)
--
1119138: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1119138
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libflac-dev
Version: 1.5.0+ds-4
Severity: serious
Tags: ftbfs
Control: affects -1 + src:libsdl3-mixer
Reproducible by attempting to build (for example)
libsdl3-mixer/experimental. This package Build-Depends on libflac-dev
and uses the C libFLAC, but does not use libFLAC++.
Expected result: it successfully detects libFLAC, as it did in the past.
Actual result (edited to remove blank lines):
>-- Found Vorbis: /usr/lib/x86_64-linux-gnu/libvorbisfile.so
>-- Using system vorbisfile
>CMake Error at /usr/lib/x86_64-linux-gnu/cmake/FLAC/targets.cmake:110
>(message):
> The imported target "FLAC::FLAC++" references the file
> "/usr/lib/x86_64-linux-gnu/libFLAC++.so.11.0.0"
> but this file does not exist. Possible reasons include:
> * The file was deleted, renamed, or moved to another location.
> * An install or uninstall procedure did not complete successfully.
> * The installation package was faulty and contained
> "/usr/lib/x86_64-linux-gnu/cmake/FLAC/targets.cmake"
> but not all the files it references.
>Call Stack (most recent call first):
> /usr/lib/x86_64-linux-gnu/cmake/FLAC/flac-config.cmake:42 (include)
> CMakeLists.txt:565 (find_package)
>-- Configuring incomplete, errors occurred!
I suspect that other packages like libsndfile will also be affected by
this issue, but I haven't tested others.
I see these options for how to resolve this:
1. libflac-dev contains development files for both FLAC and FLAC++.
libflac++-dev becomes an empty transitional package depending on
libflac-dev.
2. Keep libflac-dev and libflac++-dev separate.
Ask upstream to convert the FLAC::FLAC++ target into FLAC++::FLAC++
in its own CMake module, and install that into libflac++-dev. This
would be a breaking change for CMake users of FLAC++, which would now
have to use find_package(FLAC++). (But there are not many users of
libflac++, compared with users of libflac.)
3. Move the CMake files to libflac++-dev. This would partially revert
the fix for #1118470: dependent packages would be able to
find_package(FLAC) without supplying their own FindFLAC.cmake, but
only if they B-D on libflac++-dev, even if the only library they
actually wanted is the C libflac.
4. Somehow make the FLAC::FLAC++ target only be defined if the
appropriate library is actually installed (I don't know how feasible
this is, I don't know CMake very well).
5. (maybe others, I don't know CMake very well)
A superficial autopkgtest similar to libsdl3's debian/tests/cmake could
have detected this, and might be a good idea to have available to avoid
future regressions when changing the build system around.
Thanks,
smcv
--- End Message ---
--- Begin Message ---
Source: flac
Source-Version: 1.5.0+ds-5
Done: Fabian Greffrath <[email protected]>
We believe that the bug you reported is fixed in the latest version of
flac, 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.
Fabian Greffrath <[email protected]> (supplier of updated flac 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: Tue, 28 Oct 2025 09:07:32 +0100
Source: flac
Architecture: source
Version: 1.5.0+ds-5
Distribution: unstable
Urgency: medium
Maintainer: Debian Multimedia Maintainers <[email protected]>
Changed-By: Fabian Greffrath <[email protected]>
Closes: 1119138
Changes:
flac (1.5.0+ds-5) unstable; urgency=medium
.
* Let libflac-dev contain the development files for both libflac and
libflac++, turn libflac++-dev into a dummy package that depends on
libflac-dev (Closes: #1119138)
* Mark the flac package as Multi-Arch: foreign and let the
libflac-dev package depend on it, this is required when using
cmake
* Do not run dh_update_autotools_config and dh_autoreconf during
build
* Add obj-*/ to debian/clean
* Remove debian/not-installed, not necessary anymore
* Give up tracking mangled C++ symbols, use Upstream-Version for
libflac++11
Checksums-Sha1:
8164d044a885d1a9075ee7f92599b0f5cb7d12e4 2378 flac_1.5.0+ds-5.dsc
769f42b714742b0787df202abeba8750cb5e49cb 17856 flac_1.5.0+ds-5.debian.tar.xz
96bac5869a56155482680947282a5a4388f3400f 9458 flac_1.5.0+ds-5_amd64.buildinfo
Checksums-Sha256:
88b5adebad0a74009f3ecc1c1ba14a2fd1d0a82946fb6e4a4e29e315819861fe 2378
flac_1.5.0+ds-5.dsc
9dbd58f2b29652d570d6d8c8255bb124600e4f129b9e82ce02bcfcfb6e6f81be 17856
flac_1.5.0+ds-5.debian.tar.xz
659862309a7464ffc2cdba032653251d9c1145d0941ec1e1666c6f6cc67e98e3 9458
flac_1.5.0+ds-5_amd64.buildinfo
Files:
201c695b7cd06e3ab9da5501be4edf4a 2378 sound optional flac_1.5.0+ds-5.dsc
4221dccaf8805ca4999ea96d3059e6b0 17856 sound optional
flac_1.5.0+ds-5.debian.tar.xz
5010320edcb8e232dd93b6f651a5d8ec 9458 sound optional
flac_1.5.0+ds-5_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJGBAEBCgAwFiEEIsF2SKlSa4TfGRyWy+qOlwzNWd8FAmkAe9oSHGZhYmlhbkBk
ZWJpYW4ub3JnAAoJEMvqjpcMzVnfowgP/39umH/1u+f5b7VhiBqQXe5CvWxigx50
fLAPzH6i/FHkOy9cO8DwZGguqGOJBlvMo/d1diZHq+cpxMWUAIfhqaMcSSKVZXQb
rxXXfRmilqDA9Dt0qXqmCdpOHlTHM5tlYHkQ4/FevQRMB2mwV7DrANtLgz46STUR
kw+RXq+M9jrzaHy22avTl3X6x3pO1Kv6JIaD90JbPbsyq8SfT4djnbawrFw0m44o
Seb8++iDbDHL7S9IZqPH9n4oqzFJ0R9h52pHgv2x60ZI+dcFpQmS6yEtqRGqkLs4
snl+W9VyvfNJSmyNN0u68BG3+besmpAlTjnGMv6kTNT5MH941lmQJfNw+KtT0DQ6
8zFhy55iYyjuANCy2bynKBNo81B/quIHHPg0ZyujcjsWxTEfXft8ArOALzYbSmBu
dRLkZAbSjZKls42GmBEyFRHy2YmMbtWKwNt1KCZSuWH3TFKz//0yNpQ+GFgWKgHf
Tuk6RqABjbDU6lohdWBCqfPPjmpYsTIXcZBgt2V75joWar3GIFnxCeaEquJ+wDmW
j1WrtvoG8629iONOy+WnaK6vLTl/w34DPkl2pbXR9ecxN/+EnXWWDu5zN6JbPEqa
AN8uZQna9Yu+i2lKuwZAPZi5c8ejtvvMgydk9Itg35OMGGp2uukVzcE1O52qucm4
N2mjKw6JFlSI
=bl4r
-----END PGP SIGNATURE-----
pgp3b1up8GJ7h.pgp
Description: PGP signature
--- End Message ---