!UUYziobKGGxpovWyAN:nixos.org

Robotnix

235 Members
Build Android (AOSP) using Nix | https://github.com/danielfullmer/robotnix72 Servers

Load older messages


SenderMessageTime
16 Nov 2024
@atemu12:matrix.orgatemu12Huh okay00:07:21
@atemu12:matrix.orgatemu12Good do know00:07:37
@oak:universumi.fioak 🏳️‍🌈♥️I think it could be a good idea to put some maximum in that default if it's based in CPU core count00:13:28
@atemu12:matrix.orgatemu12I think repo does that by default00:13:48
@oak:universumi.fioak 🏳️‍🌈♥️https://github.com/nix-community/robotnix/blob/master/scripts/mk_repo_file.py#L25100:15:32
@oak:universumi.fioak 🏳️‍🌈♥️It's not like the git cloning problem is that much CPU bound anyway, the most speedup comes from if some jobs wait for remote doing something while others can transfer during that time00:16:58
@atemu12:matrix.orgatemu12You'd be surprised how CPU-bound it can be00:18:27
@atemu12:matrix.orgatemu12Git needs to undo the delta compression for a whole bunch of BLOB repos and kernels 00:19:01
@atemu12:matrix.orgatemu12When I run the updater on my little home 4C server, it readily maxes out the CPU00:19:58
@oak:universumi.fioak 🏳️‍🌈♥️Now it's time to test, lineage-19.1 build00:33:35
@oak:universumi.fioak 🏳️‍🌈♥️ * Now it's time to test, lineage-19.1 build (without webview)00:33:46
@oak:universumi.fioak 🏳️‍🌈♥️I wonder if I should create issues for all the things I encounter00:35:47
@atemu12:matrix.orgatemu12Depends on what they are00:36:16
@atemu12:matrix.orgatemu12There's a matrix for stuff that's expected to work or not00:36:27
@oak:universumi.fioak 🏳️‍🌈♥️It wasn't actually the webview that was failing, I think it was the chromium apk package itself00:37:00
@atemu12:matrix.orgatemu12Yeah that's not unexpected00:37:17
@atemu12:matrix.orgatemu12I created an issue on yeeting chromium earlier00:37:31
@oak:universumi.fioak 🏳️‍🌈♥️

Ah yes this one I did encounter before:

error: hash mismatch in fixed-output derivation '/nix/store/hcz1f4ld47syakxfkl54p6s3g3jr972i-android_external_chromium-webview_prebuilt_arm-3a32a73.drv':
         specified: sha256-XEzHw0c/xPM3X8VDptJNZln2aOlxhkRXp+EDp1eM4NI=
            got:    sha256-C9Syc7A5OyL4iGV1n9qNvwsZ//A5t3E5PDOR0wd5Mu8=

For all these webview prebuilts the hashes are wrong, these should get updated by the update.sh?

00:39:13
@atemu12:matrix.orgatemu12Nope, webview stuff is entirely separate00:39:39
@atemu12:matrix.orgatemu12update.sh is for lineageos onlu00:39:45
@atemu12:matrix.orgatemu12 * update.sh is for lineageos only00:39:49
@oak:universumi.fioak 🏳️‍🌈♥️Yeah and if I fix the hashes manually inside the lineage-19.1/repo.json then they start to work00:40:31
@oak:universumi.fioak 🏳️‍🌈♥️I realized I actually need to set the webview setting to false because it probably defaults to true00:44:45
@oak:universumi.fioak 🏳️‍🌈♥️ * I realized I actually need to set the webview setting to false (in my configuration) because it probably defaults to true00:45:03
@oak:universumi.fioak 🏳️‍🌈♥️

Okay now it actually tried to build and:

FAILED: out/target/product/instantnoodlep/obj/ETC/build-manifest_intermediates/build-manifest.xml
/bin/bash -c "(mkdir -p out/target/product/instantnoodlep/obj/ETC/build-manifest_intermediates/ ) && (python3 .repo/repo/repo manifest -o - -r | grep -Ev \"proprietary_\" > out/target/product/instantnoodlep/obj/ETC/build-manifest_intermediates/build-manifest.xml )"
python3: can't open file '/build/.repo/repo/repo': [Errno 2] No such file or directory

00:58:11
@oak:universumi.fioak 🏳️‍🌈♥️Well I'll simply try to go to back to that commit id you gave01:06:39
@atemu12:matrix.orgatemu12It appears to be attempting to run repo during the build?01:07:23
@atemu12:matrix.orgatemu12That suggests to me it's missing some source dir01:07:32
@oak:universumi.fioak 🏳️‍🌈♥️I'm guessing it's trying to run repo to generate some kind of manifest to be included in the build01:16:02
@atemu12:matrix.orgatemu12Ah if you look closer it appears to be missing the proprietary vendor stuff01:16:45

Show newer messages


Back to Room ListRoom Version: 6