Mailinglist Archive: opensuse-buildservice (80 mails)

< Previous Next >
Re: [opensuse-buildservice] Building CentOS 8 packages - failure from find-debuginfo.sh
  • From: Neal Gompa <ngompa13@xxxxxxxxx>
  • Date: Wed, 27 Nov 2019 02:46:24 -0500
  • Message-id: <CAEg-Je8WCctoMWJDJ7DaM0THWprTurycu=+yREcx1cavjr4Etg@mail.gmail.com>
On Wed, Nov 27, 2019 at 2:43 AM Adrian Schröter <adrian@xxxxxxx> wrote:

On Mittwoch, 27. November 2019, 08:39:03 CET Neal Gompa wrote:
On Wed, Nov 27, 2019 at 2:36 AM Adrian Schröter <adrian@xxxxxxx> wrote:

On Dienstag, 26. November 2019, 13:21:22 CET Neal Gompa wrote:
On Tue, Nov 26, 2019 at 1:30 AM David Adam <zanchey@xxxxxxxxxxxxxxxxx>
wrote:

Hi all,

I am having trouble getting packages to build on CentOS 8 Standard.

My simple C++ test package (home:Zanchey/c11test), plus other
packages I
have tried, fails with:

+ /usr/lib/rpm/find-debuginfo.sh -j8 --strict-build-id -m -i
--build-id-seed 1-23.1 --unique-debug-suffix -1-23.1.x86_64
--unique-debug-src-base c11test-1-23.1.x86_64 --run-dwz
--dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S
debugsourcefiles.list /home/abuild/rpmbuild/BUILD/c11test-1
extracting debug info from
/home/abuild/rpmbuild/BUILDROOT/c11test-1-23.1.x86_64/usr/bin/c11test
*** ERROR: GDB index requested, but no gdb-add-index installed
error: Bad exit status from /var/tmp/rpm-tmp.Xn1JEf (%install)

Do I need to add a build dependency on GDB, or add something to the
project configuration? Any advice is appreciated.

The OBS project for CentOS 8 is missing a FileProvides line.

FileProvides: /usr/bin/gdb-add-index gdb-headless

Added ... can you check if we have the same situation in latest Fedora
releases?


Since Fedora 31, it is provided by either gdb-headless or gdb-minimal.
The official build root definition uses gdb-minimal.

Cf. https://fedoraproject.org/wiki/Changes/Minimal_GDB_in_buildroot

Prior to Fedora 31, the same FileProvides as what was added for CentOS
8 was required.

ic, I have synced now the fileprovides and set the defines of Fedora 31
also for CentOS-8:

FileProvides: /usr/bin/fipscheck fipscheck
FileProvides: /usr/bin/db_stat libdb-utils
FileProvides: /usr/bin/gdb-add-index gdb
FileProvides: /usr/bin/gpg2 gnupg2
FileProvides: /usr/bin/ruby rubypick
FileProvides: /usr/bin/python python-unversioned-command
FileProvides: /usr/bin/python2 python2
FileProvides: /usr/bin/python3 python3


Wait, why are we pulling full gdb? Also, rubypick doesn't exist in
CentOS. The /usr/bin/ruby filepath is owned by the ruby package in
CentOS. python-unversioned-command doesn't exist in CentOS 8, either.
There's no provider for /usr/bin/python.




--
真実はいつも一つ!/ Always, there's only one truth!
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups