0

Yocto build for samba recipe failed

I am trying to build this samba recipe file Here

bitbake smbnetfs

Error :

smbnetfs_git.bb DEPENDS on or otherwise requires it) samba was skipped: it has incompatible license(s): GPL-3.0+ LGPL-3.0+ ERROR: Required build target 'smbnetfs' has no buildable providers. Missing or unbuildable dependency chain was: ['smbnetfs', 'samba']

HOMEPAGE = "https://www.samba.org/"
SECTION = "console/network"

LICENSE = "GPL-3.0+ & LGPL-3.0+ & GPL-2.0+"
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \
                    file://${COREBASE}/meta/files/common-licenses/LGPL-3.0;md5=bfccfe952269fff2b407dd11f2f3083b \
                    file://${COREBASE}/meta/files/common-licenses/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6 "

SAMBA_MIRROR = "http://samba.org/samba/ftp"
MIRRORS += "\
${SAMBA_MIRROR}    http://mirror.internode.on.net/pub/samba \n \
${SAMBA_MIRROR}    http://www.mirrorservice.org/sites/ftp.samba.org \n \
"

SRC_URI = "${SAMBA_MIRROR}/stable/samba-${PV}.tar.gz \
           file://16-do-not-check-xsltproc-manpages.patch \
           file://20-do-not-import-target-module-while-cross-compile.patch \
           file://21-add-config-option-without-valgrind.patch \
           file://0001-packaging-Avoid-timeout-for-nmbd-if-started-offline-.patch \
           file://0006-avoid-using-colon-in-the-checking-msg.patch \
           file://netdb_defines.patch \
           file://glibc_only.patch \
           file://iconv-4.7.0.patch \
           file://dnsserver-4.7.0.patch \
           file://smb_conf-4.7.0.patch \
           file://volatiles.03_samba \
          "
SRC_URI_append_libc-musl = " \
           file://samba-pam.patch \
           file://samba-4.3.9-remove-getpwent_r.patch \
          "

SRC_URI[md5sum] = "0253021a45c479cec1e135b004a0177a"
SRC_URI[sha256sum] = "1eede30fc8ef6504e24602fb72b00baa0a7b73b59f16d25cb0771dc8c7c57d6e"

inherit systemd waf-samba cpan-base perlnative update-rc.d
# remove default added RDEPENDS on perl
RDEPENDS_${PN}_remove = "perl"

DEPENDS += "readline virtual/libiconv zlib popt libtalloc libtdb libtevent libldb libbsd libaio libpam"

My finding: There problem in LICENSE and LIC_FILES_CHKSUM

Reason = common-licenses folder is not available in the meta-openembedded

Why folder is missing from the meta-openembedded. How to resolve it.

I have gone through almost all the site. I have tired the option to close the license as below

LICENSE = "CLOSED"
BB_STRICT_CHECKSUM = "0"

But still no luck.

I tired this suggestion as well here and here

Please suggestion

Talel BELHADJSALEM
  • 3,199
  • 1
  • 10
  • 30
kofni
  • 5
  • 1

0 Answers0