All of lore.kernel.org
 help / color / mirror / Atom feed
* [oe][OE-core][Patch 0/1] Revert "bin_package.bbclass: Inhibit the default dependencies"
@ 2023-08-27  8:09 Max Krummenacher
  2023-08-27  8:09 ` [oe][OE-core][Patch 1/1] " Max Krummenacher
  2023-08-27 21:23 ` [oe][OE-core][Patch 0/1] " Peter Kjellerstedt
  0 siblings, 2 replies; 12+ messages in thread
From: Max Krummenacher @ 2023-08-27  8:09 UTC (permalink / raw)
  To: openembedded-core, Peter Kjellerstedt; +Cc: Max Krummenacher, Randolph Sapp

From: Max Krummenacher <max.krummenacher@toradex.com>

Hi

With commit d1d09bd4d7 ("bin_package.bbclass: Inhibit the default
dependencies") applied I'm getting a lot of these errors, i.e. qa
does miss libc and compiler provided libs:

ERROR: ti-img-rogue-umlibs-23.1.6404501-r2 do_package_qa: QA Issue: /usr/lib/libusc.so.23.1.6404501 contained in package ti-img-rogue-umlibs requires ld-linux-aarch64.so.1(GLIBC_2.17)(64bit), but no providers found in RDEPENDS:ti-img-rogue-umlibs? [file-rdeps]
ERROR: ti-img-rogue-umlibs-23.1.6404501-r2 do_package_qa: QA Issue: /usr/lib/libusc.so.23.1.6404501 contained in package ti-img-rogue-umlibs requires libc.so.6(GLIBC_2.17)(64bit), but no providers found in RDEPENDS:ti-img-rogue-umlibs? [file-rdeps]
ERROR: ti-img-rogue-umlibs-23.1.6404501-r2 do_package_qa: QA Issue: /usr/lib/libufwriter.so.23.1.6404501 contained in package ti-img-rogue-umlibs requires libstdc++.so.6(GLIBCXX_3.4.14)(64bit), but no providers found in RDEPENDS:ti-img-rogue-umlibs? [file-rdeps]

Reverting the commit makes the build pass, alternatively adding
to depends in the recipe which is using the bin_package class
fixes it too:

DEPENDS += " virtual/${TARGET_PREFIX}compilerlibs virtual/libc"

I'd prefer reverting removing the default dependencies over fixing
each of the recipes which do use the bin_package class to actually
install binaries running in the target user space.

Any opinions?

Max

Max Krummenacher (1):
  Revert "bin_package.bbclass: Inhibit the default dependencies"

 meta/classes-recipe/bin_package.bbclass | 3 ---
 1 file changed, 3 deletions(-)

-- 
2.35.3



^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2023-10-27 20:13 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-27  8:09 [oe][OE-core][Patch 0/1] Revert "bin_package.bbclass: Inhibit the default dependencies" Max Krummenacher
2023-08-27  8:09 ` [oe][OE-core][Patch 1/1] " Max Krummenacher
2023-10-27 20:13   ` Peter Kjellerstedt
2023-08-27 21:23 ` [oe][OE-core][Patch 0/1] " Peter Kjellerstedt
2023-08-28 15:01   ` Max Krummenacher
     [not found]   ` <177F942FA4953D34.1521@lists.openembedded.org>
2023-08-28 15:09     ` Max Krummenacher
2023-08-28 16:22       ` [EXTERNAL] " Randolph Sapp
2023-08-28 19:45         ` Randolph Sapp
2023-08-28 19:50           ` Randolph Sapp
2023-08-28 17:10   ` Ryan Eatmon
2023-08-31 17:28     ` Peter Kjellerstedt
     [not found]     ` <178087E768B3479B.27804@lists.openembedded.org>
2023-10-07  0:10       ` Peter Kjellerstedt

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.