tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

bob: machine-readable report does not include DEPENDS



Hi Jonathan!

I am making good progress in adding support for bob reports to Bulktracker. I want to release a new version with support ASAP.

However, there is one show-stopper: the machine-readable reports generated by pbulk include a DEPENDS variable that gives the actual PKGNAMEs of the resolved dependencies as used in the build. For example:

PKGNAME=tree-sitter-c-0.20.7
PKG_LOCATION=textproc/tree-sitter-c
ALL_DEPENDS= digest>=20211023:../../pkgtools/digest libtool-base>=2.4.2nb9:../../devel/libtool-base mktools-[0-9]*:.
./../pkgtools/mktools cwrappers>=20150314:../../pkgtools/cwrappers
[...]
DEPENDS=digest-20220214 libtool-base-2.4.7nb1 mktools-20220614 cwrappers-20220403
PKG_DEPTH=98
BUILD_STATUS=done

The current code uses the DEPENDS line to calculate a list of failed dependencies. The reports generated by bob do not contain this line.

This is what bob outputs:

PKGNAME=tree-sitter-c-0.24.1
PKG_LOCATION=textproc/tree-sitter-c
ALL_DEPENDS= libtool-base>=2.4.2nb9:../../devel/libtool-base cwrappers>=20150314:../../pkgtools/cwrappers checkperms>
=1.1:../../sysutils/checkperms
[...]
PKG_DEPTH=98
BUILD_STATUS=done

Can the DEPENDS line be added? I would like to avoid resolving dependencies at ingestion time. (Is that even possible from the information in the report? Or does it need the source code?)

Thanks in advance!

--
Benny


Home | Main Index | Thread Index | Old Index