Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 811735 - sys-apps/minijail-12 fails tests: - /.../minijail0_cli_unittest.cc: error: loop variable profile creates a copy from type const std::_cx
Summary: sys-apps/minijail-12 fails tests: - /.../minijail0_cli_unittest.cc: error: lo...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: David Coles
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2021-09-05 15:01 UTC by Toralf Förster
Modified: 2022-02-13 10:11 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.11 KB, text/plain)
2021-09-05 15:01 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,77.49 KB, text/plain)
2021-09-05 15:01 UTC, Toralf Förster
Details
environment (environment,74.58 KB, text/plain)
2021-09-05 15:02 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,20.54 KB, application/x-bzip)
2021-09-05 15:02 UTC, Toralf Förster
Details
sys-apps:minijail-12:20210905-125402.log (sys-apps:minijail-12:20210905-125402.log,50.14 KB, text/plain)
2021-09-05 15:02 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,21.25 KB, application/x-bzip)
2021-09-05 15:02 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 2021-09-05 15:01:54 UTC
/var/tmp/portage/sys-apps/minijail-12/work/minijail-linux-v12/minijail0_cli_unittest.cc: In member function ‘virtual void CliTest_valid_logging_Test::TestBody()’:
/var/tmp/portage/sys-apps/minijail-12/work/minijail-linux-v12/minijail0_cli_unittest.cc:213:19: error: loop variable ‘profile’ creates a copy from type ‘const std::__cxx11::basic_string<char>’ [-Werror=range-loop-construct]
  213 |   for (const auto profile : profiles) {
      |                   ^~~~~~~
/var/tmp/portage/sys-apps/minijail-12/work/minijail-linux-v12/minijail0_cli_unittest.cc:213:19: note: use reference type to prevent copying
  213 |   for (const auto profile : profiles) {

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_systemd-j4_test-20210904-155741

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.2.0 *
clang version 12.0.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/12/bin
/usr/lib/llvm/12
12.0.1
Python 3.9.7
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.54.0 *
The Glorious Glasgow Haskell Compilation System, version 8.10.4

  HEAD of ::gentoo
commit 2eb0b5b01a59688991002b8b64373ca04058bce0
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Sep 5 10:06:36 2021 +0000

    2021-09-05 10:06:34 UTC

emerge -qpvO sys-apps/minijail
[ebuild  N    ] sys-apps/minijail-12  USE="seccomp test"
Comment 1 Toralf Förster gentoo-dev 2021-09-05 15:01:57 UTC
Created attachment 737650 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-09-05 15:01:58 UTC
Created attachment 737653 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-09-05 15:02:00 UTC
Created attachment 737656 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-09-05 15:02:01 UTC
Created attachment 737659 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-09-05 15:02:03 UTC
Created attachment 737662 [details]
sys-apps:minijail-12:20210905-125402.log
Comment 6 Toralf Förster gentoo-dev 2021-09-05 15:02:04 UTC
Created attachment 737665 [details]
temp.tar.bz2
Comment 7 Agostino Sarubbo gentoo-dev 2022-02-13 10:11:53 UTC
Update summary. [something] is used when something refers to an overlay