Control: close -1
Control: tags -1 +wontfix +unreproducible

Hi,

On Tue, 19 Nov 2024 10:00:05 -0800 Jack <fuzzybotto...@gmail.com> wrote:
Package: libtag1-dev
Version: 1.13.1-1+b2
Severity: normal

Dear Maintainer,

I am trying to compile strawberry media player on testing. I get the following error when running cmake:

CMake Error at /usr/local/lib/cmake/taglib/taglib-targets.cmake:61
(set_target_properties):
----------------------------------------------------------
   The link interface of target "TagLib::tag" contains:

     ZLIB::ZLIB

   but the target was not found.  Possible reasons include:

     * There is a typo in the target name.
     * A find_package call is missing for an IMPORTED target.
     * An ALIAS target is missing.

Call Stack (most recent call first):
   /usr/local/lib/cmake/taglib/taglib-config.cmake:27 (include)
   CMakeLists.txt:202 (find_package)
----------------------------------------------------------

If I change /usr/local/lib/cmake/taglib/taglib-targets.cmake line 61 to:
----------------------------------------------------------
set_target_properties(TagLib::tag PROPERTIES
   INTERFACE_INCLUDE_DIRECTORIES
"${_IMPORT_PREFIX}/include;${_IMPORT_PREFIX}/include/taglib"
#  INTERFACE_LINK_LIBRARIES "ZLIB::ZLIB" <---- Commented out this line
)
----------------------------------------------------------
cmake runs fine, but then I get the error running make:
----------------------------------------------------------
[ 97%] Linking CXX executable strawberry
/usr/bin/ld: /usr/local/lib/libtag.a(tzlib.cpp.o): undefined reference to
symbol 'inflateEnd'
/usr/bin/ld: /usr/local/lib/libz.so.1: error adding symbols: DSO missing from
command line
collect2: error: ld returned 1 exit status
----------------------------------------------------------

If I compile it on Bookworm, it compiles and runs fine.

You have a local copy of taglib at /usr/local/. This is problematic,
unsupported, and not related to Debian. Please clean up your OS
(e.g., perform a reinstallation), ensure that no extra library exists
in /usr/local/, and try again.

This the errors are unrelated to Debian-shipped taglib library, I am
thus closing this bug.

If the issue persists after you have a clean, reinstalled environment,
please feel free to open a new bug report with step-by-step description
on how to reproduce the problem.

Thanks,
Boyuan Yang

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to