From patchwork Fri Apr 30 06:05:45 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabrice Fontaine X-Patchwork-Id: 1471967 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.133; helo=smtp2.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=HVuvPO+J; dkim-atps=neutral Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4FWhlQ2hHvz9sjD for ; Fri, 30 Apr 2021 16:09:03 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 7A3E343106; Fri, 30 Apr 2021 06:09:00 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id n-h1fCZYqFPZ; Fri, 30 Apr 2021 06:08:59 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp2.osuosl.org (Postfix) with ESMTP id B5219430FE; Fri, 30 Apr 2021 06:08:58 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 04A801BF33E for ; Fri, 30 Apr 2021 06:08:58 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id E7BE341923 for ; Fri, 30 Apr 2021 06:08:57 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Authentication-Results: smtp4.osuosl.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jhCND_AhJTbs for ; Fri, 30 Apr 2021 06:08:56 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 Received: from mail-wr1-x433.google.com (mail-wr1-x433.google.com [IPv6:2a00:1450:4864:20::433]) by smtp4.osuosl.org (Postfix) with ESMTPS id A5A544191E for ; Fri, 30 Apr 2021 06:08:56 +0000 (UTC) Received: by mail-wr1-x433.google.com with SMTP id m9so56438625wrx.3 for ; Thu, 29 Apr 2021 23:08:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=xocpnMnzSyFzW0Kkvrz+Id2DJbZRYbQo6tN20hFVLoQ=; b=HVuvPO+J/Q3AL5aWE2zFBqQu9zxdj/O9MGkeUQAcpIzhk77Y/PL+JwdxkQZRRCHKlo whaSlP76eqXHjD46FIYwYrmZ9+BsI/ns5CZhFA6+GQj7Zkrzo07Fb1m0njGhEkXlFPVO gT2SB0JaYh+cbQTKROWo9N49FAU5JCwTKp26QR/Ht9jTDS6SpucMaBz5ZeTvfoflC7bQ 58PRyoHNuEgArO3iQwztyOLe40KAeL6WMxoz/Q069M4LGaIBgmUW4jwnGXLaVXiBjkD5 fdPzfAmRSndFjfXlz29q/ui50wqZl0iMoyxNrAQwkHm9YIDP0YRALuaMViwRf+P5dDKx uMnA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=xocpnMnzSyFzW0Kkvrz+Id2DJbZRYbQo6tN20hFVLoQ=; b=JhDyCi+AGo9+CGpxqzfa7GFjBulbVVi/4NUPLJa/7mGbdWpyTL3Ry9/0ZjRVywjdds Hz1M5BxjroGkQeysivJxHDk9NQhTG42lPtTkaqjt4e/fBwuW6Dww15XMLbgJdem2hGBe JIALWkLE2KeIj4DHje+jwboTdgh5Ax1/q83hztfR8n3Xc0VxX1Q7oFQ6gKKIJkcU3XXu 6ktCorUDNzee7OYOnWlebA5C6j2OLnxOzVl91kwNe4m+aPkHdFUzysAKvAG5rF8iihKI b+bwd1b3oTnOdDoZOvLB13lTlVNJEbFz56+UHDuvytfwAT/uQ+IaTZsDEfYGBdyJOfG0 5xCw== X-Gm-Message-State: AOAM5333jh+Ro+DJjcmNe+pmUl0F+M6N42tVfQE1nQKPPwF8hRIHjeqP 4zRLLRdLYAZvAwBPw8pPOWsUvFi+EWc= X-Google-Smtp-Source: ABdhPJweeZmMdEQHPowRpL9JZx23KJXSL48vTTEeWzfWIoUq+gYkABXAKvDwZPmls82vbhytg33pKw== X-Received: by 2002:adf:ef84:: with SMTP id d4mr4477878wro.74.1619762934590; Thu, 29 Apr 2021 23:08:54 -0700 (PDT) Received: from kali.home (lfbn-ren-1-1383-171.w86-229.abo.wanadoo.fr. [86.229.230.171]) by smtp.gmail.com with ESMTPSA id s83sm2059858wms.16.2021.04.29.23.08.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Apr 2021 23:08:53 -0700 (PDT) From: Fabrice Fontaine To: buildroot@buildroot.org Date: Fri, 30 Apr 2021 08:05:45 +0200 Message-Id: <20210430060545.1243461-1-fontaine.fabrice@gmail.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Subject: [Buildroot] [PATCH 1/1] package/bullet: fix build X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Romain Naour , Fabrice Fontaine Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" 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 enable bullet3 and demos apps ... Fixes: - http://autobuild.buildroot.org/results/1721df8b0859656f7420b0b166d1ca635e5ddc74 Signed-off-by: Fabrice Fontaine --- package/bullet/bullet.mk | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/package/bullet/bullet.mk b/package/bullet/bullet.mk index 6ed4da859f..de51402ab6 100644 --- a/package/bullet/bullet.mk +++ b/package/bullet/bullet.mk @@ -10,11 +10,12 @@ BULLET_INSTALL_STAGING = YES BULLET_LICENSE = Zlib BULLET_LICENSE_FILES = LICENSE.txt -# Disable demos apps and unit tests. -# Disable Bullet3 library. +# 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 \ - -DBUILD_BULLET2_DEMOS=OFF \ - -DBUILD_BULLET3=OFF + -DBUILD_BULLET2_DEMOS=ON \ + -DBUILD_BULLET3=ON # extras needs dlfcn.h and NPTL (pthread_barrier_init) ifeq ($(BR2_STATIC_LIBS):$(BR2_TOOLCHAIN_HAS_THREADS_NPTL),:y)