From patchwork Sun Oct 25 16:41:08 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabrice Fontaine X-Patchwork-Id: 1387241 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.136; helo=silver.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com 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=USfTM5hk; dkim-atps=neutral Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4CK3dY5jFbz9sSs for ; Mon, 26 Oct 2020 03:41:37 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 727A020363; Sun, 25 Oct 2020 16:41:33 +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 A12GFROJjyuM; Sun, 25 Oct 2020 16:41:30 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 30EC620008; Sun, 25 Oct 2020 16:41:30 +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 93AF51BF471 for ; Sun, 25 Oct 2020 16:41:28 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 8A851867D9 for ; Sun, 25 Oct 2020 16:41:28 +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 HEgKEyS8BFDc for ; Sun, 25 Oct 2020 16:41:27 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f44.google.com (mail-wr1-f44.google.com [209.85.221.44]) by whitealder.osuosl.org (Postfix) with ESMTPS id 06544867B6 for ; Sun, 25 Oct 2020 16:41:27 +0000 (UTC) Received: by mail-wr1-f44.google.com with SMTP id t9so9794855wrq.11 for ; Sun, 25 Oct 2020 09:41:26 -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=tVnpSt4x3xCW8MqpDsa+X0tcrAz28tPlmy3Ck1PI0VU=; b=USfTM5hk2w4ajnub9kVJsIiVDiBl9+onWBDPo1DOvW4FSY0jG1FK4/FfchX+7d9Igg Lc5u7upRgz4fHSFXi+4yjPC25itzCzKUIFvotleb26n/uxZe2CkCHF08zjpmXi8qjAy5 qvPJX6WZ3nHF9tG4hqZRz211VTy7RFydl11F1DmHNkmIBmmAL9ejKgzeo+G7GNjpniQr GnFRG27t05yGxp6Epe1skgJFf8iQKjtMUJWzKyQSwRZZN7H1tmtcXDH5ZCRy0mxawRGI s1+2+b/HSsxaDu4j07RIpEU4t3cwHBYtgqatC36jwxKl2rsl3wrbQSGKQVen+J7z7zwm 9pew== 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=tVnpSt4x3xCW8MqpDsa+X0tcrAz28tPlmy3Ck1PI0VU=; b=t1EYNDIRu73I5bIVmo4+ZWjQ464i3+5g+1QGZypePZNt6zJKXTMeI7LyPm3c6zmsxR 5+qdAIbVGP1FoFlygBhOltRq0CcAH+q6bm2mLdV971r0Jes8qnVnIs5didGVrrxpFDEH ZylhIxQXYLq6SPYPkFvYi0xwQykBy1xp7WmtPYtItU48zvPRSvG4CwIHx4+zbf4OLiQs JH5nWAzWVwDT4T88fDmRl3O3EnasBdbtXvPK8zoZwPq+bt8XWobyk/DeadDEZP/aK2kC fJCzoYMfyY868E/edFkkPjmigdl/O+ejkIBW4aOym7NEKrNtLAp+5DXcrn3ELHedvXVF JXgQ== X-Gm-Message-State: AOAM531QFgCCHnZQGLHak492Uv0L1xAou5xcOOWXk1utlS/lEIY/mT0z o1roRciFZ9d8aZAIIItM56IO24K2fOMlRg== X-Google-Smtp-Source: ABdhPJxWTD24sGG68CW9yQBgFC8T8P2Zuoc8pCgT4tTAW0zlI73LppALmoziv6l65txYyb4BH1QAwQ== X-Received: by 2002:a5d:480b:: with SMTP id l11mr13721176wrq.225.1603644085139; Sun, 25 Oct 2020 09:41:25 -0700 (PDT) Received: from kali.home (lfbn-ren-1-923-220.w83-197.abo.wanadoo.fr. [83.197.237.220]) by smtp.gmail.com with ESMTPSA id z15sm7224147wmk.4.2020.10.25.09.41.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 Oct 2020 09:41:24 -0700 (PDT) From: Fabrice Fontaine To: buildroot@buildroot.org Date: Sun, 25 Oct 2020 17:41:08 +0100 Message-Id: <20201025164108.1837152-1-fontaine.fabrice@gmail.com> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Subject: [Buildroot] [PATCH 1/1] package/sshfs: fix uclibc 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: Fabrice Fontaine Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Fix build of sshfs 3.7.0 with uclibc Fixes: - http://autobuild.buildroot.org/results/f93972515ad09ab2ccbdc4cd976ed60702c5974a Signed-off-by: Fabrice Fontaine --- .../0001-target-libfuse-version-30.patch | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 package/sshfs/0001-target-libfuse-version-30.patch diff --git a/package/sshfs/0001-target-libfuse-version-30.patch b/package/sshfs/0001-target-libfuse-version-30.patch new file mode 100644 index 0000000000..d83ebcf13b --- /dev/null +++ b/package/sshfs/0001-target-libfuse-version-30.patch @@ -0,0 +1,35 @@ +From 7315b0c2f7e04353fefb9734da60884e9b382e51 Mon Sep 17 00:00:00 2001 +From: Rosen Penev +Date: Tue, 28 Jul 2020 15:40:39 -0700 +Subject: [PATCH] target libfuse version 30 + +libfuse only defines fuse_new_30 when FUSE_USE_VERSION == 30. It does not +define fuse_new_31 in the headers. + +fuse_new_31 and _32 seem to be internal only. + +Fixes a linking issue: +ld: sshfs.p/sshfs.c.o: in function `main': +sshfs.c:(.text.startup+0x506): undefined reference to `fuse_new' +ld: sshfs.c:(.text.startup+0x506): undefined reference to `fuse_new' + +[Retrieved from: +https://github.com/libfuse/sshfs/pull/221/commits/7315b0c2f7e04353fefb9734da60884e9b382e51] +Signed-off-by: Fabrice Fontaine +--- + meson.build | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/meson.build b/meson.build +index f6bbe51..dc40313 100644 +--- a/meson.build ++++ b/meson.build +@@ -51,7 +51,7 @@ sshfs_deps = [ dependency('fuse3', version: '>= 3.1.0'), + executable('sshfs', sshfs_sources, + include_directories: include_dirs, + dependencies: sshfs_deps, +- c_args: ['-DFUSE_USE_VERSION=31'], ++ c_args: ['-DFUSE_USE_VERSION=30'], + install: true, + install_dir: get_option('bindir')) +