Revert "smbnetfs: delete blacklisted"
PATCH 1/2 Revert "smbnetfs: delete blacklisted"
This reverts commit 8159e7d528d61779b711be8b044a4ef2d1ca0ebe.
--- ...CK_MODULES-to-found-headers-and-libraries.patch | 42 ++++++++++++++++++++++ .../smbnetfs/smbnetfs/configure.patch | 11 ++++++ .../recipes-filesystems/smbnetfs/smbnetfs_git.bb | 28 +++++++++++++++ 3 files changed, 81 insertions(+) create mode 100644 meta-filesystems/recipes-filesystems/smbnetfs/smbnetfs/Using-PKG_CHECK_MODULES-to-found-headers-and-libraries.patch create mode 100644 meta-filesystems/recipes-filesystems/smbnetfs/smbnetfs/configure.patch create mode 100644 meta-filesystems/recipes-filesystems/smbnetfs/smbnetfs_git.bb
meta-filesystems/recipes-filesystems/smbnetfs/smbnetfs/Using-PKG_CHECK_MODULES-to-found-headers-and-libraries.patch new file +42 -0
@@ -0,0 +1,42 @@ +From 7a524d49b3d4459280f18942df2980603400ec52 Mon Sep 17 00:00:00 2001 +From: Bian Naimeng <[email protected]> +Date: Fri, 19 Jun 2015 11:54:44 +0900 +Subject: [PATCH] Using PKG_CHECK_MODULES to found headers and libraries of + smbclient + +Signed-off-by: Bian Naimeng <[email protected]> +--- + configure.in | 5 +++++ + src/Makefile.am | 3 +++ + 2 files changed, 8 insertions(+) + +diff --git a/configure.in b/configure.in +index ce21aef..ecd7119 100644 +--- a/configure.in ++++ b/configure.in +@@ -125,6 +125,11 @@ AC_CHECK_LIB(smbclient, smbc_setOptionUserData, + )] + ) + ++dnl ***************************************************************** ++dnl *** Check libsmbclient by pkgconfig to get cflags and ldflags *** ++dnl ***************************************************************** ++PKG_CHECK_MODULES(SMBCLIENT, smbclient) ++ + dnl ****************** + dnl *** Final step *** + dnl ****************** +diff --git a/src/Makefile.am b/src/Makefile.am +index 41519d8..9fc97e9 100644 +--- a/src/Makefile.am ++++ b/src/Makefile.am +@@ -16,3 +16,6 @@ smbnetfs_SOURCES = \ + event.c event.h \ + reconfigure.c reconfigure.h \ + main.c ++ ++smbnetfs_CFLAGS=${SMBCLIENT_CFLAGS} ++smbnetfs_LDFLAGS=${SMBCLIENT_LDFLAGS} +-- +1.8.4.2 +
meta-filesystems/recipes-filesystems/smbnetfs/smbnetfs/configure.patch new file +11 -0
@@ -0,0 +1,11 @@ +Index: git/configure.in +=================================================================== +--- git.orig/configure.in 2014-06-18 16:06:16.040721349 +0000 ++++ git/configure.in 2014-07-18 07:49:17.085552256 +0000 +@@ -1,5 +1,5 @@ + AC_INIT([SMBNetFS],[0.5.3а]) +-AM_INIT_AUTOMAKE ++AM_INIT_AUTOMAKE([foreign]) + AC_CONFIG_HEADERS([src/config.h]) + AC_PROG_CC +
meta-filesystems/recipes-filesystems/smbnetfs/smbnetfs_git.bb new file +28 -0
@@ -0,0 +1,28 @@ +SUMMARY = "FUSE module for mounting an entire SMB/NMB network in a single directory" +DESCRIPTION = "SMBNetFS is a Linux/FreeBSD filesystem that allow you to use \ + samba/microsoft network in the same manner as the network \ + neighborhood in Microsoft Windows. Please donate me to help \ + in SMBNetFS development." + +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=eb723b61539feef013de476e68b5c50a" +HOMEPAGE ="http://sourceforge.net/projects/smbnetfs" + +DEPENDS = "fuse samba" + +inherit autotools gitpkgv pkgconfig + +PKGV = "${GITPKGVTAG}" + +SRCREV = "ace1c519d45fe488b9b7e6cc77a2bcadb6c83464" + +SRC_URI = "git://smbnetfs.git.sourceforge.net/gitroot/smbnetfs/smbnetfs;branch=master \ + file://configure.patch \ + file://Using-PKG_CHECK_MODULES-to-found-headers-and-libraries.patch" + +PACKAGECONFIG ??= "" +PACKAGECONFIG[gnome-keyring] = "--with-gnome-keyring=yes,--with-gnome-keyring=no,libgnome-keyring" + +S = "${WORKDIR}/git" + +PNBLACKLIST[smbnetfs] ?= "Fails to build with RSS http://errors.yoctoproject.org/Errors/Details/132827/ - the recipe will be removed on 2017-09-01 unless the issue is fixed"
Signature · 1 line
2.1.4
PATCH 2/2 smbnetfs: update update 0.5.3a -> 0.6.0
It seems that updating smbnetfs to latest revision fixes build issues. Also remove the blacklist allowing the plugin to build again. Patches reworked to apply on 0.6.0.
--- .../Using-PKG_CHECK_MODULES-to-found-headers-and-libraries.patch | 6 +++--- .../recipes-filesystems/smbnetfs/smbnetfs/configure.patch | 6 +++--- meta-filesystems/recipes-filesystems/smbnetfs/smbnetfs_git.bb | 4 +--- 3 files changed, 7 insertions(+), 9 deletions(-)
meta-filesystems/recipes-filesystems/smbnetfs/smbnetfs/Using-PKG_CHECK_MODULES-to-found-headers-and-libraries.patch +3 -3
@@ -10,10 +10,10 @@ Signed-off-by: Bian Naimeng <[email protected]> src/Makefile.am | 3 +++ 2 files changed, 8 insertions(+) -diff --git a/configure.in b/configure.in +diff --git a/configure.ac b/configure.ac index ce21aef..ecd7119 100644 ---- a/configure.in -+++ b/configure.in +--- a/configure.ac ++++ b/configure.ac @@ -125,6 +125,11 @@ AC_CHECK_LIB(smbclient, smbc_setOptionUserData, )] )
meta-filesystems/recipes-filesystems/smbnetfs/smbnetfs/configure.patch +3 -3
@@ -1,9 +1,9 @@ Index: git/configure.in =================================================================== ---- git.orig/configure.in 2014-06-18 16:06:16.040721349 +0000 -+++ git/configure.in 2014-07-18 07:49:17.085552256 +0000 +--- git.orig/configure.ac 2014-06-18 16:06:16.040721349 +0000 ++++ git/configure.ac 2014-07-18 07:49:17.085552256 +0000 @@ -1,5 +1,5 @@ - AC_INIT([SMBNetFS],[0.5.3а]) + AC_INIT([SMBNetFS],[0.6.0]) -AM_INIT_AUTOMAKE +AM_INIT_AUTOMAKE([foreign]) AC_CONFIG_HEADERS([src/config.h])
meta-filesystems/recipes-filesystems/smbnetfs/smbnetfs_git.bb +1 -3
@@ -14,7 +14,7 @@ inherit autotools gitpkgv pkgconfig PKGV = "${GITPKGVTAG}" -SRCREV = "ace1c519d45fe488b9b7e6cc77a2bcadb6c83464" +SRCREV = "21c63ed60202e5540613d4c822a57a0b81764499" SRC_URI = "git://smbnetfs.git.sourceforge.net/gitroot/smbnetfs/smbnetfs;branch=master \ file://configure.patch \
@@ -24,5 +24,3 @@ PACKAGECONFIG ??= "" PACKAGECONFIG[gnome-keyring] = "--with-gnome-keyring=yes,--with-gnome-keyring=no,libgnome-keyring" S = "${WORKDIR}/git" - -PNBLACKLIST[smbnetfs] ?= "Fails to build with RSS http://errors.yoctoproject.org/Errors/Details/132827/ - the recipe will be removed on 2017-09-01 unless the issue is fixed"
Signature · 1 line
2.1.4
Re: [meta-oe][PATCH 2/2] smbnetfs: update update 0.5.3a -> 0.6.0
Quoted 4 lines · Athanasios Oikonomou
It seems that updating smbnetfs to latest revision fixes build issues. Also remove the blacklist allowing the plugin to build again. Patches reworked to apply on 0.6.0.
This fails to build for musl
| ../../git/src/common.c:7:10: fatal error: execinfo.h: No such file or directory
| #include <execinfo.h> | ^~~~~~~~~~~~ | compilation terminated. | make[2]: *** [Makefile:429: smbnetfs-common.o] Error 1
you might want to add dependency DEPENDS_append_libc-musl = " libexecinfo" and also make sure that -lexecinfo is added to linker cmdline
Quoted 69 lines
Signed-off-by Athanasios Oikonomou <[email protected]>--- .../Using-PKG_CHECK_MODULES-to-found-headers-and-libraries.patch | 6 +++--- .../recipes-filesystems/smbnetfs/smbnetfs/configure.patch | 6 +++--- meta-filesystems/recipes-filesystems/smbnetfs/smbnetfs_git.bb | 4 +--- 3 files changed, 7 insertions(+), 9 deletions(-)meta-filesystems/recipes-filesystems/smbnetfs/smbnetfs/Using-PKG_CHECK_MODULES-to-found-headers-and-libraries.patch +3
-3@@ -10,10 +10,10 @@ Signed-off-by: Bian Naimeng <[email protected]> src/Makefile.am | 3 +++ 2 files changed, 8 insertions(+) -diff --git a/configure.in b/configure.in +diff --git a/configure.ac b/configure.ac index ce21aef..ecd7119 100644 ---- a/configure.in -+++ b/configure.in +--- a/configure.ac ++++ b/configure.ac @@ -125,6 +125,11 @@ AC_CHECK_LIB(smbclient, smbc_setOptionUserData, )] )meta-filesystems/recipes-filesystems/smbnetfs/smbnetfs/configure.patch +3
-3@@ -1,9 +1,9 @@ Index: git/configure.in =================================================================== ---- git.orig/configure.in 2014-06-18 16:06:16.040721349 +0000 -+++ git/configure.in 2014-07-18 07:49:17.085552256 +0000 +--- git.orig/configure.ac 2014-06-18 16:06:16.040721349 +0000 ++++ git/configure.ac 2014-07-18 07:49:17.085552256 +0000 @@ -1,5 +1,5 @@ - AC_INIT([SMBNetFS],[0.5.3а]) + AC_INIT([SMBNetFS],[0.6.0]) -AM_INIT_AUTOMAKE +AM_INIT_AUTOMAKE([foreign]) AC_CONFIG_HEADERS([src/config.h])meta-filesystems/recipes-filesystems/smbnetfs/smbnetfs_git.bb +1
-4@@ -14,7 +14,7 @@ inherit autotools gitpkgv pkgconfig PKGV = "${GITPKGVTAG}" -SRCREV = "ace1c519d45fe488b9b7e6cc77a2bcadb6c83464" +SRCREV = "21c63ed60202e5540613d4c822a57a0b81764499" SRC_URI = "git://smbnetfs.git.sourceforge.net/gitroot/smbnetfs/smbnetfs;branch=master \ file://configure.patch \@@ -24,5 +24,3 @@ PACKAGECONFIG ??= "" PACKAGECONFIG[gnome-keyring] = "--with-gnome-keyring=yes,--with-gnome-keyring=no,libgnome-keyring" S = "${WORKDIR}/git" - -PNBLACKLIST[smbnetfs] ?= "Fails to build with RSS http://errors.yoctoproject.org/Errors/Details/132827/ - the recipe will be removed on 2017-09-01 unless the issue is fixed" --2.1.4
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [meta-oe][PATCH 2/2] smbnetfs: update update 0.5.3a -> 0.6.0
2017-10-21 18:29 GMT+03:00 Khem Raj <[email protected]>:
Quoted 5 lines
This fails to build for musl
|
../../git/src/common.c:7:10: fatal error:execinfo.h: No such file or directory
Quoted 9 lines
| #include <execinfo.h> | ^~~~~~~~~~~~ | compilation terminated. | make[2]: *** [Makefile:429: smbnetfs-common.o] Error 1you might want to add dependency DEPENDS_append_libc-musl = " libexecinfo" and also make sure that -lexecinfo is added to linker cmdline
Hi,
I created a newer revision of the patches with the extra DEPENDS and LDFLAGS for execinfo. Tested with musl using instructions from here:
https://github.com/kraj/meta-musl and build doesn't produce the error any more.
If that's fine please cherry-pick also the commit into pyro if possible (the revert not required).
Thanks,
Athanasios
Re: [meta-oe][PATCH 2/2] smbnetfs: update update 0.5.3a -> 0.6.0
Quoted 18 lines · Αθανάσιος Οικονόμου
2017-10-21 18:29 GMT+03:00 Khem Raj <[email protected]>:
Quoted 5 lines
This fails to build for musl
|
../../git/src/common.c:7:10: fatal error:execinfo.h: No such file or directoryQuoted 9 lines
| #include <execinfo.h> | ^~~~~~~~~~~~ | compilation terminated. | make[2]: *** [Makefile:429: smbnetfs-common.o] Error 1you might want to add dependency DEPENDS_append_libc-musl = " libexecinfo" and also make sure that -lexecinfo is added to linker cmdline
Hi,
Quoted 7 lines
I created a newer revision of the patches with the extra DEPENDS and LDFLAGS for execinfo. Tested with musl using instructions from here:
https://github.com/kraj/meta-musl and build doesn't produce the error any more.If that's fine please cherry-pick also the commit into pyro if possible (the revert not required).
Yes this patch is better. Martin please pull this in.
Quoted 3 lines
Thanks,
Athanasios