Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 685714 - sys-fs/bees-0.6 : error.cc:35:54: error: non-local lambda expression cannot have a capture-default
Summary: sys-fs/bees-0.6 : error.cc:35:54: error: non-local lambda expression cannot h...
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: PATCH, PullRequest
Depends on:
Blocks:
 
Reported: 2019-05-12 11:43 UTC by Toralf Förster
Modified: 2020-07-15 18:05 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,14.94 KB, text/plain)
2019-05-12 11:43 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,85.93 KB, text/plain)
2019-05-12 11:43 UTC, Toralf Förster
Details
environment (environment,70.32 KB, text/plain)
2019-05-12 11:43 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,11.73 KB, application/x-bzip)
2019-05-12 11:43 UTC, Toralf Förster
Details
sys-fs:bees-0.6:20190512-114013.log (sys-fs:bees-0.6:20190512-114013.log,5.89 KB, text/plain)
2019-05-12 11:43 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,18.33 KB, application/x-bzip)
2019-05-12 11:43 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-05-12 11:43:20 UTC
c++ -O2 -pipe -march=native -Wall -Wextra -Werror -I../include -fpic -D_FILE_OFFSET_BITS=64 -std=c++11 -Wold-style-cast -fPIC -o crc64.o -c crc64.cc
c++ -O2 -pipe -march=native -Wall -Wextra -Werror -I../include -fpic -D_FILE_OFFSET_BITS=64 -std=c++11 -Wold-style-cast -fPIC -o error.o -c error.cc
error.cc:35:54: error: non-local lambda expression cannot have a capture-default
   35 |  function<void(string s)> current_catch_explainer = [&](string s) {
      |                                                      ^
make[1]: *** [Makefile:43: error.o] Error 1

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_20190510-222116

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.1.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) *
Available Rust versions:
  [1]   rust-1.34.1 *



emerge -qpvO sys-fs/bees
[ebuild  N    ] sys-fs/bees-0.6  USE="-tools"
Comment 1 Toralf Förster gentoo-dev 2019-05-12 11:43:23 UTC
Created attachment 576156 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-05-12 11:43:26 UTC
Created attachment 576158 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2019-05-12 11:43:29 UTC
Created attachment 576160 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2019-05-12 11:43:31 UTC
Created attachment 576162 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2019-05-12 11:43:34 UTC
Created attachment 576164 [details]
sys-fs:bees-0.6:20190512-114013.log
Comment 6 Toralf Förster gentoo-dev 2019-05-12 11:43:37 UTC
Created attachment 576166 [details]
temp.tbz2
Comment 7 Kai Krakow 2019-05-30 15:27:58 UTC
Does it also occur with the 9999 ebuild?
Comment 8 adebeus 2019-06-10 06:06:13 UTC
Yes, it also happens with the -9999 ebuild. It only happens with GCC 9.1 though (in either case). It builds fine with GCC 8.3. I have not tried clang or other GCC versions.
Comment 9 Kai Krakow 2019-06-10 09:03:58 UTC
I've seen it's already reported upstream:
https://github.com/Zygo/bees/issues/112
Comment 10 adebeus 2019-06-13 04:21:29 UTC
It's now been fixed upstream and this patch can be applied: https://github.com/Zygo/bees/commit/228747a8f8925fd11ed1462a4140decdb7afaedb.patch
Comment 11 Kai Krakow 2019-06-13 12:09:08 UTC
Zygo wrote it will be fixed in v0.7, I'm bumping the version in portage as soon as the version is tagged. I'll link this bug to the Portage PR then.
Comment 12 Kai Krakow 2019-10-30 18:41:39 UTC
Bugfix release v0.6.2 is going to be tagged and I'll bump the ebuild.
Comment 13 Kai Krakow 2019-11-28 11:30:04 UTC
I've added a hotfix because of slow upstream...
Comment 14 Larry the Git Cow gentoo-dev 2019-11-28 16:34:51 UTC
The bug has been closed via the following commit(s):

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

commit b2a8f934671d15ac008f42976e5c4de087e31607
Author:     Kai Krakow <hurikhan77+bgo@gmail.com>
AuthorDate: 2019-11-28 11:23:02 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2019-11-28 16:34:35 +0000

    sys-fs/bees: Bump to v0.6.1-r1
    
    Closes: https://bugs.gentoo.org/685714
    Package-Manager: Portage-2.3.76, Repoman-2.3.16
    Signed-off-by: Kai Krakow <hurikhan77+bgo@gmail.com>
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 sys-fs/bees/bees-0.6.1-r1.ebuild                   | 86 ++++++++++++++++++++
 ...-local-lambda-expression-cannot-have-a-ca.patch | 38 +++++++++
 ...karound-to-prevent-LOGICAL_INO-and-btrfs-.patch | 95 ++++++++++++++++++++++
 3 files changed, 219 insertions(+)