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

Nick Couchman commented on GUACAMOLE-1620:
------------------------------------------

Yeah, it's actually not Guacamole itself, but the test plugin, which uses 
PhantomJS to run tests. Unfortunately PhantomJS only includes Intel x64 
binaries, which means the build will fail on any non-intel platforms. There are 
two possible solutions:
1. Comment out the jasmine test section of the guacamole-common-js/pom.xml file.
2. Build on an Intel x64 platform and copy the built files over to the ARM64 
platform.

> 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