# Errors when using image builder for ipq806x

**URL:** <https://forum.openwrt.org/t/errors-when-using-image-builder-for-ipq806x/39992>\
**Category:** For Developers\
**Created:** [July 3, 2019, 12:29am UTC](https://forum.openwrt.org/t/errors-when-using-image-builder-for-ipq806x/39992 "2019-07-03T00:29:55Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![fantom-x](https://forum.openwrt.org/letter_avatar/fantom-x/32/5_5575768a8748004e209b776fc1b2916d.png) [@fantom-x](https://forum.openwrt.org/u/fantom-x)\
**Post date:** [July 3, 2019, 12:29am UTC](https://forum.openwrt.org/t/errors-when-using-image-builder-for-ipq806x/39992/1 "2019-07-03T00:29:55Z")

</div>

Since a few days ago I cannot build an image for R7800 from master: the build fails with a lot of errors like below. I checked and that packages are indeed missing: is there a way to check the status of the build to know when it is in a better shape?

```
Collected errors:
 * opkg_install_cmd: Cannot install package hostapd-utils.
 * opkg_install_cmd: Cannot install package wpad-openssl.
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for luci-ssl-openssl:
 * uhttpd
 * luci-base
 * luci-mod-status
 * luci-base
 * libuci20130104
 * libubus20170705
 * firewall
 * opkg
 * rpcd-mod-rrdns
 * libustream-openssl20150806

```

---

<div class="post-metadata">

**Author:** ![jeff](https://forum.openwrt.org/letter_avatar/jeff/32/5_5575768a8748004e209b776fc1b2916d.png) [@jeff](https://forum.openwrt.org/u/jeff)\
**Post date:** [July 3, 2019, 12:38am UTC](https://forum.openwrt.org/t/errors-when-using-image-builder-for-ipq806x/39992/2 "2019-07-03T00:38:56Z")

</div>

[http://downloads.openwrt.org/snapshots/faillogs/](http://downloads.openwrt.org/snapshots/faillogs/)

[http://phase2.builds.openwrt.org/](http://phase2.builds.openwrt.org/)

---

<div class="post-metadata">

**Author:** ![hnyman](https://forum.openwrt.org/user_avatar/forum.openwrt.org/hnyman/32/19_2.png) [@hnyman](https://forum.openwrt.org/u/hnyman)\
**Post date:** [July 3, 2019, 4:19am UTC](https://forum.openwrt.org/t/errors-when-using-image-builder-for-ipq806x/39992/3 "2019-07-03T04:19:41Z")

</div>

Strange. I can't figure out any recent change that would make such a wide array of core packages to fail in phase2 buildbot, as those faillogs currently imply for most/all targets.

@fantom-x  
Any recollection of how long you have noticed this? 2-3 days? or 1-2 weeks?

---

<div class="post-metadata">

**Author:** ![hnyman](https://forum.openwrt.org/user_avatar/forum.openwrt.org/hnyman/32/19_2.png) [@hnyman](https://forum.openwrt.org/u/hnyman)\
**Post date:** [July 3, 2019, 5:01am UTC](https://forum.openwrt.org/t/errors-when-using-image-builder-for-ipq806x/39992/4 "2019-07-03T05:01:49Z")

</div>

Possibly due to the latest lua changes.  
Reference to:

- [http://lists.infradead.org/pipermail/openwrt-devel/2019-July/017880.html](http://lists.infradead.org/pipermail/openwrt-devel/2019-July/017880.html)
- [https://bugs.openwrt.org/index.php?do=details&task\_id=2348](https://bugs.openwrt.org/index.php?do=details&task_id=2348)

---

<div class="post-metadata">

**Author:** ![hnyman](https://forum.openwrt.org/user_avatar/forum.openwrt.org/hnyman/32/19_2.png) [@hnyman](https://forum.openwrt.org/u/hnyman)\
**Post date:** [July 3, 2019, 6:35am UTC](https://forum.openwrt.org/t/errors-when-using-image-builder-for-ipq806x/39992/5 "2019-07-03T06:35:33Z")

</div>

Will be likely fixed by this commit, once the buildbot has completed new builds  
[https://git.openwrt.org/?p=openwrt/openwrt.git;a=commitdiff;h=47a984477b1d300047b3001971f0af0e371ea9ee](https://git.openwrt.org/?p=openwrt/openwrt.git;a=commitdiff;h=47a984477b1d300047b3001971f0af0e371ea9ee)

---

<div class="post-metadata">

**Author:** ![fantom-x](https://forum.openwrt.org/letter_avatar/fantom-x/32/5_5575768a8748004e209b776fc1b2916d.png) [@fantom-x](https://forum.openwrt.org/u/fantom-x)\
**Post date:** [July 3, 2019, 11:25am UTC](https://forum.openwrt.org/t/errors-when-using-image-builder-for-ipq806x/39992/6 "2019-07-03T11:25:51Z")

</div>

Not sure if it matters any more, but it was failing for up to a week. Strangely, I was able to build (with image builder) the firmware for a Turris Omnia from master, but not for a r7800.

---

<div class="post-metadata">

**Author:** ![hnyman](https://forum.openwrt.org/user_avatar/forum.openwrt.org/hnyman/32/19_2.png) [@hnyman](https://forum.openwrt.org/u/hnyman)\
**Post date:** [July 3, 2019, 11:39am UTC](https://forum.openwrt.org/t/errors-when-using-image-builder-for-ipq806x/39992/7 "2019-07-03T11:39:49Z")

</div>

> [@fantom-x](#):
>
> , but it was failing for up to a week.

Yeah, if the reason for breakage was lua 5.3 introduction to OpenWrt sources, it was since last Friday, 28th of June. (and then it depends a bit on luck, how the packages have got built in the buildbot for various targets.)

---

<div class="post-metadata">

**Author:** ![fantom-x](https://forum.openwrt.org/letter_avatar/fantom-x/32/5_5575768a8748004e209b776fc1b2916d.png) [@fantom-x](https://forum.openwrt.org/u/fantom-x)\
**Post date:** [July 3, 2019, 2:10pm UTC](https://forum.openwrt.org/t/errors-when-using-image-builder-for-ipq806x/39992/8 "2019-07-03T14:10:05Z")

</div>

Still failing, but the error is different now:

```
Collected errors:
* satisfy_dependencies_for: Cannot satisfy the following dependencies for luci-app-statistics:
* libip4tc0
* opkg_install_cmd: Cannot install package luci-app-statistics.
Makefile:152: recipe for target 'package_install' failed
make[2]: *** [package_install] Error 255
Makefile:111: recipe for target '_call_image' failed
make[1]: *** [_call_image] Error 2
Makefile:195: recipe for target 'image' failed
make: *** [image] Error 2

```

---

<div class="post-metadata">

**Author:** ![hnyman](https://forum.openwrt.org/user_avatar/forum.openwrt.org/hnyman/32/19_2.png) [@hnyman](https://forum.openwrt.org/u/hnyman)\
**Post date:** [July 3, 2019, 2:54pm UTC](https://forum.openwrt.org/t/errors-when-using-image-builder-for-ipq806x/39992/9 "2019-07-03T14:54:56Z")

</div>

> [@fantom-x](#):
>
> Cannot satisfy the following dependencies for luci-app-statistics: \* libip4tc0

Likely temporary error.  
iptables has been updated to 1.8.3 a few hours ago, so libip4tc0 has been upgraded and has been compiled by the phase1 buildbot (for armvirt) but phase2 buildbot has maybe not built the updated luci-app-statistics module after the iptables bump (so the dependency may be to wrong version).

I assume that the error will get fixed automatically in the next build rounds.

Ps. I build always my own builds from scratch. Much easier, as there is no dependency from the buildbot's cycle.

---

<div class="post-metadata">

**Author:** ![fantom-x](https://forum.openwrt.org/letter_avatar/fantom-x/32/5_5575768a8748004e209b776fc1b2916d.png) [@fantom-x](https://forum.openwrt.org/u/fantom-x)\
**Post date:** [July 3, 2019, 3:18pm UTC](https://forum.openwrt.org/t/errors-when-using-image-builder-for-ipq806x/39992/10 "2019-07-03T15:18:48Z")

</div>

> [@hnyman](#):
>
> Ps. I build always my own builds from scratch. Much easier, as there is no dependency from the buildbot's cycle.

I used to do that too, but it is time consuming. I really like using the image builder now and it only takes 5..10 minutes. I would rather be using 19.07, but it is not available so I have to use master to get the switch SNMP counter fix. There are not any customization I need to do any more.

---

<div class="post-metadata">

**Author:** ![system](https://forum.openwrt.org/uploads/default/original/3X/7/4/740520c71f00039bbf001045c682f0ecb25e905a.png) [@system](https://forum.openwrt.org/u/system)\
**Post date:** [July 13, 2019, 3:18pm UTC](https://forum.openwrt.org/t/errors-when-using-image-builder-for-ipq806x/39992/11 "2019-07-13T15:18:49Z")

</div>

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