Directory walk started Directory walk done - 0 packages Temporary output repo path: /home/walid/hadk/.mb2/filtered-output-dir/.repodata/ Preparing sqlite DBs Pool started (with 5 workers) Pool finished Entering 'no-gpg-checks' mode. Entering non-interactive mode. Verbosity: 2 Non-option program arguments: 'oneshot' 'pkgconfig(systemd)' 'pkgconfig(zlib)' 'python' 'qt5-qttools-kmap2qmap >= 5.1.0+git5' 'rsync' Initializing Target Checking whether to refresh metadata for dir:/home/walid/hadk/.mb2/filtered-output-dir Retrieving repository 'dir:/home/walid/hadk/.mb2/filtered-output-dir' metadata [. Warning: Accepting an unsigned file 'repomd.xml' from repository 'dir:/home/walid/hadk/.mb2/filtered-output-dir'. done] Building repository 'dir:/home/walid/hadk/.mb2/filtered-output-dir' cache [....done] Loading repository data... Reading installed packages... Force resolution: No 'qt5-qttools-kmap2qmap >= 5.1.0+git5' is already installed. No update candidate for 'qt5-qttools-kmap2qmap-5.6.3+git2-1.6.6.jolla.aarch64'. The highest available version is already installed. 'oneshot' is already installed. No update candidate for 'oneshot-0.6.11-1.6.1.jolla.noarch'. The highest available version is already installed. 'pkgconfig(systemd)' not found in package names. Trying capabilities. 'systemd-devel' providing 'pkgconfig(systemd)' is already installed. 'pkgconfig(zlib)' not found in package names. Trying capabilities. 'zlib-devel' providing 'pkgconfig(zlib)' is already installed. 'python' is already installed. No update candidate for 'python-2.7.17+git7-1.6.1.jolla.aarch64'. The highest available version is already installed. 'rsync' is already installed. No update candidate for 'rsync-3.1.3+git1-1.5.1.jolla.aarch64'. The highest available version is already installed. Resolving package dependencies... Force resolution: No Nothing to do. Entering 'no-gpg-checks' mode. Entering non-interactive mode. Verbosity: 2 Initializing Target Checking whether to refresh metadata for dir:/home/walid/hadk/.mb2/filtered-output-dir Retrieving repository 'dir:/home/walid/hadk/.mb2/filtered-output-dir' metadata [. Warning: Accepting an unsigned file 'repomd.xml' from repository 'dir:/home/walid/hadk/.mb2/filtered-output-dir'. done] Building repository 'dir:/home/walid/hadk/.mb2/filtered-output-dir' cache [....done] Loading repository data... Reading installed packages... Computing distribution upgrade... Force resolution: No Nothing to do. Building target platforms: aarch64-meego-linux-gnu Building for target aarch64-meego-linux-gnu Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.AbT4wT + umask 022 + cd /home/walid/hadk + LANG=C + export LANG + unset DISPLAY + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -march=armv8-a' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -march=armv8-a' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -march=armv8-a -I/usr/lib64/gfortran/modules' + export FFLAGS + LD_AS_NEEDED=1 + export LD_AS_NEEDED + echo _target_cpu is aarch64 _target_cpu is aarch64 + rm -rf tmp + mkdir tmp + echo Verifying kernel config Verifying kernel config + hybris/mer-kernel-check/mer_verify_kernel_config ./out/target/product/h910/obj/KERNEL_OBJ/.config WARNING: CONFIG_NFS_ACL_SUPPORT is invalid It is unset Allowed values : y, m, ! Comment says: optional, for NFS support WARNING: CONFIG_BT_HCIUART is invalid It is unset Allowed values : y, ! Comment says: Bluez (optional): Needed if bluez used as bluetooth stack WARNING: CONFIG_NFS_V3 is invalid It is unset Allowed values : y, ! Comment says: optional, for NFS support WARNING: CONFIG_NETFILTER_NETLINK_ACCT is invalid It is unset Allowed values : y, m, ! Comment says: connman (optional): for routing and statistic support in sessions, http://git.kernel.org/cgit/network/connman/connman.git/commit/README?id=41f37125887cb9208da2441e350e1e3324c17ee6 WARNING: CONFIG_SUNRPC_GSS is invalid It is unset Allowed values : y, m, ! Comment says: optional, for NFS support WARNING: CONFIG_IP6_NF_MATCH_FRAG is invalid It is unset Allowed values : y, m, ! Comment says: connman: for ip6tables frag match WARNING: CONFIG_CUSE is invalid It is unset Allowed values : y, !, >=2.6 Comment says: CUSE (optional): Required for software security modules support. WARNING: CONFIG_CGROUP_DEVICE is invalid It is unset Allowed values : y, ! Comment says: systemd (optional): https://github.com/systemd/systemd/blob/v238/README WARNING: CONFIG_SECURITY_SELINUX_BOOTPARAM_VALUE is invalid It is unset Allowed values : 0, ! Comment says: Alternative way to disable SELinux at boottime WARNING: CONFIG_NETFILTER_XT_MATCH_RECENT is invalid It is unset Allowed values : y, m, ! Comment says: connman: for iptables recent match WARNING: CONFIG_IP6_NF_MATCH_MH is invalid It is unset Allowed values : y, m, ! Comment says: connman: for ip6tables mh match WARNING: CONFIG_BLK_DEV_NBD is invalid It is unset Allowed values : y, m, ! Comment says: optional, for NFS & CIFS support WARNING: CONFIG_CGROUP_PERF is invalid It is unset Allowed values : y, ! Comment says: systemd (optional): https://github.com/systemd/systemd/blob/v238/README WARNING: CONFIG_CHECKPOINT_RESTORE is invalid It is unset Allowed values : y, ! Comment says: rich-core-dumper (https://github.com/mer-tools/sp-rich-core/) needs this to collect all data for environment recreation. WARNING: CONFIG_RTC_DRV_CMOS is invalid It is unset Allowed values : y, ! Comment says: optional, but highly recommended, not avialable on arm64 WARNING: CONFIG_NFS_USE_KERNEL_DNS is invalid It is unset Allowed values : y, ! Comment says: optional, for NFS support WARNING: CONFIG_LOCKD_V4 is invalid It is unset Allowed values : y, ! Comment says: optional, for NFS support WARNING: CONFIG_SECURITY_YAMA_STACKED is invalid It is unset Allowed values : y, !, <4.3 Comment says: optional, only valid for kernel < 4.3 WARNING: CONFIG_LBDAF is invalid It is unset Allowed values : y, ! Comment says: ext4 filesystem requires this in order to support filesysetms with huge_file feature, which is enabled by default by mke2fs.ext4, not needed for 64bit architectures WARNING: CONFIG_NETFILTER_XT_MATCH_DCCP is invalid It is unset Allowed values : y, m, ! Comment says: connman: for iptables dccp match WARNING: CONFIG_BTRFS_FS is invalid It is unset Allowed values : y, ! Comment says: optional extra filesystem (BTRFS) WARNING: CONFIG_NET_CLS_CGROUP is invalid It is unset Allowed values : y, ! Comment says: systemd (optional): https://github.com/systemd/systemd/blob/v238/README WARNING: CONFIG_SECURITY_YAMA is invalid It is unset Allowed values : y, ! Comment says: optional, prevents user's processes from ptracing each other WARNING: CONFIG_NFS_V4_1 is invalid It is unset Allowed values : y, ! Comment says: optional, for NFS support WARNING: CONFIG_BT_HCIUART_H4 is invalid It is unset Allowed values : y, ! Comment says: Bluez (optional): Needed if bluez used as bluetooth stack WARNING: CONFIG_BT_RFCOMM is invalid It is unset Allowed values : y, ! Comment says: Bluez (optional): Needed if bluez used as bluetooth stack WARNING: CONFIG_F2FS_FS is invalid It is unset Allowed values : y, m, ! Comment says: optional extra filesystem (f2fs - a good SD filesystem) WARNING: CONFIG_IP6_NF_MATCH_AH is invalid It is unset Allowed values : y, m, ! Comment says: connman: for ip6tables ah match WARNING: CONFIG_SECURITY_SELINUX_BOOTPARAM is invalid It is unset Allowed values : y, ! Comment says: Up to hybris-16 it's recommended to have SELinux disabled at boottime via kernel cmdline: selinux=0 or SECURITY_SELINUX_BOOTPARAM_VALUE=0. For hybris-17 SELinux should be left enabled. WARNING: CONFIG_NFS_FS is invalid It is unset Allowed values : y, m, ! Comment says: optional, for NFS support WARNING: CONFIG_CIFS is invalid It is unset Allowed values : y, m, ! Comment says: optional extra filesystem (CIFS - Windows net fs) WARNING: CONFIG_NFS_V4 is invalid It is unset Allowed values : y, ! Comment says: optional, for NFS support WARNING: CONFIG_WATCHDOG_NOWAYOUT is invalid It is unset Allowed values : y, ! Comment says: If device uses watchdogs with dsme (https://github.com/sailfishos/dsme), this option should be enabled or watchdog does not protect the device in case dsme crashes. WARNING: CONFIG_NF_NAT_IPV6 is invalid It is unset Allowed values : y, m, ! Comment says: connman: to enable IPv6 NAT WARNING: CONFIG_CGROUP_MEM_RES_CTLR is invalid It is unset Allowed values : y, !, <=3.5 Comment says: systemd (optional): https://github.com/systemd/systemd/blob/v238/README, only valid if kernel version <= 3.5 WARNING: CONFIG_F2FS_FS_SECURITY is invalid It is unset Allowed values : y, m, ! Comment says: required to mount f2fs volumes under SELinux WARNING: CONFIG_BT_MSM_SLEEP is invalid Value is: y Allowed values : n, ! Comment says: Bluez (optional): Causes problems with bluez thus disabling is recommended. WARNING: CONFIG_UDF_FS is invalid It is unset Allowed values : y, m, ! Comment says: optional extra filesystem (DVD & portable USB) WARNING: CONFIG_NETPRIO_CGROUP is invalid It is unset Allowed values : y, !, <=3.13 Comment says: systemd (optional): https://github.com/systemd/systemd/blob/v238/README WARNING: CONFIG_CGROUP_MEM_RES_CTLR_SWAP is invalid It is unset Allowed values : y, !, <=3.5 Comment says: systemd (optional): https://github.com/systemd/systemd/blob/v238/README, only valid if kernel version <= 3.5 WARNING: CONFIG_CGROUP_MEM_RES_CTLR_KMEM is invalid It is unset Allowed values : y, !, <=3.5 Comment says: systemd (optional): https://github.com/systemd/systemd/blob/v238/README, only valid if kernel version <= 3.5 WARNING: CONFIG_NFS_COMMON is invalid It is unset Allowed values : y, ! Comment says: optional, for NFS support WARNING: CONFIG_ISO9660_FS is invalid It is unset Allowed values : y, m, ! Comment says: optional extra filesystem (CD-ROM) WARNING: CONFIG_NFS_V3_ACL is invalid It is unset Allowed values : y, ! Comment says: optional, for NFS support WARNING: CONFIG_LOCKD is invalid It is unset Allowed values : y, m, ! Comment says: optional, for NFS support WARNING: CONFIG_NETFILTER_XT_MATCH_SCTP is invalid It is unset Allowed values : y, m, ! Comment says: connman: for iptables sctp match WARNING: CONFIG_NETFILTER_XT_MATCH_NFACCT is invalid It is unset Allowed values : y, m, ! Comment says: connman (optional): for routing and statistic support in sessions, http://git.kernel.org/cgit/network/connman/connman.git/commit/README?id=41f37125887cb9208da2441e350e1e3324c17ee6 WARNING: CONFIG_FW_LOADER_USER_HELPER is invalid Value is: y Allowed values : n, ! Comment says: it's actually needed by some Lollipop based devices; systemd(optional): https://github.com/systemd/systemd/blob/v238/README WARNING: CONFIG_SUNRPC is invalid It is unset Allowed values : y, m, ! Comment says: optional, for NFS support ++ awk '/PLATFORM_VERSION([A-Z0-9.]*|_LAST_STABLE) := ([0-9.]+)/ { print $3; }' ++ awk -F. '{print $1}' + android_version_major=11 + '[' -f rpm/helpers/mkbootimg.mk ']' + '[' 11 -lt 7 ']' + '[' -f rpm/helpers/simg2img.mk ']' + '[' -f rpm/helpers/img2simg.mk ']' + echo Building local tools Building local tools ++ readlink -e . + ANDROID_ROOT=/home/walid/hadk + '[' 11 -ge 8 ']' + /home/walid/hadk/build/make/tools/fs_config/fs_config_generator.py aidarray /home/walid/hadk/system/core/libcutils/include/private/android_filesystem_config.h + '[' 11 -ge 8 ']' + echo '#include ' + echo '#include "sparse_read.cpp"' + IMG2SIMG_SOURCES='backed_block.c output_file.c sparse.c sparse_crc32.c sparse_err.c sparse_read_fix.cpp img2simg.c ../base/stringprintf.cpp' + SIMG2IMG_SOURCES='backed_block.c output_file.c sparse.c sparse_crc32.c sparse_err.c sparse_read_fix.cpp simg2img.c ../base/stringprintf.cpp' + pushd rpm/dhd/helpers ~/hadk/rpm/dhd/helpers ~/hadk + make ANDROID_ROOT=/home/walid/hadk 'IMG2SIMG_SOURCES=backed_block.c output_file.c sparse.c sparse_crc32.c sparse_err.c sparse_read_fix.cpp img2simg.c ../base/stringprintf.cpp' 'SIMG2IMG_SOURCES=backed_block.c output_file.c sparse.c sparse_crc32.c sparse_err.c sparse_read_fix.cpp simg2img.c ../base/stringprintf.cpp' make -f /home/walid/hadk/rpm/dhd/helpers/img2simg.mk -C /home/walid/hadk/system/core/libsparse/ make[1]: Entering directory '/home/walid/hadk/system/core/libsparse' g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -march=armv8-a -std=gnu++11 -Iinclude -I../base/include -c -o sparse_read_fix.o sparse_read_fix.cpp g++ -o img2simg -Iinclude -I../base/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -march=armv8-a -std=gnu++11 backed_block.o output_file.o sparse.o sparse_crc32.o sparse_err.o sparse_read_fix.o img2simg.o ../base/stringprintf.o -lz make[1]: Leaving directory '/home/walid/hadk/system/core/libsparse' make -f /home/walid/hadk/rpm/dhd/helpers/simg2img.mk -C /home/walid/hadk/system/core/libsparse/ make[1]: Entering directory '/home/walid/hadk/system/core/libsparse' g++ -o simg2img -Iinclude -I../base/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -march=armv8-a -std=gnu++11 backed_block.o output_file.o sparse.o sparse_crc32.o sparse_err.o sparse_read_fix.o simg2img.o ../base/stringprintf.o -lz make[1]: Leaving directory '/home/walid/hadk/system/core/libsparse' + popd ~/hadk + echo Building uid scripts Building uid scripts + rpm/dhd/helpers/usergroupgen + echo Building udev rules Building udev rules + mkdir tmp/udev.rules ++ find ./out/target/product/h910/system ./out/target/product/h910/root ./out/target/product/h910/vendor -name ueventd.rc -o -name 'ueventd.*.rc' -a '!' -name '*.goldfish.rc' find: ./out/target/product/h910/root: No such file or directory find: ./out/target/product/h910/vendor: No such file or directory + rpm/dhd/helpers/makeudev ./out/target/product/h910/system/etc/ueventd.rc ./out/target/product/h910/system/vendor/ueventd.rc WARNING Rule not converted: firmware_directories /etc/firmware/ /odm/firmware/ /vendor/firmware/ /firmware/image/ WARNING Rule not converted: uevent_socket_rcvbuf_size 16M WARNING Rule not converted: subsystem graphics WARNING Rule not converted: devname uevent_devpath WARNING Rule not converted: dirname /dev/graphics WARNING Rule not converted: subsystem drm WARNING Rule not converted: devname uevent_devpath WARNING Rule not converted: dirname /dev/dri WARNING Rule not converted: subsystem input WARNING Rule not converted: devname uevent_devpath WARNING Rule not converted: dirname /dev/input WARNING Rule not converted: subsystem sound WARNING Rule not converted: devname uevent_devpath WARNING Rule not converted: dirname /dev/snd + echo Building mount units Building mount units + mkdir tmp/units + shopt -s nullglob ++ echo ./out/target/product/h910/system/etc/init/hw/init.rc ./out/target/product/h910/system/vendor/etc/fstab.qcom + fstab_files='./out/target/product/h910/system/etc/init/hw/init.rc ./out/target/product/h910/system/vendor/etc/fstab.qcom' + shopt -u nullglob + rpm/dhd/helpers/makefstab --files ./out/target/product/h910/system/etc/init/hw/init.rc ./out/target/product/h910/system/vendor/etc/fstab.qcom --skip auto none /acct /boot /cache /data /data/user/0 /data_mirror /data_mirror/data_ce/null /data_mirror/data_de/null /data_mirror/cur_profiles /misc /recovery /staging /storage /storage/sdcard1 /storage/usbdisk /storage/usbotg /sys/fs/bpf /sys/fs/cgroup /sys/fs/cgroup/memory /sys/fs/fuse/connections /sys/fs/pstore /sys/kernel/debug /sys/kernel/config /sys/kernel/tracing /dev/cpuctl /dev/cpuset /dev/stune /dev/usb-ffs/adb /tmp --outputdir tmp/units Wrote linkerconfig.unit Wrote config.unit Wrote dev-binderfs.unit Wrote system.unit Wrote persist.unit Wrote firmware.unit Wrote sns.unit Wrote persist\x2dlg.unit Wrote mpt.unit + echo Fixing up mount points Fixing up mount points + hybris/hybris-boot/fixup-mountpoints h910 tmp/units/config.mount tmp/units/dev-binderfs.mount tmp/units/firmware.mount tmp/units/linkerconfig.mount tmp/units/mpt.mount tmp/units/persist.mount 'tmp/units/persist\x2dlg.mount' tmp/units/sns.mount tmp/units/system.mount Fixing mount-points for device h910 + echo Creating hw-release Creating hw-release + cat + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.nGtCtS + umask 022 + cd /home/walid/hadk + flock /home/walid/.mb2.lock.lock flock /home/walid/.mb2.lock ln -f /home/walid/.mb2.lock.i66 /home/walid/.mb2.lock + '[' /home/walid/hadk/installroot '!=' / ']' + rm -rf /home/walid/hadk/installroot ++ dirname /home/walid/hadk/installroot + mkdir -p /home/walid/hadk + mkdir /home/walid/hadk/installroot + LANG=C + export LANG + unset DISPLAY ++ awk '/PLATFORM_VERSION([A-Z0-9.]*|_LAST_STABLE) := ([0-9.]+)/ { print $3; }' ++ awk -F. '{print $1}' + android_version_major=11 ++ cat tmp/units/all-units.txt cat: tmp/units/all-units.txt: No such file or directory + echo install install + mkdir -p /home/walid/hadk/installroot/usr/libexec/droid-hybris/lib-dev-alog/ + mkdir -p /home/walid/hadk/installroot/usr/libexec/droid-hybris/lib64-dev-alog/ + mkdir -p /home/walid/hadk/installroot/usr/libexec/droid-hybris/system + mkdir -p /home/walid/hadk/installroot/usr/include/droid-devel/ + mkdir -p /home/walid/hadk/installroot/usr/lib/systemd/system + mkdir -p /home/walid/hadk/installroot/lib/udev/rules.d + mkdir -p /home/walid/hadk/installroot/etc/udev/rules.d + mkdir -p /home/walid/hadk/installroot//etc/os-release.d + mkdir -p /home/walid/hadk/installroot//usr/lib/droid + mkdir -p /home/walid/hadk/installroot//usr/bin/droid + mkdir -p /home/walid/hadk/installroot/img + mkdir -p /home/walid/hadk/installroot/boot + mkdir -p /home/walid/hadk/installroot/lib/modules + '[' 11 -ge 11 ']' + mkbootimg_dir=tools + '[' -e ./system/tools/mkbootimg/mkbootimg.py ']' + _mkbootimg=mkbootimg.py + install -m 755 -D ./system/tools/mkbootimg/mkbootimg.py /home/walid/hadk/installroot//usr/bin/mkbootimg + install -m 755 -D ./system/core/libsparse/simg2img /home/walid/hadk/installroot//usr/bin/ + install -m 755 -D ./system/core/libsparse/img2simg /home/walid/hadk/installroot//usr/bin/ + cp -a ./out/target/product/h910/system/bin/updater /home/walid/hadk/installroot/boot/update-binary + cp -a ./out/target/product/h910/hybris-updater-script /home/walid/hadk/installroot/boot + cp -a ./out/target/product/h910/hybris-updater-unpack.sh /home/walid/hadk/installroot/boot + rsync -av ./out/target/product/h910/root/. /home/walid/hadk/installroot --exclude bin --exclude etc --exclude 'init.zygote*' sending incremental file list rsync: change_dir "/home/walid/hadk//./out/target/product/h910/root" failed: No such file or directory (2) sent 20 bytes received 12 bytes 64.00 bytes/sec total size is 0 speedup is 0.00 rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1189) [sender=3.1.3] error: Bad exit status from /var/tmp/rpm-tmp.nGtCtS (%install) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.nGtCtS (%install)