[OpenWrt-Devel] Dependency problem after changing package name

Jonas Gorski jonas.gorski at gmail.com
Sat Jun 22 08:24:06 EDT 2019


On Sat, 22 Jun 2019 at 13:50, Rafał Miłecki <zajec5 at gmail.com> wrote:
>
> On 22.06.2019 13:37, Rafał Miłecki wrote:
> > I renamed locally package "lua" to "luax" and updated dependency of
> > "lua-examples". A pretty simple change.
> >
> >
> > After that change I can't build OpenWrt anymore.
> >
> > # make V=s
> > (...)
> > Collected errors:
> >   * satisfy_dependencies_for: Cannot satisfy the following dependencies for lua-examples:
> >   *      luax
> >   * opkg_install_cmd: Cannot install package lua-examples.
> > make[2]: *** [package/Makefile:68: package/install] Error 255
> > (...)
>
> Jonas has just helped me. I forgot to change
> Package/lua/install
> to
> Package/luax/install
>
> Is that possible to make error message somehow more meaningful?

At this stage the damage is already done, and opkg does not know about
any of the Makefile stuff. We can try to warn when creating the ipks
though; something like
https://git.openwrt.org/76971461b77d8ace7c4ff208de0510301e75ecc1
should do the trick.


Regards
Jonas


>
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel at lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel

_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list