On 2024/04/16 08:44, Antoine Jacoutot wrote:
> On Tue, Apr 16, 2024 at 12:39:16AM +0100, Stuart Henderson wrote:
> > On 2024/04/13 11:36, Antoine Jacoutot wrote:
> > > On Sat, Apr 13, 2024 at 10:25:19AM +0100, Stuart Henderson wrote:
> > > > I've recently run into an occasional problem on my build machines where
> > > > deps aren't getting installed and builds failing. The most recent one
> > > > was with the new glib2 bootstrap method (to avoid the cyclic dependency)
> > > > 
> > > > I'm not sure if the previous times I ran into this also involved the
> > > > glib2 bootstrap (I just cleaned and retried and they worked) but I think
> > > > it may have been.
> > > > 
> > > > I can workaround (clean locks and rebuild) of course, but zero idea
> > > > of how to actually fix it.
> > > 
> > > Hmm.
> > > I've done numerous bulks since I introduced that bootstrap thingy and 
> > > never ran
> > > into that error.
> > > I don't know what this means:
> > > Cannot replace glib2-2.80.0-bootstrap in glib2-2.80.0: just got installed
> > 
> > I wonder if things might be better with e.g. "glib2-bootstrap-2.80.0" 
> > instead ..
> 
> Maybe... I still don't get this error.
> Would you mind trying it?
> I have very seldom free time theses days.

I was thinking of something like this. I can try it in a few cycles of
bulks after my current i386 (libc 100) build is done.

Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/glib2/Makefile,v
diff -u -p -r1.389 Makefile
--- Makefile    3 Apr 2024 06:30:13 -0000       1.389
+++ Makefile    16 Apr 2024 16:48:36 -0000
@@ -77,6 +77,7 @@ FLAVOR?=
 # we don't want anyone to use this package directly
 PERMIT_PACKAGE=                No
 CONFIGURE_ARGS +=      -Dintrospection=disabled
+FULLPKGNAME=           ${DISTNAME:S/glib/glib2-bootstrap/}
 .else
 BUILD_DEPENDS +=       devel/gobject-introspection
 PKGSPEC=               glib2-*-!bootstrap

Reply via email to