I don’t know, I can’t recall something shady. Beside that I could extract sucessfully the blobs. I think the writing permissions were only restricted to kde applications which I fixed now by using chown on ~/.kde and ~/.config/katerc.
I have deleted the whole working tree and created a new folder for FP Open OS. I’ll report each step I have done afterwards.
This is what I have until now (it is downloading):
xaxa@xaxa-desktop:~$ cd FP_Open_OS
xaxa@xaxa-desktop:~/FP_Open_OS$ dir
xaxa@xaxa-desktop:~/FP_Open_OS$ sha1sum ~/bin/repo
da0514e484f74648a890c0467d61ca415379f791 /home/xaxa/bin/repo
xaxa@xaxa-desktop:~/FP_Open_OS$ chmod u+x ~/bin/repo
xaxa@xaxa-desktop:~/FP_Open_OS$ repo init -b refs/tags/FP2-open-16.05.0
Get https://gerrit.googlesource.com/git-repo/clone.bundle
Get git-repo - Git at Google
remote: Finding sources: 100% (15/15)
remote: Total 15 (delta 1), reused 15 (delta 1)
Unpacking objects: 100% (15/15), done.
From git-repo - Git at Google
79fba68…8b39fb4 master → origin/master
fatal: manifest url (-u) is required.
xaxa@xaxa-desktop:~/FP_Open_OS$ eval ssh-agent
Agent pid 2115
xaxa@xaxa-desktop:~/FP_Open_OS$ ssh-add ~/.ssh/id_rsa
Enter passphrase for /home/xaxa/.ssh/id_rsa:
Identity added: /home/xaxa/.ssh/id_rsa (/home/xaxa/.ssh/id_rsa)
xaxa@xaxa-desktop:~/FP_Open_OS$ repo init -u ssh://code.fairphone.com:29418/fp2-dev/manifest -b refs/tags/FP2-open-16.05.0
Get ssh://code.fairphone.com:29418/fp2-dev/manifest
remote: Counting objects: 26, done
remote: Finding sources: 100% (26/26)
remote: Total 26 (delta 7), reused 26 (delta 7)
From ssh://code.fairphone.com:29418/fp2-dev/manifest
- [new branch] fp2-sibon → origin/fp2-sibon
- [new tag] FP2-open-16.05.0 → FP2-open-16.05.0
Your identity is: xaxa
If you want to change this, please re-run ‘repo init’ with --config-name
repo has been initialized in /home/xaxa/FP_Open_OS
xaxa@xaxa-desktop:~/FP_Open_OS$ repo sync
Fetching project fp2-dev/platform/external/bson
remote: Counting objects: 743, done
remote: Finding sources: 100% (743/743)
remote: Total 743 (delta 473), reused 743 (delta 473)
Receiving objects: 100% (743/743), 121.48 KiB | 0 bytes/s, done.
Resolving deltas: 100% (473/473), done.
From ssh://code.fairphone.com:29418/fp2-dev/platform/external/bson
- [new branch] fp2-sibon → origin/fp2-sibon
- [new branch] fp2-sibon-2.0.1 → origin/fp2-sibon-2.0.1
- [new branch] fp2-sibon-2.0.2 → origin/fp2-sibon-2.0.2
- [new tag] FP2-open-16.05.0 → FP2-open-16.05.0
[…]
Fetching projects: 14% (73/519) Fetching project fp2-dev/platform/external/aac
remote: Counting objects: 1216, done
remote: Finding sources: 100% (1216/1216)
remote: Total 1216 (delta 675), reused 1216 (delta 675)
Receiving objects: 100% (1216/1216), 4.11 MiB | 6.58 MiB/s, done.
Resolving deltas: 100% (675/675), done.
From ssh://code.fairphone.com:29418/fp2-dev/platform/external/aac
- [new branch] fp2-sibon → origin/fp2-sibon
- [new branch] fp2-sibon-2.0.1 → origin/fp2-sibon-2.0.1
- [new branch] fp2-sibon-2.0.2 → origin/fp2-sibon-2.0.2
- [new tag] FP2-open-16.05.0 → FP2-open-16.05.0
Fetching project fp2-dev/platform/packages/apps/SetupWizard
fatal: Project not found: fp2-dev/platform/packages/apps/SetupWizard
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
So now, I will edit ~/FP_Open_OS/.repo/manifests/default.xml and remove the SetupWizard
Syncing work tree: 100% (518/518), done.
xaxa@xaxa-desktop:~/FP_Open_OS$ wget http://code.fairphone.com/downloads/FP2/blobs/fp2-sibon-16.05.0-> blobs.tgz
–2016-05-30 21:08:23-- http://code.fairphone.com/downloads/FP2/blobs/fp2-sibon-16.05.0-blobs.tgz
Resolving code.fairphone.com (code.fairphone.com)… 37.187.31.110
Connecting to code.fairphone.com (code.fairphone.com)|37.187.31.110|:80… connected.
HTTP request sent, awaiting response… 200 OK
Length: 63268964 (60M) [application/octet-stream]
Saving to: ‘fp2-sibon-16.05.0-blobs.tgz’
fp2-sibon-16.05.0-blobs.tgz 100%[===================================================================>] 60,34M 5,74MB/s in 9,5s
2016-05-30 21:08:33 (6,34 MB/s) - ‘fp2-sibon-16.05.0-blobs.tgz’ saved [63268964/63268964]
xaxa@xaxa-desktop:~/FP_Open_OS$ tar zxvf fp2-sibon-16.05.0-blobs.tgz
fp2-sibon-16.05.0-blobs.sh
xaxa@xaxa-desktop:~/FP_Open_OS$ sh fp2-sibon-16.05.0-blobs.sh
Special License Agreement for downloading, installing and using Fairphone 2
[…]
Verifying archive integrity… All good.
Uncompressing blobs 100%
xaxa@xaxa-desktop:~/FP_Open_OS$ . build/envsetup.sh
[…]
xaxa@xaxa-desktop:~/FP_Open_OS$ choosecombo 1 FP2 2
[…]
xaxa@xaxa-desktop:~/FP_Open_OS$ make -j8
[…]
libnativehelper/JniInvocation.cpp:45: error: unsupported reloc 43
libnativehelper/JniInvocation.cpp:165: error: unsupported reloc 43
libnativehelper/JniInvocation.cpp:165: error: unsupported reloc 43
libnativehelper/JniInvocation.cpp:165: error: unsupported reloc 43
libnativehelper/JniInvocation.cpp:165: error: unsupported reloc 43
clang: error: linker command failed with exit code 1 (use -v to see invocation)
build/core/host_shared_library_internal.mk:44: recipe for target ‘out/host/linux-x86/obj32/lib/libnativehelper.so’ failed
make: *** [out/host/linux-x86/obj32/lib/libnativehelper.so] Error 1
make: *** Waiting for unfinished jobs…
host C++: dalvikvm <= art/dalvikvm/dalvikvm.cc
make failed to build some targets (01:03:44 (hh:mm:ss))