# Pastebin TvhgRwvZ bash-3.2$ mb2 -t $VENDOR-$DEVICE-$PORT_ARCH build The following NEW package is going to be installed: qt5-qttools-kmap2qmap 1 new package to install. Overall download size: 16.9 KiB. After the operation, additional 32.5 KiB will be used. Continue? [y/n/?] (y): y Building target platforms: armv7hl-meego-linux Building for target armv7hl-meego-linux Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.UWhvTV + umask 022 + cd /home/manobes/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 -fmessage-length=0 -march=armv7-a -mfloat-abi=hard -mfpu=neon -mthumb -Wno-psabi' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -fmessage-length=0 -march=armv7-a -mfloat-abi=hard -mfpu=neon -mthumb -Wno-psabi' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -fmessage-length=0 -march=armv7-a -mfloat-abi=hard -mfpu=neon -mthumb -Wno-psabi -I/usr/lib/gfortran/modules' + export FFLAGS + LD_AS_NEEDED=1 + export LD_AS_NEEDED + echo _target_cpu is armv7hl _target_cpu is armv7hl + grep -q '^TARGET_ARCH := arm64' ./device/motorola/athene/BoardConfig.mk ./device/zuk/z2_plus/BoardConfig.mk + echo -e '\n' 'IMPORTANT: some devices in your Android tree are 64bit targets. If your device is aarch64,\n' ' please define droid_target_aarch64 in your .spec, otherwise define droid_target_armv7hl\n' 'NOTE: Currently there is no Sailfish OS ARM 64bit target, so leave PORT_ARCH as armv7hl\n' ' Mixed builds of 64bit Android+Linux Kernel and 32bit Sailfish OS work just fine.' IMPORTANT: some devices in your Android tree are 64bit targets. If your device is aarch64, please define droid_target_aarch64 in your .spec, otherwise define droid_target_armv7hl NOTE: Currently there is no Sailfish OS ARM 64bit target, so leave PORT_ARCH as armv7hl Mixed builds of 64bit Android+Linux Kernel and 32bit Sailfish OS work just fine. + exit 1 error: Bad exit status from /var/tmp/rpm-tmp.UWhvTV (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.UWhvTV (%build)