Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
andrey-konovalov opened this issue Jun 21, 2017 · 0 comments
Assignees

Comments

@andrey-konovalov
Copy link
Contributor

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

andrey-konovalov added a commit to andrey-konovalov/meta-96boards that referenced this issue Jun 27, 2017
rpm doesn't set the correct arch for symlinks:
96boards#156

Signed-off-by: Andrey Konovalov <[email protected]>
andrey-konovalov added a commit to linaro-mmwg/lhg-oe-manifests that referenced this issue Jun 28, 2017
Don't use RPM as the package format until this is fixed:
96boards/meta-96boards#156
(it brakes all 64-bit builds which use mali or powervr or any other
similar userland graphics driver which is single library file with
a bunch of synlinks to it)

Signed-off-by: Andrey Konovalov <[email protected]>
andrey-konovalov added a commit to andrey-konovalov/meta-96boards that referenced this issue Jun 30, 2017
rpm doesn't set the correct arch for symlinks:
96boards#156

Signed-off-by: Andrey Konovalov <[email protected]>
andrey-konovalov added a commit to linaro-mmwg/lhg-oe-manifests that referenced this issue Jul 3, 2017
mrchapp pushed a commit to mrchapp/meta-96boards that referenced this issue Dec 4, 2017
rpm doesn't set the correct arch for symlinks:
96boards#156

Signed-off-by: Andrey Konovalov <[email protected]>
Signed-off-by: Daniel Díaz <[email protected]>
mrchapp pushed a commit to mrchapp/meta-96boards that referenced this issue Dec 21, 2017
rpm doesn't set the correct arch for symlinks:
96boards#156

Signed-off-by: Andrey Konovalov <[email protected]>
Signed-off-by: Daniel Díaz <[email protected]>
mrchapp pushed a commit to mrchapp/meta-96boards that referenced this issue Dec 22, 2017
rpm doesn't set the correct arch for symlinks:
96boards#156

Signed-off-by: Andrey Konovalov <[email protected]>
Signed-off-by: Daniel Díaz <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants