On Mittwoch, 27. November 2019, 08:46:24 CET Neal Gompa wrote:
On Wed, Nov 27, 2019 at 2:43 AM Adrian Schröter
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
wrote: On Dienstag, 26. November 2019, 13:21:22 CET Neal Gompa wrote:
On Tue, Nov 26, 2019 at 1:30 AM David Adam
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
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 CentOS.
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
packages.
--
Adrian Schroeter