Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 789789 - app-backup/snapper-0.8.15-r1 - BtrfsUtils.cc: error: aggregate snapper::BtrfsUtils::qgroup_query_usage(int, snapper::BtrfsUtils::q
Summary: app-backup/snapper-0.8.15-r1 - BtrfsUtils.cc: error: aggregate snapper::Btrfs...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Dainius Masiliūnas
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-13 07:51 UTC by Toralf Förster
Modified: 2021-06-29 20:58 UTC (History)
4 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.93 KB, text/plain)
2021-05-13 07:51 UTC, Toralf Förster
Details
app-backup:snapper-0.8.15-r1:20210513-035248.log (app-backup:snapper-0.8.15-r1:20210513-035248.log,34.90 KB, text/plain)
2021-05-13 07:51 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,208.43 KB, text/plain)
2021-05-13 07:51 UTC, Toralf Förster
Details
environment (environment,76.81 KB, text/plain)
2021-05-13 07:51 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,16.82 KB, application/x-bzip)
2021-05-13 07:51 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,9.04 KB, application/x-bzip)
2021-05-13 07:51 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,25.69 KB, application/x-bzip)
2021-05-13 07:51 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-05-13 07:51:07 UTC
      |                                             ^~~~~~~~~~~~~~~~~~~~~
BtrfsUtils.cc: In lambda function:
BtrfsUtils.cc:555:47: error: aggregate ‘snapper::BtrfsUtils::qgroup_query_usage(int, snapper::BtrfsUtils::qgroup_t)::<lambda(const btrfs_ioctl_search_args&, const btrfs_ioctl_search_header&)>::btrfs_qgroup_info_item info’ has incomplete type and cannot be defined
  555 |                 struct btrfs_qgroup_info_item info;
      |                                               ^~~~
BtrfsUtils.cc:558:43: error: ‘le64_to_cpu’ was not declared in this scope
  558 |                 qgroup_usage.referenced = le64_to_cpu(info.referenced);

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome-j2-20210510-164836

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] x86_64-pc-linux-gnu-9.3.1
 [3] x86_64-pc-linux-gnu-11.1.0 *
clang version 12.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/12/bin
/usr/lib/llvm/12
12.0.0
Python 3.8.10
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.52.1 *
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.292_p10 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4
  [1]   php7.3
  [2]   php7.4
  [3]   php8.0 *

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Thu May 13 02:07:21 UTC 2021

emerge -qpvO app-backup/snapper
[ebuild  N    ] app-backup/snapper-0.8.15-r1  USE="pam xattr -doc -lvm -systemd -test"
Comment 1 Toralf Förster gentoo-dev 2021-05-13 07:51:08 UTC
Created attachment 707817 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-05-13 07:51:10 UTC
Created attachment 707820 [details]
app-backup:snapper-0.8.15-r1:20210513-035248.log
Comment 3 Toralf Förster gentoo-dev 2021-05-13 07:51:12 UTC
Created attachment 707823 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-05-13 07:51:13 UTC
Created attachment 707826 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-05-13 07:51:15 UTC
Created attachment 707829 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-05-13 07:51:16 UTC
Created attachment 707832 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2021-05-13 07:51:17 UTC
Created attachment 707835 [details]
temp.tar.bz2
Comment 8 Dainius Masiliūnas 2021-05-13 09:46:13 UTC
This is a btrfs-progs issue, see this: https://github.com/openSUSE/snapper/issues/650

CC @floppym and @slyfox: we need to have btrfs-progs 5.12.1 hotfix to solve this issue.
Comment 9 Sergei Trofimovich (RETIRED) gentoo-dev 2021-05-13 10:49:01 UTC
You probably need sys-fs/btrfs-progs maintainer. Which is base-system@. I suggest filing a separate bug if you get no response from base-system@ here.