facebookarchive / android-jsc

Scripts for building JSC for Android
Other
255 stars 38 forks source link

"Unrecognized archive format" error when running fetch_sources.sh #28

Open lyahdav opened 6 years ago

lyahdav commented 6 years ago

I cloned the repo and ran ./fetch_sources.sh and got the following error when extracting JSC:

➜  android-jsc git:(master) ./fetch_sources.sh
Downloading ICU
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 30.0M    0 30.0M    0     0  1545k      0 --:--:--  0:00:19 --:--:-- 1360k
Extracting ICU
Downloading JSC
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 11480    0 11480    0     0  12594      0 --:--:-- --:--:-- --:--:-- 12587
Extracting JSC
tar: Unrecognized archive format
tar: WebKit-r174650/Source/WTF: Not found in archive
tar: WebKit-r174650/Source/JavaScriptCore: Not found in archive
tar: Error exit delayed from previous errors.

According to this page, WebKit nightlies are no longer supported, so seems this script needs to be updated. They have a build archive here but it doesn't seem to have source code, just compiled code.

lyahdav commented 6 years ago

One workaround may be to try https://github.com/SoftwareMansion/jsc-android-buildscripts instead.