| 13 May 2026 |
| c2vi joined the room. | 03:26:32 |
| 14 May 2026 |
| @pederbs:pvv.ntnu.no left the room. | 01:38:42 |
| 18 May 2026 |
autra | Hi! After building LOS 23.2 for my FP4, I tried to sign the build with ./release keys, but I have the following errors:
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "/nix/store/g2ldmzvabhf41l6482xk461jqpgvy1zz-ota-tools/bin/sign_target_files_apks/__main__.py", line 52, in <module>
File "/nix/store/g2ldmzvabhf41l6482xk461jqpgvy1zz-ota-tools/bin/sign_target_files_apks/__main__.py", line 46, in _soong_main
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "sign_target_files_apks.py", line 1958, in <module>
File "sign_target_files_apks.py", line 1933, in main
File "sign_target_files_apks.py", line 828, in ProcessTargetFiles
File "apex_utils.py", line 518, in SignApex
File "apex_utils.py", line 443, in SignCompressedApex
File "apex_utils.py", line 358, in SignUncompressedApex
File "apex_utils.py", line 95, in ProcessApexFile
apex_utils.ApexSigningError: Failed to find signing keys for apk file /tmp/tmp980x1snx/priv-app/com.android.appsearch.apk@BP4A.251205.006/com.android.appsearch.apk.apk in apex /tmp/original-apex-mims4y_k.apex. Use "-e <apkname>=" to specify a key
Any idea what might be the problem?
| 19:10:12 |
| 22 May 2026 |
| robbinsdev joined the room. | 06:22:18 |
robbinsdev | Hi, I hope this is something that's still supported, but I'm trying to use config.build.env to build AOSP 16-qpr2-release, but I'm hitting an error: = note: /nsjail_build_sandbox/prebuilts/clang/host/linux-x86/clang-r563880/bin/clang++-real: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory
I was using my own flake.nix, but nothing I seem to add allows clang to find that shared library. So I was wondering if Robotnix has ever had to deal with something like this, or just the nsjail stuff in general? I think nsjail is newly added for recent AOSP versions, right? I already added nsjailCmd.WriteString(" -R /nix/store") to build/soong/android/rule_builder.go, but I can't seem to get past this. I'm not sure if Soong clears LD_LIBRARY_PATH? I did experience this issue on A12: https://github.com/nix-community/robotnix/issues/153 but the same fix does not work on A16. And libz.so.1 is definitely at the various /usr/lib locations.
| 06:35:41 |
robbinsdev | Hm, I gave the nsjail /etc as a mount and now I guess because it can find /etc/ld.so.conf it knows where to find it? | 16:55:27 |
| 26 May 2026 |
| phanirithvij changed their display name from loudgolem to phanirithvij. | 11:40:45 |
| 27 May 2026 |
| @rasmata:matrix.org joined the room. | 18:19:27 |
| @rasmata:matrix.org left the room. | 18:19:34 |
| 29 May 2026 |
| lassulus changed their profile picture. | 07:06:27 |
| 3 Jun 2026 |
| @rasmata:matrix.org joined the room. | 09:31:41 |
| @rasmata:matrix.org left the room. | 09:31:49 |
| 4 Jun 2026 |
| Echo changed their profile picture. | 04:23:37 |
| 8 Jun 2026 |
autra | Ok I'm on stateVersion = 1 (because I flashed the device before it got introduced), but I think the correct -e option is only added when stateVersion is 3: https://github.com/nix-community/robotnix/blob/master/modules/signing.nix#L389
Apparently, this is added back for graphene os though : https://github.com/nix-community/robotnix/blob/master/modules/legacy-key-mappings.nix#L43
Should I add lineage os to this condition line 40? | 16:54:35 |
autra | Or maybe i should upgrade my stateVersion, but the doc says I need to wipe the device in this case. I'd rather not :-) | 17:22:05 |
autra | Ok, skimming through the source code, and searching this channel, I have food for thoughts ;-) At least I'm not the only one with this issue. | 17:28:51 |
autra | Ends up setting stateVersion to 3, deleting and recreating avb* files in my keys folder, and using signing.avb.size = 4096, and it worked. | 21:49:46 |
| 9 Jun 2026 |
autra | * I ended up setting stateVersion to 3, deleting and recreating avb* files in my keys folder, and using signing.avb.size = 4096, and it worked. | 12:06:44 |
autra | Wow, I hadn't looked at robotnix since a few months, and things are improving fast! Nice flake interface, good dev shell, repo-tool etc... Kudos to you guys :-) | 13:01:42 |
| 24 May 2021 |
| @grahamc:nixos.org set the history visibility to "world_readable". | 16:44:23 |
| @grahamc:nixos.org changed the room name to "" from "". | 16:44:23 |
| Server Stats Discoverer (traveler bot) joined the room. | 16:44:33 |
| @grahamc:nixos.org invited danielrf. | 16:44:48 |
| @grahamc:nixos.orgchanged room power levels. | 16:44:52 |
| hexa joined the room. | 16:45:03 |
| ajs124 joined the room. | 16:51:31 |
| andi- joined the room. | 16:55:26 |
| Matrix Traveler (bot) joined the room. | 16:58:08 |
| hmenke joined the room. | 17:08:01 |
| philipp joined the room. | 17:37:33 |