Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 683424 - net-im/swift-4.0.2-r1 : Swiften/.../PlatformNATTraversalWorker.cpp:160:58: error: no match for operator<< (operand types are std::basic_ostream<char> and boost::logic::tribool )
Summary: net-im/swift-4.0.2-r1 : Swiften/.../PlatformNATTraversalWorker.cpp:160:58: er...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Conrad Kostecki
URL: https://github.com/swift/swift/commit...
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: boost-1.71
  Show dependency tree
 
Reported: 2019-04-15 21:13 UTC by Toralf Förster
Modified: 2019-04-16 11:04 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.42 KB, text/plain)
2019-04-15 21:13 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,66.62 KB, text/plain)
2019-04-15 21:13 UTC, Toralf Förster
Details
environment (environment,96.25 KB, text/plain)
2019-04-15 21:13 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,10.34 KB, application/x-bzip)
2019-04-15 21:13 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,2.57 KB, application/x-bzip)
2019-04-15 21:13 UTC, Toralf Förster
Details
net-im:swift-4.0.2-r1:20190415-203834.log (net-im:swift-4.0.2-r1:20190415-203834.log,810.90 KB, text/plain)
2019-04-15 21:13 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,36.98 KB, application/x-bzip)
2019-04-15 21:14 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 2019-04-15 21:13:40 UTC
                                                                                                                                                                 ^
Swiften/Network/PlatformNATTraversalWorker.cpp: In member function 'Swift::NATTraversalInterface* Swift::PlatformNATTraversalWorker::getNATTraversalInterface() const':
Swiften/Network/PlatformNATTraversalWorker.cpp:160:58: error: no match for 'operator<<' (operand types are 'std::basic_ostream<char>' and 'boost::logic::tribool')
     SWIFT_LOG(debug) << "UPnP NAT traversal supported: " << miniUPnPSupported << std::endl;
Swiften/Network/PlatformNATTraversalWorker.cpp:160:58: note: candidate: 'operator<<(int, int)' <built-in>
Swiften/Network/PlatformNATTraversalWorker.cpp:160:58: note:   no known conversion for argument 2 from 'boost::logic::tribool' to 'int'

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-systemd_20190414-152222

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

  Please see the tracker bug for details.

gcc-config -l:
 [1] x86_64-pc-linux-gnu-8.3.0 *

Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems)
  [3]   ruby26 (with Rubygems) *




emerge -qpvO net-im/swift
[ebuild   R   ] net-im/swift-4.0.2-r1  USE="icu idn -client -expat -gconf -lua -spell -test -zeroconf"
Comment 1 Toralf Förster gentoo-dev 2019-04-15 21:13:43 UTC
Created attachment 572988 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-04-15 21:13:46 UTC
Created attachment 572990 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2019-04-15 21:13:49 UTC
Created attachment 572992 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2019-04-15 21:13:51 UTC
Created attachment 572994 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2019-04-15 21:13:54 UTC
Created attachment 572996 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-04-15 21:13:57 UTC
Created attachment 572998 [details]
net-im:swift-4.0.2-r1:20190415-203834.log
Comment 7 Toralf Förster gentoo-dev 2019-04-15 21:14:00 UTC
Created attachment 573000 [details]
temp.tbz2
Comment 8 Conrad Kostecki gentoo-dev 2019-04-16 06:46:23 UTC
This patch should fix the build issue. Can't currently test, as compiling of boost 1.70 fails for me.
-> https://github.com/swift/swift/commit/a21993d750396d755717df21e331df87af8a0c6a

There is also a second patch, which fixes a warning.
-> https://github.com/swift/swift/commit/bb3bd8a32b220b9c1ffd566da00bcd0ba546156c
Comment 9 Conrad Kostecki gentoo-dev 2019-04-16 08:50:06 UTC
Ok, I was now able to compile boost-1.70. With the patch, I am able to compile. Will will PR.

@Andrey: Could you also test please? Thanks!
Comment 10 Larry the Git Cow gentoo-dev 2019-04-16 11:04:36 UTC
The bug has been closed via the following commit(s):

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

commit 26b399a75b631cb550ab18b499072dc6757e4541
Author:     Conrad Kostecki <conrad@kostecki.com>
AuthorDate: 2019-04-16 08:48:55 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2019-04-16 11:04:21 +0000

    net-im/swift: add patch for boost >= 1.69
    
    Including upstreams patch to support newer boost versions, since it
    fails with boost 1.69 and newer.
    
    Closes: https://bugs.gentoo.org/683424
    Closes: https://github.com/gentoo/gentoo/pull/11705
    Package-Manager: Portage-2.3.62, Repoman-2.3.12
    Signed-off-by: Conrad Kostecki <conrad@kostecki.com>
    Signed-off-by: David Seifert <soap@gentoo.org>

 .../swift-4.0.2-boost-1.69-compatibility.patch     | 77 ++++++++++++++++++++++
 net-im/swift/swift-4.0.2-r1.ebuild                 |  1 +
 2 files changed, 78 insertions(+)