Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 670606 - sys-fs/bees-0.6 : /.../stl_tree.h:1020:25: error: macro swap requires 2 arguments, but only 1 given
Summary: sys-fs/bees-0.6 : /.../stl_tree.h:1020:25: error: macro swap requires 2 argum...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Kai Krakow
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2018-11-07 16:28 UTC by Toralf Förster
Modified: 2019-06-18 05:40 UTC (History)
3 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.47 KB, text/plain)
2018-11-07 16:28 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,140.38 KB, text/plain)
2018-11-07 16:28 UTC, Toralf Förster
Details
environment (environment,70.79 KB, text/plain)
2018-11-07 16:28 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.45 KB, application/x-bzip)
2018-11-07 16:28 UTC, Toralf Förster
Details
sys-fs:bees-0.6:20181107-042326.log (sys-fs:bees-0.6:20181107-042326.log,35.87 KB, text/plain)
2018-11-07 16:28 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,20.95 KB, application/x-bzip)
2018-11-07 16:28 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 2018-11-07 16:28:37 UTC
                 from ../include/crucible/fs.h:16,
                 from fs.cc:1:
/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/include/g++-v8/bits/stl_tree.h:1020:25: error: macro "swap" requires 2 arguments, but only 1 given
       swap(_Rb_tree& __t)
                         ^
/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/include/g++-v8/bits/stl_tree.h:1598:59: error: macro "swap" passed 10 arguments, but takes just 2

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-desktop-gnome_libressl_20181104-213057

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

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

Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python2.7 (fallback)
  [3]   jython2.7 (fallback)
Available Ruby profiles:
  [1]   ruby23 (with Rubygems) *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.9.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpvO sys-fs/bees
[ebuild  N    ] sys-fs/bees-0.6  USE="-tools"
Comment 1 Toralf Förster gentoo-dev 2018-11-07 16:28:40 UTC
Created attachment 554398 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-11-07 16:28:42 UTC
Created attachment 554400 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2018-11-07 16:28:45 UTC
Created attachment 554402 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2018-11-07 16:28:48 UTC
Created attachment 554404 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2018-11-07 16:28:50 UTC
Created attachment 554406 [details]
sys-fs:bees-0.6:20181107-042326.log
Comment 6 Toralf Förster gentoo-dev 2018-11-07 16:28:53 UTC
Created attachment 554408 [details]
temp.tbz2
Comment 7 Kai Krakow 2018-11-07 23:55:24 UTC
Thanks for the report. I've copied the report upstream, let's see if we can backport a solution:

https://github.com/Zygo/bees/issues/85

Do I assume correctly that this bug depends on the gcc version involved?
Comment 8 Kai Krakow 2018-11-08 18:31:24 UTC
Could you try this patch to see if it fixes the problem:
https://github.com/Zygo/bees/pull/86/commits/688d0dc0140c631881edec1c12f30a7ab0415d44.patch
Comment 9 Larry the Git Cow gentoo-dev 2019-06-18 05:40:25 UTC
The bug has been closed via the following commit(s):

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

commit 6a1fecb799fb6ebc49733d80a398345e2d5f1166
Author:     Kai Krakow <kai@kaishome.de>
AuthorDate: 2018-11-18 15:21:28 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2019-06-18 05:40:04 +0000

    sys-fs/bees: Bump to v0.6.1
    
    This removes the quickfix in the ebuild and should fix a compiler
    problem linked below.
    
    Closes: https://bugs.gentoo.org/670606
    Closes: https://bugs.gentoo.org/686976
    Closes: https://bugs.gentoo.org/686978
    Closes: https://bugs.gentoo.org/687978
    Package-Manager: Portage-2.3.51, Repoman-2.3.11
    Signed-off-by: Kai Krakow <kai@kaishome.de>
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 sys-fs/bees/Manifest          |  1 +
 sys-fs/bees/bees-0.6.1.ebuild | 72 +++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 73 insertions(+)