I am getting following errors when trying to compile against 4.6.0.13 target:
tar: /srv/mer/toolings/SailfishOS-4.6.0.13/lib/libc.so.6: version `GLIBC_2.33' not found (required by tar)
tar: /srv/mer/toolings/SailfishOS-4.6.0.13/lib/libc.so.6: version `GLIBC_2.34' not found (required by tar)
tar: /srv/mer/toolings/SailfishOS-4.6.0.13/lib/libc.so.6: version `GLIBC_2.38' not found (required by tar)
The newest SDK supports the newest SFOS release. And with the last update comes a newer GLIBC. Maybe this is the reason. Please read the update announcement:
But of course you try a older blob so you can have the expection that the SDK will work with it.
Test tar -c foo.txt |sfdk tools exec NAME tar -t finishes with success for target with issue.
I have done more tests for installed targets and the issue apears for targets SailfishOS-4.6.0.13-aarch64 and SailfishOS-4.5.0.18-aarch64. Target SailfishOS-4.3.0.12-aarch64 works ok.
I use zcat %{SOURCE1} | tar -xvf - for unpacking source archive in rpm.spec file.