From patchwork Sat Nov 10 21:42:37 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Petazzoni X-Patchwork-Id: 198208 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id 462702C0089 for ; Sun, 11 Nov 2012 08:43:11 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 7B5C6101968; Sat, 10 Nov 2012 21:43:03 +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 SriYGAPqvlko; Sat, 10 Nov 2012 21:43:01 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id E1260101727; Sat, 10 Nov 2012 21:43:00 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 848C78F74A for ; Sat, 10 Nov 2012 21:43:10 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 603DE8CA2D for ; Sat, 10 Nov 2012 21:43:06 +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 EW44OOnPxysy for ; Sat, 10 Nov 2012 21:43:04 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail.free-electrons.com (mail.free-electrons.com [88.190.12.23]) by whitealder.osuosl.org (Postfix) with ESMTP id 872148AA62 for ; Sat, 10 Nov 2012 21:43:04 +0000 (UTC) Received: by mail.free-electrons.com (Postfix, from userid 106) id 06FB9191; Sat, 10 Nov 2012 22:42:33 +0100 (CET) Received: from localhost (37-8-163-215.coucou-networks.fr [37.8.163.215]) by mail.free-electrons.com (Postfix) with ESMTPSA id CA429D9 for ; Sat, 10 Nov 2012 22:42:22 +0100 (CET) From: Thomas Petazzoni To: buildroot@busybox.net Date: Sat, 10 Nov 2012 22:42:37 +0100 Message-Id: X-Mailer: git-send-email 1.7.9.5 Subject: [Buildroot] Fixes for RPC support X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 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-bounces@busybox.net Hello, Here is a set of fixes that should hopefully fix most RPC related build failures. At least, I have now tested all packages that use RPC support, and built all of them on: * uClibc with RPC support + libtirpc * uClibc without RPC support + libtirpc * glibc with RPC support + libtirpc * glibc without RPC support + libtirpc * uClibc without RPC without IPv6 + libtirpc Some of the patches against libtirpc are really big, and I currently am working with upstream to get a solution for these. Thomas The following changes since commit 234fe4433489bca81b79311239569525cc008d9d: perl: build with perlcross instead of qemu (2012-11-09 10:04:31 +0100) are available in the git repository at: git://git.free-electrons.com/users/thomas-petazzoni/buildroot.git fixes for you to fetch changes up to e5c6caff3ca4c3d97249a23a5a3b062ffb48af61: rpcbind: fix build on toolchains without IPv6 support (2012-11-10 22:34:53 +0100) ---------------------------------------------------------------- Thomas Petazzoni (11): conntrack-tools: do not depend on BR2_INET_RPC and use libtirpc when available libtirpc: remove patch numbers from patch titles libtirpc: add patches to fix a number of issues libtirpc: handle the case where uClibc may have RPC support nfs-utils: reformat patch set as git patches nfs-utils: add patches to allow compilation against libtirpc quota: allow usage of getrpcbynumber() instead of getrpcbynumber_r() rpcbind: convert to git patch rpcbind: allow build without NSS support libnetfilter_queue: does not build without IPv6 support rpcbind: fix build on toolchains without IPv6 support package/conntrack-tools/Config.in | 6 +- package/conntrack-tools/conntrack-tools.mk | 6 + package/libnetfilter_queue/Config.in | 5 +- ...able-parts-of-TIRPC-requiring-NIS-support.patch | 4 +- ...out-RPC-support-does-not-install-rpcent.h.patch | 19 +- ...btirpc-0003-Add-missing-INET6-conditional.patch | 4 +- .../libtirpc-0004-Make-IPv6-support-optional.patch | 4 +- ...-getrpcbyname-name-argument-as-const-char.patch | 43 + ...t-remove-prototypes-of-reentrant-variants.patch | 33 + ...-Makefile.am-fix-out-of-tree-installation.patch | 24 + ...Add-rpcgen-program-from-nfs-utils-sources.patch | 6504 ++++++++++++++++++++ ...ly-generate-XDR-header-files-from-.x-sour.patch | 999 +++ ...R-files-needed-to-build-rpcbind-on-top-of.patch | 1649 +++++ ...-AM_CONDITIONAL-in-conditional-execution.patch} | 9 +- ...> nfs-utils-0002-Patch-taken-from-Gentoo.patch} | 22 +- ...-Switch-legacy-index-in-favour-of-strchr.patch} | 44 +- ... => nfs-utils-0004-fix-build-with-uClibc.patch} | 16 +- ...-of-getrpcbynumber-when-getrpcbynumber_r-.patch | 70 + ...figure-script-find-getrpcbynumber-in-libt.patch | 38 + package/nfs-utils/nfs-utils-dont-mix-flags.patch | 288 - package/quota/quota-tools-getrpcbynumber.patch | 42 + package/quota/quota.mk | 4 + ...rpcbind-0001-Remove-yellow-pages-support.patch} | 18 +- ...to-use-NSS-support-when-not-available-in-.patch | 60 + .../rpcbind-0003-Make-IPv6-configurable.patch | 42 + package/rpcbind/rpcbind.mk | 1 + 26 files changed, 9615 insertions(+), 339 deletions(-) create mode 100644 package/libtirpc/libtirpc-0005-rpcent-mark-getrpcbyname-name-argument-as-const-char.patch create mode 100644 package/libtirpc/libtirpc-0006-rpcent-remove-prototypes-of-reentrant-variants.patch create mode 100644 package/libtirpc/libtirpc-0007-doc-Makefile.am-fix-out-of-tree-installation.patch create mode 100644 package/libtirpc/libtirpc-0008-Add-rpcgen-program-from-nfs-utils-sources.patch create mode 100644 package/libtirpc/libtirpc-0009-Automatically-generate-XDR-header-files-from-.x-sour.patch create mode 100644 package/libtirpc/libtirpc-0010-Add-more-XDR-files-needed-to-build-rpcbind-on-top-of.patch rename package/nfs-utils/{nfs-utils-conditionals.patch => nfs-utils-0001-build-avoid-AM_CONDITIONAL-in-conditional-execution.patch} (89%) rename package/nfs-utils/{nfs-utils-cross-build.patch => nfs-utils-0002-Patch-taken-from-Gentoo.patch} (69%) rename package/nfs-utils/{nfs-utils-susv3-legacy.patch => nfs-utils-0003-Switch-legacy-index-in-favour-of-strchr.patch} (50%) rename package/nfs-utils/{nfs-utils-uclibc-libio.h.patch => nfs-utils-0004-fix-build-with-uClibc.patch} (56%) create mode 100644 package/nfs-utils/nfs-utils-0005-Allow-usage-of-getrpcbynumber-when-getrpcbynumber_r-.patch create mode 100644 package/nfs-utils/nfs-utils-0006-Let-the-configure-script-find-getrpcbynumber-in-libt.patch delete mode 100644 package/nfs-utils/nfs-utils-dont-mix-flags.patch create mode 100644 package/quota/quota-tools-getrpcbynumber.patch rename package/rpcbind/{rpcbind-01-no-yp-support.patch => rpcbind-0001-Remove-yellow-pages-support.patch} (65%) create mode 100644 package/rpcbind/rpcbind-0002-Do-not-try-to-use-NSS-support-when-not-available-in-.patch create mode 100644 package/rpcbind/rpcbind-0003-Make-IPv6-configurable.patch Thanks,