Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 718726 - net-im/dino depends on the wrong version of net-libs/libsignal-protocol-c
Summary: net-im/dino depends on the wrong version of net-libs/libsignal-protocol-c
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Andriy Utkin (RETIRED)
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2020-04-21 11:20 UTC by Alarig Le Lay
Modified: 2020-05-06 21:58 UTC (History)
2 users (show)

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


Attachments
Dino 0.1.0 diff (dino-0.1.0.ebuild.diff,407 bytes, patch)
2020-04-25 16:07 UTC, Maciej Barć
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alarig Le Lay 2020-04-21 11:20:28 UTC
Hi,

(the ouput has been voluntary shorted)

pikachu ~ # emerge -va net-im/dino

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ~] net-im/dino-0.1.0::gentoo  USE="gpg http omemo" 0 KiB

Total: 1 package (1 new), Size of downloads: 0 KiB

Would you like to merge these packages? [Yes/No] 

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) net-im/dino-0.1.0::gentoo
[…]
-- Found Qrencode: /usr/lib64/libqrencode.so (found version "4.0.2") 
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:146 (message):
  Could NOT find SignalProtocol: Found unsuitable version "2.3.3", but
  required is exact version "2.3.2" (found
  /usr/lib64/libsignal-protocol-c.so)
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:391 (_FPHSA_FAILURE_MESSAGE)
  cmake/FindSignalProtocol.cmake:9 (find_package_handle_standard_args)
  plugins/signal-protocol/CMakeLists.txt:35 (find_package)


-- Configuring incomplete, errors occurred!
See also "/var/tmp/portage/net-im/dino-0.1.0/work/dino-0.1.0_build/CMakeFiles/CMakeOutput.log".
 * ERROR: net-im/dino-0.1.0::gentoo failed (configure phase):
 *   cmake failed
 * 
 * Call stack:
 *     ebuild.sh, line  125:  Called src_configure
 *   environment, line 3071:  Called cmake-utils_src_configure
 *   environment, line  888:  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-im/dino-0.1.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=net-im/dino-0.1.0::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/net-im/dino-0.1.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-im/dino-0.1.0/temp/environment'.
 * Working directory: '/var/tmp/portage/net-im/dino-0.1.0/work/dino-0.1.0_build'
 * S: '/var/tmp/portage/net-im/dino-0.1.0/work/dino-0.1.0'

>>> Failed to emerge net-im/dino-0.1.0, Log file:

>>>  '/var/tmp/portage/net-im/dino-0.1.0/temp/build.log'

 * Messages for package net-im/dino-0.1.0:

 * ERROR: net-im/dino-0.1.0::gentoo failed (configure phase):
 *   cmake failed
 * 
 * Call stack:
 *     ebuild.sh, line  125:  Called src_configure
 *   environment, line 3071:  Called cmake-utils_src_configure
 *   environment, line  888:  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-im/dino-0.1.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=net-im/dino-0.1.0::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/net-im/dino-0.1.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-im/dino-0.1.0/temp/environment'.
 * Working directory: '/var/tmp/portage/net-im/dino-0.1.0/work/dino-0.1.0_build'
 * S: '/var/tmp/portage/net-im/dino-0.1.0/work/dino-0.1.0'

real	0m17.279s
user	0m13.472s
sys	0m3.414s

pikachu ~ # emerge -va net-im/dino::SwordArMor

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     UD~] net-libs/libsignal-protocol-c-2.3.2::gentoo [2.3.3::gentoo] 266 KiB
[ebuild  N    ~] net-im/dino-0.1.0::SwordArMor  USE="gpg http omemo" 0 KiB

Total: 2 packages (1 downgrade, 1 new), Size of downloads: 266 KiB

>>> Verifying ebuild manifests

>>> Emerging (1 of 2) net-libs/libsignal-protocol-c-2.3.2::gentoo
>>> Installing (1 of 2) net-libs/libsignal-protocol-c-2.3.2::gentoo

>>> Emerging (2 of 2) net-im/dino-0.1.0::SwordArMor
 * dino-0.1.0.tar.gz BLAKE2B SHA512 size ;-) ...                                                                                                                             [ ok ]
>>> Unpacking source...
>>> Unpacking dino-0.1.0.tar.gz to /var/tmp/portage/net-im/dino-0.1.0/work
>>> Source unpacked in /var/tmp/portage/net-im/dino-0.1.0/work
>>> Preparing source in /var/tmp/portage/net-im/dino-0.1.0/work/dino-0.1.0 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/net-im/dino-0.1.0/work/dino-0.1.0 ...
>>> Working in BUILD_DIR: "/var/tmp/portage/net-im/dino-0.1.0/work/dino-0.1.0_build"
cmake -C /var/tmp/portage/net-im/dino-0.1.0/work/dino-0.1.0_build/gentoo_common_config.cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DDISABLED_PLUGINS= -DVALA_EXECUTABLE=/usr/bin/valac-0.44 -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/net-im/dino-0.1.0/work/dino-0.1.0_build/gentoo_toolchain.cmake  /var/tmp/portage/net-im/dino-0.1.0/work/dino-0.1.0
loading initial cache file /var/tmp/portage/net-im/dino-0.1.0/work/dino-0.1.0_build/gentoo_common_config.cmake
-- The C compiler identification is GNU 9.3.0
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Enabled plugin: omemo
-- Enabled plugin: openpgp
-- Enabled plugin: http-files
-- Configuring Dino 0.1.0 with plugins: http-files, omemo, openpgp
-- Installation directory for architecture-independent files: /usr
-- Installation directory for architecture-dependent files: /usr
-- Installation directory for read-only architecture-independent data: /usr/share
-- Installation directory for user executables: /usr/bin
-- Installation directory for dino-specific data: /usr/share/dino
-- Installation directory for .appdata.xml files: /usr/share/metainfo
-- Installation directory for .desktop files: /usr/share/applications
-- Installation directory for .service files: /usr/share/dbus-1/services
-- Installation directory for icons: /usr/share/icons
-- Installation directory for C header files: /usr/include
-- Installation directory for object code libraries: /usr/lib64
-- Installation directory for locale files: /usr/share/locale
-- Installation directory for dino plugin object code files: /usr/lib64/dino/plugins
-- Installation directory for Vala API files: /usr/share/vala/vapi
-- Performing Test COMPILER_SUPPORTS_fdiagnostics_color
-- Performing Test COMPILER_SUPPORTS_fdiagnostics_color - Success
-- Performing Test COMPILER_SUPPORTS_Wall
-- Performing Test COMPILER_SUPPORTS_Wall - Success
-- Performing Test COMPILER_SUPPORTS_Wextra
-- Performing Test COMPILER_SUPPORTS_Wextra - Success
-- Performing Test COMPILER_SUPPORTS_Werror_format_security
-- Performing Test COMPILER_SUPPORTS_Werror_format_security - Success
-- Performing Test COMPILER_SUPPORTS_Wno_duplicate_decl_specifier
-- Performing Test COMPILER_SUPPORTS_Wno_duplicate_decl_specifier - Success
-- Performing Test COMPILER_SUPPORTS_Wno_unused_but_set_variable
-- Performing Test COMPILER_SUPPORTS_Wno_unused_but_set_variable - Success
-- Performing Test COMPILER_SUPPORTS_Wno_unused_function
-- Performing Test COMPILER_SUPPORTS_Wno_unused_function - Success
-- Performing Test COMPILER_SUPPORTS_Wno_unused_label
-- Performing Test COMPILER_SUPPORTS_Wno_unused_label - Success
-- Performing Test COMPILER_SUPPORTS_Wno_unused_parameter
-- Performing Test COMPILER_SUPPORTS_Wno_unused_parameter - Success
-- Performing Test COMPILER_SUPPORTS_Wno_unused_value
-- Performing Test COMPILER_SUPPORTS_Wno_unused_value - Success
-- Performing Test COMPILER_SUPPORTS_Wno_unused_variable
-- Performing Test COMPILER_SUPPORTS_Wno_unused_variable - Success
-- Performing Test COMPILER_SUPPORTS_Wno_discarded_qualifiers
-- Performing Test COMPILER_SUPPORTS_Wno_discarded_qualifiers - Success
-- Performing Test COMPILER_SUPPORTS_Wno_discarded_array_qualifiers
-- Performing Test COMPILER_SUPPORTS_Wno_discarded_array_qualifiers - Success
-- Performing Test COMPILER_SUPPORTS_Wno_deprecated_declarations
-- Performing Test COMPILER_SUPPORTS_Wno_deprecated_declarations - Success
-- Performing Test COMPILER_SUPPORTS_Wno_missing_braces
-- Performing Test COMPILER_SUPPORTS_Wno_missing_braces - Success
-- Found PkgConfig: x86_64-pc-linux-gnu-pkg-config (found version "0.29.2") 
-- Found GObject: /usr/lib64/libgobject-2.0.so (found version "2.60.7") 
-- Found Vala: /usr/bin/valac-0.44 (found suitable version "0.44.11", minimum required is "0.34") 
-- Found Gee: /usr/lib64/libgee-0.8.so (found version "0.20.2") 
-- Found GLib: /usr/lib64/libglib-2.0.so (found suitable version "2.60.7", minimum required is "2.38") 
-- Found SQLite3: /usr/lib64/libsqlite3.so (found version "3.31.1") 
-- Found GDKPixbuf2: /usr/lib64/libgdk_pixbuf-2.0.so (found version "2.40.0") 
-- Found GIO: /usr/lib64/libgio-2.0.so (found version "2.60.7") 
-- Found ICU: /usr/lib64/libicuuc.so (found suitable version "65.1", minimum required is "57") 
-- ALPN support enabled
-- Found GModule: /usr/lib64/libgmodule-2.0.so (found version "2.60.7") 
-- Found Gettext: /usr/bin/xgettext (found version "0.20.1") 
-- Found GTK3: /usr/lib64/libgtk-3.so (found suitable version "3.24.16", minimum required is "3.22") 
-- Found GDK3: /usr/lib64/libgdk-3.so (found version "3.24.16") 
-- Found Soup: /usr/lib64/libsoup-2.4.so (found version "2.66.4") 
-- Found GPGME: /usr/lib64/libgpgme.so (found version "1.13.0") 
-- Found GCrypt: /usr/lib64/libgcrypt.so (found version "1.8.5") 
-- Found Qrencode: /usr/lib64/libqrencode.so (found version "4.0.2") 
-- Found SignalProtocol: /usr/lib64/libsignal-protocol-c.so (found suitable exact version "2.3.2") 
-- <<< Gentoo configuration >>>
Build type      Gentoo
Install path    /usr
Compiler flags:
C               -O2 -pipe -march=native -mtune=native -fdiagnostics-color -Wall -Wextra -Werror=format-security -Wno-duplicate-decl-specifier -g
C++             
Linker flags:
Executable      -Wl,-O1 -Wl,--as-needed
Module          -Wl,-O1 -Wl,--as-needed
Shared          -Wl,-O1 -Wl,--as-needed

-- Configuring done
-- Generating done
-- Build files have been written to: /var/tmp/portage/net-im/dino-0.1.0/work/dino-0.1.0_build
>>> Source configured.
>>> Compiling source in /var/tmp/portage/net-im/dino-0.1.0/work/dino-0.1.0 ...
>>> Working in BUILD_DIR: "/var/tmp/portage/net-im/dino-0.1.0/work/dino-0.1.0_build"
ninja -v -j2 -l0
[1/593] cd /var/tmp/portage/net-im/dino-0.1.0/work/dino-0.1.0_build/qlite && echo -e "gee-0.8\nglib-2.0\ngobject-2.0\nsqlite3\n" > /var/tmp/portage/net-im/dino-0.1.0/work/dino-0.1.0_build/exports/qlite.deps
Comment 1 Maciej Barć gentoo-dev 2020-04-25 16:07:41 UTC
Created attachment 634552 [details, diff]
Dino 0.1.0 diff

=net-im/dino-0.1.0 should depend on =net-libs/libsignal-protocol-c-2.3.2
Comment 2 Larry the Git Cow gentoo-dev 2020-05-06 21:34:11 UTC
The bug has been referenced in the following commit(s):

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

commit 34dd372eed495a5b89ac458d3cf0382e45d684aa
Author:     Andrey Utkin <andrey_utkin@gentoo.org>
AuthorDate: 2020-05-06 21:30:44 +0000
Commit:     Andrey Utkin <andrey_utkin@gentoo.org>
CommitDate: 2020-05-06 21:33:41 +0000

    net-im/dino: fix net-libs/libsignal-protocol-c version
    
    Dino 0.1.0 requires strictly version 2.3.2 of this dependency.
    
    Bug: https://bugs.gentoo.org/718726
    Package-Manager: Portage-2.3.66, Repoman-2.3.16
    Signed-off-by: Andrey Utkin <andrey_utkin@gentoo.org>

 net-im/dino/dino-0.1.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 3 Andriy Utkin (RETIRED) gentoo-dev 2020-05-06 21:47:16 UTC
Thanks to Alarig and xgqt - it's great to see eager contributors! Have you considered becoming Gentoo devs?
Comment 4 Alarig Le Lay 2020-05-06 21:58:48 UTC
Well, seeing the modifications my ebuilds need before being merged, I don’t think that I’m skilled enough yet :)