Bob build bundle error game.arci not found

Hi, I was trying to use bob to build the project with GitHub actions, it seems to complete the build but then fail the project bundle. I have the error …/game.arci (No such file or directory)

This is the command used (but I have the same error for any platform/architecture) →
java -jar /usr/local/bin/bob.jar --platform js-web --architectures wasm-web --variant=debug resolve distclean build bundle

From the Defold editor I can build and bundle it correctly, I tried both for wasm-web and x86_64-win32.
I also tried to build it with bob from WSL on Windows 10, Linux OS Ubuntu 22.04, but I get the same error there too.
On GitHub actions I have also tried with the docker image gmantaos/defold.

Defold version 1.6.0
Bob/dmengine version 1.6.0 (tried also with 1.5.0)

I installed also the dependencies:
libopenal-dev libgl1-mesa-dev libglw1-mesa-dev freeglut3-dev

It seems like I have missed something :frowning:
Is there anything else I need to configure in the project for bundling with bob? (I tried also with an empty project with the same result.)
The --variant=debug doesn’t seem to add any additional logging in this case, is there logs with more information?

Thank you.

Output of the build bundle from WSL:

$ java -jar /usr/local/bin/bob.jar --platform js-web --architectures wasm-
web --variant=debug resolve distclean build bundle
Download archive(s)Downloading 3 archive(s)
 0: Downloading https://github.com/britzl/defold-orthographic/archive/refs/tags/3.2.1.zip
 0: Status 304: Already cached
 2147483647% 1: Downloading https://github.com/britzl/defold-input/archive/refs/tags/4.6.1.zip
 1: Status 304: Already cached
 2: Downloading https://github.com/subsoap/defos/archive/refs/tags/v2.7.0.zip
 2: Status 304: Already cached
Working...Reading classes... 1% ...done!
Cleaning... 2% ...done!
Reading tasks...Build Remote Engine...
Building engine... ...done!
2147483647% ...done!
Building... 3% 4% 5% 6% 7% 8% 9% 10% 11% 12% 13% 14% 15% 16% 17% 18% 19% 20% 21% 22% 23% 24% 25% 26% 27% 28% 29% 30% 31% 32% 33% 34% 35% 36% 37% 38% 39% 40% 41% 42% 43% 44% 45% 46% 47% 48% 49% 50% 51% 52% 53% 54% 55% 56% 57% 58% 59% 60% 61% 62% 63% 64% 65% 66% 67% 68% 69% 70% 71% 72% 73% 74% 75% 76% 77% 78% 79% 80% 81% 82% 83% 84% 85% 86% 87% 88% 89% 90% 91% 92% 93% 94% 95% 96% 97% 98% 99% 100% ...done!
Bundling.../home/---/Mothership-Defenders/build/default/game.arci (No such file or directory)
Cause: java.io.FileNotFoundException: /home/---/Mothership-Defenders/build/default/game.arci (No such file or directory)
2023-10-02 09:20:43 SEVERE  /home/---/Mothership-Defenders/build/default/game.arci (No such file or directory)

Output of the build bundle from GitHub actions:

Download archive(s)Downloading 3 archive(s)
 0: Downloading https://github.com/britzl/defold-orthographic/archive/refs/tags/3.2.1.zip
 0: Status 200: Stored /__w/Mothership-Defenders/Mothership-Defenders/.internal/lib/0c96a9021510a5cf36775c63b99251d974377a83-ImQwMTc2OWMyNWQ5YzExOTgxODNjNmNlMzEwZDA2ZWYxM2EyNDYwZjAyOTM4OGU0YzJjZjQ0NzkyNjU5ZGJiMDYi.zip
 2147483647% 1: Downloading https://github.com/britzl/defold-input/archive/refs/tags/4.6.1.zip
 1: Status 200: Stored /__w/Mothership-Defenders/Mothership-Defenders/.internal/lib/bf0f161bee1584aa5cc95948bf507f0f3709fb14-IjU4ZWIzYzRkYTc3YWU1YTQ2YTc5NGQ0ODZlZmYxOTI2NzdmMWJhZTVmODQyOThkMDIwMGUyZDYwNzk4MThhODci.zip
 2: Downloading https://github.com/subsoap/defos/archive/refs/tags/v2.7.0.zip
 2: Status 200: Stored /__w/Mothership-Defenders/Mothership-Defenders/.internal/lib/9b90e6cbdf7e3fdd40e922ebe4a05e86d8a00d4a-Ijg3Zjc5ODgzZDRkODNjY2IyY2MxNGU5YmY0YjNlNjc3NDUyMzk4YWIyMTY1YTY4NGRkNmIyZTNhYTVlN2M1ODQi.zip
Working...Reading classes... 1% ...done!
Cleaning... 2% ...done!
Reading tasks...Build Remote Engine...
Oct 01, 2023 4:52:59 PM com.defold.extender.client.ExtenderClient log
INFO: Sending async build request to https://build.defold.com/build_async/wasm-web/d9e9c49ab946c058f29a8b688c862d70f30e9c43
Building engine... 2147483647% ...done!
Oct 01, 2023 4:53:00 PM com.defold.extender.client.ExtenderClient log
INFO: Async build request was accepted as job job4994277496264458379
Building... 3% 4% 5% 6% 7% 8% 9% 10% 11% 12% 13% 14% 15% 16% 17% 18% 19% 20% 21% 22% 23% 24% 25% 26% 27% 28% 29% 30% 31% 32% 33% 34% 35% 36% 37% 38% 39% 40% 41% 42% 43% 44% 45% 46% 47% 48% 49% 50% 51% 52% 53% 54% 55% 56% 57% 58% 59% 60% 61% 62% 63% 64% 65% 66% 67% 68% 69% 70% 71% 72% 73% 74% 75% 76% 77% 78% 79% 80% 81% 82% 83% 84% 85% 86% 87% 88% 89% 90% 91% 92% 93% 94% 95% 96% 97% 98% 99% 100% ...done!
Oct 01, 2023 4:53:05 PM com.defold.extender.client.ExtenderClient log
INFO: Waiting for job job4994277496264458379 to finish
Oct 01, 2023 4:53:15 PM com.defold.extender.client.ExtenderClient log
INFO: Checking job result for job job4994277496264458379
Oct 01, 2023 4:53:15 PM com.defold.extender.client.ExtenderClient log
INFO: Job job4994277496264458379 completed successfully. Writing result to /tmp/build_d9e9c49ab946c058f29a8b688c862d70f30e9c4315154820490900301135.zip
 ...done!
/__w/Mothership-Defenders/Mothership-Defenders/build/default/game.arci (No such file or directory)
Cause: java.io.FileNotFoundException: /__w/Mothership-Defenders/Mothership-Defenders/build/default/game.arci (No such file or directory)
Bundling...2023-10-01 16:53:16 SEVERE  /__w/Mothership-Defenders/Mothership-Defenders/build/default/game.arci (No such file or directory) 
Error: Process completed with exit code 1.

With the build command, you’ll also want to archive the content befor bundling:
... build --archive ...

2 Likes

Oops, I misunderstood what the --archive option was for, I thought it was to create a zip of the bundle.
Now it worked. :smiley:
Thank you.

2 Likes