Re: git: ccc21de09381 - main - devel/binutils: Add devel/elfutils dependency options

From: Mathieu Arnold <mat_at_freebsd.org>
Date: Thu, 29 Aug 2024 15:57:38 UTC
On Thu, Aug 29, 2024 at 07:44:34AM GMT, Cy Schubert wrote:
> > Hi Cy,
> >
> > It looks like there is a --with-debuginfod configure option.  Could we
> > remove the OPTIONS_RADIO and make it a single ELFU knob?  Something like
> > below would make detection of the library and the dependency on
> > devel/elfutils deterministic.
> >
> > ELFU_DESC=		Depend on devel/elfutils
> > ELFU_CONFIGURE_WITH=	debuginfod
> > ELFU_LIB_DEPENDS=	libdebuginfod.so:devel/elfutils
> 
> I suppose but this would mean users who have depended upon the old behavior 
> would need to actually specify it. I was trying to avoid changing any 
> implied behavior.
> 
> This of course would necessitate a PORTREVISION bump because even though 
> this change doesn't affect poudriere builds it will affect users who build 
> binutils manually.

It's not really a behavior, it's a random fluke, if you had elfutils
installed, then it used it without you knowing about it.

Building ports should be as deterministic as possible, I think there is
a paragraph in the porter's hanbook about that.

> Consider it done.

Thank you

-- 
Mathieu Arnold