I’m trying to get my local machine setup to build. I want to use Docker. I know the e docker image isn’t currently working so for now I am using the ‘Lineage OS for Microg’ docker image from https://github.com/lineageos4microg/docker-lineage-cicd
I have a local manifest with the following content
When I try to build I get the following error during the ‘repo sync’ stage fatal: could not read Username for 'https://github.com': No such device or address
Any clues what the problem could be? (I have used DuckDuckGo but not had found anything useful and I’m at a bit of a dead end)
I wonder if I need to generate some keys on my machine and add them to my github account. Not sure why I need to do that as I’m not trying to push anything - I just need to clone the repo
Your problem reminds me of some building sessions where GitHub was asking me for a user/pass (never searched why).
So your “No such device or address” may be related to the lack of terminal pseudo-device in Docker instance.
Thanks. I tried that but it made no difference
However, I cleaned up the .repo/local_manifests directory, deleted my manifest which specified the ‘Muppets’ the and set "INCLUDE_PROPRIETARY=true", and the sync has got past the point where it was previously falling over.
Moral: always tidy up your mess before you start again!
I’ll go to sleep now and check in the morning when the repo sync finishes
Solved: The answer is that you get this error message when there are typos / stupid mistakes in your manifest.
The corrected line is <project name="TheMuppets/proprietary_vendor_sony" path="vendor/sony" remote="github" revision="lineage-17.1">
removing the - character in The-Muppets
Moral #2: If something isn’t working and you’re tired and/or annoyed because you can’t see why, go do something else (run, sleep, golf), and come back to it with fresh eyes later
Ooooooooch! The build was running fine but slowly. After 17.5 hours it reached 97%, then died because out of disk space
I think this machine (MacBook Pro (13-inch, Early 2011), Intel Core i5 2.3 GHz, 16GB memory) isn’t up to building Android ROMs. Back to cloud computing for me!
I reached 99% of an Android 10 build (due to the lack of RAM) on a at least 10 years old laptop with only 6 Go of RAM (and 6 Go of swap), a poorer CPU and less than 250 Go of storage.
It should be achievable with yours.
It was already failing 2 times out of 3 while building for Pie, looks like Android 10 needs too much resources for my laptop.