| 6 Jan 2026 |
pentane | 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 |
pentane | so it's unlikely that there's some kind of API incompatibility | 19:01:48 |
pentane | * | 19:01:53 |
pentane | * | 19:01:58 |
magic_rb | i was thinking maybe it checks somewhere | 19:02:20 |
magic_rb | the kernel | 19:02:21 |
magic_rb | but what i dont get | 19:02:27 |
magic_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 | it clearly is available, but it doesnt select the one it should, which imo is hardware/qcom-caf/wlan/qcwcn | 19:03:01 |
pentane | huh, some Soong namespace fuckery going on? | 19:03:18 |
pentane | i'd recommend reading up on Soong in that case | 19:03:33 |
pentane | personally i never did that that thoroughly but just very superficially | 19:03:56 |
magic_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 | and for some reason it doesnt select the one it should, but just errors out | 19:04:25 |
magic_rb | sorry, 5 namespaces | 19:04:45 |
pentane | 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 |
pentane | wouldve saved me lots of work if i had started doing that earlier 😅 | 19:06:07 |
magic_rb | :P | 19:06:14 |
pentane | 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 | i got somewhere | 19:10:44 |
magic_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 | this was the hint | 19:10:57 |
magic_rb | i threw out "hardware/qcom/wlan" | 19:11:10 |
magic_rb | and i got to a kernel compat issue :P | 19:11:14 |
magic_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 | any idea what that is saying | 19:11:37 |
magic_rb | ah | 19:12:36 |
magic_rb | once in the env, what do i do? | 19:56:54 |
magic_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 | i 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 manually | 21:37:19 |