Hi, when building the snap with electron-builder 23.6.0
and the electronuserland/builder:wine-mono
docker image on macOS M1 I’m facing
found errors in file output: unusual mode ‘rwxr-xr-x’ for symlink ‘./lib/x86_64-linux-gnu/libbsd.so.0 → libbsd.so.0.8.7’, unusual mode ‘rwxr-xr-x’ for symlink ‘./lib/x86_64-linux-gnu/libcom_err.so.2 → libcom_err.so.2.1’, unusual mode ‘rwxr-xr-x’ for symlink ‘./lib/x86_64-linux-gnu/libdbus-1.so.3 → libdbus-1.so.3.19.4’, unusual mode ‘rwxr-xr-x’ for symlink ‘./lib/x86_64-linux-gnu/libexpat.so.1 → libexpat.so.1.6.7’, unusual mode ‘rwxr-xr-x’ for symlink ‘./lib/x86_64-linux-gnu/libkeyutils.so.1 → libkeyutils.so.1.5’, unusual mode ‘rwxr-xr-x’ for symlink ‘./usr/lib/x86_64-linux-gnu/libXss.so.1 → libXss.so.1.0.0’, unusual mode ‘rwxr-xr-x’ for symlink ‘./usr/lib/x86_64-linux-gnu/libappindicator3.so.1 → libappindicator3.so.1.0.0’, unusual mode ‘rwxr-xr-x’ for symlink ‘./usr/lib/x86_64-linux-gnu/libdbusmenu-glib.so.4 → libdbusmenu-glib.so.4.0.12’, unusual mode ‘rwxr-xr-x’ for symlink ‘./usr/lib/x86_64-linux-gnu/libdbusmenu-gtk3.so.4 → libdbusmenu-gtk3.so.4.0.12’, unusual mode ‘rwxr-xr-x’ for symlink ‘./usr/lib/x86_64-linux-gnu/libfreebl3.so → nss/libfreebl3.so’, unusual mode ‘rwxr-xr-x’ for symlink ‘./usr/lib/x86_64-linux-gnu/libfreeblpriv3.so → nss/libfreeblpriv3.so’, unusual mode ‘rwxr-xr-x’ for symlink ‘./usr/lib/x86_64-linux-gnu/libindicator3.so.7 → libindicator3.so.7.0.0’ security-snap-v2_squashfs_files
and
checksums do not match. Please ensure the snap is created with either 'snapcraft pack <DIR> '(using snapcraft >= 2.38) or ‘mksquashfs <dir> -noappend -comp xz -all-root -no-xattrs -no-fragments’ (using squashfs-tools >= 4.3). If using electron-builder, please upgrade to latest stable (>= 20.14.7).
Already apply the recommended solutions detailed here: Automated reviews and snapcraft < 2.38 - #17 by jdstrand
But no success whatsoever. When doing unsquashfs
and mksquashfs
on the generated build from my Linux computer the snap-review
succeeds but when doing it on the macOS M1 the resquash test fails
Any suggestions?