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

Bug 864346

Summary: sys-fs/mtd-utils-2.1.4 - /.../mount.h: error: redefinition of struct mount_attr
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Robin Johnson <robbat2>
Status: RESOLVED FIXED    
Severity: normal CC: embedded, jsmolic
Priority: Normal Keywords: PATCH
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:mtd-utils-2.1.4:20220808-032149.log
temp.tar.bz2

Description Toralf Förster gentoo-dev 2022-08-08 07:20:54 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_desktop_gnome_systemd-j4-20220807-150006

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.1.1 *
clang/llvm (if any):
clang version 14.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/14/bin
/usr/lib/llvm/14
14.0.6
Python 3.10.6
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-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:
  [1]   php8.1 *

  HEAD of ::gentoo
commit 239fcd40d4ab4d7d0320e1b55d784cc3a1ea6466
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Aug 8 02:17:01 2022 +0000

    2022-08-08 02:17:01 UTC

emerge -qpvO sys-fs/mtd-utils
[ebuild  N    ] sys-fs/mtd-utils-2.1.4  USE="lzo xattr zstd"
Comment 1 Toralf Förster gentoo-dev 2022-08-08 07:20:55 UTC
Created attachment 798745 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-08-08 07:20:57 UTC
Created attachment 798748 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-08-08 07:20:58 UTC
Created attachment 798751 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-08-08 07:20:59 UTC
Created attachment 798754 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-08-08 07:21:00 UTC
Created attachment 798757 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-08-08 07:21:01 UTC
Created attachment 798760 [details]
sys-fs:mtd-utils-2.1.4:20220808-032149.log
Comment 7 Toralf Förster gentoo-dev 2022-08-08 07:21:02 UTC
Created attachment 798763 [details]
temp.tar.bz2
Comment 9 Larry the Git Cow gentoo-dev 2022-08-22 08:18:05 UTC
The bug has been closed via the following commit(s):

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

commit f96d62cdb6a8a6e6bf36b83b96ac047ade701149
Author:     Jakov Smolić <jsmolic@gentoo.org>
AuthorDate: 2022-08-22 08:15:28 +0000
Commit:     Jakov Smolić <jsmolic@gentoo.org>
CommitDate: 2022-08-22 08:15:32 +0000

    sys-fs/mtd-utils: Add glibc-2.36 patch
    
    Closes: https://bugs.gentoo.org/864346
    Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>

 .../files/mtd-utils-2.1.4-glibc-2.36.patch         | 17 ++++++++
 sys-fs/mtd-utils/mtd-utils-2.1.4-r1.ebuild         | 47 ++++++++++++++++++++++
 2 files changed, 64 insertions(+)