On Mon, 2025-05-05 at 16:58 -0500, Hankins, Jonathan wrote:
I don't understand node or the maven build process enough to figure it out:

1) to begin with, I didn't have the jsdoc-toolkit debian package installed, 
which provides /usr/bin/jsdoc.

2) running the build as root, where all the files are owned by root, gives this 
error:

[INFO] --- frontend-maven-plugin:1.12.1:npx (generate-docs) @ 
guacamole-common-js ---
[INFO] Running 'npx jsdoc -c jsdoc-conf.json' in 
/home/jhankins/guac-160rc1/guacamole-client-1.6.0/guacamole-common-js
[INFO] sh: 1: jsdoc: Permission denied
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for guacamole-client 1.6.0:
[INFO]
[INFO] guacamole-client ................................... SUCCESS [  5.919 s]
[INFO] guacamole-common ................................... SUCCESS [  3.221 s]
[INFO] guacamole-ext ...................................... SUCCESS [  3.931 s]
[INFO] guacamole-common-js ................................ FAILURE [  2.344 s]
[INFO] guacamole .......................................... SKIPPED


So, I install jsdoc-toolkit, which looks to be an older version ( 
2.4.0+dfsg-7.1) than what is specified in the top-level 
.../guacamole-common-js/package.json file:

* SNIP *

For the record:

The issue is caused by mixed file ownerships throughout the source tree.  Make 
sure all the files are owned by the user id that is performing the build.  That 
includes root!

Cheers
Jon

Reply via email to