[Bug 295250] devel/jujutsu: Unable to build in poudriere when ports tree is a null mounted jj repo

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 13 May 2026 00:51:33 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=295250

            Bug ID: 295250
           Summary: devel/jujutsu: Unable to build in poudriere when ports
                    tree is a null mounted jj repo
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: se@FreeBSD.org
          Reporter: pat@patmaddox.com
             Flags: maintainer-feedback?(se@FreeBSD.org)
          Assignee: se@FreeBSD.org

My poudriere ports tree is a null mounted jj repo (git colocated). Building
docs fails, because it calls `jj util install-man-pages` which evidently tries
to access /usr/ports/.jj/repo/config-id because it's being run from inside a jj
repo.

In fact I assume all of the jj util calls would fail.

Here's the full output:

nobody@150-local:/usr/ports/devel/jujutsu $ make
===>  Staging for jujutsu-0.41.0
===>   jujutsu-0.41.0 depends on executable: git - found
===>   Generating temporary packing list
install  -s -m 555 /wrkdirs/usr/ports/devel/jujutsu/work/target/release/jj 
/wrkdirs/usr/ports/devel/jujutsu/work/stage/usr/local/bin/
cd /wrkdirs/usr/ports/devel/jujutsu/work/jj-0.41.0/docs && /bin/sh -c
'(/usr/bin/find -Ed $1 $3 | /usr/bin/cpio -dumpl $2 >/dev/null 2>&1) && 
/usr/bin/find -Ed $1 $3 \(   -type d -exec /bin/sh -c '\''cd '\''$2'\'' &&
chmod 755 "$@"'\'' . {} +  -o -type f -exec /bin/sh -c '\''cd '\''$2'\'' &&
chmod 0644 "$@"'\'' . {} + \)' COPYTREE_SHARE .
/wrkdirs/usr/ports/devel/jujutsu/work/stage/usr/local/share/doc/jujutsu
cd /wrkdirs/usr/ports/devel/jujutsu/work/jj-0.41.0/demos && /bin/sh -c
'(/usr/bin/find -Ed $1 $3 | /usr/bin/cpio -dumpl $2 >/dev/null 2>&1) && 
/usr/bin/find -Ed $1 $3 \(   -type d -exec /bin/sh -c '\''cd '\''$2'\'' &&
chmod 755 "$@"'\'' . {} +  -o -type f -exec /bin/sh -c '\''cd '\''$2'\'' &&
chmod 0644 "$@"'\'' . {} + \)' COPYTREE_SHARE .
/wrkdirs/usr/ports/devel/jujutsu/work/stage/usr/local/share/examples/jujutsu
/wrkdirs/usr/ports/devel/jujutsu/work/stage/usr/local/bin/jj util
install-man-pages
/wrkdirs/usr/ports/devel/jujutsu/work/stage/usr/local/share/man/
Internal error: Failed to determine the secure config for a repo
Caused by:
1: Cannot access /usr/ports/.jj/repo/config-id
2: Permission denied (os error 13)
*** Error code 255

Stop.
make: stopped making "all" in /usr/ports/devel/jujutsu
nobody@150-local:/usr/ports/devel/jujutsu $ ls -l /usr/ports/.jj/repo/config-id
-rw-------  1 501 1001 20 May 12 16:52 /usr/ports/.jj/repo/config-id

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