From patchwork Thu Jul 11 19:36:54 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matt Weber X-Patchwork-Id: 1130987 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.137; helo=fraxinus.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=rockwellcollins.com Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 45l5sr19m5z9sDB for ; Fri, 12 Jul 2019 05:37:04 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 9F1AF8626D; Thu, 11 Jul 2019 19:37:01 +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 icFBQSE1R5PH; Thu, 11 Jul 2019 19:37:01 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 0C4DD86274; Thu, 11 Jul 2019 19:37:01 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 7258E1BF34F for ; Thu, 11 Jul 2019 19:37:00 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 6F4A0881BF for ; Thu, 11 Jul 2019 19:37:00 +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 4rVVstznJ3mi for ; Thu, 11 Jul 2019 19:36:58 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from secvs01.rockwellcollins.com (secvs01.rockwellcollins.com [205.175.225.240]) by hemlock.osuosl.org (Postfix) with ESMTPS id 59FE2881BB for ; Thu, 11 Jul 2019 19:36:58 +0000 (UTC) Received: from ofwgwc03.rockwellcollins.com (HELO dtulimr01.rockwellcollins.com) ([205.175.225.12]) by secvs01.rockwellcollins.com with ESMTP; 11 Jul 2019 14:36:57 -0500 X-Received: from CRm23123.rockwellcollins.com (crm23123.rockwellcollins.com [10.95.33.66]) by dtulimr01.rockwellcollins.com (Postfix) with ESMTP id EB830600B8; Thu, 11 Jul 2019 14:36:56 -0500 (CDT) From: Matt Weber To: buildroot@buildroot.org Date: Thu, 11 Jul 2019 14:36:54 -0500 Message-Id: <20190711193654.2039-1-matthew.weber@rockwellcollins.com> X-Mailer: git-send-email 2.17.1 Subject: [Buildroot] [PATCH] package/fakeroot: use TCP for msg passing 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: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" fakeroot can be built to either use SYSV IPC or TCP for message passing. Cases for which the SYSV IPC version fails or causes problems but for which fakeroot-tcp has been observed to work well include the items listed below. * Multithreaded applications (using pthread) * Running under realtime-preempt kernel * Microsoft Windows 10 Services for Linux Link to readme capturing original upstream bug report # https://salsa.debian.org/clint/fakeroot/commit/113c6320244c4261f7f7a9ce07cf7b5465573dfe Fixes https://bugs.busybox.net/show_bug.cgi?id=11366 Signed-off-by: Matthew Weber --- I can't find a good reason to not make this the new default in the Buildroot host build of fakeroot. vs auto detecting which to build depending on what the host env can support. For good measure, in-addition to this change, I will submit an upstream patch for the suggested configure.as update (pending a little cleanup in that proposed patch). https://bugs.busybox.net/attachment.cgi?id=7791 --- package/fakeroot/fakeroot.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/fakeroot/fakeroot.mk b/package/fakeroot/fakeroot.mk index 4aa27a1b0c..d8effc955e 100644 --- a/package/fakeroot/fakeroot.mk +++ b/package/fakeroot/fakeroot.mk @@ -16,6 +16,8 @@ HOST_FAKEROOT_CONF_ENV = \ ac_cv_header_sys_capability_h=no \ ac_cv_func_capset=no +HOST_FAKEROOT_CONF_OPTS = --with-ipc=tcp + FAKEROOT_LICENSE = GPL-3.0+ FAKEROOT_LICENSE_FILES = COPYING