Webdm not working with 64bits Kernel and 32bits User Space: "$plat_abi=aarch64-linux-gnu" & "/snap/webdm/current/bin arm-linux-gnueabihf"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapweb |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
Webdm not working with 64bits Kernel and 32bits User Space: "$plat_
root@localhost:~# uname -i
aarch64
root@localhost:~# ls /snap/webdm/
arm-linux-gnueabihf
root@localhost:~# cat /snap/webdm/
exec $SNAP/bin/
=======
root@localhost:~# cat /snap/webdm/
#!/bin/sh
set -e
platform=$(uname -i)
case $platform in
x86_64)
;;
armv7l)
;;
aarch64)
;;
*)
echo "unknown platform for snappy-magic: $platform. remember to file a bug or better yet: fix it :)"
;;
esac
exec $SNAP/bin/
# never reach this
exit 1
=======
so
$plat_abi = aarch64-linux-gnu
and
/snap/webdm/
This is possibly due to the wrong version of the snap being uploaded to the store for the architecture or a problem with how `snap install` determines the architecture.
Could you try building from source and seeing if the resulting arm64 snap works? The project is now located here:
https:/ /github. com/snapcore/ snapweb
I've also a branch which uses `snapcraft` to construct the snap which may be more useful:
https:/ /github. com/snapcore/ snapweb/ tree/snapcraft