Open
Description
Error while makeing an AppImage bundle
It happens when I run:
dx bundle --package-types appimage
error is this:
0.762s INFO Copying app to output directory...
8.192s ERROR Failed to bundle project: BundlerError(
Error {
context: "error running build_appimage.sh",
source: GenericError(
"failed to run /home/ali/temp/hello_world_dx/target/dx/hello_world_dx/bundle/linux/bundle/appimage/build_appimage.sh",
),
},
)
8.198s ERROR err=BundleFailed(BundlerError(error running build_appimage.sh
Caused by:
`failed to run /home/ali/temp/hello_world_dx/target/dx/hello_world_dx/bundle/linux/bundle/appimage/build_appimage.sh`))
and when I Run 'build_appimage.sh' manually I get this:
+ export ARCH=x86_64
+ ARCH=x86_64
+ APPIMAGE_BUNDLE_XDG_OPEN=0
+ APPIMAGE_BUNDLE_XDG_MIME=0
+ APPIMAGE_BUNDLE_GSTREAMER=0
+ TAURI_TRAY_LIBRARY_PATH=0
+ '[' x86_64 == i686 ']'
+ linuxdeploy_arch=x86_64
+ mkdir -p HelloWorldDx.AppDir
+ cp -r ../appimage_deb/data/usr HelloWorldDx.AppDir
+ cd HelloWorldDx.AppDir
+ mkdir -p usr/bin
+ mkdir -p usr/lib
+ [[ 0 != \0 ]]
+ [[ 0 != \0 ]]
+ [[ 0 != \0 ]]
++ dirname '{}'
+ find -L /usr/lib /usr/lib64 /usr/libexec -name WebKitNetworkProcess -exec mkdir -p . ';' -exec cp --parents '{}' . ';'
find: ‘/usr/lib/ssl/private’: Permission denied
+ true
++ dirname '{}'
+ find -L /usr/lib /usr/lib64 /usr/libexec -name WebKitWebProcess -exec mkdir -p . ';' -exec cp --parents '{}' . ';'
find: ‘/usr/lib/ssl/private’: Permission denied
+ true
++ dirname '{}'
+ find -L /usr/lib /usr/lib64 /usr/libexec -name libwebkit2gtkinjectedbundle.so -exec mkdir -p . ';' -exec cp --parents '{}' . ';'
find: ‘/usr/lib/ssl/private’: Permission denied
+ true
+ cd /home/ali/.cache/tauri
+ wget -q -4 -N https://github.com/AppImage/AppImageKit/releases/download/continuous/AppRun-x86_64
+ chmod +x /home/ali/.cache/tauri/AppRun-x86_64
+ cp /home/ali/.cache/tauri/AppRun-x86_64 AppRun
+ cp usr/share/icons/hicolor/225x225/apps/hello_world_dx.png .DirIcon
+ ln -sf usr/share/icons/hicolor/225x225/apps/hello_world_dx.png HelloWorldDx.png
+ ln -sf usr/share/applications/HelloWorldDx.desktop HelloWorldDx.desktop
+ cd ..
+ [[ 0 != \0 ]]
+ gst_plugin=
+ cd /home/ali/.cache/tauri
+ wget -q -4 -N https://raw.githubusercontent.com/tauri-apps/linuxdeploy-plugin-gtk/master/linuxdeploy-plugin-gtk.sh
+ cd /home/ali/.cache/tauri
+ wget -q -4 -N https://github.com/tauri-apps/binary-releases/releases/download/linuxdeploy/linuxdeploy-x86_64.AppImage
+ chmod +x /home/ali/.cache/tauri/linuxdeploy-plugin-gtk.sh
+ chmod +x /home/ali/.cache/tauri/linuxdeploy-x86_64.AppImage
+ dd if=/dev/zero bs=1 count=3 seek=8 conv=notrunc of=/home/ali/.cache/tauri/linuxdeploy-x86_64.AppImage
3+0 records in
3+0 records out
3 bytes copied, 0.000119368 s, 25.1 kB/s
+ OUTPUT=HelloWorldDx_0.1.0_amd64.AppImage
+ /home/ali/.cache/tauri/linuxdeploy-x86_64.AppImage --appimage-extract-and-run --appdir HelloWorldDx.AppDir --plugin gtk --output appimage
Something went wrong trying to read the squashfs image.
Failed to open squashfs image
Failed to extract AppImage
it happens on just a simple hello_world app
Environment:
- Dioxus version: v0.6.1
- Rust version: 1.81.0 (stable)
- OS info: Kubuntu 24.04
- App platform: desktop (Linux-x86)
Questionnaire
I'm kinda interested in fixing this myself but don't know where to start