Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 863638

Summary: sys-fs/btrfs-progs-5.18.1-r1 - /.../mount.h: error: redefinition of struct mount_attr
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard: fixed in stable
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 863215    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tar.bz2
logs.tar.bz2
sys-fs:btrfs-progs-5.18.1-r1:20220804-145511.log
temp.tar.bz2

Description Toralf Förster gentoo-dev 2022-08-04 16:27:05 UTC
      |         ^~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/mount.h:205:3: note: previous definition of FSCONFIG_CMD_RECONFIGURE with type enum fsconfig_command
  205 |   FSCONFIG_CMD_RECONFIGURE = 7,   /* Invoke superblock reconfiguration */
      |   ^~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/linux/mount.h:129:8: error: redefinition of struct mount_attr
  129 | struct mount_attr {
      |        ^~~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_hardened-j4-20220803-220040

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

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

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

  HEAD of ::gentoo
commit 29e10a939c6e3b686c0c3efafbca1b168b927db0
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Aug 4 14:02:07 2022 +0000

    2022-08-04 14:02:07 UTC

emerge -qpvO sys-fs/btrfs-progs
[ebuild  N    ] sys-fs/btrfs-progs-5.18.1-r1  USE="convert man zstd -python -reiserfs -static -static-libs -udev" PYTHON_SINGLE_TARGET="python3_10 -python3_8 -python3_9"
Comment 1 Toralf Förster gentoo-dev 2022-08-04 16:27:06 UTC
Created attachment 797683 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-08-04 16:27:07 UTC
Created attachment 797686 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-08-04 16:27:09 UTC
Created attachment 797689 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-08-04 16:27:10 UTC
Created attachment 797692 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-08-04 16:27:11 UTC
Created attachment 797695 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-08-04 16:27:13 UTC
Created attachment 797698 [details]
sys-fs:btrfs-progs-5.18.1-r1:20220804-145511.log
Comment 7 Toralf Förster gentoo-dev 2022-08-04 16:27:14 UTC
Created attachment 797701 [details]
temp.tar.bz2
Comment 9 Larry the Git Cow gentoo-dev 2022-08-04 17:55:53 UTC
The bug has been closed via the following commit(s):

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

commit bd4e049b8809027727fc0f34f6ae30206d40781b
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2022-08-04 17:55:05 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2022-08-04 17:55:46 +0000

    sys-fs/btrfs-progs: fix build with glibc-2.36
    
    Closes: https://bugs.gentoo.org/863638
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 sys-fs/btrfs-progs/btrfs-progs-5.18.1-r1.ebuild    |  3 +++
 .../files/btrfs-progs-5.18.1-glibc-2.36.patch      | 31 ++++++++++++++++++++++
 2 files changed, 34 insertions(+)
Comment 10 Larry the Git Cow gentoo-dev 2022-08-07 16:15:19 UTC
The bug has been referenced in the following commit(s):

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

commit fbf612cf4cfaa982b1b53f6e730d797021c952e1
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2022-08-04 18:50:37 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2022-08-07 16:14:00 +0000

    sys-fs/btrfs-progs: fix build with glibc-2.36
    
    Bug: https://bugs.gentoo.org/863638
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 sys-fs/btrfs-progs/btrfs-progs-5.15.1.ebuild | 3 +++
 1 file changed, 3 insertions(+)