[ 
https://issues.apache.org/jira/browse/GUACAMOLE-1620?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17550738#comment-17550738
 ] 

Pi User commented on GUACAMOLE-1620:
------------------------------------

After commenting out the jasmine test section in guacamole-common-js/pom.xml, 
I'm now seeing a different error:

{{[INFO] [webpack-cli] Error: ENOENT: no such file or directory, open 
'/tmp/guacamole-docker-BUILD/guacamole/src/main/frontend/dist/npm-dependencies.txt'}}
{{[INFO]     at Object.openSync (fs.js:476:3)}}
{{[INFO]     at Object.writeFileSync (fs.js:1467:35)}}
{{[INFO]     at 
/tmp/guacamole-docker-BUILD/guacamole/src/main/frontend/plugins/dependency-list-plugin.js:137:16}}
{{[INFO]     at AsyncSeriesHook.eval [as callAsync] (eval at create 
(/tmp/guacamole-docker-BUILD/guacamole/src/main/frontend/node_modules/tapable/lib/HookCodeFactory.js:33:10),
 <anonymous>:36:1)}}
{{[INFO]     at AsyncSeriesHook.lazyCompileHook 
(/tmp/guacamole-docker-BUILD/guacamole/src/main/frontend/node_modules/tapable/lib/Hook.js:154:20)}}
{{[INFO]     at onCompiled 
(/tmp/guacamole-docker-BUILD/guacamole/src/main/frontend/node_modules/webpack/lib/Compiler.js:271:21)}}
{{[INFO]     at 
/tmp/guacamole-docker-BUILD/guacamole/src/main/frontend/node_modules/webpack/lib/Compiler.js:681:15}}
{{[INFO]     at AsyncSeriesHook.eval [as callAsync] (eval at create 
(/tmp/guacamole-docker-BUILD/guacamole/src/main/frontend/node_modules/tapable/lib/HookCodeFactory.js:33:10),
 <anonymous>:6:1)}}
{{[INFO]     at AsyncSeriesHook.lazyCompileHook 
(/tmp/guacamole-docker-BUILD/guacamole/src/main/frontend/node_modules/tapable/lib/Hook.js:154:20)}}
{{[INFO]     at 
/tmp/guacamole-docker-BUILD/guacamole/src/main/frontend/node_modules/webpack/lib/Compiler.js:678:31}}
{{[INFO]     at AsyncSeriesHook.eval [as callAsync] (eval at create 
(/tmp/guacamole-docker-BUILD/guacamole/src/main/frontend/node_modules/tapable/lib/HookCodeFactory.js:33:10),
 <anonymous>:9:1)}}
{{[INFO]     at AsyncSeriesHook.lazyCompileHook 
(/tmp/guacamole-docker-BUILD/guacamole/src/main/frontend/node_modules/tapable/lib/Hook.js:154:20)}}
{{[INFO]     at 
/tmp/guacamole-docker-BUILD/guacamole/src/main/frontend/node_modules/webpack/lib/Compilation.js:1423:35}}
{{[INFO]     at AsyncSeriesHook.eval [as callAsync] (eval at create 
(/tmp/guacamole-docker-BUILD/guacamole/src/main/frontend/node_modules/tapable/lib/HookCodeFactory.js:33:10),
 <anonymous>:9:1)}}
{{[INFO]     at AsyncSeriesHook.lazyCompileHook 
(/tmp/guacamole-docker-BUILD/guacamole/src/main/frontend/node_modules/tapable/lib/Hook.js:154:20)}}
{{[INFO]     at 
/tmp/guacamole-docker-BUILD/guacamole/src/main/frontend/node_modules/webpack/lib/Compilation.js:1414:32
 {}}
{{[INFO]   errno: -2,}}
{{[INFO]   syscall: 'open',}}
{{[INFO]   code: 'ENOENT',}}
{{[INFO]   path: 
'/tmp/guacamole-docker-BUILD/guacamole/src/main/frontend/dist/npm-dependencies.txt'}}
{{[INFO] }}}
{{[INFO] npm ERR! code ELIFECYCLE}}
{{[INFO] npm ERR! errno 2}}
{{[INFO] npm ERR! @ build: `webpack --progress`}}
{{[INFO] npm ERR! Exit status 2}}
{{[INFO] npm ERR!}}
{{[INFO] npm ERR! Failed at the @ build script.}}
{{[INFO] npm ERR! This is probably not a problem with npm. There is likely 
additional logging output above.}}
{{[INFO]}}
{{[INFO] npm ERR! A complete log of this run can be found in:}}
{{[INFO] npm ERR!     /root/.npm/_logs/2022-06-07T01_34_58_889Z-debug.log}}
{{[INFO] 
------------------------------------------------------------------------}}
{{[INFO] Reactor Summary for guacamole-client 1.4.0:}}
{{[INFO]}}
{{[INFO] guacamole-client ................................... SUCCESS [ 31.924 
s]}}
{{[INFO] guacamole-common ................................... SUCCESS [ 30.521 
s]}}
{{[INFO] guacamole-ext ...................................... SUCCESS [ 29.537 
s]}}
{{[INFO] guacamole-common-js ................................ SUCCESS [ 17.846 
s]}}
{{[INFO] guacamole .......................................... FAILURE [01:38 
min]}}
{{[INFO] extensions ......................................... SKIPPED}}
{{[INFO] guacamole-auth-duo ................................. SKIPPED}}
{{[INFO] guacamole-auth-header .............................. SKIPPED}}
{{[INFO] guacamole-auth-jdbc ................................ SKIPPED}}
{{[INFO] guacamole-auth-jdbc-base ........................... SKIPPED}}
{{[INFO] guacamole-auth-jdbc-mysql .......................... SKIPPED}}
{{[INFO] guacamole-auth-jdbc-postgresql ..................... SKIPPED}}
{{[INFO] guacamole-auth-jdbc-sqlserver ...................... SKIPPED}}
{{[INFO] guacamole-auth-jdbc-dist ........................... SKIPPED}}
{{[INFO] guacamole-auth-json ................................ SKIPPED}}
{{[INFO] guacamole-auth-ldap ................................ SKIPPED}}
{{[INFO] guacamole-auth-quickconnect ........................ SKIPPED}}
{{[INFO] guacamole-auth-sso ................................. SKIPPED}}
{{[INFO] guacamole-auth-sso-base ............................ SKIPPED}}
{{[INFO] guacamole-auth-sso-cas ............................. SKIPPED}}
{{[INFO] guacamole-auth-sso-openid .......................... SKIPPED}}
{{[INFO] guacamole-auth-sso-saml ............................ SKIPPED}}
{{[INFO] guacamole-auth-sso-dist ............................ SKIPPED}}
{{[INFO] guacamole-auth-totp ................................ SKIPPED}}
{{[INFO] guacamole-history-recording-storage ................ SKIPPED}}
{{[INFO] guacamole-vault .................................... SKIPPED}}
{{[INFO] guacamole-vault-base ............................... SKIPPED}}
{{[INFO] guacamole-vault-ksm ................................ SKIPPED}}
{{[INFO] guacamole-vault-dist ............................... SKIPPED}}
{{[INFO] guacamole-example .................................. SKIPPED}}
{{[INFO] guacamole-playback-example ......................... SKIPPED}}
{{[INFO] 
------------------------------------------------------------------------}}
{{[INFO] BUILD FAILURE}}
{{[INFO] 
------------------------------------------------------------------------}}
{{[INFO] Total time:  03:29 min}}
{{[INFO] Finished at: 2022-06-07T01:34:58Z}}
{{[INFO] 
------------------------------------------------------------------------}}
{{[ERROR] Failed to execute goal 
com.github.eirslett:frontend-maven-plugin:1.11.3:npm (npm-build) on project 
guacamole: Failed to run task: 'npm run build' failed. 
org.apache.commons.exec.ExecuteException: Process exited with an error: 2 (Exit 
value: 2) -> [Help 1]}}
{{[ERROR]}}
{{[ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.}}
{{[ERROR] Re-run Maven using the -X switch to enable full debug logging.}}
{{[ERROR]}}
{{[ERROR] For more information about the errors and possible solutions, please 
read the following articles:}}
{{[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException}}
{{[ERROR]}}
{{[ERROR] After correcting the problems, you can resume the build with the 
command}}
{{[ERROR]   mvn <args> -rf :guacamole}}
{{The command '/bin/sh -c /opt/guacamole/bin/build-guacamole.sh "$BUILD_DIR" 
/opt/guacamole "$BUILD_PROFILE"' returned a non-zero code: 1}}

Same config as before, building on an ARM64 Raspberry Pi 4 machine running 
Debian.

> guacamole-common-js fails to build on arm64
> -------------------------------------------
>
>                 Key: GUACAMOLE-1620
>                 URL: https://issues.apache.org/jira/browse/GUACAMOLE-1620
>             Project: Guacamole
>          Issue Type: Bug
>          Components: guacamole-client
>    Affects Versions: 1.5.0
>         Environment: Linux 5.15.32-v8+ #1538 SMP PREEMPT Thu Mar 31 19:40:39 
> BST 2022 aarch64 GNU/Linux
>            Reporter: Pi User
>            Priority: Minor
>         Attachments: screenshot.jpg
>
>
> Trying to build the docker for guacamole-client, it fails with these errors:
> {{[INFO] Executing Jasmine Specs}}
> {\{/root/.cache/selenium/chromedriver/linux64/102.0.5005.61/chromedriver: 1: 
> @FMUdjo{��������: not found}}
> {\{/root/.cache/selenium/chromedriver/linux64/102.0.5005.61/chromedriver: 1: 
> cannot create I5@��@8}}
> {\{                                                                           
>                      
> @!@@@������85�8595I5I5�������㵀���hNhN2�b�b�@�(��㵀���x�#��C��C�PPR�td�㵀���hN�\P�tdP�4P�4P�4��Q�t:
>  Directory nonexistent6-64.so.2GNU       
> INFOCrashpad<:�GNUb~��ӿ�u���7�r�Tj�SBa p � 
> ��������/root/.cache/selenium/chromedriver/linux64/102.0.5005.61/chromedriver:
>  1: =: not found}}
> {\{/root/.cache/selenium/chromedriver/linux64/102.0.5005.61/chromedriver: 2: 
> �: not found}}
> {\{/root/.cache/selenium/chromedriver/linux64/102.0.5005.61/chromedriver: 
> 1:: not found}}
> {\{/root/.cache/selenium/chromedriver/linux64/102.0.5005.61/chromedriver: 3: 
> : not found}}
> {{/root/.cache/selenium/chromedriver/linux64/102.0.5005.61/chromedriver: 4: 
> Syntax error: "(" unexpected}}
> {{Jun 06, 2022 4:26:17 AM org.openqa.selenium.os.OsProcess checkForError}}
> {{SEVERE: org.apache.commons.exec.ExecuteException: Process exited with an 
> error: 2 (Exit value: 2)}}
> {{[INFO] 
> ------------------------------------------------------------------------}}
> {{[INFO] Reactor Summary for guacamole-client 1.4.0:}}
> {{[INFO]}}
> {{[INFO] guacamole-client ................................... SUCCESS [ 
> 31.124 s]}}
> {{[INFO] guacamole-common ................................... SUCCESS [ 
> 32.099 s]}}
> {{[INFO] guacamole-ext ...................................... SUCCESS [ 
> 30.120 s]}}
> {{[INFO] guacamole-common-js ................................ FAILURE [ 
> 49.621 s]}}
> {{[INFO] guacamole .......................................... SKIPPED}}
> {{[INFO] extensions ......................................... SKIPPED}}
> {{[INFO] guacamole-auth-duo ................................. SKIPPED}}
> {{[INFO] guacamole-auth-header .............................. SKIPPED}}
> {{[INFO] guacamole-auth-jdbc ................................ SKIPPED}}
> {{[INFO] guacamole-auth-jdbc-base ........................... SKIPPED}}
> {{[INFO] guacamole-auth-jdbc-mysql .......................... SKIPPED}}
> {{[INFO] guacamole-auth-jdbc-postgresql ..................... SKIPPED}}
> {{[INFO] guacamole-auth-jdbc-sqlserver ...................... SKIPPED}}
> {{[INFO] guacamole-auth-jdbc-dist ........................... SKIPPED}}
> {{[INFO] guacamole-auth-json ................................ SKIPPED}}
> {{[INFO] guacamole-auth-ldap ................................ SKIPPED}}
> {{[INFO] guacamole-auth-quickconnect ........................ SKIPPED}}
> {{[INFO] guacamole-auth-sso ................................. SKIPPED}}
> {{[INFO] guacamole-auth-sso-base ............................ SKIPPED}}
> {{[INFO] guacamole-auth-sso-cas ............................. SKIPPED}}
> {{[INFO] guacamole-auth-sso-openid .......................... SKIPPED}}
> {{[INFO] guacamole-auth-sso-saml ............................ SKIPPED}}
> {{[INFO] guacamole-auth-sso-dist ............................ SKIPPED}}
> {{[INFO] guacamole-auth-totp ................................ SKIPPED}}
> {{[INFO] guacamole-history-recording-storage ................ SKIPPED}}
> {{[INFO] guacamole-vault .................................... SKIPPED}}
> {{[INFO] guacamole-vault-base ............................... SKIPPED}}
> {{[INFO] guacamole-vault-ksm ................................ SKIPPED}}
> {{[INFO] guacamole-vault-dist ............................... SKIPPED}}
> {{[INFO] guacamole-example .................................. SKIPPED}}
> {{[INFO] guacamole-playback-example ......................... SKIPPED}}
> {{[INFO] 
> ------------------------------------------------------------------------}}
> {{[INFO] BUILD FAILURE}}
> {{[INFO] 
> ------------------------------------------------------------------------}}
> {{[INFO] Total time:  02:23 min}}
> {{[INFO] Finished at: 2022-06-06T04:26:17Z}}
> {{[INFO] 
> ------------------------------------------------------------------------}}
> {{[ERROR] Failed to execute goal 
> com.github.searls:jasmine-maven-plugin:3.0-beta-02:test (default) on project 
> guacamole-common-js: The jasmine-maven-plugin encountered an exception:: 
> Timed out waiting for driver server to start.}}
> {{[ERROR] Build info: version: '3.141.59', revision: 'e82be7d358', time: 
> '2018-11-14T08:17:03'}}
> {{[ERROR] System info: host: '12d9217ce556', ip: '172.17.0.2', os.name: 
> 'Linux', os.arch: 'aarch64', os.version: '5.15.32-v8+', java.version: 
> '1.8.0_332'}}
> {{[ERROR] Driver info: driver.version: ChromeDriver: Timed out waiting for 
> [http://localhost:31578/status] to be available after 20002 ms: 
> TimeoutException}}
> {{[ERROR] -> [Help 1]}}
> {{[ERROR]}}
> {{[ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
> switch.}}
> {{[ERROR] Re-run Maven using the -X switch to enable full debug logging.}}
> {{[ERROR]}}
> {{[ERROR] For more information about the errors and possible solutions, 
> please read the following articles:}}
> {{[ERROR] [Help 1] 
> [http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException]}}
> {{[ERROR]}}
> {{[ERROR] After correcting the problems, you can resume the build with the 
> command}}
> {{[ERROR]   mvn <args> -rf :guacamole-common-js}}
> The characters that look like random junk are not a formatting error here, 
> they actually look like random junk in the output (see attached screenshot).
> Don't have experience with building this project before. I'm trying to clone 
> the repo on a Raspberry Pi 4 (running Raspbian/Debian arm64) and building 
> with `docker build .`



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to