ThE_MarD

HADK SFOSSDK rootfs error sfossdk

Nov 6th, 2017
370
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. themard@ubuntu:~$ sfossdk
  2. Mounting system directories...
  3. Mounting /srv/mer/targets as /srv/mer/targets
  4. Mounting / as /parentroot
  5. Mounting home directory: /home/themard
  6. Entering chroot as themard
  7. Last login: Tue Nov 7 04:45:53 UTC 2017 on pts/1
  8. bash: brew: command not found
  9. bash: prebuilts/misc/linux-x86/ccache/ccache: No such file or directory
  10. Env setup for x2
  11. bash: /etc/bash_completion.d/createrepo.bash: line 90: syntax error in conditional expression: unexpected token `('
  12. bash: /etc/bash_completion.d/createrepo.bash: line 91: syntax error near `@(='
  13. bash: /etc/bash_completion.d/createrepo.bash: line 91: ` ${COMP_WORDS[i-1]} != @(=|--mdtype) ]]; then'
  14. PlatformSDK themard@ubuntu:~$ sudo zypper in android-tools createrepo zip
  15. Loading repository data...
  16. Reading installed packages...
  17. 'zip' is already installed.
  18. No update candidate for 'zip-3.0-1.1.19.i486'. The highest available version is already installed.
  19. 'android-tools' is already installed.
  20. No update candidate for 'android-tools-4.2.2_git20130218-15.24.1.i486'. The highest available version is already installed.
  21. 'createrepo' is already installed.
  22. No update candidate for 'createrepo-0.9.9-1.1.1.i486'. The highest available version is already installed.
  23. Resolving package dependencies...
  24.  
  25. Nothing to do.
  26.  
  27. PlatformSDK themard@ubuntu:~$ cd $ANDROID_ROOT
  28. PlatformSDK themard@ubuntu:~/hadk$ rpm/dhd/helpers/build_packages.sh --configs
  29. * Building rpm/droid-config-x2.spec
  30. * Building successful, adding packages to repo
  31. Repository 'adaptation-community-common' is up to date.
  32. Repository 'hotfixes' is up to date.
  33. Repository 'jolla' is up to date.
  34. Retrieving repository 'local-x2-hal' metadata ............................[done]
  35. Building repository 'local-x2-hal' cache .................................[done]
  36. Repository 'mer-tools' is up to date.
  37. All repositories have been refreshed.
  38. * Building of droid-configs finished successfully
  39. PlatformSDK themard@ubuntu:~/hadk$ RELEASE=2.1.2.3
  40. PlatformSDK themard@ubuntu:~/hadk$ EXTRA_NAME=-themard
  41. PlatformSDK themard@ubuntu:~/hadk$ hybris/droid-configs/droid-configs-device/helpers/process_patterns.sh
  42. checking for /home/themard/hadk/droid-local-repo/x2/droid-configs/*-patterns*.rpm...
  43. ./usr/share/package-groups/jolla-configuration-x2.xml
  44. ./usr/share/package-groups/jolla-hw-adaptation-x2.xml
  45. ./usr/share/package-groups/sailfish-porter-tools.xml
  46. 9 blocks
  47. Wrote: /home/themard/hadk/droid-local-repo/x2/repodata/patterns.xml.gz
  48. type = patterns
  49. location = repodata/f2af32d775866aa41c06ce65456aefa3a21e41493ceb2bcc58397bf474f78697-patterns.xml.gz
  50. checksum = f2af32d775866aa41c06ce65456aefa3a21e41493ceb2bcc58397bf474f78697
  51. timestamp = 1510030418.21
  52. open-checksum = 163ed9574977ab9517aeb1fb7314545cf698cd83c9b7cee661b5b5f47cfa1bf6
  53. Wrote: /home/themard/hadk/droid-local-repo/x2/repodata/repomd.xml
  54. Exception AttributeError: "'NoneType' object has no attribute 'px_proxy_factory_free'" in <bound method ProxyFactory.__del__ of <libproxy.ProxyFactory object at 0xf534a66c>> ignored
  55. PlatformSDK themard@ubuntu:~/hadk$ sudo mic create fs --arch=$PORT_ARCH \
  56. > --tokenmap=ARCH:$PORT_ARCH,RELEASE:$RELEASE,EXTRA_NAME:$EXTRA_NAME \
  57. > --record-pkgs=name,url \
  58. > --outdir=sfe-$DEVICE-$RELEASE$EXTRA_NAME \
  59. > --pack-to=sfe-$DEVICE-$RELEASE$EXTRA_NAME.tar.bz2 \
  60. > $ANDROID_ROOT/Jolla-@RELEASE@-$DEVICE-@ARCH@.ks
  61. mic 0.14 (Mer 0.2011 Mer)
  62. Info: Substitute macro variable @RELEASE@ with 2.1.2.3
  63. Info: Substitute macro variable @EXTRA_NAME@ with -themard
  64. Info: Substitute macro variable @ARCH@ with armv7hl
  65. Info: Retrieving repo metadata:
  66. Info: Retrieving repomd.xml.key ... DONE
  67. Traceback (most recent call last):
  68. File "/usr/bin/mic", line 217, in <module>
  69. sys.exit(mic.main())
  70. File "/usr/lib/python2.7/site-packages/mic/utils/cmdln.py", line 257, in main
  71. return self.cmd(args)
  72. File "/usr/lib/python2.7/site-packages/mic/utils/cmdln.py", line 280, in cmd
  73. retval = self.onecmd(argv)
  74. File "/usr/lib/python2.7/site-packages/mic/utils/cmdln.py", line 412, in onecmd
  75. return self._dispatch_cmd(handler, argv)
  76. File "/usr/lib/python2.7/site-packages/mic/utils/cmdln.py", line 1084, in _dispatch_cmd
  77. return handler(argv)
  78. File "/usr/bin/mic", line 86, in do_create
  79. cr.main(argv[1:])
  80. File "/usr/lib/python2.7/site-packages/mic/creator.py", line 266, in main
  81. return self.cmd(args)
  82. File "/usr/lib/python2.7/site-packages/mic/utils/cmdln.py", line 280, in cmd
  83. retval = self.onecmd(argv)
  84. File "/usr/lib/python2.7/site-packages/mic/utils/cmdln.py", line 412, in onecmd
  85. return self._dispatch_cmd(handler, argv)
  86. File "/usr/lib/python2.7/site-packages/mic/utils/cmdln.py", line 1100, in _dispatch_cmd
  87. return handler(argv[0], opts, *args)
  88. File "/usr/lib/mic/plugins/imager/fs_plugin.py", line 61, in do_create
  89. creator.mount(None, creatoropts["cachedir"])
  90. File "/usr/lib/python2.7/site-packages/mic/imager/baseimager.py", line 720, in mount
  91. self.target_arch)
  92. File "/usr/lib/python2.7/site-packages/mic/utils/misc.py", line 887, in setup_qemu_emulator
  93. fd = open(binfmt_register, "w")
  94. IOError: [Errno 2] No such file or directory: '/proc/sys/fs/binfmt_misc/register'
RAW Paste Data