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 > >>> Building on i386-1 under misc/gpsd > BDEPENDS = > [x11/dbus;devel/libusb1;lang/python/3.10;devel/scons;devel/py-serial,python3;textproc/asciidoctor;devel/py-gobject3,python3] > DIST = [misc/gpsd,-php:gpsd-3.24.tar.gz] > FULLPKGNAME = gpsd-3.24p1 > RDEPENDS = > [devel/py-serial,python3;lang/python/3.10;devel/libusb1;x11/dbus] > (Junk lock obtained for i386-1 at 1712942382.76) > >>> Running depends in misc/gpsd at 1712942382.80 > last junk was in www/hiawatha > /usr/sbin/pkg_add -aI -Drepair asciidoctor-2.0.20 dbus-1.14.10v0 > libusb1-1.0.27 py3-gobject3-3.48.1 py3-serial-3.4p5 scons-4.6.0 > was: /usr/sbin/pkg_add -aI -Drepair asciidoctor-2.0.20 dbus-1.14.10v0 > libusb1-1.0.27 py3-gobject3-3.48.1 py3-serial-3.4p5 python-3.10.13p2 > scons-4.6.0 > /usr/sbin/pkg_add -aI -Drepair asciidoctor-2.0.20 dbus-1.14.10v0 > libusb1-1.0.27 py3-gobject3-3.48.1 py3-serial-3.4p5 scons-4.6.0 > Cannot replace glib2-2.80.0-bootstrap in glib2-2.80.0: just got installed > Can't install cairo-1.18.0: can't resolve glib2-2.80.0 > Can't install py3-cairo-1.26.0: can't resolve cairo-1.18.0 > Can't install py3-gobject3-3.48.1: can't resolve cairo-1.18.0,py3-cairo-1.26.0 > New and changed readme(s): > /usr/local/share/doc/pkg-readmes/glib2 > --- +ruby-3.2.3p0 ------------------- > If you want to use this package as your default system ruby, as root > create symbolic links like so (overwriting any previous default): > > ln -sf /usr/local/bin/ruby32 /usr/local/bin/ruby > ln -sf /usr/local/bin/bundle32 /usr/local/bin/bundle > ln -sf /usr/local/bin/bundler32 /usr/local/bin/bundler > ln -sf /usr/local/bin/erb32 /usr/local/bin/erb > ln -sf /usr/local/bin/gem32 /usr/local/bin/gem > ln -sf /usr/local/bin/irb32 /usr/local/bin/irb > ln -sf /usr/local/bin/racc32 /usr/local/bin/racc > ln -sf /usr/local/bin/rake32 /usr/local/bin/rake > ln -sf /usr/local/bin/rbs32 /usr/local/bin/rbs > ln -sf /usr/local/bin/rdbg32 /usr/local/bin/rdbg > ln -sf /usr/local/bin/rdoc32 /usr/local/bin/rdoc > ln -sf /usr/local/bin/ri32 /usr/local/bin/ri > ln -sf /usr/local/bin/syntax_suggest32 /usr/local/bin/syntax_suggest > ln -sf /usr/local/bin/typeprof32 /usr/local/bin/typeprof > > The ruby-shims package is also available to automatically select an > appropriate Ruby version per-project directory or system-wide. > --- glib2-2.80.0 ------------------- > Can't install glib2-2.80.0: replacing just installed > Couldn't install cairo-1.18.0 glib2-2.80.0 py3-cairo-1.26.0 > py3-gobject3-3.48.1 > >>> Running show-prepare-results in misc/gpsd at 1712942394.87 > ===> misc/gpsd > ===> Building from scratch gpsd-3.24 > ===> gpsd-3.24p1 depends on: py3-gobject3-* - not found > Dependency check failed > *** Error 1 in misc/gpsd (/usr/ports/infrastructure/mk/bsd.port.mk:2386 > '/pobj/gpsd-3.24/.dep-devel-py-gobject3,python3': @unset _DEPENDS_TA...) > *** Error 2 in misc/gpsd (/usr/ports/infrastructure/mk/bsd.port.mk:2704 > 'prepare': @lock=gpsd-3.24; export _LOCKS_HELD=" gpsd-3.24"; /usr...) > ===> Exiting misc/gpsd with an error > *** Error 1 in /usr/ports (infrastructure/mk/bsd.port.subdir.mk:144 > 'show-prepare-results': @: ${echo_msg:=echo}; : ${target:=show-prepare-...) > (Junk lock released for i386-1 at 1712942395.37) > >>> Ended at 1712942395.37 > max_stuck=4.22/depends=12.08/show-prepare-results=0.53 > Error: job failed with 512 on i386-1 at 1712942395 > -- Antoine