The target of kernel module of sdk docker image for sunxi-cortexa53-24.10.0 is wrong
Nobody has claimed this yet.
- Dominant language
- Shell
- Stars
- 625
- Forks
- 103
- Avg merge
- 3d 22h
- Merged PRs (30d)
- 1
Description
When I build https://github.com/destan19/OpenAppFilter with openwrt/imagebuilder:sunxi-cortexa53-24.10.0 which require building kernel module. And I met the following
Collected errors:
* pkg_hash_check_unresolved: cannot find dependency kernel (= 6.6.73~d649d775435da5a8637f7a955a80d331-r1) for kmod-oaf
* pkg_hash_fetch_best_installation_candidate: Packages for kmod-oaf found, but incompatible with the architectures configured
* opkg_install_cmd: Cannot install package kmod-oaf.
* satisfy_dependencies_for: Cannot satisfy the following dependencies for luci-app-oaf:
* kernel (= 6.6.73~d649d775435da5a8637f7a955a80d331-r1)
* opkg_install_cmd: Cannot install package luci-app-oaf.
make[2]: *** [Makefile:234: package_install] Error 255
make[1]: *** [Makefile:161: _call_image] Error 2
make: *** [Makefile:337: image] Error 2
Then I check the artifacts and I find the path is strange
targets/mvebu/cortexa53forsunxi-cortexa53-23.05targets/mediatek/filogicforsunxi-cortexa53-24.10
ls -ld openwrt-sunxi-cortexa53-23.05-bin/targets/mvebu/cortexa53/packages/kernel_5.15.167-1-a0996ea97bfbf4ecf4fc55cb5f024ad2_aarch64_cortex-a53.ipk openwrt-sunxi-cortexa53-24.10-bin/targets/mediatek/filogic/packages/kernel_6.6.73\~d649d775435da5a8637f7a955a80d331-r1_aarch64_cortex-a53.ipk
-rw-r--r-- 1 tshen tshen 821 Feb 21 21:42 openwrt-sunxi-cortexa53-23.05-bin/targets/mvebu/cortexa53/packages/kernel_5.15.167-1-a0996ea97bfbf4ecf4fc55cb5f024ad2_aarch64_cortex-a53.ipk
-rw-r--r-- 1 tshen tshen 2251 Feb 21 21:15 openwrt-sunxi-cortexa53-24.10-bin/targets/mediatek/filogic/packages/kernel_6.6.73~d649d775435da5a8637f7a955a80d331-r1_aarch64_cortex-a53.ipk
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the ImageBuilder build with openwrt/imagebuilder:sunxi-cortexa53-24.10.0 and inspect the generated targets and kernel package paths shown in the report. Compare the 23.05 and 24.10 artifact layouts and verify that the selected target, kernel package, and kmod-oaf dependencies agree so the luci-app-oaf image build completes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, shell
- Domain
- build-system, devops
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100