Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 791172 - app-emulation/xen-tools-4.15.0 - ERROR: cant find debug info in object(s)
Summary: app-emulation/xen-tools-4.15.0 - ERROR: cant find debug info in object(s)
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:
 
Reported: 2021-05-20 07:16 UTC by Toralf Förster
Modified: 2021-09-18 09:50 UTC (History)
3 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.77 KB, text/plain)
2021-05-20 07:16 UTC, Toralf Förster
Details
app-emulation:xen-tools-4.15.0:20210520-055315.log (app-emulation:xen-tools-4.15.0:20210520-055315.log,31.73 KB, text/plain)
2021-05-20 07:16 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,269.42 KB, text/plain)
2021-05-20 07:16 UTC, Toralf Förster
Details
environment (environment,125.61 KB, text/plain)
2021-05-20 07:16 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,46.02 KB, application/x-bzip)
2021-05-20 07:16 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,11.66 KB, application/x-bzip)
2021-05-20 07:16 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,34.40 KB, application/x-bzip)
2021-05-20 07:16 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-20 07:16:40 UTC
ln -sf libxentoolcore.so.1 libxentoolcore.so
Detect public symbols
ERROR: can't find debug info in object(s)
make[5]: *** [/var/tmp/portage/app-emulation/xen-tools-4.15.0/work/xen-4.15.0/tools/libs/toolcore/../../../tools/libs/libs.mk:103: libxentoolcore.so.1.0-x86_64-abi.dump] Error 10
make[5]: Leaving directory '/var/tmp/portage/app-emulation/xen-tools-4.15.0/work/xen-4.15.0/tools/libs/toolcore'
make[4]: *** [/var/tmp/portage/app-emulation/xen-tools-4.15.0/work/xen-4.15.0/tools/libs/../../tools/Rules.mk:161: subdir-all-toolcore] Error 2
make[4]: Leaving directory '/var/tmp/portage/app-emulation/xen-tools-4.15.0/work/xen-4.15.0/tools/libs'

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

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

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

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.10
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.52.1 *
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	Thu May 20 04:50:10 UTC 2021

emerge -qpvO app-emulation/xen-tools
[ebuild  N    ] app-emulation/xen-tools-4.15.0  USE="hvm ipxe pam qemu qemu-traditional rombios -api -debug -doc -flask -ocaml -ovmf -pygrub -python -screen -sdl -static-libs -system-ipxe -system-qemu -system-seabios" PYTHON_SINGLE_TARGET="python3_8 -python3_7 -python3_9"
Comment 1 Toralf Förster gentoo-dev 2021-05-20 07:16:41 UTC
Created attachment 709959 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-05-20 07:16:42 UTC
Created attachment 709962 [details]
app-emulation:xen-tools-4.15.0:20210520-055315.log
Comment 3 Toralf Förster gentoo-dev 2021-05-20 07:16:44 UTC
Created attachment 709965 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-05-20 07:16:46 UTC
Created attachment 709968 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-05-20 07:16:47 UTC
Created attachment 709971 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-05-20 07:16:48 UTC
Created attachment 709974 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2021-05-20 07:16:50 UTC
Created attachment 709977 [details]
temp.tar.bz2
Comment 8 PaX Team 2021-09-02 09:17:11 UTC
the problem seems to be that if dev-util/abi-dumper is installed, xen-tools will detect its presence and enable its use however it fails to also enable -g or similar in CFLAGS which is required for the necessary debug information to be present.

a quick workaround is to unmerge or rename abi-dumper while emerging xen-tools (adding -g in make.conf's CFLAGS doesn't seem to get passed down to its build system, another problem for another day :).

last but not least, bugs 791463 and 803581 seem to be related to this problem as well.
Comment 9 Tomáš Mózes 2021-09-11 11:39:43 UTC
(In reply to PaX Team from comment #8)
> the problem seems to be that if dev-util/abi-dumper is installed, xen-tools
> will detect its presence and enable its use however it fails to also enable
> -g or similar in CFLAGS which is required for the necessary debug
> information to be present.

Thanks for pointing this out, we'll remove the abi-dumper call and it'll fix the 2 other bugs you mentioned.
Comment 10 Larry the Git Cow gentoo-dev 2021-09-18 09:50:05 UTC
The bug has been closed via the following commit(s):

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

commit 28338d3edcacf55d6f89baca2bf4ee08b9f48768
Author:     Tomáš Mózes <hydrapolic@gmail.com>
AuthorDate: 2021-09-11 10:58:52 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2021-09-18 09:49:58 +0000

    app-emulation/xen-tools: bump to 4.14.3/4.15.1
    
    Closes: https://bugs.gentoo.org/791172
    Closes: https://bugs.gentoo.org/791463
    Closes: https://bugs.gentoo.org/803581
    Closes: https://bugs.gentoo.org/812128
    Fixes: https://github.com/gentoo/gentoo/pull/21542
    Signed-off-by: Tomáš Mózes <hydrapolic@gmail.com>
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 app-emulation/xen-tools/Manifest                  |   2 +
 app-emulation/xen-tools/files/gentoo-patches.conf |  28 ++
 app-emulation/xen-tools/xen-tools-4.14.3.ebuild   | 533 +++++++++++++++++++++
 app-emulation/xen-tools/xen-tools-4.15.1.ebuild   | 540 ++++++++++++++++++++++
 4 files changed, 1103 insertions(+)