Collected errors: * satisfy_dependencies_for

Many people only build the modules that they need, rather than trying to build all of them.

I think something is wrong with your build environment or config, as I've built apcupsd in the past locally.

what is weird is that it build on 18.06.1 with no error.
what linux distro you are using and version?

what a bummer, been able to build everything plus many nodejs packages and my own redis build, since LEDE and now with 18.06.2 is not generating the firmwares while almost all packages are built in 16 hours.
what bummer!
i have to wait until next version.
now i am testing Debian Testing repo instead of stable.
:confused:

jeff@deb-devel:~/devel/openwrt-ea8300$ lsb_release -a
No LSB modules are available.
Distributor ID:	Debian
Description:	Debian GNU/Linux 9.7 (stretch)
Release:	9.7
Codename:	stretch

works fine for the builds and packages I build, when properly configured. As I recall, the list of required host packages on the wiki was reasonably accurate.

for some of packages like classpath, u must install

apt install openjdk-8* ecj java-wrappers nasm bzr libpcap-ng-dev
1 Like

what is weird is that these errors should not prevent building the firmwares.
the errors:


   ERROR: package/feeds/packages/protobuf-c [host] failed to build.
   ERROR: package/feeds/node/node-modbus failed to build.
   ERROR: package/feeds/packages/addrwatch failed to build.
   ERROR: package/feeds/packages/bonnie++ failed to build.
   ERROR: package/feeds/packages/clamsmtp failed to build.
   ERROR: package/feeds/packages/classpath failed to build.
   ERROR: package/feeds/packages/cmdpad failed to build.
   ERROR: package/feeds/packages/crtmpserver failed to build.
   ERROR: package/feeds/packages/grilo-plugins failed to build.
   ERROR: package/feeds/packages/hamlib failed to build.
   ERROR: package/feeds/packages/jool failed to build.
   ERROR: package/feeds/packages/lcd4linux failed to build (build variant: full).
   ERROR: package/feeds/packages/lcdgrilo failed to build.
   ERROR: package/feeds/packages/libartnet failed to build.
   ERROR: package/feeds/packages/libmraa failed to build.
   ERROR: package/feeds/packages/libupm failed to build.
   ERROR: package/feeds/packages/loudmouth failed to build.
   ERROR: package/feeds/packages/nail failed to build.
   ERROR: package/feeds/packages/oath-toolkit failed to build.
   ERROR: package/feeds/packages/opencv failed to build.
   ERROR: package/feeds/packages/psqlodbc failed to build.
   ERROR: package/feeds/packages/quassel-irssi failed to build.
   ERROR: package/feeds/packages/rxtx failed to build.
   ERROR: package/feeds/packages/softethervpn [host] failed to build.
   ERROR: package/feeds/packages/softethervpn failed to build.
   ERROR: package/feeds/packages/v4l2rtspserver failed to build.
   ERROR: package/feeds/packages/wifidog failed to build (build variant: tls).

i save this, thanks for this plus package!

The big problem is that the required packages are built properly, but at the end of the make it tries to generate the basic firmware and then it tries to auto install those packages (kmod-cfg80211 and iw) and then is says Cannot satisfy the following dependencies problem.
How can it say Cannot satisfy the following dependencies, when it just freshly built all packages and the required packages are built (there are a few errored, but those are not part of this problem!).

SO WEIRD!

ok, i built again but i see both on r-pi3 and d-link dir 860l b1 have the problem iw package, even though it is built with the appropriate kmod for wifi (both hardware) it giving the same error, while on linksys wrt it builts. this is super weird and i cannot solve it.

This is the big error (as you can see, the package iw is built and supposed to work, but it is not):

Installing base-files (194.2-r7676-cddd7b4c77) to root...
Installing libgcc (7.3.0-1) to root...
Installing libc (1.1.19-1) to root...
Installing libubox (2018-07-25-c83a84af-2) to root...
Installing libuci (2018-08-11-4c8b4d6e-1) to root...
Installing libnl-tiny (0.1-5) to root...
Installing libubus (2018-10-06-221ce7e7-1) to root...
Installing libjson-c (0.12.1-2) to root...
Installing libblobmsg-json (2018-07-25-c83a84af-2) to root...
Installing ubusd (2018-10-06-221ce7e7-1) to root...
Installing ubus (2018-10-06-221ce7e7-1) to root...
Installing jshn (2018-07-25-c83a84af-2) to root...
Installing netifd (2018-11-19-4b83102d-2) to root...
Installing libjson-script (2018-07-25-c83a84af-2) to root...
Installing ubox (2018-02-14-128bc35f-2) to root...
Installing procd (2018-03-28-dfb68f85-1) to root...
Installing jsonfilter (2018-02-04-c7e938d6-1) to root...
Installing usign (2015-07-04-ef641914-1) to root...
Installing openwrt-keyring (2018-05-18-103a32e9-1) to root...
Installing fstools (2018-12-28-af93f4b8-3) to root...
Installing fwtool (1) to root...
Installing brcm2708-gpu-fw (2018-11-29-b428bdd819df8d0ad3009b64492a4b3d1f9453e4) to root...
Installing kernel (4.9.152-1-c6e26c45b4c24f2f211e9a79e1e5f9b7) to root...
Installing kmod-fs-vfat (4.9.152-1) to root...
Installing kmod-nls-base (4.9.152-1) to root...
Installing kmod-nls-cp437 (4.9.152-1) to root...
Installing kmod-nls-iso8859-1 (4.9.152-1) to root...
Installing kmod-nls-utf8 (4.9.152-1) to root...
Installing kmod-hid (4.9.152-1) to root...
Installing kmod-input-core (4.9.152-1) to root...
Installing kmod-input-evdev (4.9.152-1) to root...
Installing kmod-hid-generic (4.9.152-1) to root...
Package kmod-input-core (4.9.152-1) installed in root is up to date.
Package kmod-input-evdev (4.9.152-1) installed in root is up to date.
Installing kmod-lib-crc-ccitt (4.9.152-1) to root...
Installing kmod-nf-reject (4.9.152-1) to root...
Installing kmod-nf-reject6 (4.9.152-1) to root...
Installing kmod-nf-ipt (4.9.152-1) to root...
Installing kmod-nf-ipt6 (4.9.152-1) to root...
Installing kmod-ipt-core (4.9.152-1) to root...
Installing kmod-nf-conntrack (4.9.152-1) to root...
Installing kmod-nf-conntrack6 (4.9.152-1) to root...
Installing kmod-nf-nat (4.9.152-1) to root...
Installing kmod-ipt-conntrack (4.9.152-1) to root...
Installing kmod-ipt-nat (4.9.152-1) to root...
Installing kmod-ip6tables (4.9.152-1) to root...
Installing kmod-slhc (4.9.152-1) to root...
Installing kmod-ppp (4.9.152-1) to root...
Installing kmod-pppox (4.9.152-1) to root...
Installing kmod-pppoe (4.9.152-1) to root...
Package kmod-nls-base (4.9.152-1) installed in root is up to date.
Package kmod-nls-cp437 (4.9.152-1) installed in root is up to date.
Package kmod-nls-iso8859-1 (4.9.152-1) installed in root is up to date.
Package kmod-nls-utf8 (4.9.152-1) installed in root is up to date.
Installing kmod-mmc (4.9.152-1) to root...
Installing kmod-sound-core (4.9.152-1) to root...
Installing kmod-usb-core (4.9.152-1) to root...
Installing kmod-usb-hid (4.9.152-1) to root...
Installing kmod-sound-arm-bcm2835 (4.9.152-1) to root...
Installing kmod-brcmfmac (4.9.152+2017-11-01-9) to root...
Installing kmod-brcmutil (4.9.152+2017-11-01-9) to root...
Installing kmod-cfg80211 (4.9.152+2017-11-01-9) to root...
Package libc (1.1.19-1) installed in root is up to date.
Package libgcc (7.3.0-1) installed in root is up to date.
Installing libpthread (1.1.19-1) to root...
Installing librt (1.1.19-1) to root...
Installing iptables (1.6.2-1) to root...
Installing libxtables (1.6.2-1) to root...
Installing libip4tc (1.6.2-1) to root...
Installing libip6tc (1.6.2-1) to root...
Installing ip6tables (1.6.2-1) to root...
Package libip4tc (1.6.2-1) installed in root is up to date.
Package libip6tc (1.6.2-1) installed in root is up to date.
Package libxtables (1.6.2-1) installed in root is up to date.
Installing libiwinfo (2018-07-31-65b8333f-1) to root...
Installing iwinfo (2018-07-31-65b8333f-1) to root...
Package fstools (2018-12-28-af93f4b8-3) installed in root is up to date.
Package fwtool (1) installed in root is up to date.
Installing mtd (23) to root...
Installing brcmfmac-firmware-43430-sdio (2017-09-06-a61ac5cf-1) to root...
Installing brcmfmac-firmware-usb (2017-09-06-a61ac5cf-1) to root...
Installing wireless-regdb (2017-10-20-4343d359) to root...
Package libjson-c (0.12.1-2) installed in root is up to date.
Package libnl-tiny (0.1-5) installed in root is up to date.
Package libubox (2018-07-25-c83a84af-2) installed in root is up to date.
Package libblobmsg-json (2018-07-25-c83a84af-2) installed in root is up to date.
Package jshn (2018-07-25-c83a84af-2) installed in root is up to date.
Package libjson-script (2018-07-25-c83a84af-2) installed in root is up to date.
Installing libuclient (2018-11-24-3ba74ebc-1) to root...
Installing uclient-fetch (2018-11-24-3ba74ebc-1) to root...
Installing libwolfssl (3.15.3-stable-1) to root...
Installing firewall (2018-08-13-1c4d5bcd-1) to root...
Package netifd (2018-11-19-4b83102d-2) installed in root is up to date.
Installing odhcp6c (2018-07-14-67ae6a71-15) to root...
Installing dnsmasq (2.80-1.2) to root...
Installing dropbear (2017.75-7.1) to root...
Installing hostapd-common (2018-05-21-62566bc2-5) to root...
Package hostapd-common (2018-05-21-62566bc2-5) installed in root is up to date.
Package hostapd-common (2018-05-21-62566bc2-5) installed in root is up to date.
Package hostapd-common (2018-05-21-62566bc2-5) installed in root is up to date.
Package hostapd-common (2018-05-21-62566bc2-5) installed in root is up to date.
Package hostapd-common (2018-05-21-62566bc2-5) installed in root is up to date.
Package hostapd-common (2018-05-21-62566bc2-5) installed in root is up to date.
Installing wpad-mini (2018-05-21-62566bc2-5) to root...
Package hostapd-common (2018-05-21-62566bc2-5) installed in root is up to date.
Package hostapd-common (2018-05-21-62566bc2-5) installed in root is up to date.
Package hostapd-common (2018-05-21-62566bc2-5) installed in root is up to date.
Package hostapd-common (2018-05-21-62566bc2-5) installed in root is up to date.
Package hostapd-common (2018-05-21-62566bc2-5) installed in root is up to date.
Package hostapd-common (2018-05-21-62566bc2-5) installed in root is up to date.
Package hostapd-common (2018-05-21-62566bc2-5) installed in root is up to date.
Package hostapd-common (2018-05-21-62566bc2-5) installed in root is up to date.
Package hostapd-common (2018-05-21-62566bc2-5) installed in root is up to date.
Package hostapd-common (2018-05-21-62566bc2-5) installed in root is up to date.
Package hostapd-common (2018-05-21-62566bc2-5) installed in root is up to date.
Package hostapd-common (2018-05-21-62566bc2-5) installed in root is up to date.
Package hostapd-common (2018-05-21-62566bc2-5) installed in root is up to date.
Installing odhcpd-ipv6only (1.15-3) to root...
Installing ppp (2.4.7-12) to root...
Installing ppp-mod-pppoe (2.4.7-12) to root...
Package ppp-mod-pppoe (2.4.7-12) installed in root is up to date.
Package openwrt-keyring (2018-05-18-103a32e9-1) installed in root is up to date.
Installing opkg (2019-01-18-7708a01a-1) to root...
Package procd (2018-03-28-dfb68f85-1) installed in root is up to date.
Package ubox (2018-02-14-128bc35f-2) installed in root is up to date.
Installing logd (2018-02-14-128bc35f-2) to root...
Package libubus (2018-10-06-221ce7e7-1) installed in root is up to date.
Package ubus (2018-10-06-221ce7e7-1) installed in root is up to date.
Package ubusd (2018-10-06-221ce7e7-1) installed in root is up to date.
Installing uci (2018-08-11-4c8b4d6e-1) to root...
Package libuci (2018-08-11-4c8b4d6e-1) installed in root is up to date.
Package usign (2015-07-04-ef641914-1) installed in root is up to date.
Installing busybox (1.28.4-2) to root...
Installing e2fsprogs (1.44.1-1) to root...
Installing libuuid (2.32-2) to root...
Installing libblkid (2.32-2) to root...
Installing libcomerr (1.44.1-1) to root...
Installing libss (1.44.1-1) to root...
Installing libext2fs (1.44.1-1) to root...
Package libcomerr (1.44.1-1) installed in root is up to date.
Package libss (1.44.1-1) installed in root is up to date.
Package libext2fs (1.44.1-1) installed in root is up to date.
Installing libf2fs (1.10.0-1) to root...
Installing mkf2fs (1.10.0-1) to root...
Package jsonfilter (2018-02-04-c7e938d6-1) installed in root is up to date.
Package libblkid (2.32-2) installed in root is up to date.
Installing libsmartcols (2.32-2) to root...
Package libuuid (2.32-2) installed in root is up to date.
Installing partx-utils (2.32-2) to root...
Installing libavahi-client (0.6.32-3) to root...
Installing libexpat (2.2.5-1) to root...
Installing libdbus (1.10.4-1) to root...
Installing dbus (1.10.4-1) to root...
Installing libavahi-dbus-support (0.6.32-3) to root...
Installing libdaemon (0.14-5) to root...
Installing avahi-dbus-daemon (0.6.32-3) to root...
Installing libavahi-compat-libdnssd (0.6.32-3) to root...
Package libavahi-dbus-support (0.6.32-3) installed in root is up to date.
Package avahi-dbus-daemon (0.6.32-3) installed in root is up to date.
Package libavahi-client (0.6.32-3) installed in root is up to date.
Package libavahi-compat-libdnssd (0.6.32-3) installed in root is up to date.
Package libavahi-dbus-support (0.6.32-3) installed in root is up to date.
Package avahi-dbus-daemon (0.6.32-3) installed in root is up to date.
Package libavahi-client (0.6.32-3) installed in root is up to date.
Package libavahi-compat-libdnssd (0.6.32-3) installed in root is up to date.
Package libavahi-dbus-support (0.6.32-3) installed in root is up to date.
Package avahi-dbus-daemon (0.6.32-3) installed in root is up to date.
Package libavahi-client (0.6.32-3) installed in root is up to date.
Package libavahi-compat-libdnssd (0.6.32-3) installed in root is up to date.
Package libavahi-dbus-support (0.6.32-3) installed in root is up to date.
Package avahi-dbus-daemon (0.6.32-3) installed in root is up to date.
Package libavahi-client (0.6.32-3) installed in root is up to date.
Package libavahi-compat-libdnssd (0.6.32-3) installed in root is up to date.
Package libavahi-dbus-support (0.6.32-3) installed in root is up to date.
Package avahi-dbus-daemon (0.6.32-3) installed in root is up to date.
Package libdbus (1.10.4-1) installed in root is up to date.
Package dbus (1.10.4-1) installed in root is up to date.
Package libexpat (2.2.5-1) installed in root is up to date.
Package libdaemon (0.14-5) installed in root is up to date.
Configuring libgcc.
Configuring libc.
Configuring libnl-tiny.
Configuring libubox.
Configuring libuci.
Configuring libubus.
Configuring libiwinfo.
Configuring iwinfo.
Configuring libexpat.
Configuring libpthread.
Configuring libdbus.
Configuring dbus.
Configuring libavahi-dbus-support.
Configuring librt.
Configuring libdaemon.
Configuring avahi-dbus-daemon.
Configuring libuuid.
Configuring libf2fs.
Configuring mkf2fs.
Configuring libuclient.
Configuring uclient-fetch.
Configuring opkg.
Configuring kernel.
Configuring kmod-nls-base.
Configuring kmod-usb-core.
Configuring libjson-c.
Configuring libblobmsg-json.
Configuring ubusd.
Configuring ubus.
Configuring busybox.
Configuring kmod-input-core.
Configuring kmod-sound-core.
Configuring kmod-sound-arm-bcm2835.
Configuring kmod-nf-reject6.
Configuring kmod-lib-crc-ccitt.
Configuring kmod-slhc.
Configuring kmod-ppp.
Configuring kmod-pppox.
Configuring kmod-pppoe.
Configuring libavahi-client.
Configuring kmod-nf-reject.
Configuring kmod-nf-ipt.
Configuring kmod-ipt-core.
Configuring kmod-nf-conntrack.
Configuring kmod-ipt-conntrack.
Configuring jshn.
Configuring netifd.
Configuring libjson-script.
Configuring ubox.
Configuring procd.
Configuring jsonfilter.
Configuring usign.
Configuring openwrt-keyring.
Configuring fstools.
Configuring fwtool.
Configuring base-files.
Configuring kmod-nf-nat.
Configuring libblkid.
Configuring libsmartcols.
Configuring partx-utils.
Configuring dnsmasq.
Configuring kmod-input-evdev.
Configuring kmod-hid.
Configuring kmod-hid-generic.
Configuring kmod-usb-hid.
Configuring kmod-nls-cp437.
Configuring kmod-nls-iso8859-1.
Configuring kmod-nls-utf8.
Configuring kmod-fs-vfat.
Configuring libxtables.
Configuring libip4tc.
Configuring libip6tc.
Configuring kmod-nf-conntrack6.
Configuring kmod-ipt-nat.
Configuring firewall.
Configuring libcomerr.
Configuring kmod-mmc.
Configuring kmod-nf-ipt6.
Configuring kmod-ip6tables.
Configuring odhcp6c.
Configuring libwolfssl.
Configuring uci.
Configuring hostapd-common.
Configuring wpad-mini.
Configuring dropbear.
Configuring brcm2708-gpu-fw.
Configuring mtd.
Configuring odhcpd-ipv6only.
Configuring ppp.
Configuring logd.
Configuring libss.
Configuring iptables.
Configuring kmod-brcmutil.
Configuring libext2fs.
Configuring e2fsprogs.
Configuring brcmfmac-firmware-usb.
Configuring ip6tables.
Configuring libavahi-compat-libdnssd.
Configuring wireless-regdb.
Configuring kmod-cfg80211.
Configuring brcmfmac-firmware-43430-sdio.
Configuring ppp-mod-pppoe.
Collected errors:
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-brcmfmac:
 * 	iw
 * opkg_install_cmd: Cannot install package kmod-brcmfmac.
package/Makefile:65: recipe for target 'package/install' failed
make[2]: *** [package/install] Error 255
make[2]: Leaving directory '/build/source'
package/Makefile:104: recipe for target '/build/source/staging_dir/target-aarch64_cortex-a53_musl/stamp/.package_install' failed
make[1]: *** [/build/source/staging_dir/target-aarch64_cortex-a53_musl/stamp/.package_install] Error 2
make[1]: Leaving directory '/build/source'
/build/source/include/toplevel.mk:216: recipe for target 'world' failed
make: *** [world] Error 2

I can trigger the error as this:

make package/install V=s

I would try to build and install only the packages you need for your device, rather than everything.

Building all kernel modules and all packages is challenging. I'd start with a clean .config and go from there, without selecting any of the "build-all" options.

That is not a valid solution, because I want to build all the packages and there is no issue with Linksys WRT, they all build. Only D-LINK and R-PI3 has the same iw package problem.
I am still looking for the solution as if I use the buildbot it builds, but they said i should not use the buildbot.

besides, the buildbots can crunch all packages, so why can my small server can crunch everything?

I figured out one possible answer in another thread, so I thought to add it also here:

Release builds (and buildbot builds) are done in 2 phases:

  • phase1 buildbot builds just the core system and core packages, creates the firmware images, and compiles SDK.

    So, extra add-on packages do not disturb core compilation & firmware generation, and phase1 runs smoothly.

  • phase2 buildbot the uses the SDK created in phase1 to compile the add-on packages. Failures of a single package here are ignored, as the packages are in any case case compiled for the download repo (and not included in the firmware images that were compiled in phase1).

When you try to compile everything at once, the failing packages cause more disturbance. Normally nobody tries to compile all extra packages (including e.g. several VoIP telephone exchange variants)...

This is for master:
http://phase1.builds.openwrt.org/grid
http://phase2.builds.openwrt.org/grid

1 Like

Thanks so much, I will build just as this, 2 phases. Thank you so much for your help!

You can see the detailed build steps from the buildbot scripts.

Example ipq806x target:
http://phase1.builds.openwrt.org/builders/armvirt%2F32/builds/1049
http://phase2.builds.lede-project.org/builders/arm_cortex-a15_neon-vfpv4/builds/1958

The build scripts are also in git:
https://git.openwrt.org/?p=buildbot.git;a=tree

Not sure if it is worthwhile to really do your building that way, as possible users can use opkg to install normal user-space packages from the download repo in any case (and the both 18.06 and master phase2 buildbots compile new versions of them after all changes). So I do not really understand the need to build absolutely all packages that you are not even using by yourself.

Only the kernel/target-specific packages built in phase1 are really tied to the firmware compilation options and can be useful.

I just had no time to do perfectly, but given your help I improve my own firmwares and additional feeds (nodejs, redis and custom for firmwares)

Thank you so much. Now I got it, but until 18.06.1 had no problem if this situation.

the problem is that i am not able to configure a .config without building a firmware.
i can do phase1, it should work (is building now)

when i do phase2, at the end, before it should generate the Packages files
(http://downloads.openwrt.org/releases/18.06.2/packages/arm_cortex-a9_vfpv3/packages/Packages)
But before it generates the builds it calls
make package/install
the error is here - in this post error:
Collected errors: * satisfy_dependencies_for - #22 by patrikx3

How can i build phase2 without building the firmware, when the make it calls make package/install
and it should still continue the make but it stops and i cannot sign the packages because the Packages (http://downloads.openwrt.org/releases/18.06.2/packages/arm_cortex-a9_vfpv3/packages/Packages) files are missing.
So how can i configure the make to disable make packages/install (auto called) as that is where the error is.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.