Error during sdk installation

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?

Are you perhaps trying to use docker in rootless mode? Or perhaps really using podman instead of docker?

yes that’s it

– this text must be added so I can reach limit of minimum 20 characters –

Bump, do you maybe have any news regarding my situation?
I’ll repeat, yes I’m using docker in rootless mode.

No news to report. Docker is only supported in the normal “with root” mode.

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