luajit2 and luajit conflict
Open
Nobody has claimed this yet.
release/24.10
- Dominant language
- Makefile
- Stars
- 4.6k
- Forks
- 4k
- Avg merge
- 3d 12h
- Merged PRs (30d)
- 134
Description
make V=s -j1
Collected errors:
* check_data_file_clashes: Package luajit2 wants to install file /home/sjkhsl/openwrt-main/build_dir/target-x86_64_musl/root-x86/usr/lib/libluajit-5.1.so
But that file is already provided by package * luajit
* check_data_file_clashes: Package luajit2 wants to install file /home/sjkhsl/openwrt-main/build_dir/target-x86_64_musl/root-x86/usr/lib/libluajit-5.1.so.2
But that file is already provided by package * luajit
* check_data_file_clashes: Package luajit2 wants to install file /home/sjkhsl/openwrt-main/build_dir/target-x86_64_musl/root-x86/usr/lib/libluajit-5.1.so.2.1.0
But that file is already provided by package * luajit
* opkg_install_cmd: Cannot install package luajit2.
* check_data_file_clashes: Package luajit2 wants to install file /home/sjkhsl/openwrt-main/build_dir/target-x86_64_musl/root-x86/usr/lib/libluajit-5.1.so
But that file is already provided by package * luajit
* check_data_file_clashes: Package luajit2 wants to install file /home/sjkhsl/openwrt-main/build_dir/target-x86_64_musl/root-x86/usr/lib/libluajit-5.1.so.2
But that file is already provided by package * luajit
* check_data_file_clashes: Package luajit2 wants to install file /home/sjkhsl/openwrt-main/build_dir/target-x86_64_musl/root-x86/usr/lib/libluajit-5.1.so.2.1.0
But that file is already provided by package * luajit
* opkg_install_cmd: Cannot install package nginx-mod-lua-resty-lrucache.
make[2]: *** [package/Makefile:70: package/install] Error 255
make[2]: Leaving directory '/home/sjkhsl/openwrt-main'
make[1]: *** [package/Makefile:115: /home/sjkhsl/openwrt-main/staging_dir/target-x86_64_musl/stamp/.package_install] Error 2
make[1]: Leaving directory '/home/sjkhsl/openwrt-main'
make: *** [/home/sjkhsl/openwrt-main/include/toplevel.mk:232: world] Error 2
Contributor guide
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
Reproduce the conflict with make V=s -j1, then inspect the package definitions for luajit and luajit2, using the failure points in package/Makefile as context. Done means the packages no longer claim the same library files and nginx-mod-lua-resty-lrucache installs successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- lua
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100