Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 868789 - dev-lang/gnat-gpl-2021-r3:10 - /.../mount.h: error: redefinition of struct mount_attr
Summary: dev-lang/gnat-gpl-2021-r3:10 - /.../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 Linux ADA team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: glibc-2.36
  Show dependency tree
 
Reported: 2022-09-06 18:14 UTC by Toralf Förster
Modified: 2022-11-02 21:44 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,18.71 KB, text/plain)
2022-09-06 18:14 UTC, Toralf Förster
Details
dev-lang:gnat-gpl-2021-r3:20220906-161728.log.bz2 (dev-lang:gnat-gpl-2021-r3:20220906-161728.log.bz2,437.88 KB, application/x-bzip)
2022-09-06 18:14 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,135.75 KB, text/plain)
2022-09-06 18:14 UTC, Toralf Förster
Details
environment (environment,145.01 KB, text/plain)
2022-09-06 18:14 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,70.74 KB, application/x-bzip)
2022-09-06 18:14 UTC, Toralf Förster
Details
gcc-build-logs.tar.bz2 (gcc-build-logs.tar.bz2,904.58 KB, application/x-bzip)
2022-09-06 18:14 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,495.00 KB, application/x-bzip)
2022-09-06 18:14 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,476.17 KB, application/x-bzip)
2022-09-06 18: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-09-06 18:14:00 UTC
  249 | enum fsconfig_command
      |      ^~~~~~~~~~~~~~~~
In file included from /usr/include/linux/fs.h:19,
                 from /var/tmp/portage/dev-lang/gnat-gpl-2021-r3/work/gcc-10-2021-20210519-19A74-src/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cpp:75:
/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-20220905-150009

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.2.0 *
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 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 (if any):
  (none found)
GNU Make 4.3

  HEAD of ::gentoo
commit 76025015bafa6f1975b9e501976324d2cd826aac
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Sep 6 16:02:02 2022 +0000

    2022-09-06 16:02:02 UTC

emerge -qpvO dev-lang/gnat-gpl
[ebuild  N    ] dev-lang/gnat-gpl-2021-r3  USE="ada bootstrap cxx hardened multilib nls nptl openmp pgo (pie) sanitize (ssp) -cet -d -debug -doc (-fixed-point) -fortran (-go) -graphite (-jit) -libssp (-lto) -objc -objc++ -objc-gc (-pch) -systemtap -test -vanilla -vtv -zstd"
Comment 1 Toralf Förster gentoo-dev 2022-09-06 18:14:01 UTC
Created attachment 803560 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-09-06 18:14:03 UTC
Created attachment 803563 [details]
dev-lang:gnat-gpl-2021-r3:20220906-161728.log.bz2
Comment 3 Toralf Förster gentoo-dev 2022-09-06 18:14:05 UTC
Created attachment 803566 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-09-06 18:14:06 UTC
Created attachment 803569 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-09-06 18:14:08 UTC
Created attachment 803572 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-09-06 18:14:10 UTC
Created attachment 803575 [details]
gcc-build-logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-09-06 18:14:12 UTC
Created attachment 803578 [details]
logs.tar.bz2
Comment 8 Toralf Förster gentoo-dev 2022-09-06 18:14:13 UTC
Created attachment 803581 [details]
temp.tar.bz2
Comment 9 Andreas K. Hüttel archtester gentoo-dev 2022-09-20 18:04:43 UTC
Please retest with glibc-2.36-r2
Comment 10 Toralf Förster gentoo-dev 2022-09-22 17:36:35 UTC
seems to work with -r3
Comment 11 Toralf Förster gentoo-dev 2022-09-23 18:01:28 UTC
nope, breaks even with -r3 (eg ~/img/17.1_hardened-j4-20220922-222402/var/tmp/tb/issues/20220923-193543-dev-lang_gnat-gpl-2021-r3)
Comment 12 Toralf Förster gentoo-dev 2022-09-23 19:41:49 UTC
FWIW it fails here at all tinderbox images:

dev-lang/gnat-gpl-2021-r3 - checking whether objcopy supports debuglink... objcopy: .../ cannot fill debug link section x: No such
dev-lang/gnat-gpl-2021-r3 - /.../mount.h: error: redefinition of struct mount_attr
Comment 13 Larry the Git Cow gentoo-dev 2022-09-30 16:51:06 UTC
The bug has been closed via the following commit(s):

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

commit 65d2fdfea526104ef7734f86ba72d7d72e1462e1
Author:     Alfredo Tupone <tupone@gentoo.org>
AuthorDate: 2022-09-30 16:48:38 +0000
Commit:     Alfredo Tupone <tupone@gentoo.org>
CommitDate: 2022-09-30 16:50:52 +0000

    dev-lang/gnat-gpl: add backported gcc-patches
    
    Closes: https://bugs.gentoo.org/868789
    Closes: https://bugs.gentoo.org/867196
    
    Signed-off-by: Alfredo Tupone <tupone@gentoo.org>

 dev-lang/gnat-gpl/Manifest                         |  1 +
 ...-gpl-2021-r3.ebuild => gnat-gpl-2021-r4.ebuild} | 23 ++++++++++------------
 2 files changed, 11 insertions(+), 13 deletions(-)