Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 912309 - net-im/swift-4.0.2-r102 - /.../function_equal.hpp: error: no match for operator== (operand types are const boost::reference_wrappe
Summary: net-im/swift-4.0.2-r102 - /.../function_equal.hpp: error: no match for operat...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Conrad Kostecki
URL: https://github.com/boostorg/signals2/...
Whiteboard:
Keywords:
Depends on:
Blocks: boost-1.83
  Show dependency tree
 
Reported: 2023-08-15 17:21 UTC by Toralf Förster
Modified: 2024-07-21 14:59 UTC (History)
3 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,19.32 KB, text/plain)
2023-08-15 17:21 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,221.91 KB, text/plain)
2023-08-15 17:21 UTC, Toralf Förster
Details
environment (environment,112.42 KB, text/plain)
2023-08-15 17:21 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,784 bytes, application/x-xz)
2023-08-15 17:21 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,23.03 KB, application/x-xz)
2023-08-15 17:21 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,3.63 KB, application/x-xz)
2023-08-15 17:21 UTC, Toralf Förster
Details
net-im:swift-4.0.2-r102:20230815-114245.log (net-im:swift-4.0.2-r102:20230815-114245.log,151.64 KB, text/plain)
2023-08-15 17:21 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2023-08-15 17:21:22 UTC
too long lines were shrinked:

/usr/include/boost/function_equal.hpp:24:31:   required from 'bool boost::function_equal(const F&, const G&) [with F = reference_wrapper<signals2::signal<void(std::shared_ptr<Swift::Message>)> >; G = reference_wrapper<signals2::signal<void(std::shared_ptr<Swift::Message>)> >]'
/usr/include/boost/function/function_base.hpp:659:30:   required from 'bool boost::function_base::contains(const F&) const [with F = boost::reference_wrapper<boost::signals2::signal<void(std::shared_ptr<Swift::Message>)> >]'
/usr/include/boost/signals2/detail/signal_template.hpp:530:54:   required from 'void boost::signals2::detail::signal_impl<R(Args ...), Combiner, Group, GroupCompare, SlotFunction, ExtendedSlotFunction, Mutex>::do_disconnect(const T&, mpl_::bool_<false>) [with T = boost::reference_wrapper<boost::sign
/usr/include/boost/signals2/detail/signal_template.hpp:222:24:   required from 'void boost::signals2::detail::signal_impl<R(Args ...), Combiner, Group, GroupCompare, SlotFunction, ExtendedSlotFunction, Mutex>::disconnect(const T&) [with T = boost::reference_wrapper<boost::signals2::signal<void(std::
/usr/include/boost/signals2/detail/signal_template.hpp:718:29:   required from 'void boost::signals2::signal<R(Args ...), Combiner, Group, GroupCompare, SlotFunction, ExtendedSlotFunction, Mutex>::disconnect(const T&) [with T = boost::reference_wrapper<boost::signals2::signal<void(std::shared_ptr<Sw
Swiften/Component/CoreComponent.cpp:41:49:   required from here
/usr/include/boost/function_equal.hpp:17:14: error: no match for 'operator==' (operand types are 'const boost::reference_wrapper<boost::signals2::signal<void(std::shared_ptr<Swift::Message>)> >' and 'const boost::reference_wrapper<boost::signals2::signal<void(std::shared_ptr<Swift::Message>)> >')
   17 |   { return f == g; }
      |            ~~^~~~

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop-20230813-022654

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 16.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/16/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/16
16.0.6
Python 3.11.4
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.71.1
  [2]   rust-1.71.1 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 17.0.7_p7 [openjdk-bin-17]
2)	Eclipse Temurin JDK 8.372_p07 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17  system-vm

php cli (if any):
go version go1.21.0 linux/amd64

  HEAD of ::gentoo
commit 70ebcb7fe91ed1c365fff70523d7e696ee984b24
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Aug 15 10:01:35 2023 +0000

    2023-08-15 10:01:34 UTC

emerge -qpvO net-im/swift
[ebuild   R   ] net-im/swift-4.0.2-r102  USE="icu idn zeroconf -expat -lua -test" LUA_SINGLE_TARGET="lua5-1 -luajit"
Comment 1 Toralf Förster gentoo-dev 2023-08-15 17:21:23 UTC
Created attachment 867871 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-08-15 17:21:25 UTC
Created attachment 867872 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-08-15 17:21:26 UTC
Created attachment 867873 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-08-15 17:21:27 UTC
Created attachment 867874 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-08-15 17:21:28 UTC
Created attachment 867875 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-08-15 17:21:28 UTC
Created attachment 867876 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-08-15 17:21:30 UTC
Created attachment 867877 [details]
net-im:swift-4.0.2-r102:20230815-114245.log
Comment 8 Toralf Förster gentoo-dev 2023-08-15 17:21:31 UTC
The file size of ./files/temp.tar.xz is too big (5.6M) for an upload. For few weeks the link http://tinderbox.zwiebeltoralf.de:31560/17.1_desktop-20230813-022654/var/tmp/tb/issues/20230815-114353-net-im_swift-4.0.2-r102/files/temp.tar.xz is valid.
Comment 9 Conrad Kostecki gentoo-dev 2023-08-27 01:49:28 UTC
@sam: Any ideas for fixing this? Otherwise, I am considerung to last-rite it, since it's unmaintained by upstream for years.

The only consumer also seems to have plans to drop support for it:
https://github.com/SpectrumIM/spectrum2/pull/470
Comment 10 Andreas Sturmlechner gentoo-dev 2023-09-30 07:03:56 UTC
No progress upstream?
Comment 11 Toralf Förster gentoo-dev 2023-11-13 14:45:32 UTC
FWIW I do often get an aerror while trying to tar:
/var/tmp/portage/net-im/swift-4.0.3-r1/work/swift-swift-4.0.3/../../temp  

Maybe because of this? :


./temp # ls -l qt/
total 0
lrwxrwxrwx 1 portage portage 18 Nov 13 14:41 bin -> /usr/lib64/qt5/bin
lrwxrwxrwx 1 portage portage 16 Nov 13 14:41 include -> /usr/include/qt5
lrwxrwxrwx 1 portage portage 14 Nov 13 14:41 lib -> /usr/lib64/qt5

./temp # ls -l /usr/lib64/qt5/bin /usr/include/qt5 /usr/lib64/qt5
ls: cannot access '/usr/lib64/qt5/bin': No such file or directory
ls: cannot access '/usr/include/qt5': No such file or directory
ls: cannot access '/usr/lib64/qt5': No such file or directory
Comment 12 Larry the Git Cow gentoo-dev 2024-01-01 21:34:39 UTC
The bug has been referenced in the following commit(s):

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

commit 3aec425b48b36c3f7f7df6b053441bbecbbd0584
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2024-01-01 21:34:15 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2024-01-01 21:34:15 +0000

    dev-libs/boost: add patch for net-im/swift build failure
    
    Bug: https://github.com/boostorg/signals2/issues/70
    Bug: https://bugs.gentoo.org/912309
    Signed-off-by: David Seifert <soap@gentoo.org>

 ...{boost-1.84.0.ebuild => boost-1.84.0-r1.ebuild} |   6 +-
 .../boost/files/boost-1.84.0-signals2-patch1.patch | 124 +++++++++++++++++++++
 .../boost/files/boost-1.84.0-signals2-patch2.patch |  19 ++++
 3 files changed, 148 insertions(+), 1 deletion(-)
Comment 13 Conrad Kostecki gentoo-dev 2024-07-21 14:59:00 UTC
Closing here, as it's fixed.