It turns out it was because I was using git worktree (which I use
extensively) and Antora didn't like that my main/primary checkout was at a
branch that didn't have the ref guide.  I took this opportunity to make
"main" my primary checkout, and then the problem disappeared.  It took a
bit of doing "git worktree repair LINKNAME" to my linked checkouts to
re-establish the links bidirectionally.

Thanks Houston for some pointers!

~ David Smiley
Apache Lucene/Solr Search Developer
http://www.linkedin.com/in/davidwsmiley


On Tue, Feb 22, 2022 at 2:08 PM David Smiley <dsmi...@apache.org> wrote:

> At the root of the project I run the command : gw check -x test
> The "rat" task is run on most modules producing one line, and then after
> that, this is what's output:
>
> > Task :solr:solr-ref-guide:downloadAntoraCli
>
> up to date, audited 294 packages in 5s
>
> 35 packages are looking for funding
>   run `npm fund` for details
>
> 9 high severity vulnerabilities
>
> To address issues that do not require attention, run:
>   npm audit fix
>
> To address all issues (including breaking changes), run:
>   npm audit fix --force
>
> Run `npm audit` for details.
>
> > Task :solr:solrj:compileJava
> Note: Some input files use or override a deprecated API.
> Note: Recompile with -Xlint:deprecation for details.
>
> > Task :solr:solr-ref-guide:downloadAntoraLunrExtension
>
> up to date, audited 294 packages in 2s
>
> 35 packages are looking for funding
>   run `npm fund` for details
>
> 9 high severity vulnerabilities
>
> To address issues that do not require attention, run:
>   npm audit fix
>
> To address all issues (including breaking changes), run:
>   npm audit fix --force
>
> Run `npm audit` for details.
>
> > Task :solr:solr-ref-guide:downloadAntoraSiteGenerator
>
> up to date, audited 294 packages in 1s
>
> 35 packages are looking for funding
>   run `npm fund` for details
>
> 9 high severity vulnerabilities
>
> To address issues that do not require attention, run:
>   npm audit fix
>
> To address all issues (including breaking changes), run:
>   npm audit fix --force
>
> Run `npm audit` for details.
>
> > Task :solr:solr-ref-guide:downloadAsciidoctorMathjaxExtension
>
> up to date, audited 294 packages in 2s
>
> 35 packages are looking for funding
>   run `npm fund` for details
>
> 9 high severity vulnerabilities
>
> To address issues that do not require attention, run:
>   npm audit fix
>
> To address all issues (including breaking changes), run:
>   npm audit fix --force
>
> Run `npm audit` for details.
>
> > Task :solr:solr-ref-guide:buildLocalAntoraSite
> {"level":"fatal","time":1645556621695,"name":"antora","hint":"Add the
> --stacktrace option to see the cause of the error.","msg":"Local content
> source must be a git repository: /Users/dsmiley/SFDCDev/solr_main"}
>
> > Task :solr:solr-ref-guide:buildLocalAntoraSite FAILED
>
> > Task :solr:core:compileJava
> Note: Some input files use or override a deprecated API.
> Note: Recompile with -Xlint:deprecation for details.
>
> FAILURE: Build failed with an exception.
>
> * What went wrong:
> Execution failed for task ':solr:solr-ref-guide:buildLocalAntoraSite'.
> > Process 'command
> '/Users/dsmiley/SFDCDev/solr_main/.gradle/node/nodejs/node-v16.13.2-darwin-x64/bin/npx''
> finished with non-zero exit value 1
>
> * Try:
> Run with --stacktrace option to get the stack trace. Run with --info or
> --debug option to get more log output. Run with --scan to get full insights.
>
> * Get more help at https://help.gradle.org
>
> BUILD FAILED in 1m 20s
>
>
>
> I would appreciate any help!  Maybe we might use Slack?  I'll share the
> conclusion here once this is figured out.
>
> ~ David Smiley
> Apache Lucene/Solr Search Developer
> http://www.linkedin.com/in/davidwsmiley
>
>
> On Mon, Feb 14, 2022 at 11:52 PM Mike Drob <md...@mdrob.com> wrote:
>
>> The build should download and install node/npm/npx for you under .gradle,
>> so no new prerequisites aside from gradle pulling in new dependency trees.
>>
>> Do you have more detail on the error message so we can
>> investigate further?
>>
>> On Mon, Feb 14, 2022 at 10:30 PM David Smiley <dsmi...@apache.org> wrote:
>>
>>> When I do "gw check", I see an error about a a "npx" program not being
>>> found:
>>>
>>> > Process 'command
>>>> '/Users/dsmiley/SFDCDev/solr_main/.gradle/node/nodejs/node-v16.13.2-darwin-x64/bin/npx''
>>>> finished with non-zero exit value 1
>>>>
>>>
>>> Um... are there new prerequisites to do a build?  Is this documented?
>>>
>>

Reply via email to