Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 787980 - app-emulation/xen-pvgrub-4.14.1 - linux.c: error: argument 7 of type const xen_pfn_t[] {aka const long unsigned int[]} declared as
Summary: app-emulation/xen-pvgrub-4.14.1 - linux.c: error: argument 7 of type const xe...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Tomáš Mózes
URL:
Whiteboard:
Keywords: PMASKED
Depends on:
Blocks: werror gcc-11
  Show dependency tree
 
Reported: 2021-05-03 19:15 UTC by Toralf Förster
Modified: 2021-07-26 04:48 UTC (History)
5 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.20 KB, text/plain)
2021-05-03 19:15 UTC, Toralf Förster
Details
app-emulation:xen-pvgrub-4.14.1:20210503-185130.log (app-emulation:xen-pvgrub-4.14.1:20210503-185130.log,91.13 KB, text/plain)
2021-05-03 19:15 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,495.51 KB, text/plain)
2021-05-03 19:15 UTC, Toralf Förster
Details
environment (environment,108.22 KB, text/plain)
2021-05-03 19:15 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,32.00 KB, application/x-bzip)
2021-05-03 19:15 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,11.35 KB, application/x-bzip)
2021-05-03 19:15 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,31.51 KB, application/x-bzip)
2021-05-03 19:15 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-05-03 19:15:48 UTC
linux.c:165:50: error: argument 7 of type ‘const xen_pfn_t[]’ {aka ‘const long unsigned int[]’} declared as an ordinary 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 a variable length array ‘const xen_pfn_t[num]’ {aka ‘const long unsigned int[num]’}

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_systemd-20210419-131016

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

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

The Glorious Glasgow Haskell Compilation System, version 8.10.4
  [1]   php7.3
  [2]   php7.4
  [3]   php8.0 *

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Mon May  3 17:20:15 UTC 2021

emerge -qpvO app-emulation/xen-pvgrub
[ebuild  N    ] app-emulation/xen-pvgrub-4.14.1  PYTHON_SINGLE_TARGET="python3_8 -python3_7 -python3_9"
Comment 1 Toralf Förster gentoo-dev 2021-05-03 19:15:49 UTC
Created attachment 705822 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-05-03 19:15:50 UTC
Created attachment 705825 [details]
app-emulation:xen-pvgrub-4.14.1:20210503-185130.log
Comment 3 Toralf Förster gentoo-dev 2021-05-03 19:15:52 UTC
Created attachment 705828 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-05-03 19:15:54 UTC
Created attachment 705831 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-05-03 19:15:55 UTC
Created attachment 705834 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-05-03 19:15:56 UTC
Created attachment 705837 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2021-05-03 19:15:57 UTC
Created attachment 705840 [details]
temp.tar.bz2
Comment 8 Ionen Wolkens gentoo-dev 2021-05-04 00:00:22 UTC
fails with gcc11 due to tools/libs/libs.mk's -Werror
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-07-26 04:48:16 UTC
Last-rited package was removed.