!UUYziobKGGxpovWyAN:nixos.org

Robotnix

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

Load older messages


SenderMessageTime
6 Jan 2026
@cyclopentane:aidoskyneen.eupentane And afaict the error message means that Soong can't properly resolve the dep libwifi-hal-qcom which is required by libwifi_hal_vendor_impl_defaults, which means that it already happens on a build system level 19:01:34
@cyclopentane:aidoskyneen.eupentaneso it's unlikely that there's some kind of API incompatibility19:01:48
@cyclopentane:aidoskyneen.eupentane * 19:01:53
@cyclopentane:aidoskyneen.eupentane * 19:01:58
@magic_rb:matrix.redalder.orgmagic_rbi was thinking maybe it checks somewhere19:02:20
@magic_rb:matrix.redalder.orgmagic_rbthe kernel19:02:21
@magic_rb:matrix.redalder.orgmagic_rbbut what i dont get19:02:27
@magic_rb:matrix.redalder.orgmagic_rb
Module "libwifi-hal-qcom" can be found in these namespaces: ["hardware/qcom-caf/wlan" "hardware/qcom-caf/wlan/qcwcn" "hardware/qcom/wlan" "hardware/qcom/wlan/legacy" "hardware/qcom/wlan/wcn6740"]
19:02:42
@magic_rb:matrix.redalder.orgmagic_rb it clearly is available, but it doesnt select the one it should, which imo is hardware/qcom-caf/wlan/qcwcn 19:03:01
@cyclopentane:aidoskyneen.eupentanehuh, some Soong namespace fuckery going on?19:03:18
@cyclopentane:aidoskyneen.eupentanei'd recommend reading up on Soong in that case19:03:33
@cyclopentane:aidoskyneen.eupentanepersonally i never did that that thoroughly but just very superficially19:03:56
@magic_rb:matrix.redalder.orgmagic_rb i think whats going on is that device description declares it wants qcom hal, but that can be based on those 5 listed modules 19:04:04
@magic_rb:matrix.redalder.orgmagic_rband for some reason it doesnt select the one it should, but just errors out19:04:25
@magic_rb:matrix.redalder.orgmagic_rbsorry, 5 namespaces19:04:45
@cyclopentane:aidoskyneen.eupentane oh and I'd recommend doing the trial and error work either with debugEnterEnv or without Nix in a standard git-repo checkout 19:05:34
@cyclopentane:aidoskyneen.eupentanewouldve saved me lots of work if i had started doing that earlier 😅19:06:07
@magic_rb:matrix.redalder.orgmagic_rb:P19:06:14
@cyclopentane:aidoskyneen.eupentane back in the day, danielfullmer wrote in the docs that robotnix isn't intended to speed up normal AOSP development but rather to make it easier to redistribute working setups, and after wasting dozens of hours trial-and-erroring non-incremental, sandboxed robotnix builds, i wholeheartedly agree with that 19:07:38
@magic_rb:matrix.redalder.orgmagic_rbi got somewhere19:10:44
@magic_rb:matrix.redalder.orgmagic_rb https://xdaforums.com/t/rom-14-oneplus-5-5t-aosp-for-oneplus-5-07-august-2024.4634505/post-89446115 19:10:56
@magic_rb:matrix.redalder.orgmagic_rbthis was the hint19:10:57
@magic_rb:matrix.redalder.orgmagic_rb i threw out "hardware/qcom/wlan" 19:11:10
@magic_rb:matrix.redalder.orgmagic_rband i got to a kernel compat issue :P19:11:14
@magic_rb:matrix.redalder.orgmagic_rb error: hardware/interfaces/compatibility_matrices/Android.bp:95:1: "framework_compatibility_matrix.6.xml" depends on undefined module "kernel_config_s_4.14". 19:11:25
@magic_rb:matrix.redalder.orgmagic_rbany idea what that is saying19:11:37
@magic_rb:matrix.redalder.orgmagic_rbah19:12:36
@magic_rb:matrix.redalder.orgmagic_rbonce in the env, what do i do?19:56:54
@magic_rb:matrix.redalder.orgmagic_rb
$ lunch lineage_kebab cur user
panic: Missing config cur.  Trace=[cur]

goroutine 1 [running]:
main.main()
	build/soong/cmd/release_config/release_config/main.go:71 +0x14c5
In file included from build/make/core/config.mk:419:
In file included from build/make/core/envsetup.mk:51:
build/make/core/release_config.mk:142: error: release-config failed to run.
19:56:41 dumpvars failed with: exit status 1
Device kebab not found. Attempting to retrieve device repository from LineageOS Github (http://github.com/LineageOS).
Found repository: android_device_oneplus_kebab
Traceback (most recent call last):
  File "/home/magicrb/robotnix/source/los/vendor/lineage/build/tools/roomservice.py", line 295, in <module>
    revision = get_default_or_fallback_revision(repo_name)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/magicrb/robotnix/source/los/vendor/lineage/build/tools/roomservice.py", line 248, in get_default_or_fallback_revision
    default_revision = get_default_revision()
                       ^^^^^^^^^^^^^^^^^^^^^^
  File "/home/magicrb/robotnix/source/los/vendor/lineage/build/tools/roomservice.py", line 104, in get_default_revision
    m = ElementTree.parse(get_manifest_path())
                          ^^^^^^^^^^^^^^^^^^^
  File "/home/magicrb/robotnix/source/los/vendor/lineage/build/tools/roomservice.py", line 96, in get_manifest_path
    m = ElementTree.parse(".repo/manifest.xml")
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/nix/store/8w718rm43x7z73xhw9d6vh8s4snrq67h-python3-3.12.10/lib/python3.12/xml/etree/ElementTree.py", line 1204, in parse
    tree.parse(source, parser)
  File "/nix/store/8w718rm43x7z73xhw9d6vh8s4snrq67h-python3-3.12.10/lib/python3.12/xml/etree/ElementTree.py", line 558, in parse
    source = open(source, "rb")
             ^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '.repo/manifest.xml'
panic: Missing config cur.  Trace=[cur]

goroutine 1 [running]:
main.main()
	build/soong/cmd/release_config/release_config/main.go:71 +0x14c5
In file included from build/make/core/config.mk:419:
In file included from build/make/core/envsetup.mk:51:
build/make/core/release_config.mk:142: error: release-config failed to run.
19:56:42 dumpvars failed with: exit status 1
panic: Missing config cur.  Trace=[cur]

goroutine 1 [running]:
main.main()
	build/soong/cmd/release_config/release_config/main.go:71 +0x14c5
In file included from build/make/core/config.mk:419:
In file included from build/make/core/envsetup.mk:51:
build/make/core/release_config.mk:142: error: release-config failed to run.
19:56:42 dumpvars failed with: exit status 1

** Don't have a product spec for: 'lineage_kebab'
** Do you have the right repo manifest?
19:56:56
@magic_rb:matrix.redalder.orgmagic_rbi think i get whats happening. lineageos has multiple drivers for qcom which implement the same qcom_hal which is extremely weird but sure. They probably have some patch somewhere which automatically imports the correct namespace, but im missing that so i gotta do it manually21:37:19

There are no newer messages yet.


Back to Room ListRoom Version: 6