[LEDE-DEV] Using Conflicts:

Philip Prindeville philipp_subx at redfish-solutions.com
Wed Mar 8 21:02:33 PST 2017


Is there a reason we don’t use Conflicts: information from the packaging to stop overlapping installs from being selected when doing a build?

I understand that the buildbots build everything…  but it should be possible to differentiate between ’y’ and ‘m’ and detect to packages providing the same paths as both being combined into the same image/ISO (for example, below, /sbin/insmod being provided by “kmod” and “ubox” both)?

Right?  Or am I missing something?

-Philip


Collected errors:
 * check_data_file_clashes: Package bridge wants to install file /home/philipp/bertram/lede/build_dir/target-x86_64_westmere_musl_powercode-bmu/root-x86/usr/sbin/brctl
	But that file is already provided by package  * busybox
 * opkg_install_cmd: Cannot install package bridge.
 * check_data_file_clashes: Package isc-dhcp-server-ipv4 wants to install file /home/philipp/bertram/lede/build_dir/target-x86_64_westmere_musl_powercode-bmu/root-x86/etc/init.d/dhcpd
	But that file is already provided by package  * isc-dhcp-server-ipv6
 * check_data_file_clashes: Package isc-dhcp-server-ipv4 wants to install file /home/philipp/bertram/lede/build_dir/target-x86_64_westmere_musl_powercode-bmu/root-x86/usr/sbin/dhcpd
	But that file is already provided by package  * isc-dhcp-server-ipv6
 * opkg_install_cmd: Cannot install package isc-dhcp-server-ipv4.
 * check_data_file_clashes: Package kmod wants to install file /home/philipp/bertram/lede/build_dir/target-x86_64_westmere_musl_powercode-bmu/root-x86/sbin/insmod
	But that file is already provided by package  * ubox
 * check_data_file_clashes: Package kmod wants to install file /home/philipp/bertram/lede/build_dir/target-x86_64_westmere_musl_powercode-bmu/root-x86/sbin/lsmod
	But that file is already provided by package  * ubox
 * check_data_file_clashes: Package kmod wants to install file /home/philipp/bertram/lede/build_dir/target-x86_64_westmere_musl_powercode-bmu/root-x86/sbin/modinfo
	But that file is already provided by package  * ubox
 * check_data_file_clashes: Package kmod wants to install file /home/philipp/bertram/lede/build_dir/target-x86_64_westmere_musl_powercode-bmu/root-x86/sbin/modprobe
	But that file is already provided by package  * ubox
 * check_data_file_clashes: Package kmod wants to install file /home/philipp/bertram/lede/build_dir/target-x86_64_westmere_musl_powercode-bmu/root-x86/sbin/rmmod
	But that file is already provided by package  * ubox
 * opkg_install_cmd: Cannot install package kmod.
 * check_data_file_clashes: Package shadow-passwd wants to install file /home/philipp/bertram/lede/build_dir/target-x86_64_westmere_musl_powercode-bmu/root-x86/usr/bin/passwd
	But that file is already provided by package  * busybox
 * opkg_install_cmd: Cannot install package shadow-passwd.
 * check_data_file_clashes: Package shadow-passwd wants to install file /home/philipp/bertram/lede/build_dir/target-x86_64_westmere_musl_powercode-bmu/root-x86/usr/bin/passwd
	But that file is already provided by package  * busybox
 * opkg_install_cmd: Cannot install package shadow.
 * check_data_file_clashes: Package powercode-misc wants to install file /home/philipp/bertram/lede/build_dir/target-x86_64_westmere_musl_powercode-bmu/root-x86/etc/banner
	But that file is already provided by package  * base-files
 * check_data_file_clashes: Package powercode-misc wants to install file /home/philipp/bertram/lede/build_dir/target-x86_64_westmere_musl_powercode-bmu/root-x86/etc/collectd.conf
	But that file is already provided by package  * collectd
 * check_data_file_clashes: Package powercode-misc wants to install file /home/philipp/bertram/lede/build_dir/target-x86_64_westmere_musl_powercode-bmu/root-x86/etc/config/snmpd
	But that file is already provided by package  * snmpd
 * check_data_file_clashes: Package powercode-misc wants to install file /home/philipp/bertram/lede/build_dir/target-x86_64_westmere_musl_powercode-bmu/root-x86/etc/inittab
	But that file is already provided by package  * base-files
 * check_data_file_clashes: Package powercode-misc wants to install file /home/philipp/bertram/lede/build_dir/target-x86_64_westmere_musl_powercode-bmu/root-x86/etc/lighttpd/lighttpd.conf
	But that file is already provided by package  * lighttpd
 * check_data_file_clashes: Package powercode-misc wants to install file /home/philipp/bertram/lede/build_dir/target-x86_64_westmere_musl_powercode-bmu/root-x86/etc/php.ini
	But that file is already provided by package  * php7
 * check_data_file_clashes: Package powercode-misc wants to install file /home/philipp/bertram/lede/build_dir/target-x86_64_westmere_musl_powercode-bmu/root-x86/etc/rc.local
	But that file is already provided by package  * base-files
 * check_data_file_clashes: Package powercode-misc wants to install file /home/philipp/bertram/lede/build_dir/target-x86_64_westmere_musl_powercode-bmu/root-x86/etc/ssh/sshd_config
	But that file is already provided by package  * openssh-server
 * check_data_file_clashes: Package powercode-misc wants to install file /home/philipp/bertram/lede/build_dir/target-x86_64_westmere_musl_powercode-bmu/root-x86/etc/sysctl.conf
	But that file is already provided by package  * base-files
 * check_data_file_clashes: Package powercode-misc wants to install file /home/philipp/bertram/lede/build_dir/target-x86_64_westmere_musl_powercode-bmu/root-x86/etc/sysupgrade.conf
	But that file is already provided by package  * base-files
 * check_data_file_clashes: Package powercode-misc wants to install file /home/philipp/bertram/lede/build_dir/target-x86_64_westmere_musl_powercode-bmu/root-x86/lib/upgrade/keep.d/base-files
	But that file is already provided by package  * base-files
 * check_data_file_clashes: Package powercode-misc wants to install file /home/philipp/bertram/lede/build_dir/target-x86_64_westmere_musl_powercode-bmu/root-x86/lib/upgrade/keep.d/base-files-essential
	But that file is already provided by package  * base-files
 * check_data_file_clashes: Package powercode-misc wants to install file /home/philipp/bertram/lede/build_dir/target-x86_64_westmere_musl_powercode-bmu/root-x86/lib/upgrade/platform.sh
	But that file is already provided by package  * base-files
 * opkg_install_cmd: Cannot install package powercode-misc.
package/Makefile:64: recipe for target 'package/install' failed
make[2]: *** [package/install] Error 255
make[2]: Leaving directory '/home/philipp/bertram/lede'
package/Makefile:106: recipe for target '/home/philipp/bertram/lede/staging_dir/target-x86_64_westmere_musl_powercode-bmu/stamp/.package_install' failed
make[1]: *** [/home/philipp/bertram/lede/staging_dir/target-x86_64_westmere_musl_powercode-bmu/stamp/.package_install] Error 2
make[1]: Leaving directory '/home/philipp/bertram/lede'
/home/philipp/bertram/lede/include/toplevel.mk:199: recipe for target 'world' failed
make: *** [world] Error 2




More information about the Lede-dev mailing list