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
I've never faced these issues before.
They happen at kernel compiling and at the end when it creates the otapackage, can you help me please? I'm stuck with this...
KERNEL (This log is from another pc but it is as the same as mine):
Code:
make[1]: se sale del directorio «/home/t4n017/android/PA/kernel/samsung/u8500»
make -C kernel/samsung/u8500 O=/home/t4n017/android/PA/out/target/product/janice/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=" /home/t4n017/android/PA/prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin/arm-eabi-" dtbs
make[1]: se ingresa al directorio «/home/t4n017/android/PA/kernel/samsung/u8500»
make[3]: No se hace nada para «arch/arm/boot/dtbs».
make[1]: se sale del directorio «/home/t4n017/android/PA/kernel/samsung/u8500»
make -C kernel/samsung/u8500 O=/home/t4n017/android/PA/out/target/product/janice/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=" /home/t4n017/android/PA/prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin/arm-eabi-" modules
make[1]: se ingresa al directorio «/home/t4n017/android/PA/kernel/samsung/u8500»
GEN /home/t4n017/android/PA/out/target/product/janice/obj/KERNEL_OBJ/Makefile
CHK include/linux/version.h
Using /home/t4n017/android/PA/kernel/samsung/u8500 as source for kernel
CHK include/generated/utsrelease.h
make[3]: «include/generated/mach-types.h» está actualizado.
CALL /home/t4n017/android/PA/kernel/samsung/u8500/scripts/checksyscalls.sh
.config:7359:warning: symbol value 'm' invalid for KVM
make[6]: *** [silentoldconfig] Error 1
make[5]: *** [silentoldconfig] Error 2
Usage: /home/t4n017/android/PA/kernel/samsung/u8500/scripts/setlocalversion [--save-scmversion] [-s srctree] [-t ref_tag]
Building modules, stage 2.
MODPOST 7 modules
make[1]: se sale del directorio «/home/t4n017/android/PA/kernel/samsung/u8500»
make -C kernel/samsung/u8500 O=/home/t4n017/android/PA/out/target/product/janice/obj/KERNEL_OBJ INSTALL_MOD_PATH=../../system ARCH=arm CROSS_COMPILE=" /home/t4n017/android/PA/prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin/arm-eabi-" modules_install
make[1]: se ingresa al directorio «/home/t4n017/android/PA/kernel/samsung/u8500»
OTAPACKAGE:
Code:
using device-specific extensions in device/samsung/u8500-common
using custom bootimage makefile device/samsung/u8500-common/shbootimg.mk...
using prebuilt recovery.img...
using custom bootimage makefile device/samsung/u8500-common/shbootimg.mk...
using prebuilt boot.img...
Traceback (most recent call last):
File "./build/tools/releasetools/ota_from_target_files", line 1117, in <module>
main(sys.argv[1:])
File "./build/tools/releasetools/ota_from_target_files", line 1085, in main
WriteFullOTAPackage(input_zip, output_zip)
File "./build/tools/releasetools/ota_from_target_files", line 538, in WriteFullOTAPackage
Item.Get("system").SetPermissions(script)
File "./build/tools/releasetools/ota_from_target_files", line 315, in SetPermissions
recurse(self, (-1, -1, -1, -1, None, None))
File "./build/tools/releasetools/ota_from_target_files", line 307, in recurse
recurse(i, current)
File "./build/tools/releasetools/ota_from_target_files", line 307, in recurse
recurse(i, current)
File "./build/tools/releasetools/ota_from_target_files", line 313, in recurse
item.mode, item.selabel, item.capabilities)
File "/home/mauro/aospa/build/tools/releasetools/edify_generator.py", line 284, in SetPermissions
'"capabilities", %s' % (fn, uid, gid, mode, capabilities)
TypeError: %d format: a number is required, not NoneType
make: *** [/home/mauro/aospa/out/target/product/janice/pa_janice-ota-eng.mauro-ota-eng.mauro.zip] Errore 1
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
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.