lolek
4 January 2022 21:32
1
Trying to install Sailfish SDK version 3.7.4 on Ubuntu 20.04
During installation I’m selecting docker,
this is the error I’m getting:
Error during installation process (org.merproject.mersdk):
Execution failed (Unexpected exit code: 1): “/usr/bin/docker build --tag sailfish-sdk-build-engine /home/lolek/SailfishOS/mersdk”
There’s also this in the log:
Step 1/5 : FROM scratch
—>
Step 2/5 : ADD sailfish.tar /
failed to copy files: Error processing tar file(exit status 1): lchown /etc/mersdk: invalid argument
Sending build context to Docker daemon 4.661GB
Step 1/5 : FROM scratch
—>
Step 2/5 : ADD sailfish.tar /
failed to copy files: Error processing tar file(exit status 1): lchown /etc/mersdk: invalid argument
Any ideas?
vige
5 January 2022 07:34
2
Are you perhaps trying to use docker in rootless mode? Or perhaps really using podman instead of docker?
lolek
5 January 2022 07:47
3
yes that’s it
– this text must be added so I can reach limit of minimum 20 characters –
lolek
17 January 2022 21:27
4
Bump, do you maybe have any news regarding my situation?
I’ll repeat, yes I’m using docker in rootless mode.
vige
18 January 2022 05:10
5
No news to report. Docker is only supported in the normal “with root” mode.
lolek
23 January 2022 20:50
6
Ok, I got it working with “normal docker” but it wasn’t straight forward.
Once I deleted all the SDK installation I started again and had problems getting project to work. Also the qtcreator was getting segfaults.
What helped was to wipe out SDK installation again and also the config which is inside of the
$HOME/.config/SailfishSDK
then install it again.
After that it seems it’s working properly.
Leaving it for others in case they’d have some problems.
1 Like
I got the same issue. Running the command manually and clicking Ignore
in the wizard worked on my side.