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 4.6.4 fails build #1147

Closed
un2t opened this issue Mar 25, 2024 · 8 comments
Closed

[BUG] qBittorrent 4.6.4 fails build #1147

un2t opened this issue Mar 25, 2024 · 8 comments
Labels

Comments

@un2t
Copy link

un2t commented Mar 25, 2024

What happened?

Steps to reproduce:

  1. sudo box upgrade qbittorrent
  2. Choose 4.6.4 from the version list
  3. Error 'The cmake build of qbittorrent did not complete successfully'

Expected results: Apt install complete

Swizzin commit

6ac45d1

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 "Qt::CorePrivate" includes non-existent path

    "/usr/include/x86_64-linux-gnu/qt6/QtCore/6.4.2"

  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.
@un2t un2t added the bug label Mar 25, 2024
@AncientVamp
Copy link

Yep. getting the same error.

@insertfahim
Copy link

getting the same error on Debian 12

@wii747
Copy link

wii747 commented Mar 29, 2024

Debian 12 same error

CMake Error in src/base/CMakeLists.txt:
Imported target "Qt::CorePrivate" includes non-existent path

"/usr/include/x86_64-linux-gnu/qt6/QtCore/6.4.2"

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 "Qt::CorePrivate" includes non-existent path

"/usr/include/x86_64-linux-gnu/qt6/QtCore/6.4.2"

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.

@liaralabs
Copy link
Member

liaralabs commented Mar 30, 2024

It appears this is due to a dependency bump, which is a bit ridiculous considering this was a patch release:

OTHER: Minimum supported versions: Qt: 6.5, Boost: 1.76, OpenSSL: 3.0.2

Edit: this was incorrect -- these dependency changes are for the 5.0 beta which is a far more appropriate place for such big changes

@liaralabs
Copy link
Member

To follow up on this, it looks to be a potentially missing dependency. Debian faced the same packaging issue:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1067667

The problem is resolved with qt6-base-private-dev

I'm currently afk, so if anyone is eager to test recompiling after installing this dependency, please let me know how it goes.

@un2t
Copy link
Author

un2t commented Apr 7, 2024

hey liara

thanks for looking at this, deploying the dependency seem to resolve the compile issue for qbittorrent 4.6.4

when you are back behind the keyboard, would you please be so kind as to update the dependencies in swizzin to include qt6-base-private-dev ?

appreciate it!

@liaralabs
Copy link
Member

Thanks for the quick confirmation. I'll get a quick fix queued up for everyone when I have time (may be later today)

@liaralabs
Copy link
Member

This was fixed in 953e4c7

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

5 participants