FORUMS
Remove All Ads from XDA

[GUIDE] How to build LineageOS 16.0 on Windows 10 (via WSL 1.0)

324 posts
Thanks Meter: 233
 
By Uldiniad, Senior Member on 15th February 2018, 05:54 PM
Post Reply Email Thread
15th November 2018, 02:49 PM |#411  
Uldiniad's Avatar
OP Senior Member
Thanks Meter: 233
 
Donate to Me
More
Quote:
Originally Posted by kherio

I executed the repopick -t wsl-compile -f and I get the following messages. Is it correct? It seems not

~/android/lineage$ repopick -t wsl-compile -f
Applying change number 208102...
!! Force-picking a closed change !!

--> Subject: "Adapt ijar for WSL"
--> Project path: build/make
--> Change number: 208102 (Patch Set 15)
['git fetch github', u'refs/changes/02/208102/15']
From https://github.com/LineageOS/android_build
* branch refs/changes/02/208102/15 -> FETCH_HEAD
Not currently on any branch.
You are currently cherry-picking commit 14925d030.

nothing to commit, working tree clean
The previous cherry-pick is now empty, possibly due to conflict resolution.
If you wish to commit it anyway, use:

git commit --allow-empty

Otherwise, please use 'git reset'
WARNING: git command resulted with an empty commit, aborting cherry-pick

Applying change number 208328...
!! Force-picking a closed change !!

--> Subject: "Disable futexes on lxss"
--> Project path: art
--> Change number: 208328 (Patch Set 1)
['git fetch github', u'refs/changes/28/208328/1']
remote: Enumerating objects: 238579, done.
remote: Counting objects: 100% (238565/238565), done.
remote: Compressing objects: 100% (68981/68981), done.
remote: Total 235557 (delta 166696), reused 233466 (delta 164858), pack-reused 0
Receiving objects: 100% (235557/235557), 78.19 MiB | 1.88 MiB/s, done.
Resolving deltas: 100% (166696/166696), completed with 1928 local objects.
From https://github.com/LineageOS/android_art
* branch refs/changes/28/208328/1 -> FETCH_HEAD
[detached HEAD d0bbc055b] Disable futexes on lxss
Author: Bryan Tong Minh <[email protected]>
Date: Sat Jan 14 17:54:57 2017 +0100
1 file changed, 1 insertion(+), 1 deletion(-)

Applying change number 208384...
!! Force-picking a closed change !!

--> Subject: "Add detection for WSL"
--> Project path: build/make
--> Change number: 208384 (Patch Set 7)
['git fetch github', u'refs/changes/84/208384/7']
remote: Enumerating objects: 128192, done.
remote: Counting objects: 100% (128190/128190), done.
remote: Compressing objects: 100% (41796/41796), done.
remote: Total 127776 (delta 85417), reused 127390 (delta 85057), pack-reused 0
Receiving objects: 100% (127776/127776), 36.10 MiB | 1.57 MiB/s, done.
Resolving deltas: 100% (85417/85417), completed with 242 local objects.
From https://github.com/LineageOS/android_build
* branch refs/changes/84/208384/7 -> FETCH_HEAD
error: could not apply bae4f40b9b... Add detection for WSL
hint: after resolving the conflicts, mark the corrected paths
hint: with 'git add <paths>' or 'git rm <paths>'
hint: and commit the result with 'git commit'
Recorded preimage for 'core/combo/HOST_linux-x86_64.mk'
Recorded preimage for 'core/envsetup.mk'
ERROR: git command failed

quoting OP: "For those still insterested in building 15.1 (ignore the repopick step): https://web.archive.org/web/20180617...-15-1-t3750175 (do not report any errors if you sync this branch, I will ignore them since I do not have the means to maintain more than one branch on wsl)"
there's nothing to pick on 15.1 nor 16.0 cause my patches were merged
I recommend a clean sync and following the steps on the link, should work unless device tree is messed up
19th November 2018, 10:35 PM |#412  
Member
Flag oslo
Thanks Meter: 7
 
More
Im sorry for this question for sure its a wierd one, i use my laptop for builds and i use a SSD for the system and a HDD recently i got both working inside of the laptop, is there a way to make the subsystem store the things on the HDD ?
20th November 2018, 12:44 AM |#413  
Uldiniad's Avatar
OP Senior Member
Thanks Meter: 233
 
Donate to Me
More
Quote:
Originally Posted by Juanchito16

Im sorry for this question for sure its a wierd one, i use my laptop for builds and i use a SSD for the system and a HDD recently i got both working inside of the laptop, is there a way to make the subsystem store the things on the HDD ?

It's already been answered. Yes. Search the thread. I think it was among the first pages
20th November 2018, 02:53 PM |#414  
Junior Member
Thanks Meter: 0
 
More
HTML Code:
[CODE]ninja: error: '/home/jjut/los/out/target/product/albus/obj_arm/SHARED_LIBRARIES/libqsap_sdk_intermediates/export_includes', needed by '/home/jjut/los/out/target/product/albus/obj_arm/SHARED_LIBRARIES/libqsap_shim_intermediates/import_includes', missing and no known rule to make it
21:50:56 ninja failed with: exit status 1[/CODE]
Hello, how can I solve this problem?
20th November 2018, 06:04 PM |#415  
Uldiniad's Avatar
OP Senior Member
Thanks Meter: 233
 
Donate to Me
More
Quote:
Originally Posted by JJUTz

HTML Code:
[CODE]ninja: error: '/home/jjut/los/out/target/product/albus/obj_arm/SHARED_LIBRARIES/libqsap_sdk_intermediates/export_includes', needed by '/home/jjut/los/out/target/product/albus/obj_arm/SHARED_LIBRARIES/libqsap_shim_intermediates/import_includes', missing and no known rule to make it
21:50:56 ninja failed with: exit status 1[/CODE]
Hello, how can I solve this problem?

https://review.lineageos.org/#/q/albus
not sure but device bringup isn't finished. you may want to pick the open patches. but don't report errors here if they're not strictly due to wsl.
21st November 2018, 03:40 PM |#416  
Member
Flag oslo
Thanks Meter: 7
 
More
Quote:
Originally Posted by Uldiniad

It's already been answered. Yes. Search the thread. I think it was among the first pages

Well so far i got it and got the source synced, but when im going to sync the device specific things i get this "error: Exited sync due to fetch errors" it dont even tell me the reason.....
22nd November 2018, 04:32 PM |#417  
Uldiniad's Avatar
OP Senior Member
Thanks Meter: 233
 
Donate to Me
More
Quote:
Originally Posted by Juanchito16

Well so far i got it and got the source synced, but when im going to sync the device specific things i get this "error: Exited sync due to fetch errors" it dont even tell me the reason.....

I doubt there was nothing printer above the error that is not relevant. would be good to post. if device specific stuff is failing I think it might be that you messed up the roomservice step
23rd November 2018, 03:43 PM |#418  
Member
Flag oslo
Thanks Meter: 7
 
More
so after getting all running this is what i get.....

14:41:59 ************************************************** **********
14:41:59 You are building on a case-insensitive filesystem.
14:41:59 Please move your source tree to a case-sensitive filesystem.
14:41:59 ************************************************** **********
14:41:59 Case-insensitive filesystems not supported
14:41:59 Failed to run java: context canceled
24th November 2018, 09:54 AM |#419  
Member
Flag Mumbhai
Thanks Meter: 73
 
Donate to Me
More
i think vm better that this
24th November 2018, 05:33 PM |#420  
Uldiniad's Avatar
OP Senior Member
Thanks Meter: 233
 
Donate to Me
More
Quote:
Originally Posted by Sukrut4778

i think vm better that this

lol
24th November 2018, 05:35 PM |#421  
Uldiniad's Avatar
OP Senior Member
Thanks Meter: 233
 
Donate to Me
More
Quote:
Originally Posted by Juanchito16

so after getting all running this is what i get.....

14:41:59 ************************************************** **********
14:41:59 You are building on a case-insensitive filesystem.
14:41:59 Please move your source tree to a case-sensitive filesystem.
14:41:59 ************************************************** **********
14:41:59 Case-insensitive filesystems not supported
14:41:59 Failed to run java: context canceled

using mnt? or did you move wsl with the methods explained on their GitHub?
Post Reply Subscribe to Thread

Tags
bashonwindows, lineageos, windows, wsl

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes