Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 863638 - sys-fs/btrfs-progs-5.18.1-r1 - /.../mount.h: error: redefinition of struct mount_attr
Summary: sys-fs/btrfs-progs-5.18.1-r1 - /.../mount.h: error: redefinition of struct mo...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard: fixed in stable
Keywords:
Depends on:
Blocks: glibc-2.36
  Show dependency tree
 
Reported: 2022-08-04 16:27 UTC by Toralf Förster
Modified: 2022-11-02 20:49 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,17.62 KB, text/plain)
2022-08-04 16:27 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,109.40 KB, text/plain)
2022-08-04 16:27 UTC, Toralf Förster
Details
environment (environment,97.51 KB, text/plain)
2022-08-04 16:27 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,21.04 KB, application/x-bzip)
2022-08-04 16:27 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,6.99 KB, application/x-bzip)
2022-08-04 16:27 UTC, Toralf Förster
Details
sys-fs:btrfs-progs-5.18.1-r1:20220804-145511.log (sys-fs:btrfs-progs-5.18.1-r1:20220804-145511.log,82.23 KB, text/plain)
2022-08-04 16:27 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,27.57 KB, application/x-bzip)
2022-08-04 16:27 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-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(+)