RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2221236 - RHEL9: kernel-ark fails rpm build due to missing rpm-build functionality
Summary: RHEL9: kernel-ark fails rpm build due to missing rpm-build functionality
Keywords:
Status: CLOSED DUPLICATE of bug 2177302
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: debugedit
Version: 9.3
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Mark Wielaard
QA Contact: Martin Cermak
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-07-07 15:23 UTC by Prarit Bhargava
Modified: 2023-08-14 18:08 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-08-14 18:08:37 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-161798 0 None None None 2023-07-07 15:36:54 UTC

Description Prarit Bhargava 2023-07-07 15:23:35 UTC
Description of problem: Building kernel-ark rpms on RHEL9 fails.

Version-Release number of selected component (if applicable): rpm-build-4.16.1.3-22.el9.x86_64


How reproducible: 100%


Steps to Reproduce:
1. git clone kernel-ark
2. make -j5 dist-configs
3. cp redhat/configs/kernel-*-x86_64.config .config
4. make -j

Actual results:

19:58:58  + /usr/lib/rpm/find-debuginfo.sh -j80 --strict-build-id -n -i -r -q -p '.*/usr/bin/perf(.debug)?|.*/usr/libexec/perf-core/.*|.*/usr/lib64/libperf-jvmti.so(.debug)?|XXX' -o perf-debuginfo.list -p '.*/usr/lib64/python3.9/site-packages/perf.*so(.debug)?|XXX' -o python3-perf-debuginfo.list -p '.*/usr/bin/centrino-decode(.debug)?|.*/usr/bin/powernow-k8-decode(.debug)?|.*/usr/bin/cpupower(.debug)?|.*/usr/lib64/libcpupower.*|.*/usr/bin/turbostat(.debug)?|.*/usr/bin/x86_energy_perf_policy(.debug)?|.*/usr/bin/tmon(.debug)?|.*/usr/bin/lsgpio(.debug)?|.*/usr/bin/gpio-hammer(.debug)?|.*/usr/bin/gpio-event-mon(.debug)?|.*/usr/bin/gpio-watch(.debug)?|.*/usr/bin/iio_event_monitor(.debug)?|.*/usr/bin/iio_generic_buffer(.debug)?|.*/usr/bin/lsiio(.debug)?|.*/usr/bin/intel-speed-select(.debug)?|.*/usr/bin/page_owner_sort(.debug)?|.*/usr/bin/slabinfo(.debug)?|.*/usr/sbin/intel_sdsi(.debug)?|XXX' -o kernel-tools-debuginfo.list -p '.*/usr/sbin/bpftool(.debug)?|XXX' -o bpftool-debuginfo.list -p '.*/usr/libexec/(ksamples|kselftests)/.*|XXX' -o selftests-debuginfo.list --keep-section .BTF -p '.*/usr/src/kernels/.*|XXX' -o ignored-debuginfo.list -p '/.*/6.5.0-0.rc0.a901a3568fd2.8.test.el9.x86_64[+]debug/.*|/.*6.5.0-0.rc0.a901a3568fd2.8.test.el9.x86_64+debug(.debug)?' -o debuginfodebug.list --keep-section .BTF -p '.*/usr/src/kernels/.*|XXX' -o ignored-debuginfo.list -p '/.*/6.5.0-0.rc0.a901a3568fd2.8.test.el9.x86_64/.*|/.*6.5.0-0.rc0.a901a3568fd2.8.test.el9.x86_64(.debug)?' -o debuginfo.list --remove-section .gnu.build.attributes /srv/workspace/ark_kernel-ark-pipeline_os-build/kernel-ark/ci-test-rpms/BUILD/kernel-6.5.0-0.rc0.a901a3568fd2.8.test.el9
19:58:58  /usr/lib/rpm/find-debuginfo.sh: line 237: -q/debugsources.list: No such file or directory
19:58:58  /usr/lib/rpm/find-debuginfo.sh: line 238: -q/debugfiles.list: No such file or directory
19:58:58  /usr/lib/rpm/find-debuginfo.sh: line 239: -q/debuglinks.list: No such file or directory
19:58:58  /usr/lib/rpm/find-debuginfo.sh: line 240: -q/elfbins.list: No such file or directory

Expected results:  Build should succeed.


Additional info:  This is caused by the inclusion of the -q flag for 'find-debuginfo.sh'.  -q functionality has not been backported to RHEL9 and causes the above error.

Comment 1 Panu Matilainen 2023-08-08 06:44:40 UTC
rpmbuild does not invoke find-debuginfo with an unsupported flag. That would be something in either the kernel-ark spec or maybe something in the build environment specifying extra flags. I don't know where kernel-ark lives so can't check it up, but this seems to be a case of "if it hurts, don't do that".

I'll reassign to debugedit for consideration of -q backport. I have no opinion on that matter.

Comment 2 Mark Wielaard 2023-08-08 10:42:42 UTC
Sorry, on vacation, so no time to investigate. Back August 14.
I have added Frank to CC in case this is urgent.
But I suspect this is a duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=2177302 which backported support for -q

Comment 3 Mark Wielaard 2023-08-14 18:00:29 UTC
Back from vacation. I see no updates. So can we close this as a duplicate of bug #2177302 ?

Comment 4 Prarit Bhargava 2023-08-14 18:08:37 UTC
Yep, this can be marked as a dup.  I'll do it now :)

P.

*** This bug has been marked as a duplicate of bug 2177302 ***


Note You need to log in before you can comment on or make changes to this bug.