!UUYziobKGGxpovWyAN:nixos.org

Robotnix

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

You have reached the beginning of time (for this room).


SenderMessageTime
20 Mar 2024
@mannp:mannuk.rocksmannp set a profile picture.14:24:39
@withoutwithin:matrix.orgXe (xe/they) changed their profile picture.19:00:51
21 Mar 2024
@mjolnir:nixos.orgmjolnirchanged room power levels.18:03:06
@grahamc:nixos.org@grahamc:nixos.org left the room.20:10:00
22 Mar 2024
@hakmark:matrix.orghakmark joined the room.11:03:43
23 Mar 2024
@ss:someonex.netSomeoneSerge (back on matrix) changed their display name from SomeoneSerge (hash-versioned python modules when) to SomeoneSerge (migrating synapse).02:11:07
24 Mar 2024
@voxel:seizure.icu@voxel:seizure.icu left the room.02:49:04
25 Mar 2024
@coding_coffee:matrix.orgAmeya Shenoy joined the room.08:33:34
@eyjhb:eyjhb.dkeyJhb
In reply to @atemu12:matrix.org
LineageOS is the one and only flavor I use ;)
Any plans for LineageOS 21 support?
20:28:16
@qyliss:fairydust.spaceAlyssa Ross left the room.20:30:38
26 Mar 2024
@cblacktech:matrix.orgcblacktech joined the room.02:01:27
@remex:matrix.org@remex:matrix.org joined the room.02:47:35
@atemu12:matrix.orgatemu12 eyJhb: None yet 03:50:50
@atemu12:matrix.orgatemu12I haven't touched robotnix in the past few months03:51:29
@eyjhb:eyjhb.dkeyJhbMakes sense. It's such a cool project, but also a huge undertaking!05:53:50
@eyjhb:eyjhb.dkeyJhb

Trying to build for FP4, applied PR 226

08:36:25
@eyjhb:eyjhb.dkeyJhb *

Trying to build for FP4, applied PR 226

[ 99% 396/398] test android/soong/java
[ 99% 397/398] test android/soong/apex
[100% 398/398] analyzing Android.bp files and generating ninja file at out/soong/build.ninja
FAILED: out/soong/build.ninja
cd "$(dirname "out/host/linux-x86/bin/soong_build")" && BUILDER="$PWD/$(basename "out/host/linux-x86/bin/soong_build")" && cd / && env -i  "$BUILDER"     --top "$TOP"     --soong_out "out/soong"     --out "out"     -o out/soong/build.ninja --globListDir b>
ninja: build stopped: subcommand failed.
08:17:20 soong bootstrap failed with: exit status 1
buildPhase completed in 1 minutes 23 seconds
@nix { "action": "setPhase", "phase": "installPhase" }
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

Any suggestions? Tried to update the directories, but a proprietary vendor repo doesn't have branch lineageos 20.

08:37:20
@eyjhb:eyjhb.dkeyJhb
[nix-shell:~/stash/robotnix/flavors/lineageos]$ grep -ir1 '//github.com/TheMuppets/proprietary_vendor_fairphone'
lineage-18.1/vendor-dirs.json-    "sha256": "09z5wv2ckrrmm323mlya9l19vlv78a2js3rdgbikcgzlqa75r3ad",
lineage-18.1/vendor-dirs.json:    "url": "https://github.com/TheMuppets/proprietary_vendor_fairphone"
lineage-18.1/vendor-dirs.json-  },
--
lineage-19.1/vendor-dirs.json-    "sha256": "0z9ixzzs8r929gpsbgwrcv3hpzh5nwmlfir1p2rxqgxir0fri7c9",
lineage-19.1/vendor-dirs.json:    "url": "https://github.com/TheMuppets/proprietary_vendor_fairphone"
lineage-19.1/vendor-dirs.json-  },
--
lineage-17.1/vendor-dirs.json-    "sha256": "0121a8fam9dg5lb2jm0pmqhnwcgy81kqi2aqadf5x58ykd6xzr7g",
lineage-17.1/vendor-dirs.json:    "url": "https://github.com/TheMuppets/proprietary_vendor_fairphone"
lineage-17.1/vendor-dirs.json-  },
--
lineage-20.0/vendor-dirs.json-    "sha256": "1197412xmzby9b43ck3h64xy7zyx1jpbwmdpa2p3dm0x10yn12ls",
lineage-20.0/vendor-dirs.json:    "url": "https://github.com/TheMuppets/proprietary_vendor_fairphone_FP3"
lineage-20.0/vendor-dirs.json-  },
--
lineage-20.0/vendor-dirs.json-    "sha256": "1iin8ivv4y6d25sm6vxyr09vqf36r3d4gg38l5qmbryl02ppfgad",
lineage-20.0/vendor-dirs.json:    "url": "https://github.com/TheMuppets/proprietary_vendor_fairphone_FP4"
lineage-20.0/vendor-dirs.json-  },

[nix-shell:~/stash/robotnix/flavors/lineageos]$ ./update_device_dirs.py --branch lineageos-20.0 fairphone_FP4
WARNING: You have less than 10 GiB free under /run/user/1000.
This script might fail if a checked-out repository is larger than 10 GiB.
Either free space at this location or set the TMPDIR environment variable to a path which has enough free space.
SKIP: lineageos-20.0 branch does not exist for FP4
SKIP: lineageos-20.0 branch does not exist for https://github.com/TheMuppets/proprietary_vendor_fairphone

I'm not even sure why it tries to use that repo for 20.0

08:40:02
@eyjhb:eyjhb.dkeyJhb
In reply to @eyjhb:eyjhb.dk
[nix-shell:~/stash/robotnix/flavors/lineageos]$ grep -ir1 '//github.com/TheMuppets/proprietary_vendor_fairphone'
lineage-18.1/vendor-dirs.json-    "sha256": "09z5wv2ckrrmm323mlya9l19vlv78a2js3rdgbikcgzlqa75r3ad",
lineage-18.1/vendor-dirs.json:    "url": "https://github.com/TheMuppets/proprietary_vendor_fairphone"
lineage-18.1/vendor-dirs.json-  },
--
lineage-19.1/vendor-dirs.json-    "sha256": "0z9ixzzs8r929gpsbgwrcv3hpzh5nwmlfir1p2rxqgxir0fri7c9",
lineage-19.1/vendor-dirs.json:    "url": "https://github.com/TheMuppets/proprietary_vendor_fairphone"
lineage-19.1/vendor-dirs.json-  },
--
lineage-17.1/vendor-dirs.json-    "sha256": "0121a8fam9dg5lb2jm0pmqhnwcgy81kqi2aqadf5x58ykd6xzr7g",
lineage-17.1/vendor-dirs.json:    "url": "https://github.com/TheMuppets/proprietary_vendor_fairphone"
lineage-17.1/vendor-dirs.json-  },
--
lineage-20.0/vendor-dirs.json-    "sha256": "1197412xmzby9b43ck3h64xy7zyx1jpbwmdpa2p3dm0x10yn12ls",
lineage-20.0/vendor-dirs.json:    "url": "https://github.com/TheMuppets/proprietary_vendor_fairphone_FP3"
lineage-20.0/vendor-dirs.json-  },
--
lineage-20.0/vendor-dirs.json-    "sha256": "1iin8ivv4y6d25sm6vxyr09vqf36r3d4gg38l5qmbryl02ppfgad",
lineage-20.0/vendor-dirs.json:    "url": "https://github.com/TheMuppets/proprietary_vendor_fairphone_FP4"
lineage-20.0/vendor-dirs.json-  },

[nix-shell:~/stash/robotnix/flavors/lineageos]$ ./update_device_dirs.py --branch lineageos-20.0 fairphone_FP4
WARNING: You have less than 10 GiB free under /run/user/1000.
This script might fail if a checked-out repository is larger than 10 GiB.
Either free space at this location or set the TMPDIR environment variable to a path which has enough free space.
SKIP: lineageos-20.0 branch does not exist for FP4
SKIP: lineageos-20.0 branch does not exist for https://github.com/TheMuppets/proprietary_vendor_fairphone

I'm not even sure why it tries to use that repo for 20.0

Fixed this part, had to specify lineage-20, for it to work. However, that gave other fun troubles (e.g. it wanted to output to lineage-20 folder, but it should be lineage-20.0. Solved by just renaming it for a short while)
08:45:53
@eyjhb:eyjhb.dkeyJhb
In reply to @eyjhb:eyjhb.dk

Trying to build for FP4, applied PR 226

[ 99% 396/398] test android/soong/java
[ 99% 397/398] test android/soong/apex
[100% 398/398] analyzing Android.bp files and generating ninja file at out/soong/build.ninja
FAILED: out/soong/build.ninja
cd "$(dirname "out/host/linux-x86/bin/soong_build")" && BUILDER="$PWD/$(basename "out/host/linux-x86/bin/soong_build")" && cd / && env -i  "$BUILDER"     --top "$TOP"     --soong_out "out/soong"     --out "out"     -o out/soong/build.ninja --globListDir b>
ninja: build stopped: subcommand failed.
08:17:20 soong bootstrap failed with: exit status 1
buildPhase completed in 1 minutes 23 seconds
@nix { "action": "setPhase", "phase": "installPhase" }
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

Any suggestions? Tried to update the directories, but a proprietary vendor repo doesn't have branch lineageos 20.

This still persists however :/
08:47:35
@eyjhb:eyjhb.dkeyJhb

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:eyjhb.dkeyJhb *

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:eyjhb.dkeyJhbSeems like a bigger project than anticipated to build FP409:21:52
@eyjhb:eyjhb.dkeyJhbWell, it seems to be a generic thing. Maybe I'm just not allowed to build anything Android.10:06:08
@eyjhb:eyjhb.dkeyJhbAnyone that can give me a device name that is "known" good in the past?10:08:22
@eyjhb:eyjhb.dkeyJhbJust so I can try it out.10:08:26
@atemu12:matrix.orgatemu12You appear to be missing the device-specific dirs10:08:30
@eyjhb:eyjhb.dkeyJhb
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

Show newer messages


Back to Room ListRoom Version: 6