!UUYziobKGGxpovWyAN:nixos.org

Robotnix

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

Load older messages


SenderMessageTime
16 Nov 2024
@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
@oak:universumi.fioak 🏳️‍🌈♥️It's nice to get this kind of deep insight :D01:17:47
@atemu12:matrix.orgatemu12Well it's only a guess based on the log01:18:11
@atemu12:matrix.orgatemu12Make sure there's a proprietary/ for every device/01:18:42
@atemu12:matrix.orgatemu12 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.orgatemu12You 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.orgatemu12So 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.orgatemu12Well yeah, if you don't actually update the device dirs, it will never update the vendor dirs either02:07:14
@oak:universumi.fioak 🏳️‍🌈♥️I noticed some of the repos get updated to lineage-20 and I'm not sure is that the breakage you are talking about02:07:25
@atemu12:matrix.orgatemu1219 needs the combined vendor dirs02:07:46
@atemu12:matrix.orgatemu1220 has them split for each device02:07:52
@atemu12:matrix.orgatemu12(And SoC-specific vendor dirs AFAICT)02:08:05
@atemu12:matrix.orgatemu12If you're building 19, you want the vendor_oneplus thing02:08:47
@oak:universumi.fioak 🏳️‍🌈♥️but yes as I said after running the update scripts I get the same error, it's trying to run repo and the line has the "proprietary" in it02:10:32

Show newer messages


Back to Room ListRoom Version: 6