Mailinglist Archive: opensuse-buildservice (80 mails)

< Previous Next >
Re: [opensuse-buildservice] Building CentOS 8 packages - failure from
  • From: Adrian Schröter <adrian@xxxxxxx>
  • Date: Wed, 27 Nov 2019 08:55:36 +0100
  • Message-id: <2543528.fyF6peufzp@linux-ywca>
On Mittwoch, 27. November 2019, 08:46:24 CET Neal Gompa wrote:
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/ -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
*** 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

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


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

right, we should go with gdb-minimal when this is the default in mock.
Adapted in CentOS-8, Fedora 31 and Rawhide now to be in sync.

CentOS. The /usr/bin/ruby filepath is owned by the ruby package in

okay, a wanted difference. Will document that ...

python-unversioned-command doesn't exist in CentOS 8, either.
There's no provider for /usr/bin/python.

hm, dunno what to do here, but with current setting we get at least
an "unresolvable" error. So the packager nows he need to adapt the


Adrian Schroeter <adrian@xxxxxxx>
Build Infrastructure Project Manager

SUSE Software Solutions Germany GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany
(HRB 247165, AG München), Geschäftsführer: Felix Imendörffer

To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups