Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 843269 - app-emulation/xen-tools-4.16.0-r4 - cc1: all warnings being treated as errors
Summary: app-emulation/xen-tools-4.16.0-r4 - cc1: all warnings being treated as errors
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:
Depends on:
Blocks: gcc-12
  Show dependency tree
 
Reported: 2022-05-08 07:50 UTC by Toralf Förster
Modified: 2022-07-05 23:02 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.06 KB, text/plain)
2022-05-08 07:50 UTC, Toralf Förster
Details
app-emulation:xen-tools-4.16.0-r4:20220508-074727.log.bz2 (app-emulation:xen-tools-4.16.0-r4:20220508-074727.log.bz2,30.84 KB, application/x-bzip)
2022-05-08 07:50 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,104.98 KB, text/plain)
2022-05-08 07:50 UTC, Toralf Förster
Details
environment (environment,128.91 KB, text/plain)
2022-05-08 07:50 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,8.68 KB, application/x-bzip)
2022-05-08 07:50 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,11.53 KB, application/x-bzip)
2022-05-08 07:50 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,61.14 KB, application/x-bzip)
2022-05-08 07:50 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-05-08 07:50:15 UTC
too long lines were shrinked:

x86_64-pc-linux-gnu-gcc  -m32 -march=i686 -DBUILD_ID -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-but-set-variable -Wno-unused-local-typedefs   -O2 -fomit-frame-pointer -D__XEN_INTERFACE_VERSION__=__XEN_LATEST_INTERFACE_VERSION__ -MMD -MP -MF .p
util.c: In function find_rsdp’:
util.c:429:16: error: array subscript 0 is outside array bounds of uint16_t[0]’ {aka short unsigned int[]’} [-Werror=array-bounds]
  429 |     ebda_seg = *(uint16_t *)ADDR_FROM_SEG_OFF(0x40, 0xe);
cc1: all warnings being treated as errors
make[9]: *** [/var/tmp/portage/app-emulation/xen-tools-4.16.0-r4/work/xen-4.16.0/tools/firmware/rombios/32bit/../../../../tools/Rules.mk:150: util.o] Error 1
make[9]: Leaving directory '/var/tmp/portage/app-emulation/xen-tools-4.16.0-r4/work/xen-4.16.0/tools/firmware/rombios/32bit'

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

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

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.3.1
 [2] x86_64-pc-linux-gnu-12.1.0 *
clang/llvm (if any):
clang version 14.0.3
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/14/bin
/usr/lib/llvm/14
14.0.3
Python 3.9.12
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems)
  [3]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.60.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.14_p9 [openjdk-bin-11]
*)	Eclipse Temurin JDK 8.322_p06 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
  [2]   openjdk-bin-11 

The Glorious Glasgow Haskell Compilation System, version 8.10.4
php cli:
  (none found)

  HEAD of ::gentoo
commit 58b6077c6c846ba736ec0206b008e150920e0690
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun May 8 06:58:02 2022 +0000

    2022-05-08 06:58:02 UTC

emerge -qpvO app-emulation/xen-tools
[ebuild  N    ] app-emulation/xen-tools-4.16.0-r4  USE="hvm ipxe ocaml python qemu qemu-traditional rombios zstd -api -debug -doc -lzma -ovmf -pygrub -screen -sdl (-selinux) -static-libs -system-ipxe -system-qemu -system-seabios -systemd" PYTHON_SINGLE_TARGET="python3_9 -python3_8 -python3_10"
Comment 1 Toralf Förster gentoo-dev 2022-05-08 07:50:16 UTC
Created attachment 777464 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-05-08 07:50:17 UTC
Created attachment 777467 [details]
app-emulation:xen-tools-4.16.0-r4:20220508-074727.log.bz2
Comment 3 Toralf Förster gentoo-dev 2022-05-08 07:50:18 UTC
Created attachment 777470 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-05-08 07:50:20 UTC
Created attachment 777473 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-05-08 07:50:21 UTC
Created attachment 777476 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-05-08 07:50:22 UTC
Created attachment 777479 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-05-08 07:50:23 UTC
Created attachment 777482 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2022-05-08 12:03:24 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=137c6d0032d7734a0a884d82812b8d2e7fa48be2

commit 137c6d0032d7734a0a884d82812b8d2e7fa48be2
Author:     Florian Schmaus <flow@gentoo.org>
AuthorDate: 2022-05-08 12:02:25 +0000
Commit:     Florian Schmaus <flow@gentoo.org>
CommitDate: 2022-05-08 12:03:20 +0000

    app-emulation/xen-tools: remove more -Werror arguments
    
    Closes: https://bugs.gentoo.org/843269
    Signed-off-by: Florian Schmaus <flow@gentoo.org>

 app-emulation/xen-tools/xen-tools-4.16.0-r4.ebuild | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)