[yocto] Adding ntfs3g to image and mouting ntfs partitions!?

Daniel. danielhilst at gmail.com
Thu Sep 15 05:11:32 PDT 2016


I Mathieu,

Thanks for the advice, I never had "weird errors", to be honest I was
thinking about "what I need to do to get distro X vallidated", but
this is a topic for another question. The error is the same... I found
that the meta-openembedded/meta-filesystems layer wasn't included in
my configuration, (see, my fault, not Arch's). The only thing that I
had to do about Yocto+Arch was adding python2 to path as python since
Arch sets python3 as default. The procedure can be found at
https://wiki.archlinux.org/index.php/python#Python_2

Best regards,

2016-09-15 4:20 GMT-03:00 Mathieu Allard <mathieu.allard at evalan.com>:
> Hi,
>
> it seems to me that the name of the recipe is ntfs-3g-ntfsprogs and not just ntfs-3g.
>
>
> PS: I'm not sure using arch linux is a good choice for yocto builds, you get a lot of updates and that will probably result in weird errors quite often.
> I would advise to use a supported distro, maybe in a chroot/container (or eventually debian stable with which I never had a problem so far)
>
>
> ----- Original Message -----
> From: "Daniel." <danielhilst at gmail.com>
> To: yocto at yoctoproject.org
> Sent: Wednesday, September 14, 2016 11:18:17 PM
> Subject: [yocto] Adding ntfs3g to image and mouting ntfs partitions!?
>
> Hi,
>
> I'm trying to compile ntfs-3g but I get "nothing provides ntfs-3g"
> error, the weird part is that I have that recipe:
>
> Some commands and its outputs:
>
> [geckos at csi24 build_x11]$ find ../sources/ -name
> "ntfs*.bb*"../sources/meta-openembedded/meta-filesystems/recipes-filesystems/ntfs-3g-ntfsprogs/ntfs-3g-ntfsprogs_2013.1.13.bb
>
>
> [geckos at csi24 build_x11]$ cat
> ../sources/meta-openembedded/meta-filesystems/recipes-filesystems/ntfs-3g-ntfsprogs/ntfs-3g-ntfsprogs_2013.1.13.bb
> DESCRIPTION = "The NTFS-3G driver is an open source, freely available
> NTFS driver for Linux with read and write support."
> HOMEPAGE = "http://www.ntfs-3g.org/"
> DEPENDS = "fuse libgcrypt"
> PROVIDES = "ntfsprogs ntfs-3g"
> LICENSE = "GPLv2 & LGPLv2"
> LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \
>                     file://COPYING.LIB;md5=f30a9716ef3762e3467a2f62bf790f0a"
>
> SRC_URI = "http://tuxera.com/opensource/ntfs-3g_ntfsprogs-${PV}.tgz"
> S = "${WORKDIR}/ntfs-3g_ntfsprogs-${PV}"
>
> SRC_URI[md5sum] = "2d6fb47ddf62b51733227126fe9227fe"
> SRC_URI[sha256sum] =
> "4b383f0074a3ab7683339d1f18222b107aaeb4983db119292c43c2b275cefb27"
>
> inherit autotools
>
> PACKAGECONFIG ??= ""
> PACKAGECONFIG[uuid] = "--with-uuid,--without-uuid,util-linux"
>
> # required or it calls ldconfig at install step
> EXTRA_OEMAKE = "LDCONFIG=echo"
>
> PACKAGES =+ "ntfs-3g ntfsprogs libntfs-3g"
>
> FILES_ntfs-3g = "${base_sbindir}/*.ntfs-3g ${bindir}/ntfs-3g*
> ${base_sbindir}/mount.ntfs"
> RDEPENDS_ntfs-3g += "fuse"
> RRECOMMENDS_ntfs-3g = "util-linux-mount"
>
> FILES_ntfsprogs = "${base_sbindir}/* ${bindir}/* ${sbindir}/*"
> FILES_libntfs-3g = "${libdir}/*${SOLIBS}"
>
> do_install_append() {
>     # Standard mount will execute the program /sbin/mount.TYPE
>     # when called. Add the symbolic to let mount could find ntfs.
>     ln -sf mount.ntfs-3g ${D}/${base_sbindir}/mount.ntfs
> }
>
> # Satisfy the -dev runtime dependency
> ALLOW_EMPTY_${PN} = "1"
> [geckos at csi24 build_x11]$
>
>
>
> [geckos at csi24 build_x11]$ bitbake ntfs-3g
> WARNING: Host distribution "Arch-Linux" has not been validated with
> this version of the build system; you may possibly experience
> unexpected failures. It is recommended that you use a tested
> distribution.
> Loading cache: 100%
> |#####################################################################################################################################################|
> ETA:  00:00:00
> Loaded 2228 entries from dependency cache.
> ERROR: Nothing PROVIDES 'ntfs-3g'
>
> Summary: There was 1 WARNING message shown.
> Summary: There was 1 ERROR message shown, returning a non-zero exit code.
> [geckos at csi24 build_x11]$
> [geckos at csi24 build_x11]$
> [geckos at csi24 build_x11]$ bitbake ntfsprogs
> WARNING: Host distribution "Arch-Linux" has not been validated with
> this version of the build system; you may possibly experience
> unexpected failures. It is recommended that you use a tested
> distribution.
> Loading cache: 100%
> |#####################################################################################################################################################|
> ETA:  00:00:00
> Loaded 2228 entries from dependency cache.
> ERROR: Nothing PROVIDES 'ntfsprogs'. Close matches:
>   e2fsprogs
>
> Summary: There was 1 WARNING message shown.
> Summary: There was 1 ERROR message shown, returning a non-zero exit code.
> [geckos at csi24 build_x11]$
> [geckos at csi24 build_x11]$
> [geckos at csi24 build_x11]$ bitbake ntfs-3g-ntfsprogs
> WARNING: Host distribution "Arch-Linux" has not been validated with
> this version of the build system; you may possibly experience
> unexpected failures. It is recommended that you use a tested
> distribution.
> Loading cache: 100%
> |#####################################################################################################################################################|
> ETA:  00:00:00
> Loaded 2228 entries from dependency cache.
> ERROR: Nothing PROVIDES 'ntfs-3g-ntfsprogs'
>
> Summary: There was 1 WARNING message shown.
> Summary: There was 1 ERROR message shown, returning a non-zero exit code.
> [geckos at csi24 build_x11]$
>
>
> Thanks in advance
> Best regards,
>
> --
> "Do or do not. There is no try"
>   Yoda Master
> --
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto



-- 
"Do or do not. There is no try"
  Yoda Master



More information about the yocto mailing list