Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 839891 - app-emulation/xen-tools-4.16.0-r3 - cc1: all warnings being treated as errors
Summary: app-emulation/xen-tools-4.16.0-r3 - 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 (vote)
Assignee: Tomáš Mózes
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-12
  Show dependency tree
 
Reported: 2022-04-21 12:29 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,17.19 KB, text/plain)
2022-04-21 12:29 UTC, Toralf Förster
Details
app-emulation:xen-tools-4.16.0-r3:20220421-103412.log.bz2 (app-emulation:xen-tools-4.16.0-r3:20220421-103412.log.bz2,30.30 KB, application/x-bzip)
2022-04-21 12:29 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,27.87 KB, text/plain)
2022-04-21 12:29 UTC, Toralf Förster
Details
environment (environment,128.56 KB, text/plain)
2022-04-21 12:29 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,10.31 KB, application/x-bzip)
2022-04-21 12:29 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,11.47 KB, application/x-bzip)
2022-04-21 12:29 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,60.58 KB, application/x-bzip)
2022-04-21 12:29 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-04-21 12:29:43 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-r3/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-r3/work/xen-4.16.0/tools/firmware/rombios/32bit'

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma_systemd-j4-20220421-030007

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.2.1
 [2] x86_64-pc-linux-gnu-12.0.1 *
clang/llvm (if any):
/usr/lib/llvm/14
14.0.1
Python 3.9.12
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems)
  [3]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.60.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 11.0.14_p9 [openjdk-bin-11]
Available Java Virtual Machines:
  [1]   openjdk-bin-11  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4
php cli:

  HEAD of ::gentoo
commit fcaf3cfb6e3ec207da72bceddcbea9ec71350d9b
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Apr 21 09:53:49 2022 +0000

    2022-04-21 09:53:48 UTC

emerge -qpvO app-emulation/xen-tools
[ebuild  N    ] app-emulation/xen-tools-4.16.0-r3  USE="hvm ipxe lzma pam qemu qemu-traditional rombios sdl systemd -api -debug -doc -ocaml -ovmf -pygrub -python -screen (-selinux) -static-libs -system-ipxe -system-qemu -system-seabios -zstd" PYTHON_SINGLE_TARGET="python3_9 -python3_8 -python3_10"
Comment 1 Toralf Förster gentoo-dev 2022-04-21 12:29:44 UTC
Created attachment 772592 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-04-21 12:29:46 UTC
Created attachment 772595 [details]
app-emulation:xen-tools-4.16.0-r3:20220421-103412.log.bz2
Comment 3 Toralf Förster gentoo-dev 2022-04-21 12:29:47 UTC
Created attachment 772598 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-04-21 12:29:48 UTC
Created attachment 772601 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-04-21 12:29:49 UTC
Created attachment 772604 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-04-21 12:29:51 UTC
Created attachment 772607 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-04-21 12:29:52 UTC
Created attachment 772610 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2022-04-22 07:05:44 UTC
The bug has been closed via the following commit(s):

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

commit d16a0fb4d049ecad13f64179257bf5cc4c8b06ed
Author:     Florian Schmaus <flow@gentoo.org>
AuthorDate: 2022-04-22 07:05:09 +0000
Commit:     Florian Schmaus <flow@gentoo.org>
CommitDate: 2022-04-22 07:05:39 +0000

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

 app-emulation/xen-tools/xen-tools-4.16.0-r3.ebuild | 4 ++++
 1 file changed, 4 insertions(+)