| 26 Mar 2024 |
eyJhb | So it seems the reason it silently fails, is because it runs out of memory. If I closed all other software on my PC, I could get past that stage. However, now it's a new set of errors
| 08:57:19 |
eyJhb | * So it seems the reason it silently fails, is because it runs out of memory. If I closed all other software on my PC, I could get past that stage. However, now it's a new set of errors
[ 99% 589/590] finishing build rules ...
vendor/lineage/build/tasks/kernel.mk:139: warning: ***************************************************************
vendor/lineage/build/tasks/kernel.mk:140: warning: * Using prebuilt kernel binary instead of source *
vendor/lineage/build/tasks/kernel.mk:141: warning: * THIS IS DEPRECATED, AND IS NOT ADVISED. *
vendor/lineage/build/tasks/kernel.mk:142: warning: * Please configure your device to download the kernel *
vendor/lineage/build/tasks/kernel.mk:143: warning: * source repository to kernel/fairphone/sm7225
vendor/lineage/build/tasks/kernel.mk:144: warning: * for more information *
vendor/lineage/build/tasks/kernel.mk:145: warning: ***************************************************************
[100% 590/590] writing build rules ...
out/build-lineage_FP4-package.ninja is missing, regenerating...
[ 99% 591/593] initializing packaging system ...
[ 99% 592/593] including distdir.mk ...
[100% 593/593] writing packaging rules ...
08:55:45 Allowing all environment variables during ninja; incremental builds may be unsafe.
Starting ninja...
FAILED: ninja: 'out/target/product/FP4/kernel', needed by 'out/target/product/FP4/recovery.img', missing and no known rule to make it
08:55:51 ninja failed with: exit status 1
buildPhase completed in 2 minutes 35 seconds
installing
cat: ANDROID_PRODUCT_OUT: No such file or directory
cp: cannot stat '/otatools.zip': No such file or directory
cp: cannot stat '/obj/PACKAGING/target_files_intermediates/lineage_FP4-target_files-2023100409.zip': No such file or directory
/nix/store/f4p20wwc3y4k3i4xbjlr4yl2dc8rl5gq-robotnix-lineage_FP4-2023100409
| 08:57:31 |
eyJhb | Seems like a bigger project than anticipated to build FP4 | 09:21:52 |
eyJhb | Well, it seems to be a generic thing. Maybe I'm just not allowed to build anything Android. | 10:06:08 |
eyJhb | Anyone that can give me a device name that is "known" good in the past? | 10:08:22 |
eyJhb | Just so I can try it out. | 10:08:26 |
atemu12 | You appear to be missing the device-specific dirs | 10:08:30 |
eyJhb | In reply to @atemu12:matrix.org You appear to be missing the device-specific dirs It fails the build, but says it was successful
FAILED: ninja: 'out/target/product/FP4/kernel', needed by 'out/target/product/FP4/recovery.img', missing and no known rule to make it
08:55:51 ninja failed with: exit status 1
But yeah, seems to be missing something here :D
| 10:09:06 |
eyJhb | In reply to @atemu12:matrix.org You appear to be missing the device-specific dirs * It fails the build, but says it was successful
FAILED: ninja: 'out/target/product/FP4/kernel', needed by 'out/target/product/FP4/recovery.img', missing and no known rule to make it
08:55:51 ninja failed with: exit status 1
But yeah, seems to be missing something here .. :(
| 10:09:11 |
atemu12 | The updater script should collect those as metadata and robotnix automatically adds them to the source.dirs | 10:09:27 |
eyJhb | I tried building aura | 10:09:29 |
eyJhb | * I tried building aura, but that didn't work. | 10:09:36 |
eyJhb | In reply to @atemu12:matrix.org The updater script should collect those as metadata and robotnix automatically adds them to the source.dirs I tried running the updater script, to ensure that it was up-to-date etc. ./update_device_dirs.py --debug --branch lineage-20 fairphone_FP4 | 10:10:33 |
atemu12 | So I happen to also use the FP4; it's one of two devices I test for | 10:11:08 |
atemu12 | Master should work | 10:11:11 |
eyJhb | What | 10:11:20 |
atemu12 | What's your config? | 10:11:28 |
eyJhb |
| 10:11:41 |
eyJhb | CHrist | 10:11:44 |
eyJhb | # SPDX-FileCopyrightText: 2020 Daniel Fullmer and robotnix contributors
# SPDX-License-Identifier: MIT
# This is an example configuration that I personally use for my device.
# Please read the manual instead of simply copying this file for your own use.
{ config, pkgs, lib, ... }:
let
myDomain = "daniel.fullmer.me";
in
{
# These are required options, but commented out here since I set it programmatically for my devices elsewhere
device = "FP4";
flavor = "lineageos"; # "vanilla" is another option
# buildDateTime is set by default by the flavor, and is updated when those flavors have new releases.
# If you make new changes to your build that you want to be pushed by the OTA updater, you should set this yourself.
# buildDateTime = 1584398664; # Use `date "+%s"` to get the current time
# signing.enable = true;
# signing.keyStorePath = "/var/secrets/android-keys"; # A _string_ of the path for the key store.
# Build with ccache
ccache.enable = true;
apps.fdroid.enable = true;
apps.seedvault.enable = true;
microg.enable = true;
# disable this shit
apps.chromium.enable = false;
webview.chromium.enable = false;
# webview.prebuilt.enable = true;
}
| 10:11:47 |
atemu12 | In reply to @eyjhb:eyjhb.dk I tried running the updater script, to ensure that it was up-to-date etc. ./update_device_dirs.py --debug --branch lineage-20 fairphone_FP4 IIRC you can't update a single device | 10:12:03 |
eyJhb | But I'm running the 226 patch. I'll test master as-is instead | 10:12:05 |
atemu12 | Not sure what happens with the extra arg | 10:12:13 |
atemu12 | In reply to @eyjhb:eyjhb.dk CHrist That looks rather similar to mine | 10:12:35 |
eyJhb | In reply to @atemu12:matrix.org IIRC you can't update a single device https://github.com/nix-community/robotnix/issues/58#issuecomment-716734518 | 10:12:53 |
eyJhb | It seemed to work with just a single device | 10:13:00 |
atemu12 | Ah okay | 10:13:20 |
eyJhb | diff --git a/flavors/lineageos/lineage-20.0/device-dirs.json b/flavors/lineageos/lineage-20.0/device-dirs.json
index a42de6d..41dc77b 100644
--- a/flavors/lineageos/lineage-20.0/device-dirs.json
+++ b/flavors/lineageos/lineage-20.0/device-dirs.json
@@ -235,17 +235,15 @@
"url": "https://github.com/LineageOS/android_device_fairphone_FP3"
},
"device/fairphone/FP4": {
- "date": "2023-09-11T19:24:45+03:00",
+ "date": "2023-11-05T12:39:57+02:00",
"deepClone": false,
- "deps": [
- "kernel/fairphone/sm7225"
- ],
+ "deps": [],
"fetchLFS": false,
"fetchSubmodules": false,
"leaveDotGit": false,
- "path": "/nix/store/i22q596i7d1qhbayd2b9xvkvkk6n9w31-android_device_fairphone_FP4",
- "rev": "ddac87023d5744ae54a1b8477196ada5c6ba9399",
- "sha256": "1d4ifnd90c77dci7n3apv7px036f39syfy5l9xryxg8y07bp428a",
+ "path": "/nix/store/whm1grkk7aqhhrirxi4cm2a3mx4cp7zp-android_device_fairphone_FP4",
+ "rev": "f0c0027b1a43907684f33ceaf59e0bfcdba52f04",
+ "sha256": "1s431g27k0p6h5x52f524q8lmikbvdbpnc7hqr835zqknhp6b32b",
"url": "https://github.com/LineageOS/android_device_fairphone_FP4"
},
"device/fxtec/pro1": {
| 10:13:22 |
atemu12 | It's been a while since I touched that | 10:13:26 |
atemu12 | In reply to @eyjhb:eyjhb.dk
diff --git a/flavors/lineageos/lineage-20.0/device-dirs.json b/flavors/lineageos/lineage-20.0/device-dirs.json
index a42de6d..41dc77b 100644
--- a/flavors/lineageos/lineage-20.0/device-dirs.json
+++ b/flavors/lineageos/lineage-20.0/device-dirs.json
@@ -235,17 +235,15 @@
"url": "https://github.com/LineageOS/android_device_fairphone_FP3"
},
"device/fairphone/FP4": {
- "date": "2023-09-11T19:24:45+03:00",
+ "date": "2023-11-05T12:39:57+02:00",
"deepClone": false,
- "deps": [
- "kernel/fairphone/sm7225"
- ],
+ "deps": [],
"fetchLFS": false,
"fetchSubmodules": false,
"leaveDotGit": false,
- "path": "/nix/store/i22q596i7d1qhbayd2b9xvkvkk6n9w31-android_device_fairphone_FP4",
- "rev": "ddac87023d5744ae54a1b8477196ada5c6ba9399",
- "sha256": "1d4ifnd90c77dci7n3apv7px036f39syfy5l9xryxg8y07bp428a",
+ "path": "/nix/store/whm1grkk7aqhhrirxi4cm2a3mx4cp7zp-android_device_fairphone_FP4",
+ "rev": "f0c0027b1a43907684f33ceaf59e0bfcdba52f04",
+ "sha256": "1s431g27k0p6h5x52f524q8lmikbvdbpnc7hqr835zqknhp6b32b",
"url": "https://github.com/LineageOS/android_device_fairphone_FP4"
},
"device/fxtec/pro1": {
The updater done goof'd | 10:13:47 |