Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 863830 - net-fs/samba-4.16.4 - /.../mount.h: error: redefinition of struct mount_attr
Summary: net-fs/samba-4.16.4 - /.../mount.h: error: redefinition of struct mount_attr
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 SAMBA Team
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: glibc-2.36
  Show dependency tree
 
Reported: 2022-08-05 17:14 UTC by Toralf Förster
Modified: 2022-08-23 23:09 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,17.84 KB, text/plain)
2022-08-05 17:14 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,59.38 KB, text/plain)
2022-08-05 17:14 UTC, Toralf Förster
Details
environment (environment,180.04 KB, text/plain)
2022-08-05 17:14 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,24.64 KB, application/x-bzip)
2022-08-05 17:14 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,290.15 KB, application/x-bzip)
2022-08-05 17:14 UTC, Toralf Förster
Details
net-fs:samba-4.16.4:20220805-143023.log.bz2 (net-fs:samba-4.16.4:20220805-143023.log.bz2,113.57 KB, application/x-bzip)
2022-08-05 17:14 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,262.90 KB, application/x-bzip)
2022-08-05 17:14 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-05 17:14:44 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_plasma-j4-20220805-050005

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

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-bin-1.62.1 *
The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli:
  [1]   php7.4
  [2]   php8.1 *

  HEAD of ::gentoo
commit c5c1c9923c6cad871cd0a56e22ff8e659ea7597f
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Aug 5 13:46:52 2022 +0000

    2022-08-05 13:46:52 UTC

emerge -qpvO net-fs/samba
[ebuild  N    ] net-fs/samba-4.16.4  USE="acl client cups pam python regedit system-mitkrb5 -addc -ads -ceph -cluster -debug (-fam) -glusterfs -gpg -iprint -json -ldap -profiling-data -quota (-selinux) -snapper -spotlight -syslog (-system-heimdal) -systemd (-test) -winbind -zeroconf" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="aes" PYTHON_SINGLE_TARGET="python3_10 -python3_8 -python3_9"
Comment 1 Toralf Förster gentoo-dev 2022-08-05 17:14:45 UTC
Created attachment 798031 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-08-05 17:14:46 UTC
Created attachment 798034 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-08-05 17:14:48 UTC
Created attachment 798037 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-08-05 17:14:49 UTC
Created attachment 798040 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-08-05 17:14:50 UTC
Created attachment 798043 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-08-05 17:14:52 UTC
Created attachment 798046 [details]
net-fs:samba-4.16.4:20220805-143023.log.bz2
Comment 7 Toralf Förster gentoo-dev 2022-08-05 17:14:53 UTC
Created attachment 798049 [details]
temp.tar.bz2
Comment 9 Larry the Git Cow gentoo-dev 2022-08-23 23:09:28 UTC
The bug has been closed via the following commit(s):

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

commit de903fb0a0494026c3e787d1c0d922f77b0179f2
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-08-23 23:00:40 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-08-23 23:00:40 +0000

    net-fs/samba: fix build w/ glibc 2.36
    
    Closes: https://bugs.gentoo.org/863830
    Signed-off-by: Sam James <sam@gentoo.org>

 net-fs/samba/files/samba-4.16.4-glibc-2.36.patch | 51 ++++++++++++++++++++++++
 net-fs/samba/samba-4.16.4.ebuild                 |  1 +
 2 files changed, 52 insertions(+)