Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 787980

Summary: 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
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Tomáš Mózes <hydrapolic>
Status: RESOLVED WONTFIX    
Severity: normal CC: esigra, ionen, proxy-maint, sam, xen
Priority: Normal Keywords: PMASKED
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 260867, 732706    
Attachments: emerge-info.txt
app-emulation:xen-pvgrub-4.14.1:20210503-185130.log
emerge-history.txt
environment
etc.portage.tar.bz2
logs.tar.bz2
temp.tar.bz2

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.