Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 916004 - media-video/obs-studio-9999[websocket]: Could NOT find qrcodegencpp (missing: qrcodegencpp_LIBRARY
Summary: media-video/obs-studio-9999[websocket]: Could NOT find qrcodegencpp (missing:...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Chiitoo
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-19 12:52 UTC by Kostadin Shishmanov
Modified: 2023-12-28 19:08 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build log (build.log,12.63 KB, text/x-log)
2023-10-19 12:52 UTC, Kostadin Shishmanov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kostadin Shishmanov 2023-10-19 12:52:26 UTC
Created attachment 873143 [details]
build log

media-video/obs-studio fails to build with the websocket USE flag



CMake Warning (dev) at cmake/Modules/Findqrcodegencpp.cmake:108 (message):
  Failed to find qrcodegencpp version.
Call Stack (most recent call first):
  plugins/obs-websocket/cmake/legacy.cmake:22 (find_package)
  cmake/Modules/ObsHelpers.cmake:470 (include)
  plugins/obs-websocket/CMakeLists.txt:3 (legacy_check)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
  Could NOT find qrcodegencpp (missing: qrcodegencpp_LIBRARY
  qrcodegencpp_INCLUDE_DIR) (found version "0.0.0")

      Reason given by package: Ensure that qrcodegencpp is installed on the system.

Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
  cmake/Modules/Findqrcodegencpp.cmake:135 (find_package_handle_standard_args)
  plugins/obs-websocket/cmake/legacy.cmake:22 (find_package)
  cmake/Modules/ObsHelpers.cmake:470 (include)
  plugins/obs-websocket/CMakeLists.txt:3 (legacy_check)


-- Configuring incomplete, errors occurred!
Comment 1 Chiitoo gentoo-dev 2023-10-19 14:54:47 UTC
Yep, noticed it a while ago, and already working on it (if somewhat slow-like).

Thank you for the report!
Comment 2 Chiitoo gentoo-dev 2023-10-24 17:15:34 UTC
This seems to be a bit more unfortunate than I thought.

The package that is expected, is a combination of two different upstreams, one with the actual tool [1], another with the CMake files [2].

The latter has attempted to upstream the CMake bits for over a year [3].

OBS Studio might use something different in the future, but no idea how far in there that might happen, if it happens [4].

1. https://github.com/nayuki/QR-Code-generator
2. https://github.com/EasyCoding/qrcodegen-cmake
3. https://github.com/nayuki/QR-Code-generator/pull/140
4. https://github.com/obsproject/obs-deps/pull/182#issuecomment-1632854879
Comment 3 Kostadin Shishmanov 2023-12-28 18:40:10 UTC
Fixed considering qr-code-generator is now in the gentoo repo.
Comment 4 Chiitoo gentoo-dev 2023-12-28 19:08:05 UTC
Ooopsies, 'someone' forgot to close this, yep...

Thank you!