!UUYziobKGGxpovWyAN:nixos.org

Robotnix

229 Members
Build Android (AOSP) using Nix | https://github.com/nix-community/robotnix69 Servers

Load older messages


SenderMessageTime
16 Nov 2024
@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.orgAtemuDepends on what they are00:36:16
@atemu12:matrix.orgAtemuThere'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.orgAtemuYeah that's not unexpected00:37:17
@atemu12:matrix.orgAtemuI 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.orgAtemuNope, webview stuff is entirely separate00:39:39
@atemu12:matrix.orgAtemuupdate.sh is for lineageos onlu00:39:45
@atemu12:matrix.orgAtemu * 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.orgAtemuIt appears to be attempting to run repo during the build?01:07:23
@atemu12:matrix.orgAtemuThat 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.orgAtemuAh if you look closer it appears to be missing the proprietary vendor stuff01:16:45
@oak:universumi.fioak 🏳️‍🌈♥️It's nice to get this kind of deep insight :D01:17:47
@atemu12:matrix.orgAtemuWell it's only a guess based on the log01:18:11
@atemu12:matrix.orgAtemuMake sure there's a proprietary/ for every device/01:18:42
@atemu12:matrix.orgAtemu In source.dirs 01:18:47
@oak:universumi.fioak 🏳️‍🌈♥️From the commit you gave me, I was able to build lineageos-19.1 but if I try to update things with update.sh things start to break the same way02:05:39
@atemu12:matrix.orgAtemuYou won't be able to update from that commit in the first place as its update script would have been broken by now02:06:08
@atemu12:matrix.orgAtemuSo I wonder how you'd have done that?02:06:20
@oak:universumi.fioak 🏳️‍🌈♥️Ah I wasn't able to update all the device dirs, maybe that's the reason for problems02:06:51
@oak:universumi.fioak 🏳️‍🌈♥️I only manually updated instantnoodlep02:07:04
@atemu12:matrix.orgAtemuWell yeah, if you don't actually update the device dirs, it will never update the vendor dirs either02:07:14

Show newer messages


Back to Room ListRoom Version: 6