Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 768606 - net-misc/nextcloud-client-3.1.2 missing DEP on dev-qt/qtwebsockets
Summary: net-misc/nextcloud-client-3.1.2 missing DEP on dev-qt/qtwebsockets
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Bernard Cafarelli
URL:
Whiteboard:
Keywords:
: 768636 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-02-04 02:12 UTC by Francesco Riosa
Modified: 2021-02-04 16:49 UTC (History)
6 users (show)

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


Attachments
build.log + emerge --info.txt (build.log-emerge-info.txt,12.40 KB, text/plain)
2021-02-04 02:30 UTC, Ionen Wolkens
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Francesco Riosa 2021-02-04 02:12:03 UTC
When package dev-qt/qtwebsockets is not installed configuring net-misc/nextcloud-client fail with the following:


-- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success
CMake Error at /usr/lib64/cmake/Qt5/Qt5Config.cmake:28 (find_package):
  Could not find a package configuration file provided by "Qt5WebSockets"
  with any of the following names:

    Qt5WebSocketsConfig.cmake
    qt5websockets-config.cmake

  Add the installation prefix of "Qt5WebSockets" to CMAKE_PREFIX_PATH or set
  "Qt5WebSockets_DIR" to a directory containing one of the above files.  If
  "Qt5WebSockets" provides a separate development package or SDK, be sure it
  has been installed.
Call Stack (most recent call first):
  src/libsync/CMakeLists.txt:95 (find_package)


-- Configuring incomplete, errors occurred!
See also "/var/tmp/portage/net-misc/nextcloud-client-3.1.2/work/nextcloud-client-3.1.2_build/CMakeFiles/CMakeOutput.log".
 * ERROR: net-misc/nextcloud-client-3.1.2::gentoo failed (configure phase):
 *   cmake failed
 *
 * Call stack:
 *     ebuild.sh, line  125:  Called src_configure
 *   environment, line 3295:  Called cmake_src_configure
 *   environment, line 2107:  Called die
 * The specific snippet of code:
 *       "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed";
 *
 * If you need support, post the output of `emerge --info '=net-misc/nextcloud-client-3.1.2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=net-misc/nextcloud-client-3.1.2::gentoo'`.
 * The complete build log is located at '/var/log/portage/build/net-misc/nextcloud-client-3.1.2:20210204-020136.log.gz'.
 * The ebuild environment file is located at '/var/tmp/portage/net-misc/nextcloud-client-3.1.2/temp/environment'.
 * Working directory: '/var/tmp/portage/net-misc/nextcloud-client-3.1.2/work/nextcloud-client-3.1.2_build'
 * S: '/var/tmp/portage/net-misc/nextcloud-client-3.1.2/work/desktop-3.1.2'
 * After world updates, it is important to remove obsolete packages with
 * emerge --depclean. Refer to `man emerge` for more information.
Comment 1 Ionen Wolkens gentoo-dev 2021-02-04 02:30:45 UTC
Created attachment 685734 [details]
build.log + emerge --info.txt

Please attach full build.log and emerge --info's output for build failures in the future, even when it doesn't seem needed.
Comment 2 INODE64 Sistemas 2021-02-04 07:01:39 UTC
Same error .-( after install dev-qt/qtwebsockets compile fine
I see INOTIFY and PdfLatex are missing too

There is a fix to find INOTIFY -> https://github.com/nextcloud/desktop/issues/669

---------------------
>>> Unpacking source...
>>> Unpacking nextcloud-client-3.1.2.tar.gz to /var/tmp/portage/net-misc/nextcloud-client-3.1.2/work
>>> Source unpacked in /var/tmp/portage/net-misc/nextcloud-client-3.1.2/work
>>> Preparing source in /var/tmp/portage/net-misc/nextcloud-client-3.1.2/work/desktop-3.1.2 ...
 [32;01m*[0m Working in BUILD_DIR: "/var/tmp/portage/net-misc/nextcloud-client-3.1.2/work/nextcloud-client-3.1.2_build"
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/net-misc/nextcloud-client-3.1.2/work/desktop-3.1.2 ...
 [32;01m*[0m Working in BUILD_DIR: "/var/tmp/portage/net-misc/nextcloud-client-3.1.2/work/nextcloud-client-3.1.2_build"
cmake -C /var/tmp/portage/net-misc/nextcloud-client-3.1.2/work/nextcloud-client-3.1.2_build/gentoo_common_config.cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DSYSCONF_INSTALL_DIR=/etc -DCMAKE_INSTALL_DOCDIR=/usr/share/doc/nextcloud-client-3.1.2 -DCMAKE_DISABLE_FIND_PACKAGE_Sphinx=yes -DCMAKE_DISABLE_FIND_PACKAGE_KF5=yes -DNO_SHIBBOLETH=yes -DUNIT_TESTING=no -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/net-misc/nextcloud-client-3.1.2/work/nextcloud-client-3.1.2_build/gentoo_toolchain.cmake  /var/tmp/portage/net-misc/nextcloud-client-3.1.2/work/desktop-3.1.2
loading initial cache file /var/tmp/portage/net-misc/nextcloud-client-3.1.2/work/nextcloud-client-3.1.2_build/gentoo_common_config.cmake
-- The C compiler identification is GNU 9.3.0
-- The CXX compiler identification is GNU 9.3.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/lib/ccache/bin/x86_64-pc-linux-gnu-gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/lib/ccache/bin/x86_64-pc-linux-gnu-g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Build of crashreporter disabled.
9398260fb3742212fb98ee4c2b35c20b45dd9b6d
-- GIT_SHA1 9398260fb3742212fb98ee4c2b35c20b45dd9b6d
Compiling without updater
Compiling without shibboleth
CMake Warning (dev) at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:273 (message):
  The package name passed to `find_package_handle_standard_args` (INOTIFY)
  does not match the name of the calling package (INotify).  This can lead to
  problems in calling code that expects `find_package` result variables
  (e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
  cmake/modules/FindINotify.cmake:24 (find_package_handle_standard_args)
  CMakeLists.txt:189 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Could NOT find INOTIFY (missing: INOTIFY_LIBRARY_DIR) 
-- Could NOT find PdfLatex (missing: PDFLATEX_EXECUTABLE) 
-- Found OpenSSL: /usr/lib64/libcrypto.so (found suitable version "1.1.1i", minimum required is "1.1")  
-- Found ZLIB: /usr/lib64/libz.so (found version "1.2.11") 
-- Found PkgConfig: x86_64-pc-linux-gnu-pkg-config (found version "0.29.2") 
-- Found GLib2: /usr/lib64/libglib-2.0.so  
-- Checking for module 'gio-2.0'
--   Found gio-2.0, version 2.64.5
-- Found Gio libraries: /usr/lib64/libgio-2.0.so
-- Found Gio includes : /usr/include/glib-2.0/gio
================> LIBCLOUDPROVIDERS_LIBRARY-NOTFOUND
CMake Warning (dev) at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:273 (message):
  The package name passed to `find_package_handle_standard_args`
  (LIBCLOUDPROVIDERS) does not match the name of the calling package
  (Libcloudproviders).  This can lead to problems in calling code that
  expects `find_package` result variables (e.g., `_FOUND`) to follow a
  certain pattern.
Call Stack (most recent call first):
  cmake/modules/FindLibcloudproviders.cmake:22 (find_package_handle_standard_args)
  CMakeLists.txt:200 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Could NOT find LIBCLOUDPROVIDERS (missing: LIBCLOUDPROVIDERS_INCLUDE_DIR LIBCLOUDPROVIDERS_LIBRARY) 
-- Performing Test WITH_FPIC
-- Performing Test WITH_FPIC - Success
-- Performing Test WITH_STACK_PROTECTOR
-- Performing Test WITH_STACK_PROTECTOR - Success
-- Checking for module 'sqlite3'
--   Found sqlite3, version 3.33.0
-- Found SQLite3: /usr/lib64/libsqlite3.so (Required is at least version "3.8.0") 
-- Looking for argp.h
-- Looking for argp.h - found
-- Looking for asprintf
-- Looking for asprintf - found
-- Looking for fnmatch
-- Looking for fnmatch - found
-- Looking for timegm
-- Looking for timegm - found
-- Looking for strerror_r
-- Looking for strerror_r - found
-- Looking for utimes
-- Looking for utimes - found
-- Looking for lstat
-- Looking for lstat - found
-- Found SQLite3: /usr/lib64/libsqlite3.so;/usr/lib64/libsqlite3.so (Required is at least version "3.8.0") 
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success
CMake Error at /usr/lib64/cmake/Qt5/Qt5Config.cmake:28 (find_package):
  Could not find a package configuration file provided by "Qt5WebSockets"
  with any of the following names:

    Qt5WebSocketsConfig.cmake
    qt5websockets-config.cmake

  Add the installation prefix of "Qt5WebSockets" to CMAKE_PREFIX_PATH or set
  "Qt5WebSockets_DIR" to a directory containing one of the above files.  If
  "Qt5WebSockets" provides a separate development package or SDK, be sure it
  has been installed.
Call Stack (most recent call first):
  src/libsync/CMakeLists.txt:95 (find_package)


-- Configuring incomplete, errors occurred!
See also "/var/tmp/portage/net-misc/nextcloud-client-3.1.2/work/nextcloud-client-3.1.2_build/CMakeFiles/CMakeOutput.log".
Comment 3 Ionen Wolkens gentoo-dev 2021-02-04 10:29:55 UTC
*** Bug 768636 has been marked as a duplicate of this bug. ***
Comment 4 m.manico 2021-02-04 12:47:13 UTC
Can confirm missing dependency to dev-qt/qtwebsockets. After emerging dev-qt/qtwebsockets nextcloud-client-3.1.2 emerges successfully.
Comment 5 Dan Johansson 2021-02-04 14:06:26 UTC
After adding "dev-qt/qtwebsockets:5" to the dependency list nextcloud-client-3.1.2  emerges successfully.
Comment 6 Larry the Git Cow gentoo-dev 2021-02-04 16:49:02 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a07f39e16c87db10921647ba62253c0a4c15ba42

commit a07f39e16c87db10921647ba62253c0a4c15ba42
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2021-02-04 16:48:48 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2021-02-04 16:49:00 +0000

    net-misc/nextcloud-client: Adjusted dependencies
    
    Closes: https://bugs.gentoo.org/768606
    Package-Manager: Portage-3.0.14, Repoman-3.0.2
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

 net-misc/nextcloud-client/nextcloud-client-3.1.2.ebuild | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)