[Help Request] Need help building CM13 for the Blu R1 HD - Android Q&A, Help & Troubleshooting

Hello, I am having various issues building CM13 for the Blu R1 HD and was hoping somebody would be able to help. I have tried my best to get this working but these are the current error's that I am stuck on.
Here is my Device tree: https://github.com/Bullet25fxbx/android_device_blu_p6601
here is my Kernel: https://github.com/Bullet25fxbx/android_kernel_mediatek_mt6735
Here is my Local Manifest:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="Bullet25fxbx/android_device_blu_p6601" path="device/blu/p6601" remote="github" revision="master" />
<project name="Bullet25fxbx/android_kernel_mediatek_mt6735" path="kernel/mediatek/mt6735" remote="github" revision="master" />
</manifest>
When making userdata image:
Code:
Target userdata fs image: /home/bullet25/workspace/cm13/out/target/product/p6601/userdata.img
Running: mkyaffs2image -f /home/bullet25/workspace/cm13/out/target/product/p6601/data /home/bullet25/workspace/cm13/out/target/product/p6601/userdata.img /home/bullet25/workspace/cm13/out/target/product/p6601/root/file_contexts data
Traceback (most recent call last):
File "./build/tools/releasetools/build_image.py", line 549, in <module>
main(sys.argv[1:])
File "./build/tools/releasetools/build_image.py", line 542, in main
if not BuildImage(in_dir, image_properties, out_file, target_out):
File "./build/tools/releasetools/build_image.py", line 354, in BuildImage
(_, exit_code) = RunCommand(build_command)
File "./build/tools/releasetools/build_image.py", line 53, in RunCommand
p = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1335, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
build/core/Makefile:1415: recipe for target '/home/bullet25/workspace/cm13/out/target/product/p6601/userdata.img' failed
make: *** [/home/bullet25/workspace/cm13/out/target/product/p6601/userdata.img] Error 1
When making system image:
Code:
Target system fs image: /home/bullet25/workspace/cm13/out/target/product/p6601/obj/PACKAGING/systemimage_intermediates/system.img
Running: mkyaffs2image -f /home/bullet25/workspace/cm13/out/target/product/p6601/system /home/bullet25/workspace/cm13/out/target/product/p6601/obj/PACKAGING/systemimage_intermediates/system.img /home/bullet25/workspace/cm13/out/target/product/p6601/root/file_contexts system
Traceback (most recent call last):
File "./build/tools/releasetools/build_image.py", line 549, in <module>
main(sys.argv[1:])
File "./build/tools/releasetools/build_image.py", line 542, in main
if not BuildImage(in_dir, image_properties, out_file, target_out):
File "./build/tools/releasetools/build_image.py", line 354, in BuildImage
(_, exit_code) = RunCommand(build_command)
File "./build/tools/releasetools/build_image.py", line 53, in RunCommand
p = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1335, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
Out of space? the tree size of /home/bullet25/workspace/cm13/out/target/product/p6601/system is (MB):
444 /home/bullet25/workspace/cm13/out/target/product/p6601/system
The max is 2672 MB.
build/core/Makefile:1258: recipe for target '/home/bullet25/workspace/cm13/out/target/product/p6601/obj/PACKAGING/systemimage_intermediates/system.img' failed
make: *** [/home/bullet25/workspace/cm13/out/target/product/p6601/obj/PACKAGING/systemimage_intermediates/system.img] Error 1
Making a boot image and recovery image works fine.
Thank you, in advance, anybody who helps.
fixed the error below:
Code:
Installing recovery patch to system partition
Traceback (most recent call last):
File "./build/tools/releasetools/make_recovery_patch", line 55, in <module>
main(sys.argv[1:])
File "./build/tools/releasetools/make_recovery_patch", line 37, in main
OPTIONS.info_dict = common.LoadInfoDict(input_dir)
File "/home/bullet25/workspace/cm13/build/tools/releasetools/common.py", line 201, in LoadInfoDict
d["fstab"] = LoadRecoveryFSTab(read_helper, d["fstab_version"], d["device_type"])
File "/home/bullet25/workspace/cm13/build/tools/releasetools/common.py", line 285, in LoadRecoveryFSTab
raise ValueError("malformed recovery.fstab line: \"%s\"" % (line,))
ValueError: malformed recovery.fstab line: "/boot emmc /dev/block/mmcblk0p"
build/core/Makefile:1074: recipe for target '/home/bullet25/workspace/cm13/out/target/product/p6601/system/bin/install-recovery.sh' failed
make: *** [/home/bullet25/workspace/cm13/out/target/product/p6601/system/bin/install-recovery.sh] Error 1

Update: I fixed the malformed error but I still can't figure out the system image error or user data image errors
System:
Code:
Target system fs image: /home/bullet25/workspace/cm13/out/target/product/p6601/obj/PACKAGING/systemimage_intermediates/system.img
Running: mkyaffs2image -f /home/bullet25/workspace/cm13/out/target/product/p6601/system /home/bullet25/workspace/cm13/out/target/product/p6601/obj/PACKAGING/systemimage_intermediates/system.img /home/bullet25/workspace/cm13/out/target/product/p6601/root/file_contexts system
Traceback (most recent call last):
File "./build/tools/releasetools/build_image.py", line 549, in <module>
main(sys.argv[1:])
File "./build/tools/releasetools/build_image.py", line 542, in main
if not BuildImage(in_dir, image_properties, out_file, target_out):
File "./build/tools/releasetools/build_image.py", line 354, in BuildImage
(_, exit_code) = RunCommand(build_command)
File "./build/tools/releasetools/build_image.py", line 53, in RunCommand
p = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1335, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
Out of space? the tree size of /home/bullet25/workspace/cm13/out/target/product/p6601/system is (MB):
444 /home/bullet25/workspace/cm13/out/target/product/p6601/system
The max is 2672 MB.
build/core/Makefile:1258: recipe for target '/home/bullet25/workspace/cm13/out/target/product/p6601/obj/PACKAGING/systemimage_intermediates/system.img' failed
make: *** [/home/bullet25/workspace/cm13/out/target/product/p6601/obj/PACKAGING/systemimage_intermediates/system.img] Error 1
Userdata:
Code:
Target userdata fs image: /home/bullet25/workspace/cm13/out/target/product/p6601/userdata.img
Running: mkyaffs2image -f /home/bullet25/workspace/cm13/out/target/product/p6601/data /home/bullet25/workspace/cm13/out/target/product/p6601/userdata.img /home/bullet25/workspace/cm13/out/target/product/p6601/root/file_contexts data
Traceback (most recent call last):
File "./build/tools/releasetools/build_image.py", line 549, in <module>
main(sys.argv[1:])
File "./build/tools/releasetools/build_image.py", line 542, in main
if not BuildImage(in_dir, image_properties, out_file, target_out):
File "./build/tools/releasetools/build_image.py", line 354, in BuildImage
(_, exit_code) = RunCommand(build_command)
File "./build/tools/releasetools/build_image.py", line 53, in RunCommand
p = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1335, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
build/core/Makefile:1415: recipe for target '/home/bullet25/workspace/cm13/out/target/product/p6601/userdata.img' failed
make: *** [/home/bullet25/workspace/cm13/out/target/product/p6601/userdata.img] Error 1

Related

[Q] Error while compiling CM10.1 for Motorola XT926

I have spend numerous hours trying to compile this rom for my device as practice...
I ran into a few errors int he past.. and finally was able to get it to compile until now...
it seems like it got stuck on one of the last steps.. and i dont know what to do from here...
does anyone have anything for me?
mkbootimg_args = (str) --ramdisk_offset 0x01600000 recovery_api_version = (int) 2 recovery_size = (int) 10485760 system_size = (int) 1560281088 tool_extensions = (str) device/motorola/xt926/../common userdata_size = (int) 12884901888 using device-specific extensions in device/motorola/common unable to load device-specific module; assuming none Traceback (most recent call last): File "./build/tools/releasetools/ota_from_target_files", line 865, in <module> main(sys.argv[1:]) File "./build/tools/releasetools/ota_from_target_files", line 833, in main WriteFullOTAPackage(input_zip, output_zip) File "./build/tools/releasetools/ota_from_target_files", line 409, in WriteFullOTAPackage script.Mount("/system") File "/home/liamfaille/cm/build/tools/releasetools/edify_generator.py", line 150, in Mount p = fstab[mount_point] KeyError: '/system' make: *** [/home/liamfaille/cm/out/target/product/xt926/cm_xt926-ota-eng.liamfaille.zip] Error 1 [email protected]:~/cm$
The MAIN part of the error is...
p = fstab[mount_point] KeyError: '/system' make: *** [/home/liamfaille/cm/out/target/product/xt926/cm_xt926-ota-eng.liamfaille.zip] Error 1

[help]I need some help with the repo sync[aokp]

i was syncing aokp source
then the storage space went down and it errored!
i freed around 80gb after that.
now when i sync it looks like this -
Code:
[email protected]:~/aokp$ repo sync -j4
Traceback (most recent call last):
File "/home/michael/aokp/.repo/repo/main.py", line 500, in <module>
_Main(sys.argv[1:])
File "/home/michael/aokp/.repo/repo/main.py", line 476, in _Main
result = repo._Run(argv) or 0
File "/home/michael/aokp/.repo/repo/main.py", line 155, in _Run
result = cmd.Execute(copts, cargs)
File "/home/michael/aokp/.repo/repo/subcmds/sync.py", line 633, in Execute
to_fetch.sort(key=self._fetch_times.Get, reverse=True)
File "/home/michael/aokp/.repo/repo/subcmds/sync.py", line 768, in Get
self._Load()
File "/home/michael/aokp/.repo/repo/subcmds/sync.py", line 788, in _Load
self._times = pickle.load(f)
File "/usr/lib/python2.7/pickle.py", line 1378, in load
return Unpickler(file).load()
File "/usr/lib/python2.7/pickle.py", line 858, in load
dispatch[key](self)
File "/usr/lib/python2.7/pickle.py", line 880, in load_eof
raise EOFError
EOFError
[email protected]:~/aokp$ repo sync -f
Traceback (most recent call last):
File "/home/michael/aokp/.repo/repo/main.py", line 500, in <module>
_Main(sys.argv[1:])
File "/home/michael/aokp/.repo/repo/main.py", line 476, in _Main
result = repo._Run(argv) or 0
File "/home/michael/aokp/.repo/repo/main.py", line 155, in _Run
result = cmd.Execute(copts, cargs)
File "/home/michael/aokp/.repo/repo/subcmds/sync.py", line 633, in Execute
to_fetch.sort(key=self._fetch_times.Get, reverse=True)
File "/home/michael/aokp/.repo/repo/subcmds/sync.py", line 768, in Get
self._Load()
File "/home/michael/aokp/.repo/repo/subcmds/sync.py", line 788, in _Load
self._times = pickle.load(f)
File "/usr/lib/python2.7/pickle.py", line 1378, in load
return Unpickler(file).load()
File "/usr/lib/python2.7/pickle.py", line 858, in load
dispatch[key](self)
File "/usr/lib/python2.7/pickle.py", line 880, in load_eof
raise EOFError
can some one please explain what happened..i searched for the solution but cant find any.
if there is a thread can you please give me the link.
thanks
[refresh] can anyone help me please

compiling dirty unicorn error

need help in compiling dirty unicorn from source. curruntly have the build error below....any help as to what i am doing wrong?
Code:
Gyp action: third_party_WebKit_Source_core_core_derived_sources_gyp_make_core_derived_sources_target_MakeTokenMatcherForViewport (/home/edwin270/du/out/target/product/i777/obj/GYP/shared_intermediates/blink/HTMLMetaElement.cpp)
Gyp action: third_party_WebKit_Source_core_core_derived_sources_gyp_make_core_derived_sources_target_HTMLElementLookupTrie (/home/edwin270/du/out/target/product/i777/obj/GYP/shared_intermediates/blink/HTMLElementLookupTrie.cpp)
mkdir -p /home/edwin270/du/out/target/product/i777/obj/GYP/shared_intermediates/blink; cd external/chromium_org/third_party/WebKit/Source/core; python ../build/scripts/rule_bison.py css/CSSGrammar.y "/home/edwin270/du/out/target/product/i777/obj/GYP/shared_intermediates/blink" bison
mkdir -p /home/edwin270/du/out/target/product/i777/obj/GYP/shared_intermediates/blink; cd external/chromium_org/third_party/WebKit/Source/core; python ../build/scripts/rule_bison.py xml/XPathGrammar.y "/home/edwin270/du/out/target/product/i777/obj/GYP/shared_intermediates/blink" bison
Gyp timestamp: /home/edwin270/du/out/target/product/i777/obj/GYP/third_party_icu_icui18n_gyp_intermediates/icui18n.stamp
Gyp timestamp: /home/edwin270/du/out/target/product/i777/obj/GYP/third_party_icu_icuuc_gyp_intermediates/icuuc.stamp
Traceback (most recent call last):
Traceback (most recent call last):
File "../build/scripts/rule_bison.py", line 75, in <module>
File "../build/scripts/rule_bison.py", line 75, in <module>
returnCode = subprocess.call([bisonExe, '-d', '-p', prefix, inputFile, '-o', outputCpp])
returnCode = subprocess.call([bisonExe, '-d', '-p', prefix, inputFile, '-o', outputCpp])
File "/usr/lib/python2.7/subprocess.py", line 522, in call
File "/usr/lib/python2.7/subprocess.py", line 522, in call
return Popen(*popenargs, **kwargs).wait()
return Popen(*popenargs, **kwargs).wait()
File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
errread, errwrite)
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child
File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child
raise child_exception
raise child_exception
OSErrorOSError: : [Errno 2] No such file or directory[Errno 2] No such file or directory
make: *** [/home/edwin270/du/out/target/product/i777/obj/GYP/shared_intermediates/blink/CSSGrammar.cpp] Error 1
make: *** Waiting for unfinished jobs....
make: *** [/home/edwin270/du/out/target/product/i777/obj/GYP/shared_intermediates/blink/XPathGrammar.cpp] Error 1
target StaticLib: third_party_WebKit_Source_heap_blink_heap_gyp (/home/edwin270/du/out/target/product/i777/obj/STATIC_LIBRARIES/third_party_WebKit_Source_heap_blink_heap_gyp_intermediates/third_party_WebKit_Source_heap_blink_heap_gyp.a)
target StaticLib: third_party_libwebp_libwebp_dec_gyp (/home/edwin270/du/out/target/product/i777/obj/STATIC_LIBRARIES/third_party_libwebp_libwebp_dec_gyp_intermediates/third_party_libwebp_libwebp_dec_gyp.a)

Repo sync issue (builduntu v2)

Hi all, I'm completely new to this and don't really know where to start. I downloaded Builduntu v2.0 and loaded it up in VirtualBox. I initiated a repo (for Nexus 6P Angler) using:
Code:
repo init -u https://android.googlesource.com/platform/manifest -b android-7.0.0_r13
It started syncing but I'm receiving these errors:
Code:
fatal: Not a git repository: '/home/android/stock_build/.repo/projects/external/clang.git'
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0fatal: Not a git repository: '/home/android/stock_build/.repo/projects/external/clang.git'
100 1 100 1 0 0 2 0 --:--:-- --:--:-- --:--:-- 2
100 2706k 100 2706k 0 0 1205k 0 0:00:02 0:00:02 --:--:-- 2363k
fatal: Not a git repository: '/home/android/stock_build/.repo/projects/build/kati.git'
fatal: Not a git repository: '/home/android/stock_build/.repo/projects/build/kati.git'
fatal: Not a git repository: '/home/android/stock_build/.repo/projects/external/iputils.git'
fatal: Not a git repository: '/home/android/stock_build/.repo/projects/system/tpm.git'
fatal: Not a git repository: '/home/android/stock_build/.repo/projects/packages/apps/Browser2.git'
fatal: Not a git repository: '/home/android/stock_build/.repo/projects/external/ceres-solver.git'
fatal: Not a git repository: '/home/android/stock_build/.repo/projects/packages/services/Telecomm.git'
fatal: Not a git repository: '/home/android/stock_build/.repo/projects/external/clang.git'
fatal: Not a git repository: '/home/android/stock_build/.repo/projects/build/kati.git'
error: Cannot fetch platform/system/tpm (GitError: platform/system/tpm pack-refs: fatal: Not a git repository: '/home/android/stock_build/.repo/projects/system/tpm.git'
)
Exception in thread Thread-59:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 754, in run
self.__target(*self.__args, **self.__kwargs)
File "/home/android/stock_build/.repo/repo/subcmds/sync.py", line 270, in _FetchProjectList
success = self._FetchHelper(opt, project, *args, **kwargs)
File "/home/android/stock_build/.repo/repo/subcmds/sync.py", line 314, in _FetchHelper
prune=opt.prune)
File "/home/android/stock_build/.repo/repo/project.py", line 1267, in Sync_NetworkHalf
no_tags=no_tags, prune=prune)):
File "/home/android/stock_build/.repo/repo/project.py", line 2058, in _RemoteFetch
self.bare_git.pack_refs('--all', '--prune')
File "/home/android/stock_build/.repo/repo/project.py", line 2747, in runner
(self._project.name, name, p.stderr))
GitError: platform/system/tpm pack-refs: fatal: Not a git repository: '/home/android/stock_build/.repo/projects/system/tpm.git'
error: Cannot fetch platform/external/ceres-solver (GitError: platform/external/ceres-solver pack-refs: fatal: Not a git repository: '/home/android/stock_build/.repo/projects/external/ceres-solver.git'
)
Exception in thread Thread-62:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 754, in run
self.__target(*self.__args, **self.__kwargs)
File "/home/android/stock_build/.repo/repo/subcmds/sync.py", line 270, in _FetchProjectList
success = self._FetchHelper(opt, project, *args, **kwargs)
File "/home/android/stock_build/.repo/repo/subcmds/sync.py", line 314, in _FetchHelper
prune=opt.prune)
File "/home/android/stock_build/.repo/repo/project.py", line 1267, in Sync_NetworkHalf
no_tags=no_tags, prune=prune)):
File "/home/android/stock_build/.repo/repo/project.py", line 2058, in _RemoteFetch
self.bare_git.pack_refs('--all', '--prune')
File "/home/android/stock_build/.repo/repo/project.py", line 2747, in runner
(self._project.name, name, p.stderr))
GitError: platform/external/ceres-solver pack-refs: fatal: Not a git repository: '/home/android/stock_build/.repo/projects/external/ceres-solver.git'
error: Cannot fetch platform/packages/apps/Browser2 (GitError: platform/packages/apps/Browser2 pack-refs: fatal: Not a git repository: '/home/android/stock_build/.repo/projects/packages/apps/Browser2.git'
)
Exception in thread Thread-61:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 754, in run
self.__target(*self.__args, **self.__kwargs)
File "/home/android/stock_build/.repo/repo/subcmds/sync.py", line 270, in _FetchProjectList
success = self._FetchHelper(opt, project, *args, **kwargs)
File "/home/android/stock_build/.repo/repo/subcmds/sync.py", line 314, in _FetchHelper
prune=opt.prune)
File "/home/android/stock_build/.repo/repo/project.py", line 1267, in Sync_NetworkHalf
no_tags=no_tags, prune=prune)):
File "/home/android/stock_build/.repo/repo/project.py", line 2058, in _RemoteFetch
self.bare_git.pack_refs('--all', '--prune')
File "/home/android/stock_build/.repo/repo/project.py", line 2747, in runner
(self._project.name, name, p.stderr))
GitError: platform/packages/apps/Browser2 pack-refs: fatal: Not a git repository: '/home/android/stock_build/.repo/projects/packages/apps/Browser2.git'
error: Cannot fetch platform/external/iputils (GitError: platform/external/iputils pack-refs: fatal: Not a git repository: '/home/android/stock_build/.repo/projects/external/iputils.git'
)
Exception in thread Thread-58:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 754, in run
self.__target(*self.__args, **self.__kwargs)
File "/home/android/stock_build/.repo/repo/subcmds/sync.py", line 270, in _FetchProjectList
success = self._FetchHelper(opt, project, *args, **kwargs)
File "/home/android/stock_build/.repo/repo/subcmds/sync.py", line 314, in _FetchHelper
prune=opt.prune)
File "/home/android/stock_build/.repo/repo/project.py", line 1267, in Sync_NetworkHalf
no_tags=no_tags, prune=prune)):
File "/home/android/stock_build/.repo/repo/project.py", line 2058, in _RemoteFetch
self.bare_git.pack_refs('--all', '--prune')
File "/home/android/stock_build/.repo/repo/project.py", line 2747, in runner
(self._project.name, name, p.stderr))
GitError: platform/external/iputils pack-refs: fatal: Not a git repository: '/home/android/stock_build/.repo/projects/external/iputils.git'
error: Cannot fetch platform/packages/services/Telecomm (GitError: platform/packages/services/Telecomm pack-refs: fatal: Not a git repository: '/home/android/stock_build/.repo/projects/packages/services/Telecomm.git'
)
Exception in thread Thread-60:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 754, in run
self.__target(*self.__args, **self.__kwargs)
File "/home/android/stock_build/.repo/repo/subcmds/sync.py", line 270, in _FetchProjectList
success = self._FetchHelper(opt, project, *args, **kwargs)
File "/home/android/stock_build/.repo/repo/subcmds/sync.py", line 314, in _FetchHelper
prune=opt.prune)
File "/home/android/stock_build/.repo/repo/project.py", line 1267, in Sync_NetworkHalf
no_tags=no_tags, prune=prune)):
File "/home/android/stock_build/.repo/repo/project.py", line 2058, in _RemoteFetch
self.bare_git.pack_refs('--all', '--prune')
File "/home/android/stock_build/.repo/repo/project.py", line 2747, in runner
(self._project.name, name, p.stderr))
GitError: platform/packages/services/Telecomm pack-refs: fatal: Not a git repository: '/home/android/stock_build/.repo/projects/packages/services/Telecomm.git'
error: Cannot fetch platform/external/clang (GitError: platform/external/clang pack-refs: fatal: Not a git repository: '/home/android/stock_build/.repo/projects/external/clang.git'
)
Exception in thread Thread-56:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 754, in run
self.__target(*self.__args, **self.__kwargs)
File "/home/android/stock_build/.repo/repo/subcmds/sync.py", line 270, in _FetchProjectList
success = self._FetchHelper(opt, project, *args, **kwargs)
File "/home/android/stock_build/.repo/repo/subcmds/sync.py", line 314, in _FetchHelper
prune=opt.prune)
File "/home/android/stock_build/.repo/repo/project.py", line 1267, in Sync_NetworkHalf
no_tags=no_tags, prune=prune)):
File "/home/android/stock_build/.repo/repo/project.py", line 2058, in _RemoteFetch
self.bare_git.pack_refs('--all', '--prune')
File "/home/android/stock_build/.repo/repo/project.py", line 2747, in runner
(self._project.name, name, p.stderr))
GitError: platform/external/clang pack-refs: fatal: Not a git repository: '/home/android/stock_build/.repo/projects/external/clang.git'
error: Cannot fetch platform/build/kati (GitError: platform/build/kati pack-refs: fatal: Not a git repository: '/home/android/stock_build/.repo/projects/build/kati.git'
)
Exception in thread Thread-57:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 754, in run
self.__target(*self.__args, **self.__kwargs)
File "/home/android/stock_build/.repo/repo/subcmds/sync.py", line 270, in _FetchProjectList
success = self._FetchHelper(opt, project, *args, **kwargs)
File "/home/android/stock_build/.repo/repo/subcmds/sync.py", line 314, in _FetchHelper
prune=opt.prune)
File "/home/android/stock_build/.repo/repo/project.py", line 1267, in Sync_NetworkHalf
no_tags=no_tags, prune=prune)):
File "/home/android/stock_build/.repo/repo/project.py", line 2058, in _RemoteFetch
self.bare_git.pack_refs('--all', '--prune')
File "/home/android/stock_build/.repo/repo/project.py", line 2747, in runner
(self._project.name, name, p.stderr))
GitError: platform/build/kati pack-refs: fatal: Not a git repository: '/home/android/stock_build/.repo/projects/build/kati.git'
error: Exited sync due to fetch errors
I've tried doing rm -rf for each .git project that errored out, and I reran "repo sync -j 8", but I still get the same errors for those .gits. How do I fix these? Again, I'm new to this and trying to learn, so I'm sorry if I'm leaving out some key information for you guys.
which rom u are trying to build ?
messi2050 said:
which rom u are trying to build ?
Click to expand...
Click to collapse
This is just stock AOSP:
Code:
repo init -u https://android.googlesource.com/platform/manifest -b android-7.0.0_r13
cnstarz said:
This is just stock AOSP:
Code:
repo init -u https://android.googlesource.com/platform/manifest -b android-7.0.0_r13
Click to expand...
Click to collapse
try with
repo sync --force-sync
Thanks, I tried that too, but still got those errors. I think I have it all straightened out -- I had to delete the troublesome.gits from .repo/projects and .repo/project-objects/ and now things seem to be good:
Code:
---snip---
Fetching projects: 100% (481/481), done.
Checking out files: 100% (11503/11503), done. files: 16% (1860/11503)
Checking out files: 100% (6295/6295), done.out files: 9% (599/6295)
Checking out files: 100% (12356/12356), done.
Checking out files: 100% (524/524), done.g out files: 17% (90/524)
Checking out files: 100% (8423/8423), done.out files: 18% (1543/8423)
Checking out files: 100% (2533/2533), done.out files: 37% (961/2533)
Checking out files: 100% (9088/9088), done. out files: 32% (2995/9088)
Checking out files: 100% (19766/19766), done.ut files: 24% (4894/19766)
Checking out files: 100% (4757/4757), done. out files: 17% (853/4757)
Checking out files: 100% (5966/5966), done. out files: 34% (2070/5966)
Checking out files: 100% (2884/2884), done. out files: 38% (1124/2884)
Checking out files: 100% (31496/31496), done.ut files: 5% (1718/31496)
Checking out files: 100% (3203/3203), done. out files: 0% (21/3203)
Checking out files: 100% (129/129), done.ng out files: 34% (44/129)
Checking out files: 100% (622/622), done.
Checking out files: 100% (742/742), done.ng out files: 0% (6/742)
Checking out files: 100% (4202/4202), done. out files: 3% (143/4202)
Checking out files: 100% (5476/5476), done. out files: 12% (702/5476)
Checking out files: 100% (18054/18054), done.
Checking out files: 100% (1717/1717), done. out files: 6% (107/1717)
Checking out files: 100% (44431/44431), done.
Checking out files: 100% (62/62), done.
Checking out files: 100% (1668/1668), done. out files: 1% (17/1668)
Checking out files: 100% (7004/7004), done.
Checking out files: 100% (29/29), done.king out files: 17% (5/29)
Syncing work tree: 100% (481/481), done.

build error

hey I'm trying to do cyanogenmod 11.0 bringup for tegratab I've spent so much time into this and at last it builds but stops just before making the zip. Here is the error
building image from target_files RECOVERY...
running: mkbootfs -f /tmp/targetfiles-TVpgiO/META/recovery_filesystem_config.txt /tmp/targetfiles-TVpgiO/RECOVERY/RAMDISK
running: minigzip
running: mkbootimg --kernel /tmp/targetfiles-TVpgiO/RECOVERY/kernel --ramdisk /tmp/tmptdNNzh --output /tmp/tmpuf7rgQ
building image from target_files BOOT...
running: mkbootfs -f /tmp/targetfiles-TVpgiO/META/boot_filesystem_config.txt /tmp/targetfiles-TVpgiO/BOOT/RAMDISK
running: minigzip
running: mkbootimg --kernel /tmp/targetfiles-TVpgiO/BOOT/kernel --ramdisk /tmp/tmpcOtv18 --output /tmp/tmpDC9qqe
Traceback (most recent call last):
File "./build/tools/releasetools/ota_from_target_files", line 1132, in <module>
main(sys.argv[1:])
File "./build/tools/releasetools/ota_from_target_files", line 1100, in main
WriteFullOTAPackage(input_zip, output_zip)
File "./build/tools/releasetools/ota_from_target_files", line 548, in WriteFullOTAPackage
common.CheckSize(boot_img.data, "boot.img", OPTIONS.info_dict)
File "/hex/bin/kk/build/tools/releasetools/common.py", line 511, in CheckSize
if not fs_type or not limit: return
UnboundLocalError: local variable 'fs_type' referenced before assignment
make: *** [/hex/bin/kk/out/target/product/tegratab/cm_tegratab-ota-7dad725e4c.zip] Error 1
so close but still to far.........

Categories

Resources