from /usr/include/boost/thread.hpp:13, from Btrfs.cc:45: /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/include/g++-v8/bits/stl_pair.h:419:21: error: macro "swap" requires 2 arguments, but only 1 given swap(pair& __p) ^ /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/include/g++-v8/bits/stl_pair.h:490:50: error: macro "swap" passed 4 arguments, but takes just 2 ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0-hardened_libressl_20181030-220646 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-7.3.1 [2] x86_64-pc-linux-gnu-8.2.0 * Available Python interpreters, in order of preference: [1] python3.7 [2] python3.6 [3] python2.7 (fallback) [4] pypy3 (fallback) [5] pypy (fallback) Available Ruby profiles: [1] ruby23 (with Rubygems) [2] ruby24 (with Rubygems) * [3] ruby25 (with Rubygems) java-config: The following VMs are available for generation-2: emerge -qpvO app-backup/snapper [ebuild N ] app-backup/snapper-0.5.6 USE="pam xattr -lvm"
Created attachment 554916 [details] emerge-info.txt
Created attachment 554918 [details] app-backup:snapper-0.5.6:20181111-190312.log
Created attachment 554920 [details] emerge-history.txt
Created attachment 554922 [details] environment
Created attachment 554924 [details] etc.portage.tbz2
Created attachment 554926 [details] logs.tbz2
Created attachment 554928 [details] temp.tbz2
Sounds like an issue with either Boost or GCC8...
I believe it's the problem with recent boost.. to @cpp team, do you see any similar issues, any idea to cope with this?
Any update on this? On my local machine I have also tried to build snapper with boost-1.63.0 and I get the same error.
Updates? Also tried building snapper on my machine with boost-1.63.0 and have the same error
I reported it upstream, let's see if they have any ideas about this. It's been a while since the last release anyway.
This patch: https://github.com/openSUSE/snapper/commit/1fd449b96684411409b0eda7007282073bb29d87 as a diff: https://github.com/openSUSE/snapper/commit/1fd449b96684411409b0eda7007282073bb29d87.diff from the upstream bug report: https://github.com/openSUSE/snapper/issues/459 that your report was dup'd to fixes the problem for me. I'm running ~amd64 with snapper-0.5.6, boost-1.65.0, btrfs-progs-4.19.1, gcc-8.2.0-r5, glibc-2.28-r2 Thanks
(In reply to A Blamey from comment #13) > This patch: > https://github.com/openSUSE/snapper/commit/ > 1fd449b96684411409b0eda7007282073bb29d87 > as a diff: > https://github.com/openSUSE/snapper/commit/ > 1fd449b96684411409b0eda7007282073bb29d87.diff > from the upstream bug report: > https://github.com/openSUSE/snapper/issues/459 > that your report was dup'd to fixes the problem for me. > > I'm running ~amd64 with snapper-0.5.6, boost-1.65.0, btrfs-progs-4.19.1, > gcc-8.2.0-r5, glibc-2.28-r2 > > Thanks great, thanks all you guys for pushing this!
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50a4af11e412a75cdf3240970b836b4850c9896d commit 50a4af11e412a75cdf3240970b836b4850c9896d Author: Yixun Lan <dlan@gentoo.org> AuthorDate: 2018-12-17 07:18:19 +0000 Commit: Yixun Lan <dlan@gentoo.org> CommitDate: 2018-12-17 07:38:48 +0000 app-backup/snapper: fix swap() err workaround swap() err with btrfs-4.19 Closes: https://bugs.gentoo.org/670952 Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Yixun Lan <dlan@gentoo.org> app-backup/snapper/files/snapper-0.5.6-swap.patch | 36 +++++++++++ app-backup/snapper/snapper-0.5.6-r1.ebuild | 78 +++++++++++++++++++++++ 2 files changed, 114 insertions(+)