Ahoj,
I am trying to build an OpenWRT image with ppp-multilink
. As far as I understand, ppp-multilink
(CONFIG_PACKAGE_ppp-multilink=y
) is a ppp
with additional multilink support, i.e. it especially provides ppp
.
However, there are packages that specifically depend on ppp
(CONFIG_PACKAGE_ppp
) but cannot be satisfied wirth ppp-multilink
(mdemmanager
, pppossh
&& (dropbear
|| openssh-client
), openfortivpn
, sstp-client
, pptpd
, rp-pppoe-sniff
), so I am forced to bake ppp
into the image, which then gives a
But that file is already provided by package * ppp
error when trying to install ppp-multilink
:
- From the help page of
ppp
inmake menuconfig
:CONFIG_PACKAGE_ppp: [...] │ Symbol: PACKAGE_ppp [=y] │ Type : tristate │ Defined at tmp/.config-package.in:133532 │ Prompt: ppp........................................................... PPP daemon │ Location: │ -> Network │ Selects: PACKAGE_kmod-ppp [=y] && PACKAGE_librt [=y] && PACKAGE_libpthread [=y] && PACKAGE_libc [=y] │ Selected by [y]: │ - PACKAGE_modemmanager [=y] │ - PACKAGE_pppossh [=y] && (PACKAGE_dropbear [=y] || PACKAGE_openssh-client [=m]) │ - PACKAGE_openfortivpn [=y] │ - PACKAGE_sstp-client [=y] │ Selected by [m]: │ - PACKAGE_pptpd [=m] │ Selected by [n]: │ - MODULE_DEFAULT_ppp [=n] && TARGET_PER_DEVICE_ROOTFS [=n] && m && MODULES [=y] │ - PACKAGE_rp-pppoe-sniff [=n] && BROKEN [=n]
- From the help page of
ppp-multilink
inmake menuconfig
:CONFIG_PACKAGE_ppp-multilink: [...] │ Symbol: PACKAGE_ppp-multilink [=y] │ Type : tristate │ Defined at tmp/.config-package.in:133636 │ Prompt: ppp-multilink........................ PPP daemon (with multilink support) │ Location: │ -> Network │ Selects: PACKAGE_kmod-ppp [=y] && PACKAGE_libc [=y] && PACKAGE_libpthread [=y] && PACKAGE_librt [=y]
- When I am running
make -j1
in my OpenWRT directory, it fails with file conflicts:[...] * check_data_file_clashes: Package ppp-multilink wants to install file /[...]/openwrt-22.03/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/root-sunxi/etc/ppp/chap-secrets But that file is already provided by package * ppp * check_data_file_clashes: Package ppp-multilink wants to install file /[...]/openwrt-22.03/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/root-sunxi/etc/ppp/filter But that file is already provided by package * ppp * check_data_file_clashes: Package ppp-multilink wants to install file /[...]/openwrt-22.03/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/root-sunxi/etc/ppp/options But that file is already provided by package * ppp * check_data_file_clashes: Package ppp-multilink wants to install file /[...]/openwrt-22.03/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/root-sunxi/lib/netifd/ppp-down But that file is already provided by package * ppp * check_data_file_clashes: Package ppp-multilink wants to install file /[...]/openwrt-22.03/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/root-sunxi/lib/netifd/ppp-up But that file is already provided by package * ppp * check_data_file_clashes: Package ppp-multilink wants to install file /[...]/openwrt-22.03/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/root-sunxi/lib/netifd/ppp6-up But that file is already provided by package * ppp * check_data_file_clashes: Package ppp-multilink wants to install file /[...]/openwrt-22.03/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/root-sunxi/lib/netifd/proto/ppp.sh But that file is already provided by package * ppp * check_data_file_clashes: Package ppp-multilink wants to install file /[...]/openwrt-22.03/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/root-sunxi/usr/sbin/pppd But that file is already provided by package * ppp * opkg_install_cmd: Cannot install package ppp-multilink. [...]
- Full OpenWRT configuration: →
.config
.
How can CONFIG_PACKAGE_ppp-multilink=y
be selected?
Regards!
(*ping* @nbd as maintainer of package/network/services/ppp
)