Advertisement
Guest User

Untitled

a guest
Feb 14th, 2018
165
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 7.86 KB | None | 0 0
  1. Welcome to Ubuntu 16.04.3 LTS (GNU/Linux 4.4.0 x86_64)
  2.  
  3.  * Documentation:  https://help.ubuntu.com
  4.  * Management:     https://landscape.canonical.com
  5.  * Support:        https://ubuntu.com/advantage
  6. Last login: Wed Feb 14 16:57:14 2018 from 109.41.192.36
  7. mrkl16@localhost:~$ sfossdk
  8. sudo: unable to resolve host localhost.localdomain
  9. [sudo] password for mrkl16:
  10. Mounting system directories...
  11. Mounting /srv/mer/targets as /srv/mer/targets
  12. Mounting /srv/mer/toolings as /srv/mer/toolings
  13. Mounting / as /parentroot
  14. Mounting home directory: /home/mrkl16
  15. Entering chroot as mrkl16
  16. Last login: Wed Feb 14 16:09:14 UTC 2018 on pts/0
  17. bash: /etc/bash_completion.d/createrepo.bash: line 90: syntax error in conditional expression: unexpected token `('
  18. bash: /etc/bash_completion.d/createrepo.bash: line 91: syntax error near `@(='
  19. bash: /etc/bash_completion.d/createrepo.bash: line 91: `                    ${COMP_WORDS[i-1]} != @(=|--mdtype) ]]; then'
  20. PlatformSDK mrkl16@localhost:~$ export MER_ROOT="/home/mrkl16/hadk"
  21. PlatformSDK mrkl16@localhost:~$ export ANDROID_ROOT="/home/mrkl16/hadk"
  22. PlatformSDK mrkl16@localhost:~$ export VENDOR="samsung"
  23. PlatformSDK mrkl16@localhost:~$ export DEVICE="jfltexx"
  24. PlatformSDK mrkl16@localhost:~$ #
  25. PlatformSDK mrkl16@localhost:~$ export PORT_ARCH="armv7hl"
  26. PlatformSDK mrkl16@localhost:~$ rpm/dhd/helpers/build_packages.sh
  27. bash: rpm/dhd/helpers/build_packages.sh: No such file or directory
  28. PlatformSDK mrkl16@localhost:~$ cd hadk
  29. PlatformSDK mrkl16@localhost:~/hadk$ rpm/dhd/helpers/build_packages.sh
  30.  
  31. Building target platforms: armv7hl-meego-linux
  32. Building for target armv7hl-meego-linux
  33. Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Ey5Re6
  34. + umask 022
  35. + cd /home/mrkl16/hadk
  36. + LANG=C
  37. + export LANG
  38. + unset DISPLAY
  39. + 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'
  40. + export CFLAGS
  41. + 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'
  42. + export CXXFLAGS
  43. + 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'
  44. + export FFLAGS
  45. + LD_AS_NEEDED=1
  46. + export LD_AS_NEEDED
  47. + echo _target_cpu is armv7hl
  48. _target_cpu is armv7hl
  49. + rm -rf tmp
  50. + mkdir tmp
  51. + echo Verifying kernel config
  52. Verifying kernel config
  53. + hybris/mer-kernel-check/mer_verify_kernel_config ./out/target/product/jfltexx/obj/KERNEL_OBJ/.config
  54. WARNING: CONFIG_AUDIT is invalid
  55. Value is: y
  56. Allowed values : n, !
  57. Comment says: This will disable SELinux! That's ok, because hybris adaptations must not have SELinux, but if your device needs its support in kernel, set AUDIT=y and SELINUX_BOOTPARAM=y. Then disable them via kernel cmdline: audit=0 selinux=0. You can also leave audit enabled, if you don't plan to use systemd's containers: http://cgit.freedesktop.org/systemd/systemd/commit/README?id=77b6e19458f37cfde127ec6aa9494c0ac45ad890
  58.  
  59. WARNING: CONFIG_SCHEDSTATS is invalid
  60. It is unset
  61. Allowed values : y, !
  62. Comment says: systemd-bootchart (optional): http://cgit.freedesktop.org/systemd/systemd/commit/README?id=f1c24fea94e19cf2108abbeed1d36ded7102ab98
  63.  
  64. WARNING: CONFIG_SCHED_DEBUG is invalid
  65. It is unset
  66. Allowed values : y, !
  67. Comment says: systemd-bootchart (optional): http://cgit.freedesktop.org/systemd/systemd/commit/README?id=f1c24fea94e19cf2108abbeed1d36ded7102ab98
  68.  
  69. WARNING: CONFIG_WATCHDOG_NOWAYOUT is invalid
  70. It is unset
  71. Allowed values : y, !
  72. Comment says: If device uses watchdogs with dsme (https://github.com/nemomobile/dsme), this option should be enabled or watchdog does not protect the device in case dsme crashes.
  73.  
  74. + test -f rpm/helpers/mkbootimg.mk
  75. + test -f rpm/helpers/simg2img.mk
  76. + test -f rpm/helpers/img2simg.mk
  77. + echo Building local tools
  78. Building local tools
  79. ++ readlink -e .
  80. + ANDROID_ROOT=/home/mrkl16/hadk
  81. + cd rpm/dhd/helpers
  82. + make ANDROID_ROOT=/home/mrkl16/hadk
  83. cc -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/home/mrkl16/hadk/system/core/include/private/ -std=c99    apply-permissions.c   -o apply-permissions
  84. apply-permissions.c: In function 'apply_android_perms':
  85. apply-permissions.c:105:5: warning: passing argument 3 of 'fs_config' from incompatible pointer type [enabled by default]
  86.      fs_config(filename_fs, S_ISDIR(st->st_mode), &uid, &gid, &mode, &capa);
  87.      ^
  88. In file included from apply-permissions.c:44:0:
  89. /home/mrkl16/hadk/system/core/include/private/android_filesystem_config.h:275:6: note: expected 'const char *' but argument is of type 'unsigned int *'
  90.  void fs_config(const char *path, int dir, const char *target_out_path,
  91.       ^
  92. apply-permissions.c:105:5: warning: passing argument 6 of 'fs_config' from incompatible pointer type [enabled by default]
  93.      fs_config(filename_fs, S_ISDIR(st->st_mode), &uid, &gid, &mode, &capa);
  94.      ^
  95. In file included from apply-permissions.c:44:0:
  96. /home/mrkl16/hadk/system/core/include/private/android_filesystem_config.h:275:6: note: expected 'unsigned int *' but argument is of type 'uint64_t *'
  97.  void fs_config(const char *path, int dir, const char *target_out_path,
  98.       ^
  99. apply-permissions.c:105:5: error: too few arguments to function 'fs_config'
  100.      fs_config(filename_fs, S_ISDIR(st->st_mode), &uid, &gid, &mode, &capa);
  101.      ^
  102. In file included from apply-permissions.c:44:0:
  103. /home/mrkl16/hadk/system/core/include/private/android_filesystem_config.h:275:6: note: declared here
  104.  void fs_config(const char *path, int dir, const char *target_out_path,
  105.       ^
  106. apply-permissions.c:117:9: warning: implicit declaration of function 'strerror' [-Wimplicit-function-declaration]
  107.          fprintf(stderr, "Cannot 'chmod %04o %s': %s\n", mode, filename, strerror(errno));
  108.          ^
  109. apply-permissions.c:117:9: warning: format '%s' expects argument of type 'char *', but argument 5 has type 'int' [-Wformat=]
  110. apply-permissions.c:126:9: warning: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Wformat=]
  111.          fprintf(stderr, "Cannot 'chown %s:%s %s': %s\n", tuid, tgid, filename, strerror(errno));
  112.          ^
  113. apply-permissions.c: In function 'main':
  114. apply-permissions.c:160:9: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration]
  115.          if (strcmp(argv[i], "-v") == 0) {
  116.          ^
  117. apply-permissions.c:175:9: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration]
  118.          char *last = ctx.base + strlen(ctx.base) - 1;
  119.          ^
  120. apply-permissions.c:175:33: warning: incompatible implicit declaration of built-in function 'strlen' [enabled by default]
  121.          char *last = ctx.base + strlen(ctx.base) - 1;
  122.                                  ^
  123. apply-permissions.c:178:9: warning: implicit declaration of function 'strrchr' [-Wimplicit-function-declaration]
  124.          last = strrchr(ctx.base, '/');
  125.          ^
  126. apply-permissions.c:178:16: warning: incompatible implicit declaration of built-in function 'strrchr' [enabled by default]
  127.          last = strrchr(ctx.base, '/');
  128.                 ^
  129. make: *** [apply-permissions] Error 1
  130. + echo Building uid scripts
  131. Building uid scripts
  132. + rpm/dhd/helpers/usergroupgen add
  133. /var/tmp/rpm-tmp.Ey5Re6: line 66: rpm/dhd/helpers/usergroupgen: No such file or directory
  134. error: Bad exit status from /var/tmp/rpm-tmp.Ey5Re6 (%build)
  135.  
  136.  
  137. RPM build errors:
  138.     Bad exit status from /var/tmp/rpm-tmp.Ey5Re6 (%build)
  139. !! command failed at Wed Feb 14 16:11:40 UTC 2018, dying...
  140. PlatformSDK mrkl16@localhost:~/hadk$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement