ofmodemsandmen / ROOterSource2203

ROOter 22.03
Other
10 stars 12 forks source link

ext-rooter-basic build error #2

Open valerafcc opened 1 year ago

valerafcc commented 1 year ago
Collected errors:
 * check_data_file_clashes: Package ext-rooter-basic wants to install file /home/test/ROOterSource2203/build_dir/target-mipsel_24kc_musl/root-ramips/etc/usb-mode.json
    But that file is already provided by package  * usb-modeswitch
 * opkg_install_cmd: Cannot install package ext-rooter4.
 * check_data_file_clashes: Package ext-rooter-basic wants to install file /home/test/ROOterSource2203/build_dir/target-mipsel_24kc_musl/root-ramips/etc/usb-mode.json
    But that file is already provided by package  * usb-modeswitch
 * opkg_install_cmd: Cannot install package ext-rooter-basic.
package/Makefile:66: recipe for target 'package/install' failed
murad0522 commented 1 year ago

untick usbswitch from (make menuconfig) or search in .config for usb-modeswitch and put # before it and rerun make file

valerafcc commented 1 year ago

untick usbswitch from (make menuconfig) or search in .config for usb-modeswitch and put # before it and rerun make file

usb-modeswitch is a dependency for ext-rooter-basic, besides, this package is needed to work with modems.

https://github.com/ofmodemsandmen/ROOterSource2203/blob/51f3ea06fc54552fc48bb0c5351bc5772ce3b218/package/rooter/ext-rooter-basic/Makefile#L24

murad0522 commented 1 year ago

There is another package trying to install it, so conflict happens. just put # before it, and the package ext-rooter4 will install it because it dependency

valerafcc commented 1 year ago

untick usbswitch from (make menuconfig) or search in .config for usb-modeswitch and put # before it and rerun make file

This recommendation does not work. You cannot disable the package via make menuconfig

Even if you comment out in .config, then .config is overwritten according to the dependencies when the build script is run ./build

Demiurge67 commented 10 months ago

I try different method. I disable package in menuconfig rooter-light and rooter-basic and I selected a set of packages manually. This is magic circle - I need qmi and mbim, but I can`t used it. But just a few months ago everything was working fine... This problem repeats on 19, 21, 22,2 3 Rooter, however, the umbim script appears there and the problem doubles

Demiurge67 commented 10 months ago

This is with UQMI:

Collected errors:
 * check_data_file_clashes: Package rqmi wants to install file /home/dem/R19/build_dir/target-mipsel_24kc_musl/root-ramips/lib/netifd/proto/qmi.sh
    But that file is already provided by package  * uqmi
 * check_data_file_clashes: Package rqmi wants to install file /home/dem/R19/build_dir/target-mipsel_24kc_musl/root-ramips/sbin/uqmi
    But that file is already provided by package  * uqmi
 * opkg_install_cmd: Cannot install package rqmi.

This is without UQMI:

Collected errors:
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for rqmi:
 *  uqmi
 * opkg_install_cmd: Cannot install package rqmi.
make[2]: *** [package/Makefile:68: package/install] Error 255