All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/jasper: disable programs
@ 2022-02-02  7:56 Fabrice Fontaine
  2022-02-02 10:21 ` Peter Korsgaard
  0 siblings, 1 reply; 2+ messages in thread
From: Fabrice Fontaine @ 2022-02-02  7:56 UTC (permalink / raw)
  To: buildroot; +Cc: Michael Vetter, Fabrice Fontaine

Disable demo programs through JAS_ENABLE_PROGRAMS option which is
available and enabled by default since version 2.0.14 and
https://github.com/jasper-software/jasper/commit/e02518ce7161cd37ded64af78ac520e0424a9b12

As a side-effect, this will avoid the following build failure raised
since bump to version 2.0.33 in commit
f791221c8616bfa6d338ce6c287353395cc2c61a:

[ 96%] Linking C executable imginfo
/home/buildroot/autobuild/instance-3/output-1/per-package/jasper/host/opt/ext-toolchain/bin/../lib/gcc/x86_64-buildroot-linux-uclibc/10.3.0/../../../../x86_64-buildroot-linux-uclibc/bin/ld: attempted static link of dynamic object `/home/buildroot/autobuild/instance-3/output-1/per-package/jasper/host/x86_64-buildroot-linux-uclibc/sysroot/lib/libc.so.1'

Fixes:
 - http://autobuild.buildroot.org/results/b106fdf32ffa9e0ef1254e0a29fdcdc821020e08

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/jasper/jasper.mk | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/package/jasper/jasper.mk b/package/jasper/jasper.mk
index 05168db763..6b6bbcd6e6 100644
--- a/package/jasper/jasper.mk
+++ b/package/jasper/jasper.mk
@@ -11,7 +11,9 @@ JASPER_LICENSE = JasPer-2.0
 JASPER_LICENSE_FILES = LICENSE
 JASPER_CPE_ID_VENDOR = jasper_project
 JASPER_SUPPORTS_IN_SOURCE_BUILD = NO
-JASPER_CONF_OPTS = -DJAS_ENABLE_DOC=OFF
+JASPER_CONF_OPTS = \
+	-DJAS_ENABLE_DOC=OFF \
+	-DJAS_ENABLE_PROGRAMS=OFF
 
 ifeq ($(BR2_STATIC_LIBS),y)
 JASPER_CONF_OPTS += -DJAS_ENABLE_SHARED=OFF
-- 
2.34.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [Buildroot] [PATCH 1/1] package/jasper: disable programs
  2022-02-02  7:56 [Buildroot] [PATCH 1/1] package/jasper: disable programs Fabrice Fontaine
@ 2022-02-02 10:21 ` Peter Korsgaard
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Korsgaard @ 2022-02-02 10:21 UTC (permalink / raw)
  To: Fabrice Fontaine; +Cc: Michael Vetter, buildroot

>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:

 > Disable demo programs through JAS_ENABLE_PROGRAMS option which is
 > available and enabled by default since version 2.0.14 and
 > https://github.com/jasper-software/jasper/commit/e02518ce7161cd37ded64af78ac520e0424a9b12

 > As a side-effect, this will avoid the following build failure raised
 > since bump to version 2.0.33 in commit
 > f791221c8616bfa6d338ce6c287353395cc2c61a:

 > [ 96%] Linking C executable imginfo
 > /home/buildroot/autobuild/instance-3/output-1/per-package/jasper/host/opt/ext-toolchain/bin/../lib/gcc/x86_64-buildroot-linux-uclibc/10.3.0/../../../../x86_64-buildroot-linux-uclibc/bin/ld:
 > attempted static link of dynamic object
 > `/home/buildroot/autobuild/instance-3/output-1/per-package/jasper/host/x86_64-buildroot-linux-uclibc/sysroot/lib/libc.so.1'

 > Fixes:
 >  - http://autobuild.buildroot.org/results/b106fdf32ffa9e0ef1254e0a29fdcdc821020e08

 > Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

Committed, thanks.

-- 
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-02-02 10:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-02  7:56 [Buildroot] [PATCH 1/1] package/jasper: disable programs Fabrice Fontaine
2022-02-02 10:21 ` Peter Korsgaard

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.