Bob the builder and platforms support (OPEN)

I’m trying to use jenkins and bob the builder to make automated builds of my project from git.

I found that:

  1. Platform x86_64-darwin is not supported (It is marked as available here ).
  2. If i use --platform x86-win32, than i receive next error from the ‘bundle’ command:
Exception in thread "main" com.dynamo.bob.CompileExceptionError: /lib/x86-win32/OpenAL32.dll not found
	at com.dynamo.bob.Project.build(Project.java:259)
	at com.dynamo.bob.Bob.main(Bob.java:258)
Caused by: java.lang.RuntimeException: /lib/x86-win32/OpenAL32.dll not found
	at com.dynamo.bob.Bob.getLib(Bob.java:158)
	at com.dynamo.bob.bundle.Win32Bundler.bundleApplication(Win32Bundler.java:39)
	at com.dynamo.bob.Project.bundle(Project.java:397)
	at com.dynamo.bob.Project.doBuild(Project.java:449)
	at com.dynamo.bob.Project.build(Project.java:254)
	... 1 more
1 Like

We’ve come across this before and it’s already reported as DEF-1517. I will try to get a tentative date for a fix.

1 Like

This should be fixed in stable release 1.2.75!

2 Likes

Sorry to be a bother, but this has happened again. As of 1.2.87, the x86_64-darwin platform is not supported.

Exception in thread "main" com.dynamo.bob.CompileExceptionError: Platform x64-darwin not supported
	at com.dynamo.bob.Project.bundle(Project.java:383)
	at com.dynamo.bob.Project.doBuild(Project.java:498)
	at com.dynamo.bob.Project.build(Project.java:262)
	at com.dynamo.bob.Bob.main(Bob.java:270)

Did you type it right? You can find the supported platforms here

I’m sorry, that was a test I made, but using the right one (x86_64-darwin) also fails.

In any case, I took a peek at the bob jar (I haven’t checked the license to see if that’s alright or not, sorry in advance if it’s not) and saw that on that file (Project.java) there is a list of builders, and it’s missing the X86-64 Darwin builder, as well as the ARM 64 builder for iOS (which is not even mentioned in the docs, although it makes sense that you can build for them)

Can those builders be added, so I can use Bob for my CI? Thank you in advance!

1 Like

Yes, this seems to be an actual issue, I just verified myself. We currently don’t include the 64 bit darwin build in bob.jar, even though that the documentation says we support it. We’ll add a ticket for it.

That said, you should be fine using the x86-darwin target in the meantime.

For iOS/OSX/Win/Linux, there is actually only one bundler each, but they support different bit depths. The iOS bundler will also lipo the two executables (32+64 bit) into one, as required.

For bundling iOS, you’ll also need to pass in the --mobileprovisioning/--identity arguments for signing the executable (and use armv7-darwin as platform)

Also, the x86_64-linux and arm64-darwin is missing from the documentation. @sicher, perhaps you can update the documentation?

2 Likes