Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 847535 - app-backup/snapper-0.10.2: fails to compile with sys-fs/btrfs-progs-5.18 (.../list.h: error: expected primary-expression before volatile)
Summary: app-backup/snapper-0.10.2: fails to compile with sys-fs/btrfs-progs-5.18 (......
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Dainius Masiliūnas
URL: https://github.com/openSUSE/snapper/i...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-26 08:39 UTC by Toralf Förster
Modified: 2022-06-07 03:51 UTC (History)
4 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.52 KB, text/plain)
2022-05-26 08:39 UTC, Toralf Förster
Details
app-backup:snapper-0.10.2:20220526-031214.log (app-backup:snapper-0.10.2:20220526-031214.log,55.18 KB, text/plain)
2022-05-26 08:39 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,41.36 KB, text/plain)
2022-05-26 08:39 UTC, Toralf Förster
Details
environment (environment,78.54 KB, text/plain)
2022-05-26 08:39 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,11.35 KB, application/x-bzip)
2022-05-26 08:39 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,8.92 KB, application/x-bzip)
2022-05-26 08:39 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,27.07 KB, application/x-bzip)
2022-05-26 08:39 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 2022-05-26 08:39:51 UTC
                 from /usr/include/btrfs/ctree.h:31,
                 from /usr/include/btrfs/send.h:26,
                 from Btrfs.cc:41:
/usr/include/btrfs/list.h: In function 'void INIT_LIST_HEAD(list_head*)':
/usr/include/btrfs/list.h:78:9: error: expected primary-expression before 'volatile'
   78 |         WRITE_ONCE(list->next, list);
      |         ^~~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib_hardened-j4-20220525-190012

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.1.1 *
clang/llvm (if any):
Python 3.9.13
Available Ruby profiles:
  [1]   ruby31 *
Available Rust versions:
  [1]   rust-1.61.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.3_p7 [openjdk-bin-17]
*)	Eclipse Temurin JDK 8.332_p09 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
  [2]   openjdk-bin-17 

The Glorious Glasgow Haskell Compilation System, version 8.10.4
php cli:

  HEAD of ::gentoo
commit be795853be3d7993c9c6e36fa886451610525d81
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu May 26 01:48:01 2022 +0000

    2022-05-26 01:48:01 UTC

emerge -qpvO app-backup/snapper
[ebuild  N    ] app-backup/snapper-0.10.2  USE="pam xattr -doc -lvm -systemd -test"
Comment 1 Toralf Förster gentoo-dev 2022-05-26 08:39:52 UTC
Created attachment 780845 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-05-26 08:39:53 UTC
Created attachment 780848 [details]
app-backup:snapper-0.10.2:20220526-031214.log
Comment 3 Toralf Förster gentoo-dev 2022-05-26 08:39:55 UTC
Created attachment 780851 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-05-26 08:39:56 UTC
Created attachment 780854 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-05-26 08:39:57 UTC
Created attachment 780857 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-05-26 08:39:58 UTC
Created attachment 780860 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-05-26 08:39:59 UTC
Created attachment 780863 [details]
temp.tar.bz2
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-05-28 07:23:01 UTC
GCC 12 or Linux headers...?
Comment 9 Michael Hampicke 2022-06-06 12:44:17 UTC
I am having the same issue

* sys-devel/gcc-11.3.0
* sys-kernel/linux-headers-5.18-r1
Comment 10 Larry the Git Cow gentoo-dev 2022-06-07 03:51:59 UTC
The bug has been closed via the following commit(s):

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

commit 306d6f3cab6abde282dbad82a5c79232c05228f7
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-06-07 03:51:49 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-06-07 03:51:49 +0000

    sys-fs/btrfs-progs: add 5.18.1
    
    Closes: https://bugs.gentoo.org/847535
    Bug: https://bugs.gentoo.org/847793
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-fs/btrfs-progs/Manifest                  |   1 +
 sys-fs/btrfs-progs/btrfs-progs-5.18.1.ebuild | 148 +++++++++++++++++++++++++++
 2 files changed, 149 insertions(+)