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

Stripping fails when using qemu-user-static (aarch64 on x86) #554

Open
2 tasks done
orowith2os opened this issue Jul 16, 2023 · 0 comments
Open
2 tasks done

Stripping fails when using qemu-user-static (aarch64 on x86) #554

orowith2os opened this issue Jul 16, 2023 · 0 comments

Comments

@orowith2os
Copy link

orowith2os commented Jul 16, 2023

Checklist

  • I agree to follow the Code of Conduct that this project adheres to.
  • I have searched the issue tracker for a bug that matches the one I want to file, without success.

flatpak-builder version

1.3.1

Flatpak version

1.15.4

How to reproduce

  1. Make a multi-arch (aarch64 and x86_64) Flatpak manifest that sets strip to true in build-options.
  2. Build a Flatpak application or extension on an x86 host in an aarch64 environment:
    flatpak-builder --user --force-clean build-dir org.freedesktop.Platform.VulkanLayer.gamescope.yml --install --arch=aarch64
  3. Watch as stripping fails.

To test this out, use the manifest in flathub/flathub#4329.

Expected Behavior

Stripping works normally, as it would when building on x86 and aarch64 natively.

Actual Behavior

Stripping fails when building a Flatpak not on the native arch.

Installing symlink pointing to libevdev.so.2 to /usr/lib/extensions/vulkan/gamescope/lib/libevdev.so
stripping: files/lib/libevdev.so.2.3.0
strip: Unable to recognise the format of the input file `/var/home/oro/org.freedesktop.Platform.VulkanLayer.gamescope/.flatpak-builder/rofiles/rofiles-ebVMtV/files/lib/libevdev.so.2.3.0'
Error: module libevdev: Child process exited with code 1
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

1 participant