Monday, July 31, 2017

Re: dpb's junk and build depends

On Mon, Jul 31, 2017 at 10:58:17AM +0200, Marc Espie wrote:
> On Mon, Jul 31, 2017 at 09:12:51AM +0200, Matthieu Herrb wrote:
> > Hi,
> >
> > Does 'EXTRACT_SUFX = .zip' in a port's Makefile imply a BUILD_DEPEND
> > on unzip, or does the latter need to be added explicitely too?
> Definitely not related.
>
> > Context: using dpb -I list to build my favourite subset of packages,
> How about the actual options/config used ?
>
> > py-tz failed like this :
> >
> > >>> Building on localhost under devel/py-tz
> > BDEPENDS = [lang/python/2.7;archivers/unzip;devel/py-setuptools]
> > DIST = [devel/py-tz:pytz-2017.2.zip]
> > FULLPKGNAME = py-tz-2017.2
> > RDEPENDS = [lang/python/2.7;devel/py-setuptools]
> > >>> Running signature in devel/py-tz at 1501482775
> > Use of uninitialized value in string eq at /usr/libdata/perl5/OpenBSD/PackageRepository.pm line 444.
> Fun, but unrelated.
>
> > py-tz-2017.2: rebuild
> Looks like -R.
>
> > >>> Running clean in devel/py-tz at 1501482777
> Looks like -c
>
> > ===> devel/py-tz
> > ===> Cleaning for py-tz-2017.2
> > (Junk lock obtained for localhost at 1501482778)
> > >>> Running depends in devel/py-tz at 1501482778
> > /usr/sbin/pkg_add -aI -Dunsigned -rqU -Dupdate -Dupdatedepends -Drepair py-setuptools-28.6.1p0v0 python-2.7.13p2 unzip-6.0p11
> > was: /usr/sbin/pkg_add -aI -Dunsigned -rqU -Dupdate -Dupdatedepends -Drepair py-setuptools-28.6.1p0v0 python-2.7.13p2 unzip-6.0p11
> > /usr/sbin/pkg_add -aI -Dunsigned -rqU -Dupdate -Dupdatedepends -Drepair py-setuptools-28.6.1p0v0 python-2.7.13p2 unzip-6.0p11
> > >>> Running show-prepare-results in devel/py-tz at 1501482784
> > ===> devel/py-tz
> > ===> py-tz-2017.2 depends on: python->=2.7,<2.8 -> python-2.7.13p2
> > ===> py-tz-2017.2 depends on: py-setuptools->=28.6.1v0 -> py-setuptools-28.6.1p0v0
> > ===> py-tz-2017.2 depends on: unzip-* -> unzip-6.0p11
> > py-setuptools-28.6.1p0v0
> > python-2.7.13p2
> > unzip-6.0p11
> > Still tainted: 0
> That's the list of packages that should be kept
>
> > >>> Running junk in devel/py-tz at 1501482787
> > /usr/sbin/pkg_delete -aIXq
> And surprise, nothing is kept.
>
>
> No idea where the bug is.
>
> I definitely know you are using some options of dpb that are not regularly
> exercised, so how about a full list of options so I can figure out where
> this goes wrong ?...

dpb -c -u -R -I plist

with plist containing:

devel/cmake
devel/git,-main
editors/emacs,no_x11
fonts/msttcorefonts
mail/mutt,sasl
net/mosh
net/rsync
net/wget
shells/tcsh
sysutils/borgbackup
sysutils/sysclean
textproc/urlview


--
Matthieu Herrb

No comments:

Post a Comment