Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 691596 - app-emulation/xen-4.12.0-r1 USE=custom-cflags fails to build: <command-line>: error: _OBJECT_FILE_ redefined [-Werror]
Summary: app-emulation/xen-4.12.0-r1 USE=custom-cflags fails to build: <command-line>:...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Xen Devs
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2019-08-06 17:37 UTC by Toralf Förster
Modified: 2019-10-25 09:27 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.37 KB, text/plain)
2019-08-06 17:37 UTC, Toralf Förster
Details
app-emulation:xen-4.12.0-r1:20190805-203543.log (app-emulation:xen-4.12.0-r1:20190805-203543.log,11.58 KB, text/plain)
2019-08-06 17:37 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,115.86 KB, text/plain)
2019-08-06 17:37 UTC, Toralf Förster
Details
environment (environment,105.88 KB, text/plain)
2019-08-06 17:37 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,10.55 KB, application/x-bzip)
2019-08-06 17:37 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,26.97 KB, application/x-bzip)
2019-08-06 17:37 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 2019-08-06 17:37:16 UTC
x86_64-pc-linux-gnu-gcc -E -O2 -pipe -march=native -m64 -DBUILD_ID -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-but-set-variable -Wno-unused-local-typedefs -m64 -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 -nostdinc -fno-builtin -fno-common -Werror -Wredundant-decls -Wno-pointer-arith -Wvla -pipe -D__XEN__ '-D__OBJECT_FILE__="/var/tmp/portage/app-emulation/xen-4.12.0-r1/work/xen-4.12.0/xen/xen"' -I/var/tmp/portage/app-emulation/xen-4.12.0-r1/work/xen-4.12.0/xen/include -I/var/tmp/portage/app-emulation/xen-4.12.0-r1/work/xen-4.12.0/xen/include/asm-x86/mach-generic -I/var/tmp/portage/app-emulation/xen-4.12.0-r1/work/xen-4.12.0/xen/include/asm-x86/mach-default -DXEN_IMG_OFFSET=0x200000 '-D__OBJECT_LABEL__=armportagepp_emulationen_4.12.0_r1orken_4.12.0en$varmportagepp_emulationen_4.12.0_r1orken_4.12.0enen' -msoft-float -fno-stack-protector -fno-exceptions -Wnested-externs -DHAVE_AS_VMX -DHAVE_AS_SSE4_2 -DHAVE_AS_EPT -DHAVE_AS_RDRAND -DHAVE_AS_FSGSBASE -DHAVE_AS_RDSEED -U__OBJECT_LABEL__ -DHAVE_AS_QUOTED_SYM '-D__OBJECT_LABEL__=/var/tmp/portage/app-emulation/xen-4.12.0-r1/work/xen-4.12.0/xen//var/tmp/portage/app-emulation/xen-4.12.0-r1/work/xen-4.12.0/xen/xen' -DHAVE_AS_INVPCID -DHAVE_AS_NEGATIVE_TRUE -DHAVE_AS_NOPS_DIRECTIVE -mno-red-zone -fpic -fno-asynchronous-unwind-tables -mno-sse -mskip-rax-setup -DGCC_HAS_VISIBILITY_ATTRIBUTE -mindirect-branch=thunk-extern -mindirect-branch-register -DCONFIG_INDIRECT_THUNK -fno-jump-tables -m64 -DBUILD_ID -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-but-set-variable -Wno-unused-local-typedefs -m64 -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 -nostdinc -fno-builtin -fno-common -Werror -Wredundant-decls -Wno-pointer-arith -Wvla -pipe -D__XEN__ '-D__OBJECT_FILE__="compat/argo.i"' -I/var/tmp/portage/app-emulation/xen-4.12.0-r1/work/xen-4.12.0/xen/include -I/var/tmp/portage/app-emulation/xen-4.12.0-r1/work/xen-4.12.0/xen/include/asm-x86/mach-generic -I/var/tmp/portage/app-emulation/xen-4.12.0-r1/work/xen-4.12.0/xen/include/asm-x86/mach-default -DXEN_IMG_OFFSET=0x200000 '-D__OBJECT_LABEL__=include$compat$argo.i' -msoft-float -fno-stack-protector -fno-exceptions -Wnested-externs -DHAVE_AS_NEGATIVE_TRUE -mno-red-zone -fpic -fno-asynchronous-unwind-tables -mno-sse -mskip-rax-setup -DGCC_HAS_VISIBILITY_ATTRIBUTE -mindirect-branch=thunk-extern -mindirect-branch-register -DCONFIG_INDIRECT_THUNK -fno-jump-tables -m64 -DBUILD_ID -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-but-set-variable -Wno-unused-local-typedefs -include public/xen-compat.h -DXEN_GENERATING_COMPAT_HEADERS -m32 -o compat/argo.i compat/argo.c
<command-line>: error: "__OBJECT_FILE__" redefined [-Werror]
<command-line>: note: this is the location of the previous definition
<command-line>: error: "__OBJECT_LABEL__" redefined [-Werror]
<command-line>: note: this is the location of the previous definition

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no-multilib-20190803-231951

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.1.0 *

Available Python interpreters, in order of preference:
  [1]   python3.6 (fallback)
  [2]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.36.0 *



emerge -qpvO app-emulation/xen
[ebuild  N    ] app-emulation/xen-4.12.0-r1  USE="custom-cflags -debug -efi -flask"
Comment 1 Toralf Förster gentoo-dev 2019-08-06 17:37:19 UTC
Created attachment 585886 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-08-06 17:37:21 UTC
Created attachment 585888 [details]
app-emulation:xen-4.12.0-r1:20190805-203543.log
Comment 3 Toralf Förster gentoo-dev 2019-08-06 17:37:24 UTC
Created attachment 585890 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2019-08-06 17:37:26 UTC
Created attachment 585892 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2019-08-06 17:37:29 UTC
Created attachment 585894 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-08-06 17:37:32 UTC
Created attachment 585896 [details]
temp.tbz2
Comment 7 Tomáš Mózes 2019-08-21 13:45:01 UTC
Seems like the custom-cflags flag fails for all xen versions in tree.
Comment 8 Larry the Git Cow gentoo-dev 2019-10-25 09:27:31 UTC
The bug has been closed via the following commit(s):

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

commit e64f910bbeefa251e617a6ae0eec13ad6bfedd68
Author:     Tomas Mozes <hydrapolic@gmail.com>
AuthorDate: 2019-10-24 10:05:22 +0000
Commit:     Yixun Lan <dlan@gentoo.org>
CommitDate: 2019-10-25 09:26:42 +0000

    app-emulation/xen: bump to 4.12.1
    
    Closes: https://bugs.gentoo.org/691596
    Package-Manager: Portage-2.3.77, Repoman-2.3.17
    Signed-off-by: Tomáš Mózes <hydrapolic@gmail.com>
    Signed-off-by: Yixun Lan <dlan@gentoo.org>

 app-emulation/xen/Manifest          |   2 +
 app-emulation/xen/xen-4.12.1.ebuild | 154 ++++++++++++++++++++++++++++++++++++
 2 files changed, 156 insertions(+)