You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@royale.apache.org by GitBox <gi...@apache.org> on 2020/08/27 10:21:14 UTC

[GitHub] [royale-typedefs] jleistner opened a new issue #15: Build error: 'generated-sources/externc/duplicates' is not a file.

jleistner opened a new issue #15:
URL: https://github.com/apache/royale-typedefs/issues/15


   Hi there,
   
   I'm running into problems when compiling Apache Royale and they seem to be related to royale-typedefs:
   ```
   compc:
        [java] args:
        [java] +royalelib=externs/frameworks
        [java] -targets=SWF
        [java] -external-library-path+=/home/user/royale-fork/royale-typedefs/node/../js/target/js.swc
        [java] -load-config=/home/user/royale-fork/royale-typedefs/node/target/compile-as-config.xml
        [java] -metadata.date=08/27/20 10:51 +0200
        [java] -metadata.dateFormat=MM/dd/yy HH:mm Z
        [java] -output=/home/user/royale-fork/royale-typedefs/node/target/node.swc
        [java] 0.271622474 seconds
        [java] /home/user/royale-fork/royale-typedefs/node/target/compile-as-config.xml(33): col: 0 unable to open '/home/user/royale-fork/royale-typedefs/node/target/generated-sources/externc/duplicates'.
        [java] /home/user/royale-fork/royale-typedefs/node/target/compile-as-config.xml (line: 33)
        [java] 
        [java]         </source-path>
        [java] 
        [java] 
        [java] /home/user/royale-fork/royale-typedefs/node/target/compile-as-config.xml(45): col: 0 'generated-sources/externc/duplicates' is not a file.
        [java] /home/user/royale-fork/royale-typedefs/node/target/compile-as-config.xml (line: 45)
        [java] 
        [java]     </include-sources>
        [java] 
        [java] 
   
   BUILD FAILED
   /home/user/royale-fork/royale-asjs/build.xml:1850: The following error occurred while executing this line:
   /home/user/royale-fork/royale-asjs/build.xml:1938: The following error occurred while executing this line:
   /home/user/royale-fork/royale-typedefs/build.xml:65: The following error occurred while executing this line:
   /home/user/royale-fork/royale-typedefs/node/build.xml:235: Java returned: 4
   ```
   If I remove lines [32](https://github.com/apache/royale-typedefs/blob/develop/node/src/main/config/compile-as-config.xml#L32) and [44](https://github.com/apache/royale-typedefs/blob/develop/node/src/main/config/compile-as-config.xml#L44) from [node/src/main/config/compile-as-config.xml](https://github.com/apache/royale-typedefs/blob/develop/node/src/main/config/compile-as-config.xml) everything works fine but I don't know if this could pose problems somewhere else.
   
   Regards
   Jonathan


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [royale-typedefs] jleistner commented on issue #15: Build error: 'generated-sources/externc/duplicates' is not a file.

Posted by GitBox <gi...@apache.org>.
jleistner commented on issue #15:
URL: https://github.com/apache/royale-typedefs/issues/15#issuecomment-682690631


   Thanks for the information. I will take a look at the script and do some testing. 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [royale-typedefs] carlosrovira commented on issue #15: Build error: 'generated-sources/externc/duplicates' is not a file.

Posted by GitBox <gi...@apache.org>.
carlosrovira commented on issue #15:
URL: https://github.com/apache/royale-typedefs/issues/15#issuecomment-682474731


   I think that's the problem. To build from sources you need a bit more. Here's a script I use to build daily in Mac:
   https://gist.github.com/carlosrovira/200753108de263fa43e80d3228213509
   Note that it makes much more, since is to build ANT and Maven (since I want to ensure I don't break anything), also it build SDK with Maven and I can uncomment parts to sync repos.
   
   For ANT you'll see you need to clone also compiler and typedefs repos and you must have ant commands to wipe previous biulds.
   
   HTH
   
   Carlos


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [royale-typedefs] carlosrovira commented on issue #15: Build error: 'generated-sources/externc/duplicates' is not a file.

Posted by GitBox <gi...@apache.org>.
carlosrovira commented on issue #15:
URL: https://github.com/apache/royale-typedefs/issues/15#issuecomment-681969117


   Hi, we need more info about how you're building. I guess it should be something in your environment since the build was working right in Windows, Mac and Linux (in CI servers) for long time. 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [royale-typedefs] carlosrovira edited a comment on issue #15: Build error: 'generated-sources/externc/duplicates' is not a file.

Posted by GitBox <gi...@apache.org>.
carlosrovira edited a comment on issue #15:
URL: https://github.com/apache/royale-typedefs/issues/15#issuecomment-682474731


   I think that's the problem. To build from sources you need a bit more. Here's a script I use to build daily in Mac:
   https://gist.github.com/carlosrovira/200753108de263fa43e80d3228213509
   Note that it makes much more, since is to build ANT and Maven (since I want to ensure I don't break anything), also it build SDK with Maven and I can uncomment parts to sync repos.
   
   For ANT you'll see you need to clone also compiler and typedefs repos and you must have ant commands to wipe previous builds.
   
   HTH
   
   Carlos


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [royale-typedefs] jleistner commented on issue #15: Build error: 'generated-sources/externc/duplicates' is not a file.

Posted by GitBox <gi...@apache.org>.
jleistner commented on issue #15:
URL: https://github.com/apache/royale-typedefs/issues/15#issuecomment-682446876


   Hi @carlosrovira,
   
   this is my system info:
   Ubuntu 20.04.1 LTS
   
   Java version:
   ```
   openjdk version "1.8.0_232"
   OpenJDK Runtime Environment Corretto-8.232.09.1 (build 1.8.0_232-b09)
   OpenJDK 64-Bit Server VM Corretto-8.232.09.1 (build 25.232-b09, mixed mode)
   ```
   
   Ant version:
   ```
   Apache Ant(TM) version 1.10.8 compiled on May 10 2020
   ```
   
   This is how I build Royale (develop branch):
   ```
   git clone
   cd royale-asjs
   ant all
   ```
   
   Let me know if you need more information.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org