Page MenuHomeFreeBSD

sysutils/containers-common: fix source build outside poudriere
ClosedPublic

Authored by dch on Oct 21 2025, 10:14 AM.
Tags
None
Referenced Files
Unknown Object (File)
Dec 12 2025, 7:48 PM
Unknown Object (File)
Dec 2 2025, 1:09 PM
Unknown Object (File)
Nov 29 2025, 9:21 AM
Unknown Object (File)
Nov 26 2025, 7:53 PM
Unknown Object (File)
Nov 24 2025, 10:16 PM
Unknown Object (File)
Nov 12 2025, 6:05 PM
Unknown Object (File)
Nov 11 2025, 4:42 PM
Unknown Object (File)
Nov 10 2025, 11:29 PM
Subscribers
None

Details

Reviewers
dfr
Summary

Reported by: Robert Gogolok mastodon.bsd.cafe/@gogo
Obtained from: bapt
Sponsored by: SkunkWerks, GmbH

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 67953
Build 64836: arc lint + arc unit

Event Timeline

dch requested review of this revision.Oct 21 2025, 10:14 AM
dch created this revision.

TLDR don't run golangci-lint as part of the build.

This was reported via mastodon for a user building from sources / make (i.e. not in poudriere).

Baptiste cooked up a patch, but because the sources live outside $WRKSRC the ports tree
doesn't know how to patch them, so .. sed instead. If you can think of a smarter way I'm
all ears.

diff
diff --git a/sysutils/containers-common/files/patch-tests_tools_Makefile b/sysutils/containers-common/files/patch-tests_tools_Makefile
new file mode 100644
index 000000000000..8fbd9833a463
--- /dev/null
+++ b/sysutils/containers-common/files/patch-tests_tools_Makefile
@@ -0,0 +1,12 @@
+--- tests/tools/Makefile.orig  2025-08-01 18:26:00 UTC
++++ tests/tools/Makefile
+@@ -20,8 +20,7 @@ $(BUILDDIR): \
+
+ $(BUILDDIR): \
+       $(BUILDDIR)/git-validation \
+-      $(BUILDDIR)/go-md2man \
+-      $(BUILDDIR)/golangci-lint
++      $(BUILDDIR)/go-md2man
+
+ $(BUILDDIR)/git-validation:
+       $(call go-build,./vendor/github.com/vbatts/git-validation)

Seems reasonable. We don't need to lint the source every time we build it - the upstream CI forces lint checks already.

This revision is now accepted and ready to land.Oct 24 2025, 1:53 PM