From: Marc Espie Subject: make build-debug-info less friendly To: ports@openbsd.org Date: Tue, 23 Jun 2026 10:19:37 +0200 There are a few (very few) offenders, I've notified the maintainers. There is no reason to produce useless DEBUG_PACKAGES. Index: build-debug-info =================================================================== RCS file: /build/data/openbsd/cvs/ports/infrastructure/bin/build-debug-info,v diff -u -p -r1.49 build-debug-info --- build-debug-info 9 May 2023 17:41:10 -0000 1.49 +++ build-debug-info 23 Jun 2026 08:16:19 -0000 @@ -274,6 +274,10 @@ for my $l (@{$self->{lists}}) { $self->warn_if_empty($state, $l); } +if ($self->{empty}) { + $state->fatal("Empty debug package(s) detected"); +} + close($self->{mk}) or $state->fatal("Can't close Makefile.new: #1", $!); sub warn_if_empty