package/sshfs: fix uclibc build
PATCH 1/1 package/sshfs: fix uclibc build
Fix build of sshfs 3.7.0 with uclibc
Fixes:
- http://autobuild.buildroot.org/results/f93972515ad09ab2ccbdc4cd976ed60702c5974a
--- .../0001-target-libfuse-version-30.patch | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 package/sshfs/0001-target-libfuse-version-30.patch
package/sshfs/0001-target-libfuse-version-30.patch new file +35 -0
@@ -0,0 +1,35 @@ +From 7315b0c2f7e04353fefb9734da60884e9b382e51 Mon Sep 17 00:00:00 2001 +From: Rosen Penev <[email protected]> +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 <[email protected]> +--- + 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')) +
Signature · 1 line
2.28.0
PATCH 1/1 package/sshfs: fix uclibc build
Fabrice, All,
On 2020-10-25 17:41 +0100, Fabrice Fontaine spake thusly:
Quoted 24 lines
Fix build of sshfs 3.7.0 with uclibc
Fixes:
- http://autobuild.buildroot.org/results/f93972515ad09ab2ccbdc4cd976ed60702c5974aSigned-off-by Fabrice Fontaine <[email protected]>--- .../0001-target-libfuse-version-30.patch | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 package/sshfs/0001-target-libfuse-version-30.patchpackage/sshfs/0001-target-libfuse-version-30.patch new file +7
-0@@ -0,0 +1,35 @@ +From 7315b0c2f7e04353fefb9734da60884e9b382e51 Mon Sep 17 00:00:00 2001 +From: Rosen Penev <[email protected]> +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.
package/sshfs/0001-target-libfuse-version-30.patch line 17
Quoted 10 lines
package/sshfs/0001-target-libfuse-version-30.patch new file +10
-0+ +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]
Not sure if you followed up on that PR, but there has been some recent activity, and the issue is in fact probably with libfuse itself:
https://github.com/libfuse/libfuse/pull/556
So, I'll refrain from applying this patch for a little while still.
Regards,
Yann E. MORIN.
Quoted 25 lines
package/sshfs/0001-target-libfuse-version-30.patch new file +18
-0+Signed-off-by: Fabrice Fontaine <[email protected]> +--- + 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')) +Signature · 6 lines
2.28.0 _______________________________________________ buildroot mailing list buildroot at busybox.net http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------'
PATCH 1/1 package/sshfs: fix uclibc build
Fabrice, All,
On 2020-10-29 08:15 +0100, Yann E. MORIN spake thusly:
Quoted 2 lines
On 2020-10-25 17:41 +0100, Fabrice Fontaine spake thusly:
Quoted 1 line
Fix build of sshfs 3.7.0 with uclibc
[--SNIP--]
Quoted 6 lines
Quoted 2 lines
+[Retrieved from:
+https://github.com/libfuse/sshfs/pull/221/commits/7315b0c2f7e04353fefb9734da60884e9b382e51]Not sure if you followed up on that PR, but there has been some recent activity, and the issue is in fact probably with libfuse itself:
https://github.com/libfuse/libfuse/pull/556
This libfuse PR has now been merged, so I guess we can now backport the libfuse upstream commit:
https://github.com/libfuse/libfuse/commit/4ebb018e78b53a8afe0368e7cd7a17a67c52e3df
Care to do send the patch, please?
Regards,
Yann E. MORIN.
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------'