All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [git commit] package/bullet: fix build
@ 2021-05-04 20:30 Arnout Vandecappelle
  0 siblings, 0 replies; only message in thread
From: Arnout Vandecappelle @ 2021-05-04 20:30 UTC (permalink / raw)
  To: buildroot

commit: https://git.buildroot.net/buildroot/commit/?id=5f154799b6ed772a0c028072996e110fac131508
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Since bump to version 3.09 in commit
28b4947ed8f53c4edfbf8fef9304dc76480c01ca, build fails on:

[100%] Linking CXX shared library libBulletRoboticsGUI.so
/home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc64-buildroot-linux-gnu/9.3.0/../../../../sparc64-buildroot-linux-gnu/bin/ld: cannot find -lBulletExampleBrowserLib

Upstream is aware of this issue and recommends to avoid changing any
options: https://github.com/bulletphysics/bullet3/issues/3143

So don't disable bullet3 and demos apps ...

Fixes:
 - http://autobuild.buildroot.org/results/1721df8b0859656f7420b0b166d1ca635e5ddc74

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
[Arnout: remove the options instead of setting to ON]
---
 package/bullet/bullet.mk | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/package/bullet/bullet.mk b/package/bullet/bullet.mk
index 6ed4da859f..01931b58a8 100644
--- a/package/bullet/bullet.mk
+++ b/package/bullet/bullet.mk
@@ -10,11 +10,10 @@ BULLET_INSTALL_STAGING = YES
 BULLET_LICENSE = Zlib
 BULLET_LICENSE_FILES = LICENSE.txt
 
-# Disable demos apps and unit tests.
-# Disable Bullet3 library.
-BULLET_CONF_OPTS = -DBUILD_UNIT_TESTS=OFF \
-	-DBUILD_BULLET2_DEMOS=OFF \
-	-DBUILD_BULLET3=OFF
+# Disable unit tests.
+# Don't disable demos apps and Bullet3 library to avoid a build failure:
+# https://github.com/bulletphysics/bullet3/issues/3143
+BULLET_CONF_OPTS = -DBUILD_UNIT_TESTS=OFF
 
 # extras needs dlfcn.h and NPTL (pthread_barrier_init)
 ifeq ($(BR2_STATIC_LIBS):$(BR2_TOOLCHAIN_HAS_THREADS_NPTL),:y)

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2021-05-04 20:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-04 20:30 [Buildroot] [git commit] package/bullet: fix build Arnout Vandecappelle

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.