Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Unable to build+ #1487

Open
3 tasks done
Beyley opened this issue May 25, 2021 · 2 comments
Open
3 tasks done

[Bug] Unable to build+ #1487

Beyley opened this issue May 25, 2021 · 2 comments

Comments

@Beyley
Copy link

Beyley commented May 25, 2021

  • The bug is still present in the latest release
  • Searched the existing issues so I do not open a duplicate issue
  • Filled out the template, so developers are less likely to ask for more info

Overview

Whenever trying to build the latest version of the source it fails on test-build-debug:

Game version

commit 1843a31

Expected behaviour

Game should not error while building

Actual behaviour

(Tue May-5 12:41:56am)-(CPU 11.1%:0:Net 19)-(beyley:~/Corruption-of-Champions-Mod)-(556K:36)
> ant
Buildfile: /home/beyley/Corruption-of-Champions-Mod/build.xml

init:
   [delete] Deleting directory /home/beyley/Corruption-of-Champions-Mod/target
    [mkdir] Created dir: /home/beyley/Corruption-of-Champions-Mod/target
    [mkdir] Created dir: /home/beyley/Corruption-of-Champions-Mod/target/report

test-build-debug:
    [mxmlc] Loading configuration file /opt/apache-flex-sdk/frameworks/flex-config.xml
    [mxmlc] Apache Flex Compiler (mxmlc)
    [mxmlc] Version 4.16.1 build 20171115
    [mxmlc] Copyright 2017 The Apache Software Foundation.
    [mxmlc] 
    [mxmlc] /opt/apache-flex-sdk/frameworks/flex-config.xml(65): Error: unable to open '{playerglobalHome}/27.0/playerglobal.swc'
    [mxmlc] 
    [mxmlc]       </external-library-path>
    [mxmlc] 

BUILD FAILED
/home/beyley/Corruption-of-Champions-Mod/build.xml:85: The following error occurred while executing this line:
/home/beyley/Corruption-of-Champions-Mod/build.xml:67: mxmlc task failed

Total time: 0 seconds

How often can this be reproduced?

Every time

Steps to reproduce the issue

  1. Use Arch Linux on kernel 5.12.5-arch1-1
  2. Clone the repo
  3. install the latest flashplayer-standalone / apache-flex-sdk from the AUR
  4. install openjdk 15.0.2 2021-01-19
  5. export FLEX_HOME=/opt/apache-flex-sdk/
  6. Run the ant command
@Beyley
Copy link
Author

Beyley commented May 25, 2021

I accidentally pressed enter and it created the issue :/ sorry about that give me a min to populate it properly

@Oxdeception
Copy link

Sorry for the late reply on this.

The apache-flex-sdk package in AUR only has the version 32.0 playerglobal.swc included, but the flex-config.xml defaults to 27.0 (see comment on AUR). In order to compile this you'll either need to update your flex-config.xml to have a target-player of 32.0, or find and download the version 27.0 playerglobal.swc and place it in /opt/apache-flex-sdk/player/27.0/ and possibly also /opt/apache-flex-sdk/frameworks/lib/player/27.0 depending on your setup.

Note that this will not fix ant test or its related commands, but the debug and release targets should both compile after this.

doll-sh added a commit to doll-sh/Corruption-of-Champions-Mod that referenced this issue Sep 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants