Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 877157 - dev-util/rr-5.6.0 - /.../ethtool.h: error: flexible array member ethtool_sset_info::data not at end of struct rr::get_ethtool_gstr
Summary: dev-util/rr-5.6.0 - /.../ethtool.h: error: flexible array member ethtool_sset...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: 876331
  Show dependency tree
 
Reported: 2022-10-14 19:53 UTC by Toralf Förster
Modified: 2022-10-19 20:29 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,19.55 KB, text/plain)
2022-10-14 19:53 UTC, Toralf Förster
Details
dev-util:rr-5.6.0:20221014-194317.log (dev-util:rr-5.6.0:20221014-194317.log,111.05 KB, text/plain)
2022-10-14 19:53 UTC, Toralf Förster
Details
emerge-history.txt.bz2 (emerge-history.txt.bz2,65.61 KB, application/x-bzip)
2022-10-14 19:53 UTC, Toralf Förster
Details
environment (environment,151.78 KB, text/plain)
2022-10-14 19:53 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,44.21 KB, application/x-bzip)
2022-10-14 19:53 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,5.38 KB, application/x-bzip)
2022-10-14 19:53 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,39.77 KB, application/x-bzip)
2022-10-14 19:53 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-10-14 19:53:18 UTC
In file included from /var/tmp/portage/dev-util/rr-5.6.0/work/rr-5.6.0/src/record_syscall.cc:12:
/var/tmp/portage/dev-util/rr-5.6.0/work/rr-5.6.0/src/record_syscall.cc: In instantiation of struct rr::get_ethtool_gstrings_arch<X86Arch>(RecordTask*)::SingleStringSet:
/var/tmp/portage/dev-util/rr-5.6.0/work/rr-5.6.0/src/record_syscall.cc:1456:3:   required from void rr::get_ethtool_gstrings_arch(RecordTask*) [with Arch = X86Arch]
/var/tmp/portage/dev-util/rr-5.6.0/work/rr-5.6.0/src/record_syscall.cc:1486:3:   required from here
/usr/include/linux/ethtool.h:778:17: error: flexible array member ethtool_sset_info::data not at end of struct rr::get_ethtool_gstrings_arch<X86Arch>(RecordTask*)::SingleStringSet
  778 |         __u32   data[];
      |                 ^~~~

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

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

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12 *
clang/llvm (if any):
/usr/lib/llvm/15
15.0.2
Python 3.10.8
Available Rust versions:
  [1]   rust-bin-1.64.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
GNU Make 4.3

  HEAD of ::gentoo
commit af5b447942d41cff71ed82698ec55f7bc153d857
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Oct 14 19:19:00 2022 +0000

    2022-10-14 19:19:00 UTC

emerge -qpvO dev-util/rr
[ebuild  N    ] dev-util/rr-5.6.0  USE="multilib -test" PYTHON_SINGLE_TARGET="python3_10 -python3_8 -python3_9"
Comment 1 Toralf Förster gentoo-dev 2022-10-14 19:53:19 UTC
Created attachment 824251 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-10-14 19:53:21 UTC
Created attachment 824253 [details]
dev-util:rr-5.6.0:20221014-194317.log
Comment 3 Toralf Förster gentoo-dev 2022-10-14 19:53:23 UTC
Created attachment 824255 [details]
emerge-history.txt.bz2
Comment 4 Toralf Förster gentoo-dev 2022-10-14 19:53:24 UTC
Created attachment 824257 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-10-14 19:53:26 UTC
Created attachment 824259 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-10-14 19:53:27 UTC
Created attachment 824261 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-10-14 19:53:28 UTC
Created attachment 824263 [details]
temp.tar.bz2
Comment 9 Larry the Git Cow gentoo-dev 2022-10-17 21:45:04 UTC
The bug has been closed via the following commit(s):

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

commit 68931941b28cdeebc2e0b6e9624584652b69ba92
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-10-17 21:43:20 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-10-17 21:43:38 +0000

    dev-util/rr: fix build with linux-headers-6.0
    
    Revbump given the nature of rr & possible runtime breakage.
    
    Closes: https://bugs.gentoo.org/877157
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-util/rr/files/rr-5.6.0-linux-headers-6.0.patch | 62 +++++++++++++++++
 dev-util/rr/rr-5.6.0-r1.ebuild                     | 80 ++++++++++++++++++++++
 2 files changed, 142 insertions(+)