[Bug 296362] textproc/tree-sitter-grammars fails to build for me using poudriere on 15.1 Stable amd64 with pkg-static: Unable to access file

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 28 Jun 2026 23:31:07 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=296362

            Bug ID: 296362
           Summary: textproc/tree-sitter-grammars fails to build for me
                    using poudriere on 15.1 Stable amd64 with pkg-static:
                    Unable to access file
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: mikael@FreeBSD.org
          Reporter: transitive@gmail.com
             Flags: maintainer-feedback?(mikael@FreeBSD.org)
          Assignee: mikael@FreeBSD.org

The tree-sitter-grammars port fails to build for me on 15.1 Stable amd64 using
poudriere.  It fails with a bunch of pkg-static: Unable to access file errors.

Below is the build log for the errors:

'PKG_NOTE_ports_top_checkout_unclean=yes' 'PKG_NOTE_port_checkout_unclean=no'
PKG_NO_VERSION_FOR_DEPS=1 NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Building packages for tree-sitter-grammars-0.4.2_7
===>   Building tree-sitter-grammars-0.4.2_7
pkg-static: Unable to access file
/wrkdirs/usr/ports/textproc/tree-sitter-grammars/work/stage/usr/local/share/tree-sitter-grammars/libtree-sitter-astro.so:No
such file or directory
pkg-static: Unable to access file
/wrkdirs/usr/ports/textproc/tree-sitter-grammars/work/stage/usr/local/share/tree-sitter-grammars/libtree-sitter-beancount.so:No
such file or directory
pkg-static: Unable to access file
/wrkdirs/usr/ports/textproc/tree-sitter-grammars/work/stage/usr/local/share/tree-sitter-grammars/libtree-sitter-cmake.so:No
such file or directory
pkg-static: Unable to access file
/wrkdirs/usr/ports/textproc/tree-sitter-grammars/work/stage/usr/local/share/tree-sitter-grammars/libtree-sitter-cpp.so:No
such file or directory
pkg-static: Unable to access file
/wrkdirs/usr/ports/textproc/tree-sitter-grammars/work/stage/usr/local/share/tree-sitter-grammars/libtree-sitter-elixir.so:No
such file or directory
pkg-static: Unable to access file
/wrkdirs/usr/ports/textproc/tree-sitter-grammars/work/stage/usr/local/share/tree-sitter-grammars/libtree-sitter-elm.so:No
such file or directory
pkg-static: Unable to access file
/wrkdirs/usr/ports/textproc/tree-sitter-grammars/work/stage/usr/local/share/tree-sitter-grammars/libtree-sitter-fortran.so:No
such file or directory
pkg-static: Unable to access file
/wrkdirs/usr/ports/textproc/tree-sitter-grammars/work/stage/usr/local/share/tree-sitter-grammars/libtree-sitter-fsharp.so:No
such file or directory
pkg-static: Unable to access file
/wrkdirs/usr/ports/textproc/tree-sitter-grammars/work/stage/usr/local/share/tree-sitter-grammars/libtree-sitter-haskell-persistent.so:No
such file or directory
pkg-static: Unable to access file
/wrkdirs/usr/ports/textproc/tree-sitter-grammars/work/stage/usr/local/share/tree-sitter-grammars/libtree-sitter-hcl.so:No
such file or directory
pkg-static: Unable to access file
/wrkdirs/usr/ports/textproc/tree-sitter-grammars/work/stage/usr/local/share/tree-sitter-grammars/libtree-sitter-html.so:No
such file or directory
pkg-static: Unable to access file
/wrkdirs/usr/ports/textproc/tree-sitter-grammars/work/stage/usr/local/share/tree-sitter-grammars/libtree-sitter-lean.so:No
such file or directory
pkg-static: Unable to access file
/wrkdirs/usr/ports/textproc/tree-sitter-grammars/work/stage/usr/local/share/tree-sitter-grammars/libtree-sitter-nickel.so:No
such file or directory
pkg-static: Unable to access file
/wrkdirs/usr/ports/textproc/tree-sitter-grammars/work/stage/usr/local/share/tree-sitter-grammars/libtree-sitter-org.so:No
such file or directory
pkg-static: Unable to access file
/wrkdirs/usr/ports/textproc/tree-sitter-grammars/work/stage/usr/local/share/tree-sitter-grammars/libtree-sitter-php.so:No
such file or directory
pkg-static: Unable to access file
/wrkdirs/usr/ports/textproc/tree-sitter-grammars/work/stage/usr/local/share/tree-sitter-grammars/libtree-sitter-ruby.so:No
such file or directory
pkg-static: Unable to access file
/wrkdirs/usr/ports/textproc/tree-sitter-grammars/work/stage/usr/local/share/tree-sitter-grammars/libtree-sitter-vue.so:No
such file or directory
pkg-static: Unable to access file
/wrkdirs/usr/ports/textproc/tree-sitter-grammars/work/stage/usr/local/share/tree-sitter-grammars/libtree-sitter-yaml.so:No
such file or directory
*** Error code 1

Stop.
make: stopped making "package" in /usr/ports/textproc/tree-sitter-grammars
=>> Cleaning up wrkdir
===>  Cleaning for tree-sitter-grammars-0.4.2_7
build of textproc/tree-sitter-grammars | tree-sitter-grammars-0.4.2_7 ended at
2026-06-28T19:11:52-04:00
build time: 00:05:20
times end [shell] (user/sys/real): 0m0.059s 0m0.010s 5m20.000s
times end [child] (user/sys/real): 5m14.907s 0m33.163s 5m20.000s
!!! build failure encountered !!!

-- 
You are receiving this mail because:
You are the assignee for the bug.