coolsnowwolf / lede

Lean's LEDE source
Other
29.87k stars 19.54k forks source link

添加luci-app-kodexplorer后编译提示libgd和 #7825

Closed zhangguanzhang closed 3 years ago

zhangguanzhang commented 3 years ago

反馈bug/问题模板,提建议请删除

1.关于你要提交的问题

Q:是否搜索了issue (使用 "x" 选择)

2. 详细叙述

(1) 具体问题

A:添加 luci-app-kodexplorer 后编译提示 libgdlibgd-full 冲突

(2) 路由器型号和固件版本

A:N1 最新源码编译

(3) 详细日志

A:

Configuring kmod-nf-nathelper-extra.
 * check_data_file_clashes: Package libgd wants to install file /workdir/openwrt/build_dir/target-aarch64_cortex-a53_musl/root-armvirt/usr/lib/libgd.so
Configuring lm-sensors.
    But that file is already provided by package  * libgd-full
Configuring wol.
 * check_data_file_clashes: Package libgd wants to install file /workdir/openwrt/build_dir/target-aarch64_cortex-a53_musl/root-armvirt/usr/lib/libgd.so.3
Configuring luci-app-wol.
    But that file is already provided by package  * libgd-full
Configuring luci-i18n-wol-en.
 * check_data_file_clashes: Package libgd wants to install file /workdir/openwrt/build_dir/target-aarch64_cortex-a53_musl/root-armvirt/usr/lib/libgd.so.3.0.10
Configuring kmod-usb-net-pl.
    But that file is already provided by package  * libgd-full
Configuring luci-i18n-adbyby-plus-zh-cn.
 * opkg_install_cmd: Cannot install package apcupsd-cgi.
Configuring rtl8821ae-firmware.
 * check_data_file_clashes: Package libgd wants to install file /workdir/openwrt/build_dir/target-aarch64_cortex-a53_musl/root-armvirt/usr/lib/libgd.so
Configuring kmod-rtl8821ae.
    But that file is already provided by package  * libgd-full
Configuring kmod-usb-net-ipheth.
 * check_data_file_clashes: Package libgd wants to install file /workdir/openwrt/build_dir/target-aarch64_cortex-a53_musl/root-armvirt/usr/lib/libgd.so.3
Configuring rtl8723au-firmware.
    But that file is already provided by package  * libgd-full
Configuring libusb-compat4.
 * check_data_file_clashes: Package libgd wants to install file /workdir/openwrt/build_dir/target-aarch64_cortex-a53_musl/root-armvirt/usr/lib/libgd.so.3.0.10
Configuring kmod-usbip-client.
    But that file is already provided by package  * libgd-full
 * opkg_install_cmd: Cannot install package libgd.
make[2]: *** [package/Makefile:70: package/install] Error 255
make[1]: *** [package/Makefile:111: /workdir/openwrt/staging_dir/target-aarch64_cortex-a53_musl/stamp/.package_install] Error 2
Configuring python3-pip.
Configuring vim.

源码里 find grep 了下,应该是 apcupsd 冲突了

ghost commented 3 years ago

不是的,是你选的软件包中有libgd和libgd-full的依赖,是libgd和libgd-full起冲突了。

类似的有vnstat和vnstat2与nlbwmon/wlnlbwmon

zhangguanzhang commented 3 years ago

不是的,是你选的软件包中有libgd和libgd-full的依赖,是libgd和libgd-full起冲突了。

正如我所说的,就是 可道云和 apcupsd 冲突了。我关闭 apcupsd 后就变成成功了

ghost commented 3 years ago

去掉和libgd依赖的软件就可以了