Errors in building a project for Android

Hi!
Here is the list of errors that I see in Windows:


and bob’s log

platform: armv7-android

2147483647% 100%

1% 2% 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%Bob: Extracted ‘META-INF/MANIFEST.MF’ from ‘jar:file:/Users/dshelestovski/Projects/match2/.ci_build/bob.jar!/lib/android-res.zip’ to ‘/var/folders/dq/z_z5nfs5099821s46qs7hkyc0000gp/T/12307675050690498126/META-INF/MANIFEST.MF’

окт. 08, 2019 2:12:43 PM com.dynamo.bob.bundle.BundleHelper buildEngineRemote
WARNING: md5/src/MD5.c(3): ‘DLIB_LOG_DOMAIN’ macro redefined [-Wmacro-redefined]
#define DLIB_LOG_DOMAIN LIB_NAME
окт. 08, 2019 2:12:43 PM com.dynamo.bob.bundle.BundleHelper buildEngineRemote
WARNING: <command line>(2): previous definition is here
#define DLIB_LOG_DOMAIN “MD5”
окт. 08, 2019 2:12:43 PM com.dynamo.bob.bundle.BundleHelper buildEngineRemote
WARNING: gamecenter/src/gamecenter.cpp(30): ‘DLIB_LOG_DOMAIN’ macro redefined [-Wmacro-redefined]
#define DLIB_LOG_DOMAIN LIB_NAME
окт. 08, 2019 2:12:43 PM com.dynamo.bob.bundle.BundleHelper buildEngineRemote
WARNING: <command line>(2): previous definition is here
#define DLIB_LOG_DOMAIN “GAMECENTER”
окт. 08, 2019 2:12:43 PM com.dynamo.bob.bundle.BundleHelper buildEngineRemote
WARNING: firebase/src/firebase.cpp(3): ‘DLIB_LOG_DOMAIN’ macro redefined [-Wmacro-redefined]
#define DLIB_LOG_DOMAIN LIB_NAME
окт. 08, 2019 2:12:43 PM com.dynamo.bob.bundle.BundleHelper buildEngineRemote
WARNING: <command line>(2): previous definition is here
#define DLIB_LOG_DOMAIN “FIREBASE”
окт. 08, 2019 2:12:43 PM com.dynamo.bob.bundle.BundleHelper buildEngineRemote
WARNING: firebase/src/firebase.cpp(152): format string is not a string literal (potentially insecure) [-Wformat-security]
luaL_error(L, msg);
окт. 08, 2019 2:12:43 PM com.dynamo.bob.bundle.BundleHelper buildEngineRemote
WARNING: firebase/src/firebase.cpp(152): treat the string as an argument to avoid this
luaL_error(L, msg);
окт. 08, 2019 2:12:43 PM com.dynamo.bob.bundle.BundleHelper buildEngineRemote
WARNING: firebase/src/firebase.cpp(172): format string is not a string literal (potentially insecure) [-Wformat-security]
luaL_error(L, msg);
окт. 08, 2019 2:12:43 PM com.dynamo.bob.bundle.BundleHelper buildEngineRemote
WARNING: firebase/src/firebase.cpp(172): treat the string as an argument to avoid this
luaL_error(L, msg);
окт. 08, 2019 2:12:43 PM com.dynamo.bob.bundle.BundleHelper buildEngineRemote
WARNING: defappsflyer/src/DefAppsFlyer.cpp(5): ‘DLIB_LOG_DOMAIN’ macro redefined [-Wmacro-redefined]
#define DLIB_LOG_DOMAIN LIB_NAME
окт. 08, 2019 2:12:43 PM com.dynamo.bob.bundle.BundleHelper buildEngineRemote
WARNING: <command line>(2): previous definition is here
#define DLIB_LOG_DOMAIN “DEFAPPSFLYER”
окт. 08, 2019 2:12:43 PM com.dynamo.bob.bundle.BundleHelper buildEngineRemote
WARNING: defappsflyer/src/DefAppsFlyer.cpp(40): format string is not a string literal (potentially insecure) [-Wformat-security]
luaL_error(L, msg);
окт. 08, 2019 2:12:43 PM com.dynamo.bob.bundle.BundleHelper buildEngineRemote
WARNING: defappsflyer/src/DefAppsFlyer.cpp(40): treat the string as an argument to avoid this
luaL_error(L, msg);
окт. 08, 2019 2:12:43 PM com.dynamo.bob.bundle.BundleHelper buildEngineRemote
SEVERE: defappsflyer/src/DefAppsFlyer.cpp(57): use of undeclared identifier ‘free’
free(list[i].key);
окт. 08, 2019 2:12:43 PM com.dynamo.bob.bundle.BundleHelper buildEngineRemote
SEVERE: defappsflyer/src/DefAppsFlyer.cpp(58): use of undeclared identifier ‘free’
free(list[i].value);
окт. 08, 2019 2:12:43 PM com.dynamo.bob.bundle.BundleHelper buildEngineRemote
WARNING: <unknown>(0): [options] bootstrap class path not set in conjunction with -source 6
окт. 08, 2019 2:12:43 PM com.dynamo.bob.bundle.BundleHelper buildEngineRemote
WARNING: <unknown>(0): [options] source value 6 is obsolete and will be removed in a future release
окт. 08, 2019 2:12:43 PM com.dynamo.bob.bundle.BundleHelper buildEngineRemote
WARNING: <unknown>(0): [options] target value 1.6 is obsolete and will be removed in a future release
окт. 08, 2019 2:12:43 PM com.dynamo.bob.bundle.BundleHelper buildEngineRemote
WARNING: <unknown>(0): [options] To suppress warnings about obsolete options, use -Xlint:-options.
окт. 08, 2019 2:12:43 PM com.dynamo.bob.bundle.BundleHelper buildEngineRemote
WARNING: <unknown>(0): [options] bootstrap class path not set in conjunction with -source 6
окт. 08, 2019 2:12:43 PM com.dynamo.bob.bundle.BundleHelper buildEngineRemote
WARNING: <unknown>(0): [options] source value 6 is obsolete and will be removed in a future release
окт. 08, 2019 2:12:43 PM com.dynamo.bob.bundle.BundleHelper buildEngineRemote
WARNING: <unknown>(0): [options] target value 1.6 is obsolete and will be removed in a future release
окт. 08, 2019 2:12:43 PM com.dynamo.bob.bundle.BundleHelper buildEngineRemote
WARNING: <unknown>(0): [options] To suppress warnings about obsolete options, use -Xlint:-options.
окт. 08, 2019 2:12:43 PM com.dynamo.bob.bundle.BundleHelper buildEngineRemote
WARNING: <unknown>(0): [options] bootstrap class path not set in conjunction with -source 6
окт. 08, 2019 2:12:43 PM com.dynamo.bob.bundle.BundleHelper buildEngineRemote
WARNING: <unknown>(0): [options] source value 6 is obsolete and will be removed in a future release
окт. 08, 2019 2:12:43 PM com.dynamo.bob.bundle.BundleHelper buildEngineRemote
WARNING: <unknown>(0): [options] target value 1.6 is obsolete and will be removed in a future release
окт. 08, 2019 2:12:43 PM com.dynamo.bob.bundle.BundleHelper buildEngineRemote
WARNING: <unknown>(0): [options] To suppress warnings about obsolete options, use -Xlint:-options.
окт. 08, 2019 2:12:43 PM com.dynamo.bob.bundle.BundleHelper buildEngineRemote
WARNING: <unknown>(0): [options] bootstrap class path not set in conjunction with -source 6
окт. 08, 2019 2:12:43 PM com.dynamo.bob.bundle.BundleHelper buildEngineRemote
WARNING: <unknown>(0): [options] source value 6 is obsolete and will be removed in a future release
окт. 08, 2019 2:12:43 PM com.dynamo.bob.bundle.BundleHelper buildEngineRemote
WARNING: <unknown>(0): [options] target value 1.6 is obsolete and will be removed in a future release
окт. 08, 2019 2:12:43 PM com.dynamo.bob.bundle.BundleHelper buildEngineRemote
WARNING: <unknown>(0): [options] To suppress warnings about obsolete options, use -Xlint:-options.
окт. 08, 2019 2:12:43 PM com.dynamo.bob.bundle.BundleHelper buildEngineRemote
WARNING: <unknown>(0): [options] bootstrap class path not set in conjunction with -source 6
окт. 08, 2019 2:12:43 PM com.dynamo.bob.bundle.BundleHelper buildEngineRemote
WARNING: <unknown>(0): [options] source value 6 is obsolete and will be removed in a future release
окт. 08, 2019 2:12:43 PM com.dynamo.bob.bundle.BundleHelper buildEngineRemote
WARNING: <unknown>(0): [options] target value 1.6 is obsolete and will be removed in a future release
окт. 08, 2019 2:12:43 PM com.dynamo.bob.bundle.BundleHelper buildEngineRemote
WARNING: <unknown>(0): [options] To suppress warnings about obsolete options, use -Xlint:-options.
Error in resource: md5/src/MD5.c
Exception in thread “main” com.dynamo.bob.MultipleCompileException: Build error
at com.dynamo.bob.bundle.BundleHelper.buildEngineRemote(BundleHelper.java:845)
at com.dynamo.bob.Project.buildEngine(Project.java:727)
at com.dynamo.bob.Project.doBuild(Project.java:851)
at com.dynamo.bob.Project.build(Project.java:437)
at com.dynamo.bob.Bob.main(Bob.java:557)
Caused by: com.defold.extender.client.ExtenderClientException: Failed to build source.
at com.defold.extender.client.ExtenderClient.build(ExtenderClient.java:190)
at com.dynamo.bob.bundle.BundleHelper.buildEngineRemote(BundleHelper.java:837)
… 4 more

bob’s using

java 12.0.1 2019-04-16
Java™ SE Runtime Environment (build 12.0.1+12)
Java HotSpot™ 64-Bit Server VM (build 12.0.1+12, mixed mode, sharing)

Extensions list

I will be glad of any help.
Thanks!

We updated the build system recently and the DefAppsFlyer extension is missing an include. I’ve fixed this (and added manifest merge tool support) in this PR:

Ping @AGulev

3 Likes

Merged, thanks!

It’s Hacktober fest and this PR brought me one step closer to a t-shirt :slight_smile:

Anyone else need something fixed?

2 Likes