[PATCH opkg] libopkg: pkg_hash: print unresolved dependencies

Alex Henrie alexhenrie24 at gmail.com
Mon May 3 03:45:54 BST 2021


On Sun, May 2, 2021 at 5:16 PM Daniel Golle <daniel at makrotopia.org> wrote:
>
> On Sun, May 02, 2021 at 10:59:12PM +0200, Hauke Mehrtens wrote:
> >
> >  libopkg/pkg_hash.c | 4 +++-
> >  1 file changed, 3 insertions(+), 1 deletion(-)
> >
> > diff --git a/libopkg/pkg_hash.c b/libopkg/pkg_hash.c
> > index a07a25e..6c04ab2 100644
> > --- a/libopkg/pkg_hash.c
> > +++ b/libopkg/pkg_hash.c
> > @@ -263,8 +263,10 @@ pkg_hash_check_unresolved(pkg_t *maybe)
> >       if (unresolved) {
> >               res = 1;
> >               tmp = unresolved;
> > -             while (*tmp)
> > +             while (*tmp) {
> > +                     opkg_msg(ERROR, "can not find dependency %s for %s\n", *tmp, maybe->name);
>                                         ^^^^^^^^^
> Should be 'cannot', it's spelled as one word in English (natives:
> correct me if I'm wrong!)

"Cannot", "can not", and "can't" are all correct.

-Alex



More information about the openwrt-devel mailing list