Following the information to build here:
https://www.spotpear.com/index/study/detail/id/1113.html
When selecting option #6 for the Mini-B the build fails. Yet selecting 0,1 or 2 it compiles fine. Below is the output of the error when selcting option #6.
[mkfs_ubi.sh:info] Start build ubi images...
/usr/bin/fakeroot
[mkfs_ubi.sh:info] ubifs_lebsize=0x20000
[mkfs_ubi.sh:info] ubifs_miniosize=2048
[mkfs_ubi.sh:info] ubifs_maxlebcnt=247
[mkfs_ubi.sh:info] ubifs compression support: lzo|zlib !!!
[mkfs_ubi.sh:warn] is not support, default use lzo !!!
[mkfs_ubi.sh:info] ubifs_lebsize=0x40000
[mkfs_ubi.sh:info] ubifs_miniosize=2048
[mkfs_ubi.sh:info] ubifs_maxlebcnt=121
[mkfs_ubi.sh:info] ubifs compression support: lzo|zlib !!!
[mkfs_ubi.sh:warn] is not support, default use lzo !!!
[mkfs_ubi.sh:info] ubifs_lebsize=0x40000
[mkfs_ubi.sh:info] ubifs_miniosize=4096
[mkfs_ubi.sh:info] ubifs_maxlebcnt=123
[mkfs_ubi.sh:info] ubifs compression support: lzo|zlib !!!
[mkfs_ubi.sh:warn] is not support, default use lzo !!!
start build fakeroot image
fakeroot, while creating message channels: Function not implemented
This may be due to a lack of SYSV IPC support.
fakeroot: error while starting the `faked' daemon.
/usr/bin/fakeroot: 1: kill: Usage: kill [-s sigspec | -signum | -sigspec] [pid | job]... or
kill -l [exitstatus]
[mkfs_ubi.sh:error] Running main failed!
[mkfs_ubi.sh:error] exit code 1 from line 341:
[mkfs_ubi.sh:info] $FAKEROOT_TOOL -- $ROOTFS_IMAGE_FAKEROOT_UBI
[build.sh:error] Running build_mkimg failed!
[build.sh:error] exit code 1 from line 1742:
[build.sh:info] $RK_PROJECT_TOOLS_MKFS_UBIFS (dirname $dst) $part_size $part_name $fs_type $RK_UBIFS_COMP