1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
bionic@Bionic:~/hadk$ rpm/dhd/helpers/build_packages.sh --configs
* Building rpm/droid-config-garlic.spec 
+ rm -f /home/bionic/hadk/hybris/droid-configs/installroot//usr/share/ssu/board-mappings.ini
+ mkdir -p /home/bionic/hadk/hybris/droid-configs/installroot//usr/share/kickstarts
+ sleep 1
+ '[' -z false ']'
+ for M in garlic
+ for B in '$KS_LEVELS'
+ ssuks domain=sales model=garlic sandbox=/tmp/sandbox outputdir=/home/bionic/hadk/hybris/droid-configs/installroot//usr/share/kickstarts/ rnd=false version=1
Using sandbox at /tmp/sandbox
Writing kickstart to /home/bionic/hadk/hybris/droid-configs/installroot//usr/share/kickstarts//Jolla-@RELEASE@-garlic-@ARCH@.ks
+ ln -s /bin/false /home/bionic/hadk/hybris/droid-configs/installroot/usr/lib/startup/preinit/is_total_erase_supported
+ mkdir -p /home/bionic/hadk/hybris/droid-configs/installroot//usr/share/qt5/keymaps
+ /usr/lib/qt5/bin/kmap2qmap ./droid-configs-device/configs/droid.kmap ./droid-configs-device/configs/us.kmap /home/bionic/hadk/hybris/droid-configs/installroot//usr/share/qt5/keymaps/droid.qmap
ERROR: Failed to load hybris linker for Android SDK version 99: /usr/lib/libhybris/linker/n.so: undefined symbol: _linker_enable_gdb_support
error: Bad exit status from /var/tmp/rpm-tmp.9DvAiE (%install)


RPM build errors:
    Macro expanded in comment on line 157: %{name} contains ssu.ini file which is needed to build kickstarts

    Bad exit status from /var/tmp/rpm-tmp.9DvAiE (%install)
* Check /home/bionic/hadk/hybris/droid-configs.log for full log. 
!! building of package failed