Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 814173 - [stable] app-emulation/xen-tools-4.14.3 - linux.c: error: argument 7 of type const xen_pfn_t[num] {aka const long unsigned int[num
Summary: [stable] app-emulation/xen-tools-4.14.3 - linux.c: error: argument 7 of type ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Tomáš Mózes
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2021-09-21 12:02 UTC by Toralf Förster
Modified: 2021-09-24 07:22 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.56 KB, text/plain)
2021-09-21 12:02 UTC, Toralf Förster
Details
app-emulation:xen-tools-4.14.3:20210921-084642.log (app-emulation:xen-tools-4.14.3:20210921-084642.log,118.42 KB, text/plain)
2021-09-21 12:02 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,223.49 KB, text/plain)
2021-09-21 12:02 UTC, Toralf Förster
Details
environment (environment,126.79 KB, text/plain)
2021-09-21 12:03 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,28.32 KB, application/x-bzip)
2021-09-21 12:03 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,12.25 KB, application/x-bzip)
2021-09-21 12:03 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,35.91 KB, application/x-bzip)
2021-09-21 12:03 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 2021-09-21 12:02:54 UTC
linux.c:165:50: error: argument 7 of type ‘const xen_pfn_t[num]’ {aka ‘const long unsigned int[num]’} declared as a variable length array [-Werror=vla-parameter]
  165 |                                  const xen_pfn_t arr[num], int err[num])
      |                                  ~~~~~~~~~~~~~~~~^~~~~~~~
In file included from linux.c:29:
private.h:35:50: note: previously declared as an ordinary array ‘const xen_pfn_t[]’ {aka ‘const long unsigned int[]’}

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

  This is an stable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop-j4_stable_abi32+64-20210918-221455

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.2.0 *
clang version 12.0.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/12/bin
/usr/lib/llvm/12
12.0.1
Python 3.9.6
Available Ruby profiles:
  [1]   ruby26 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.53.0
  [2]   rust-1.53.0 *
The following VMs are available for generation-2:
1)	OpenJDK 8.292_p10 [openjdk-8]
*)	AdoptOpenJDK 8.292_p10 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-8 
  [2]   openjdk-bin-8  system-vm

  [1]   php7.3
  [2]   php7.4 *

  HEAD of ::gentoo
commit 2c9da88d9d91da757971412c978ee7452d080d34
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Sep 21 07:51:29 2021 +0000

    2021-09-21 07:51:28 UTC

emerge -qpvO app-emulation/xen-tools
[ebuild  N    ] app-emulation/xen-tools-4.14.3  USE="hvm ipxe pam qemu qemu-traditional rombios sdl -api -debug (-doc) (-ocaml) -ovmf -pygrub -python -screen (-selinux) -static-libs -system-ipxe -system-qemu -system-seabios" PYTHON_SINGLE_TARGET="python3_9 -python3_8"
Comment 1 Toralf Förster gentoo-dev 2021-09-21 12:02:55 UTC
Created attachment 740457 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-09-21 12:02:57 UTC
Created attachment 740460 [details]
app-emulation:xen-tools-4.14.3:20210921-084642.log
Comment 3 Toralf Förster gentoo-dev 2021-09-21 12:02:58 UTC
Created attachment 740463 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-09-21 12:03:00 UTC
Created attachment 740466 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-09-21 12:03:01 UTC
Created attachment 740469 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-09-21 12:03:02 UTC
Created attachment 740472 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2021-09-21 12:03:04 UTC
Created attachment 740475 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2021-09-24 07:22:19 UTC
The bug has been closed via the following commit(s):

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

commit 563224174f24ba54ab6a0d822aef42ff37b05471
Author:     Tomáš Mózes <hydrapolic@gmail.com>
AuthorDate: 2021-09-22 06:46:35 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2021-09-24 07:21:10 +0000

    app-emulation/xen-tools: fix building with gcc-11
    
    The patch is not needed any more. Tested with gcc-10 and gcc-11.
    
    Closes: https://bugs.gentoo.org/814173
    Signed-off-by: Tomáš Mózes <hydrapolic@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/22363
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 app-emulation/xen-tools/files/gentoo-patches.conf | 1 -
 1 file changed, 1 deletion(-)