Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] qBittorrent update error, wrong boost version in LibtorrentRasterbarTargets.cmake #1173

Open
siedenburg2 opened this issue Jun 23, 2024 · 0 comments
Labels

Comments

@siedenburg2
Copy link
Contributor

What happened?

With the new boost version I tried to check if everything is working as intended, after the box upgrade qbittorrent command I wanted to rebuild libtorrent only to get the attached error.

Tested three things and all worked:

  1. Have boost 1.75 and 1.85 in the opt directory
  2. Have boost 1.85 and boost 1.85 named as boost 1.75 in boost directory
  3. Change INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include;/opt/boost_1_75_0" to INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include;/opt/boost_1_85_0" in /usr/local/lib/cmake/LibtorrentRasterbar/LibtorrentRasterbarTargets.cmake

Got -- Found Boost: /opt/boost_1_85_0 (found suitable version "1.85.0", minimum required is "1.71") in the logs after the change to 1.85

Swizzin commit

b2be91e

What OS are you using?

Debian 12 (Bookworm)

What architecture is your OS?

amd64

Relevant logs and output

CMake Error in src/base/CMakeLists.txt:
  Imported target "LibtorrentRasterbar::torrent-rasterbar" includes
  non-existent path

    "/opt/boost_1_75_0"

  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.



CMake Error in src/base/CMakeLists.txt:
  Imported target "LibtorrentRasterbar::torrent-rasterbar" includes
  non-existent path

    "/opt/boost_1_75_0"

  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.



-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_C_FLAGS


CMake Generate step failed.  Build files cannot be regenerated correctly.
[Sun Jun 23 15:30:28] ERROR     The cmake build of qbittorrent did not complete successfully
[Sun Jun 23 15:30:28]   Please consult the above and/or check the log (less -R +G /root/logs/swizzin.log)
[Sun Jun 23 15:50:06] LOG       >>>> `box upgrade qbittorrent`
[Sun Jun 23 15:50:06] LOG       git @ b2be91e 2>&1
[Sun Jun 23 15:50:06] LOG       OS supported
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant