Skip to content

Instantly share code, notes, and snippets.

@dkter
Created April 20, 2020 17:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dkter/6352c8040eba4fb7024c3fc9d8992051 to your computer and use it in GitHub Desktop.
Save dkter/6352c8040eba4fb7024c3fc9d8992051 to your computer and use it in GitHub Desktop.
PlatformSDK ~/hadk$ ./rpm/dhd/helpers/build_packages.sh
* Building rpm/droid-hal-mako.spec
+ /home/dkter/hadk/build/make/tools/fs_config/fs_config_generator.py aidarray /home/dkter/hadk/system/core/li
bcutils/include/private/android_filesystem_config.h
+ '[' 8 -ge 8 ']'
+ echo '#include <cstring>'
+ 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 img
2simg.c ../base/stringprintf.cpp'
+ SIMG2IMG_SOURCES='backed_block.c output_file.c sparse.c sparse_crc32.c sparse_err.c sparse_read_fix.cpp sim
g2img.c ../base/stringprintf.cpp'
+ pushd rpm/dhd/helpers
~/hadk/rpm/dhd/helpers ~/hadk
+ make ANDROID_ROOT=/home/dkter/hadk 'IMG2SIMG_SOURCES=backed_block.c output_file.c sparse.c sparse_crc32.c s
parse_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/dkter/hadk/rpm/helpers/mkbootimg.mk -C /home/dkter/hadk/system/core/mkbootimg/
make[1]: Entering directory '/home/dkter/hadk/system/core/mkbootimg'
rm -rf mkbootimg.o rsa.o sha.o sha256.o mkbootimg
make[1]: *** No rule to make target 'mkbootimg.o', needed by 'mkbootimg'. Stop.
make[1]: Leaving directory '/home/dkter/hadk/system/core/mkbootimg'
make: *** [makefile:21: mkbootimg] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.nMSc8q (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.nMSc8q (%build)
* Check /home/dkter/hadk/droid-hal-mako.log for full log.
!! building of package failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment