[
https://issues.apache.org/jira/browse/GUACAMOLE-2098?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18014203#comment-18014203
]
Nick Couchman commented on GUACAMOLE-2098:
------------------------------------------
I have attempted to reproduce the error using Ubuntu Server 24.04.3:
* Install Ubuntu Server 24.04.3 from DVD/ISO image (on ProxMox VE 8).
* Update all packages.
* Install git, maven, and openjdk-11-jdk
* Checkout the guacamole-client code
* export JAVA_HOME=/usr/lib/jvm/openjdk-11-jdk-amd64
* mvn clean package
Everything builds successfully. I've also tried on Debian 12 and Rocky 9 and
not run into any issues - everything builds correctly.
[~dopamine] or [~tanakakz]:
* Can you provide a full output of the "mvn clean package" process?
* Any chance that the location you're building the code in has the "noexec"
mount option - like a separate /home directory where you've done some locking
down to prevent users executing applications from their home directories?
> Building the guacamole client fails because guacamole-common-js does not have
> jsdoc.
> ------------------------------------------------------------------------------------
>
> Key: GUACAMOLE-2098
> URL: https://issues.apache.org/jira/browse/GUACAMOLE-2098
> Project: Guacamole
> Issue Type: Bug
> Components: guacamole-client, guacamole-common-js
> Affects Versions: 1.6.0
> Environment: OS: Ubuntu 22.04.5
> JAVA: java-11-openjdk-amd64
> mvn: Apache Maven 3.6.3
> local npm: {
> npm: '8.3.1',
> node: '12.22.9',
> v8: '7.8.279.23-node.56',
> uv: '1.43.0',
> zlib: '1.2.11',
> brotli: '1.0.9',
> ares: '1.18.1',
> modules: '72',
> nghttp2: '1.43.0',
> napi: '8',
> llhttp: '2.1.6',
> http_parser: '2.9.4',
> openssl: '1.1.1m',
> cldr: '40.0',
> icu: '70.1',
> tz: '2025b',
> unicode: '14.0'
> }
> or
> OS: CentOS Stream release 9
> JAVA: java-17-openjdk-17.0.15.0.6-3.el9.x86_64
> mvn: Apache Maven 3.6.3 (Red Hat 3.6.3-22)
> local npm: not installed
> Reporter: Kazuhiko Tanaka
> Priority: Minor
>
> When I run the `mvn package` command on guacamole-client, it stops at
> building `guacamole-common-js`.
> When I run it with the `-e -X` option, I get the error `sh: 1: jsdoc:
> Permission denied` (Ubuntu) or `sh: line 1: jsdoc: command not found` (CentOS
> Stream).
> On Ubuntu, after installing `jsdoc` (version 4.0.4) using the `npm` command,
> when I run the command the error message changes to `Unknown command-line
> option "".`.
> In CentOS, if you run `./npm install jsdoc` in `guacamole-common-js/node/`
> and then run `mvn package` again in guacamole-client, the error changes to
> `node:internal/modules/cjs/loader:1024`. Also, if I update the node-related
> files in `guacamole-common-js/node/` to the latest version, install jsdoc,
> and then run `mvn package`, the same error as in Ubuntu occurs.
> Probably `guacamole-common-js` does not contain the required jsdoc and is not
> compatible with the latest jsdoc.
> I have confirmed that building guacamole-client 1.5.5 on Ubuntu works fine.
> The problem only occurs with 1.6.0.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)