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.
Thanks
David Adam zanchey@ucc.gu.uwa.edu.au
On Tue, Nov 26, 2019 at 1:30 AM David Adam zanchey@ucc.gu.uwa.edu.au 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
On Dienstag, 26. November 2019, 13:21:22 CET Neal Gompa wrote:
On Tue, Nov 26, 2019 at 1:30 AM David Adam zanchey@ucc.gu.uwa.edu.au 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?
thanks adrian
On Wed, Nov 27, 2019 at 2:36 AM Adrian Schröter adrian@suse.de 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@ucc.gu.uwa.edu.au 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.
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@suse.de 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@ucc.gu.uwa.edu.au 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
On Wed, Nov 27, 2019 at 2:43 AM Adrian Schröter adrian@suse.de 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@suse.de 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@ucc.gu.uwa.edu.au 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!
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@suse.de 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@suse.de 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@ucc.gu.uwa.edu.au 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.
On Wed, Nov 27, 2019 at 2:57 AM Adrian Schröter adrian@suse.de wrote:
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@suse.de 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@suse.de 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@ucc.gu.uwa.edu.au 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.
I think leaving it unresolvable is sufficient.
You should add for CentOS another FileProvides, though:
FileProvides: /usr/libexec/platform-python platform-python
This is exclusive to CentOS 8 and is kind of important...
On Mittwoch, 27. November 2019, 14:38:06 CET Neal Gompa wrote:
On Wed, Nov 27, 2019 at 2:57 AM Adrian Schröter adrian@suse.de wrote:
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@suse.de 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@suse.de 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@ucc.gu.uwa.edu.au 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.
I think leaving it unresolvable is sufficient.
You should add for CentOS another FileProvides, though:
FileProvides: /usr/libexec/platform-python platform-python
This is exclusive to CentOS 8 and is kind of important...
right, done
On Wed, 27 Nov 2019, 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 zanchey@ucc.gu.uwa.edu.au wrote: 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?
Thanks for the quick action!
Is there anything else we need to do, or just wait for refresh? Builds are still failing with the same problem.
Thanks
David Adam zanchey@ucc.gu.uwa.edu.au
On Donnerstag, 28. November 2019, 01:33:28 CET David Adam wrote:
On Wed, 27 Nov 2019, 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 zanchey@ucc.gu.uwa.edu.au wrote: 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?
Thanks for the quick action!
Is there anything else we need to do, or just wait for refresh? Builds are still failing with the same problem.
please check your build log, got gdb-headless installed?
if not, please verify that it appears in "osc buildinfo".
And as usual, a pointer to your project/log would be helpful ;)
On Thu, 28 Nov 2019, Adrian Schröter wrote:
On Donnerstag, 28. November 2019, 01:33:28 CET David Adam wrote:
On Wed, 27 Nov 2019, 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 zanchey@ucc.gu.uwa.edu.au wrote: 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?
Thanks for the quick action!
Is there anything else we need to do, or just wait for refresh? Builds are still failing with the same problem.
please check your build log, got gdb-headless installed?
if not, please verify that it appears in "osc buildinfo".
And as usual, a pointer to your project/log would be helpful ;)
Sorry, this is for the package referred to in the original post, home:Zanchey/c11test.
gdb-headless is not listed in the build log, and it's not in the buildinfo either (https://build.opensuse.org/build/home:Zanchey/CentOS_8/x86_64/c11test/_build...)
David Adam zanchey@ucc.gu.uwa.edu.au
buildservice@lists.opensuse.org