From patchwork Sat Dec 30 10:48:02 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mario Lang X-Patchwork-Id: 854091 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.136; helo=silver.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3z80YB4jG0z9t3B for ; Sat, 30 Dec 2017 21:48:14 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 375922F19C; Sat, 30 Dec 2017 10:48:12 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rqQNKvXPvZdr; Sat, 30 Dec 2017 10:48:11 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id EDDD82E97C; Sat, 30 Dec 2017 10:48:10 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id F3D3F1CEFE5 for ; Sat, 30 Dec 2017 10:48:09 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id F110D85A22 for ; Sat, 30 Dec 2017 10:48:09 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yi6YGmJlUzrG for ; Sat, 30 Dec 2017 10:48:08 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from ns3035380.ip-37-187-20.eu (familiekainz.at [37.187.20.171]) by fraxinus.osuosl.org (Postfix) with ESMTP id 9EAB3859BE for ; Sat, 30 Dec 2017 10:48:08 +0000 (UTC) Received: from fx.tugraz.at (84-115-55-45.cable.dynamic.surfer.at [84.115.55.45]) by ns3035380.ip-37-187-20.eu (Postfix) with ESMTPS id ADD9B3FC32; Sat, 30 Dec 2017 11:48:06 +0100 (CET) Received: from mlang by fx.tugraz.at with local (Exim 4.89) (envelope-from ) id 1eVEgQ-0004Ih-AV; Sat, 30 Dec 2017 11:48:06 +0100 From: Mario Lang To: buildroot@buildroot.org Date: Sat, 30 Dec 2017 11:48:02 +0100 Message-Id: <20171230104804.16489-1-mlang@blind.guru> X-Mailer: git-send-email 2.15.0 Subject: [Buildroot] [PATCH 1/3] package/brltty: add missing dependency on host-pkgconf X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.24 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mario Lang MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" This fixes the following error: ./configure: line 14978: .../host/bin/pkg-config: No such file or directory Signed-off-by: Mario Lang --- package/brltty/brltty.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/brltty/brltty.mk b/package/brltty/brltty.mk index 632aa68386..eb91ef8ff7 100644 --- a/package/brltty/brltty.mk +++ b/package/brltty/brltty.mk @@ -11,7 +11,7 @@ BRLTTY_INSTALL_STAGING_OPTS = INSTALL_ROOT=$(STAGING_DIR) install BRLTTY_INSTALL_TARGET_OPTS = INSTALL_ROOT=$(TARGET_DIR) install BRLTTY_LICENSE_FILES = LICENSE-GPL LICENSE-LGPL -BRLTTY_DEPENDENCIES = $(TARGET_NLS_DEPENDENCIES) host-autoconf +BRLTTY_DEPENDENCIES = $(TARGET_NLS_DEPENDENCIES) host-autoconf host-pkgconf BRLTTY_CONF_OPTS = \ --disable-java-bindings \ From patchwork Sat Dec 30 10:48:03 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mario Lang X-Patchwork-Id: 854093 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.133; helo=hemlock.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3z80YM6y9Gz9t3B for ; Sat, 30 Dec 2017 21:48:23 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 6B9818759D; Sat, 30 Dec 2017 10:48:19 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id EcKm82TMkXkk; Sat, 30 Dec 2017 10:48:15 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 2ACEF87536; Sat, 30 Dec 2017 10:48:15 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 1576B1CEFE5 for ; Sat, 30 Dec 2017 10:48:12 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 0FECC86A67 for ; Sat, 30 Dec 2017 10:48:12 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id EwVIGn81rPkT for ; Sat, 30 Dec 2017 10:48:09 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from ns3035380.ip-37-187-20.eu (familiekainz.at [37.187.20.171]) by whitealder.osuosl.org (Postfix) with ESMTP id 573CD869C4 for ; Sat, 30 Dec 2017 10:48:09 +0000 (UTC) Received: from fx.tugraz.at (84-115-55-45.cable.dynamic.surfer.at [84.115.55.45]) by ns3035380.ip-37-187-20.eu (Postfix) with ESMTPS id 05D9E3FE61; Sat, 30 Dec 2017 11:48:08 +0100 (CET) Received: from mlang by fx.tugraz.at with local (Exim 4.89) (envelope-from ) id 1eVEgR-0004Ik-KR; Sat, 30 Dec 2017 11:48:07 +0100 From: Mario Lang To: buildroot@buildroot.org Date: Sat, 30 Dec 2017 11:48:03 +0100 Message-Id: <20171230104804.16489-2-mlang@blind.guru> X-Mailer: git-send-email 2.15.0 In-Reply-To: <20171230104804.16489-1-mlang@blind.guru> References: <20171230104804.16489-1-mlang@blind.guru> Subject: [Buildroot] [PATCH 2/3] package/brltty: use gcc instead of ld to link shared objects X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.24 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mario Lang MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Fixes: http://autobuild.buildroot.net/results/2419741c43dea0f91859c19167c8d65cb54e1470 http://autobuild.buildroot.net/results/4b83e53c718520661dc99cde2121f69ce3fd08d7 Signed-off-by: Mario Lang Reviewed-by: "Yann E. MORIN" --- .../0003-Remove-MKOBJ-in-favour-of-MKMOD.patch | 63 ++++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 package/brltty/0003-Remove-MKOBJ-in-favour-of-MKMOD.patch diff --git a/package/brltty/0003-Remove-MKOBJ-in-favour-of-MKMOD.patch b/package/brltty/0003-Remove-MKOBJ-in-favour-of-MKMOD.patch new file mode 100644 index 0000000000..d836652850 --- /dev/null +++ b/package/brltty/0003-Remove-MKOBJ-in-favour-of-MKMOD.patch @@ -0,0 +1,63 @@ +From b3b0e47015e9162f519730789976157c7cc38178 Mon Sep 17 00:00:00 2001 +From: Mario Lang +Date: Fri, 29 Dec 2017 14:52:37 +0100 +Subject: [PATCH] Remove MKOBJ in favour of MKMOD. (ml) + +Calling ld directly can lead to problems when cross-compiling. + +Signed-off-by: Mario Lang +--- + Drivers/Braille/EuroBraille/Makefile.in | 2 +- + config.mk.in | 1 - + configure.ac | 10 ---------- + 3 files changed, 1 insertion(+), 12 deletions(-) + +diff --git a/Drivers/Braille/EuroBraille/Makefile.in b/Drivers/Braille/EuroBraille/Makefile.in +index 0500aa70e..ce8a3d1a4 100644 +--- a/Drivers/Braille/EuroBraille/Makefile.in ++++ b/Drivers/Braille/EuroBraille/Makefile.in +@@ -28,7 +28,7 @@ SRC_FILES = eu_braille.c eu_clio.c eu_esysiris.c + OBJ_FILES = $(SRC_FILES:.c=.$O) + + braille.$O: $(OBJ_FILES) +- $(MKOBJ) $@ $(OBJ_FILES) ++ $(MKMOD) $@ $(OBJ_FILES) + + %.$O: $(SRC_DIR)/%.c + $(CC) $(BRL_CFLAGS) -o $@ -c $< +diff --git a/config.mk.in b/config.mk.in +index 686f547e6..8d1da79b4 100644 +--- a/config.mk.in ++++ b/config.mk.in +@@ -250,7 +250,6 @@ LD = @LD@ + LDFLAGS = @LDFLAGS@ + LDLIBS = $(ICU_LIBS) $(POLKIT_LIBS) $(SYSTEM_LIBS) @LIBS@ + +-MKOBJ = @MKOBJ@ + MKMOD = @MKMOD@ + MKLIB = @MKLIB@ + CONFLIBDIR = @CONFLIBDIR@ +diff --git a/configure.ac b/configure.ac +index 07119dd9f..ad80b8d60 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -428,16 +428,6 @@ AC_SUBST([can_make_manual]) + test "${DOXYGEN}" = "false" && can_make_BrlAPIref=no || can_make_BrlAPIref=yes + AC_SUBST([can_make_BrlAPIref]) + +-AC_CACHE_CHECK([for make relocatable object command], [brltty_cv_prog_mkobj], [dnl +-case "${host_os}" +-in +- *) +- brltty_cv_prog_mkobj="\$(LD) -r -o" +- ;; +-esac]) +-MKOBJ="${brltty_cv_prog_mkobj}" +-AC_SUBST([MKOBJ]) +- + AC_CACHE_CHECK([for loadable module creation command], [brltty_cv_prog_mkmod], [dnl + case "${host_os}" + in +-- +2.15.0 + From patchwork Sat Dec 30 10:48:04 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mario Lang X-Patchwork-Id: 854092 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.133; helo=hemlock.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3z80YG2hdWz9t3B for ; Sat, 30 Dec 2017 21:48:18 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id CB9D8874CB; Sat, 30 Dec 2017 10:48:14 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3dIsWN5YohIS; Sat, 30 Dec 2017 10:48:14 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id EDCFF87491; Sat, 30 Dec 2017 10:48:13 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 8774F1CEFE5 for ; Sat, 30 Dec 2017 10:48:11 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 82CC528F9F for ; Sat, 30 Dec 2017 10:48:11 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id C+zYGyojjTaI for ; Sat, 30 Dec 2017 10:48:10 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from ns3035380.ip-37-187-20.eu (familiekainz.at [37.187.20.171]) by silver.osuosl.org (Postfix) with ESMTP id 303CD2480E for ; Sat, 30 Dec 2017 10:48:10 +0000 (UTC) Received: from fx.tugraz.at (84-115-55-45.cable.dynamic.surfer.at [84.115.55.45]) by ns3035380.ip-37-187-20.eu (Postfix) with ESMTPS id 19BD03FC32; Sat, 30 Dec 2017 11:48:09 +0100 (CET) Received: from mlang by fx.tugraz.at with local (Exim 4.89) (envelope-from ) id 1eVEgS-0004In-NH; Sat, 30 Dec 2017 11:48:08 +0100 From: Mario Lang To: buildroot@buildroot.org Date: Sat, 30 Dec 2017 11:48:04 +0100 Message-Id: <20171230104804.16489-3-mlang@blind.guru> X-Mailer: git-send-email 2.15.0 In-Reply-To: <20171230104804.16489-1-mlang@blind.guru> References: <20171230104804.16489-1-mlang@blind.guru> Subject: [Buildroot] [PATCH 3/3] package/brltty: depends on !BR2_STATIC_LIBS X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.24 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mario Lang MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" This requirement is likely to go away in the future. However, declaring this fact explicitly for now fixes a number of test-pkg failures. Signed-off-by: Mario Lang Acked-by: "Yann E. MORIN" --- package/brltty/Config.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package/brltty/Config.in b/package/brltty/Config.in index dfd2ff4428..288d9b56d8 100644 --- a/package/brltty/Config.in +++ b/package/brltty/Config.in @@ -2,6 +2,7 @@ config BR2_PACKAGE_BRLTTY bool "brltty" depends on BR2_USE_WCHAR depends on BR2_TOOLCHAIN_HAS_THREADS + depends on !BR2_STATIC_LIBS help A daemon providing access to the Linux console for a blind person using a refreshable braille display. @@ -15,5 +16,5 @@ config BR2_PACKAGE_BRLTTY_TEXT_TABLE endif -comment "brltty needs a toolchain w/ threads, wchar" - depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR +comment "brltty needs a toolchain w/ dynamic lib, threads, wchar" + depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR