[Bug 1232906] New: ppc64(le) isn't building the latest bpftrace due unresolvable lldb-devel
https://bugzilla.suse.com/show_bug.cgi?id=1232906 Bug ID: 1232906 Summary: ppc64(le) isn't building the latest bpftrace due unresolvable lldb-devel Classification: openSUSE Product: openSUSE Tumbleweed Version: Slowroll Hardware: PowerPC-64 OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Development Assignee: screening-team-bugs@suse.de Reporter: petr.vorel@suse.com QA Contact: qa-bugs@suse.de Target Milestone: --- Found By: --- Blocker: --- Originally found in https://bugzilla.suse.com/show_bug.cgi?id=1224403#c8 https://build.opensuse.org/projects/devel:tools/packages/bpftrace/repositori... "unresolvable: nothing provides lldb-devel" -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1232906 Petr Vorel <petr.vorel@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ailiopoulos@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1232906 https://bugzilla.suse.com/show_bug.cgi?id=1232906#c1 Petr Vorel <petr.vorel@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |petr.vorel@suse.com --- Comment #1 from Petr Vorel <petr.vorel@suse.com> --- From bpftrace OBS [1] is visible that the same problem is also for s390x. But I see them built for s390x and ppc64le in llvm [2]. Both PowerPC [3] and zSystems [4] are inherited from Factory, having the same version. [1] https://build.opensuse.org/package/show/devel:tools/bpftrace [2] https://build.opensuse.org/package/show/devel:tools:compiler/llvm [3] https://build.opensuse.org/package/show/openSUSE:Factory:PowerPC/llvm [4] https://build.opensuse.org/package/show/openSUSE:Factory:zSystems/llvm [5] https://build.opensuse.org/package/show/openSUSE:Factory/llvm -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1232906 Petr Vorel <petr.vorel@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |aaronpuchert@alice-dsl.net -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1232906 Petr Vorel <petr.vorel@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |msuchanek@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1232906 https://bugzilla.suse.com/show_bug.cgi?id=1232906#c2 Michal Suchanek <msuchanek@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |matz@suse.com --- Comment #2 from Michal Suchanek <msuchanek@suse.com> --- %ifarch aarch64 x86_64 %define has_lldb 1 It's defined so by package maintainer. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1232906 Avinesh Kumar <avinesh.kumar@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |avinesh.kumar@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1232906 Petr Vorel <petr.vorel@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugzilla.suse.com/s | |how_bug.cgi?id=1210383 -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1232906 https://bugzilla.suse.com/show_bug.cgi?id=1232906#c3 Petr Vorel <petr.vorel@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags| |needinfo?(aaronpuchert@alic | |e-dsl.net) --- Comment #3 from Petr Vorel <petr.vorel@suse.com> --- (In reply to Michal Suchanek from comment #2)
%ifarch aarch64 x86_64 %define has_lldb 1
It's defined so by package maintainer.
Thanks! @2Aaron @Michael any reason not to add it for ppc64le when it's a dependency for bpftrace. Here is SR for ppc64le: https://build.opensuse.org/request/show/1221763 How about riscv64 and s390x? -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1232906 https://bugzilla.suse.com/show_bug.cgi?id=1232906#c4 --- Comment #4 from Michael Matz <matz@suse.com> --- AFAIK lldb is an optional dependency of bpftrace; after all lldb may not work on all architectures, or not completely. It may be that the right thing is to enable lldb on ppc64le and s390x, or it may be that bpftrace shouldn't require it for all archs. I don't know. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1232906 https://bugzilla.suse.com/show_bug.cgi?id=1232906#c5 --- Comment #5 from Michal Suchanek <msuchanek@suse.com> --- lldb seems to at least build on ppc64le and s390. If it works or if it is in some way tested during the build is another question. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1232906 https://bugzilla.suse.com/show_bug.cgi?id=1232906#c6 --- Comment #6 from Michal Suchanek <msuchanek@suse.com> --- Upstream claims s390 and ppc64 is supported, riscv under development https://lldb.llvm.org/ -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1232906 https://bugzilla.suse.com/show_bug.cgi?id=1232906#c8 Petr Vorel <petr.vorel@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |IN_PROGRESS Flags| |needinfo?(aaronpuchert@alic | |e-dsl.net) --- Comment #8 from Petr Vorel <petr.vorel@suse.com> --- (In reply to Aaron Puchert from comment #7)
If it works, we can enable it. The condition probably dates back to when only x86 and aarch64 were supported, and I never bothered to check whether additional backends became available. Also it's not the primary debugger on openSUSE, so having it on "niche" architectures was a bit less compelling.
One reason not to enable it would be the added build time, but let's see if that's an issue.
Thanks a lot, let's see.
(In reply to Michael Matz from comment #4)
AFAIK lldb is an optional dependency of bpftrace; after all lldb may not work on all architectures, or not completely.
I'd think so too. But I'm also fine with building it on additional architectures.
You asked me to add it also to llvm19 (I did it wrongly only to llvm metapackage in [1]). Because there is already another SR (update to 19.1.3 [2]), I first just started build in my personal project, both ppc64le and s390x. Could you please check if the result is acceptable? If yes, I would sync llvm with llvm19. Also, IMHO Fedora builds lldb-devel also for ppc64le and s390x [4][5] (correct me if I'm wrong). Also, if it for any reason does not make sense to enable it for either ppc64le or s390x, it's good to know that llvm is optional. I suppose just to wrap "BuildRequires: lldb%{llvm_major_version}-devel" in bpftrace with %ifarch aarch64 x86_64 (or whatever will endup having lldb-devel) would be enough. [1] https://build.opensuse.org/request/show/1221763 [2] https://build.opensuse.org/request/show/1220359 [3] https://build.opensuse.org/package/show/home:pevik:branches:devel:tools:comp... [4] https://src.fedoraproject.org/rpms/llvm/blob/rawhide/f/llvm.spec [5] https://koji.fedoraproject.org/koji/buildinfo?buildID=2549315 -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1232906 Shung-Hsi Yu <shung-hsi.yu@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |shung-hsi.yu@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1232906 Stefan Hundhammer <shundhammer@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|screening-team-bugs@suse.de |petr.vorel@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1232906 Héctor Orón Martínez <hector.oron@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hector.oron@suse.com Priority|P5 - None |P2 - High -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1232906 Petr Vorel <petr.vorel@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugzilla.suse.com/s | |how_bug.cgi?id=1233220 -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1232906 Jeffrey Cheung <jcheung@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jcheung@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1232906 https://bugzilla.suse.com/show_bug.cgi?id=1232906#c15 --- Comment #15 from Maintenance Automation <maint-coord+maintenance-robot@suse.de> --- SUSE-RU-2025:0004-1: An update that has seven fixes can now be installed. URL: https://www.suse.com/support/update/announcement/2025/suse-ru-20250004-1 Category: recommended (important) Bug References: 1212476, 1218701, 1219405, 1221183, 1229868, 1232906, 1233220 Maintenance Incident: [SUSE:Maintenance:36864](https://smelt.suse.de/incident/36864/) Sources used: openSUSE Leap 15.6 (src): llvm17-17.0.6-150600.3.5.1 Basesystem Module 15-SP6 (src): llvm17-17.0.6-150600.3.5.1 Development Tools Module 15-SP6 (src): llvm17-17.0.6-150600.3.5.1 SUSE Package Hub 15 15-SP6 (src): llvm17-17.0.6-150600.3.5.1 NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1232906 https://bugzilla.suse.com/show_bug.cgi?id=1232906#c16 Petr Vorel <petr.vorel@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|IN_PROGRESS |RESOLVED Resolution|--- |FIXED --- Comment #16 from Petr Vorel <petr.vorel@suse.com> --- Now ppc64le has also bpftrace-0.21.3-68.d_t.2.ppc64le.rpm. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1232906 https://bugzilla.suse.com/show_bug.cgi?id=1232906#c17 --- Comment #17 from Marcus Meissner <meissner@suse.com> --- openSUSE-RU-2025:0006-1: An update that has 6 recommended fixes can now be installed. Category: recommended (moderate) Bug References: 1212476,1219405,1221183,1229868,1232906,1233220 CVE References: JIRA References: Sources used: openSUSE Backports SLE-15-SP5 (src): llvm17-17.0.6-bp155.5.1 -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com