Stefan Miklosovic created CASSANDRA-21518:
---------------------------------------------

             Summary: Not possible to build Debian packages on 6.0+ when 
repository is in a worktree
                 Key: CASSANDRA-21518
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-21518
             Project: Apache Cassandra
          Issue Type: Bug
          Components: Build
            Reporter: Stefan Miklosovic


{{.build/docker/build-debian.sh}} on cassandra-6.0 when on worktrees:

{code}
gen-doc:
     [exec] creating temporary git repository for Antora...
     [exec] warning: re-init: ignored --initial-branch=tmp-antora-build
     [exec] Reinitialized existing Git repository in 
/home/stefan/dev/cassandra/cassandra-instaclustr/cassandra/.git/worktrees/cassandra-6.0/fatal:
 not a git repository: 
modules/accord/../../../cassandra/.git/worktrees/cassandra-6.0/modules/modules/accord
     [exec] Downloading Antora extension dependencies...
     [exec] 
     [exec] Building in-tree HTML documentation with Antora...
     [exec] antora site-local.yml
     [exec] error: Local content source must be a git repository: 
/home/build/cassandra (url: ..)
     [exec] Add the --stacktrace option to see the cause.
     [exec] make: *** [Makefile:42: html] Error 1
{code}

{code}
 $ git worktree list
/home/stefan/dev/cassandra/cassandra-instaclustr/cassandra-4.0      33c1dbe5b88 
[cassandra-4.0]
/home/stefan/dev/cassandra/cassandra-instaclustr/cassandra-4.1      2beef3f8af6 
[cassandra-4.1]
/home/stefan/dev/cassandra/cassandra-instaclustr/cassandra-5.0      86d7aeb9554 
[cassandra-5.0]
/home/stefan/dev/cassandra/cassandra-instaclustr/cassandra-6.0      fe114770105 
[cassandra-6.0]
{code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to