[oe] [meta-oe][PATCH 2/2] smbnetfs: update update 0.5.3a -> 0.6.0

Khem Raj raj.khem at gmail.com
Sat Oct 21 15:29:48 UTC 2017


On Tue, Oct 17, 2017 at 2:01 PM, Athanasios Oikonomou <athoik at gmail.com> wrote:
> 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

> Signed-off-by: Athanasios Oikonomou <athoik at gmail.com>
> ---
>  .../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(-)
>
> diff --git a/meta-filesystems/recipes-filesystems/smbnetfs/smbnetfs/Using-PKG_CHECK_MODULES-to-found-headers-and-libraries.patch b/meta-filesystems/recipes-filesystems/smbnetfs/smbnetfs/Using-PKG_CHECK_MODULES-to-found-headers-and-libraries.patch
> index f05f09f..371ab89 100644
> --- a/meta-filesystems/recipes-filesystems/smbnetfs/smbnetfs/Using-PKG_CHECK_MODULES-to-found-headers-and-libraries.patch
> +++ b/meta-filesystems/recipes-filesystems/smbnetfs/smbnetfs/Using-PKG_CHECK_MODULES-to-found-headers-and-libraries.patch
> @@ -10,10 +10,10 @@ Signed-off-by: Bian Naimeng <biannm at cn.fujitsu.com>
>   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,
>       )]
>   )
> diff --git a/meta-filesystems/recipes-filesystems/smbnetfs/smbnetfs/configure.patch b/meta-filesystems/recipes-filesystems/smbnetfs/smbnetfs/configure.patch
> index c80fed1..152507c 100644
> --- a/meta-filesystems/recipes-filesystems/smbnetfs/smbnetfs/configure.patch
> +++ b/meta-filesystems/recipes-filesystems/smbnetfs/smbnetfs/configure.patch
> @@ -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])
> diff --git a/meta-filesystems/recipes-filesystems/smbnetfs/smbnetfs_git.bb b/meta-filesystems/recipes-filesystems/smbnetfs/smbnetfs_git.bb
> index 6995ad3..03e6b2b 100644
> --- a/meta-filesystems/recipes-filesystems/smbnetfs/smbnetfs_git.bb
> +++ b/meta-filesystems/recipes-filesystems/smbnetfs/smbnetfs_git.bb
> @@ -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
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel



More information about the Openembedded-devel mailing list