Skip to content

libMali/rpm: do_rootfs fails due to "no package provides libEGL.so()(64bit)" #156

@andrey-konovalov

Description

@andrey-konovalov

The error message is:
"Computing transaction...error: Can't install chromium-wayland-53.0.2785.143-r0@aarch64: no package provides libEGL.so()(64bit)"
or
"Computing transaction...error: Can't install weston-1.11.0-r0@aarch64: no package provides libwayland-egl.so()(64bit)"
etc.

The reason is that mali userland driver is single libMali.so and a number of symlinks pointing at it (libEGL.so.1.4, libEGL.so.1, libEGL.so, libGLESv1_CM.so*, libGLESv2.so*, libgbm.so*, libwayland-egl.so).
And rpm doesn't add "()(64bit)" to symlinks:

$ rpm -q --provides -p mali450-userland-r6p0-01rel0.hikey.rpm
warning: mali450-userland-r6p0-01rel0.hikey.rpm: Header V4 DSA/SHA1 Signature, key ID 30ef670f: NOKEY
elf(buildid) = e855e0c0d17cd37358dbebd2f2670cf770356cb4
libMali.so()(64bit)
libegl
libegl1
libgbm
libgles1
libgles2
libglesv1-cm1
libglesv2-2
mali450-userland = r6p0-01rel0
$ rpm -q --requires -p chromium-wayland-53.0.2785.143-r0.aarch64.rpm
warning: chromium-wayland-53.0.2785.143-r0.aarch64.rpm: Header V4 DSA/SHA1 Signature, key ID fa46f02c: NOKEY
/bin/sh
ld-linux-aarch64.so.1()(64bit)
ld-linux-aarch64.so.1(GLIBC_2.17)(64bit)
libEGL.so()(64bit)

An example log in jenkins (morty based build, multilib enabled):
https://ci.linaro.org/view/All/job/lhg-oe-build/MACHINE=hikey,label=lhg/111/consoleText

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions