[Q] Error in Cyanogenmod 7 repo init - Galaxy S I9000 Q&A, Help & Troubleshooting

i get this error in repo cyanogenmod 7:
Fetching projects: 100% (238/238), done.
Syncing work tree: 71% (169/238) Traceback (most recent call last):
File "/home/utente/.repo/repo/main.py", line 238, in <module>
_Main(sys.argv[1:])
File "/home/utente/.repo/repo/main.py", line 220, in _Main
repo._Run(argv)
File "/home/utente/.repo/repo/main.py", line 125, in _Run
cmd.Execute(copts, cargs)
File "/home/utente/.repo/repo/subcmds/sync.py", line 360, in Execute
project.Sync_LocalHalf(syncbuf)
File "/home/utente/.repo/repo/project.py", line 688, in Sync_LocalHalf
head = self.work_git.GetHead()
File "/home/utente/.repo/repo/project.py", line 1380, in GetHead
fd = open(path, 'rb')
IOError: [Errno 2] No such file or directory: u'/home/utente/packages/apps/Bluetooth/.git/HEAD'
anyone know a solution??

Alberto96 said:
i get this error in repo cyanogenmod 7:
Fetching projects: 100% (238/238), done.
Syncing work tree: 71% (169/238) Traceback (most recent call last):
File "/home/utente/.repo/repo/main.py", line 238, in <module>
_Main(sys.argv[1:])
File "/home/utente/.repo/repo/main.py", line 220, in _Main
repo._Run(argv)
File "/home/utente/.repo/repo/main.py", line 125, in _Run
cmd.Execute(copts, cargs)
File "/home/utente/.repo/repo/subcmds/sync.py", line 360, in Execute
project.Sync_LocalHalf(syncbuf)
File "/home/utente/.repo/repo/project.py", line 688, in Sync_LocalHalf
head = self.work_git.GetHead()
File "/home/utente/.repo/repo/project.py", line 1380, in GetHead
fd = open(path, 'rb')
IOError: [Errno 2] No such file or directory: u'/home/utente/packages/apps/Bluetooth/.git/HEAD'
anyone know a solution??
Click to expand...
Click to collapse
Delete "/home/utente/packages/apps/Bluetooth" and try your repo sync again. It's possible your initial repo sync was interrupted.

ok , thanks for the solution . it worked .
please close this thread

Related

Andbot

So i have been trying to brew up some ROMs for JB but I cant seen to get the repository working to sync the source code
Code:
AndBot:[email protected]:~/android/system$ andbot init
+ cd /home/andbot/android/system
+ exec repo init -u git://github.com/CyanogenMod/android.git -b jellybean
Traceback (most recent call last):
File "/home/andbot/android/system/.repo/repo/main.py", line 385, in <module>
_Main(sys.argv[1:])
File "/home/andbot/android/system/.repo/repo/main.py", line 365, in _Main
result = repo._Run(argv) or 0
File "/home/andbot/android/system/.repo/repo/main.py", line 137, in _Run
result = cmd.Execute(copts, cargs)
File "/home/andbot/android/system/.repo/repo/subcmds/init.py", line 319, in Execute
self._SyncManifest(opt)
File "/home/andbot/android/system/.repo/repo/subcmds/init.py", line 144, in _SyncManifest
r = m.GetRemote(m.remote.name)
File "/home/andbot/android/system/.repo/repo/project.py", line 615, in GetRemote
return self.config.GetRemote(name)
File "/home/andbot/android/system/.repo/repo/git_config.py", line 173, in GetRemote
r = Remote(self, name)
File "/home/andbot/android/system/.repo/repo/git_config.py", line 526, in __init__
self.review = self._Get('review')
File "/home/andbot/android/system/.repo/repo/git_config.py", line 656, in _Get
return self._config.GetString(key, all = all)
File "/home/andbot/android/system/.repo/repo/git_config.py", line 117, in GetString
return self.defaults.GetString(name, all = all)
File "/home/andbot/android/system/.repo/repo/git_config.py", line 114, in GetString
v = self._cache[_key(name)]
File "/home/andbot/android/system/.repo/repo/git_config.py", line 231, in _cache
self._cache_dict = self._Read()
File "/home/andbot/android/system/.repo/repo/git_config.py", line 238, in _Read
self._SavePickle(d)
File "/home/andbot/android/system/.repo/repo/git_config.py", line 275, in _SavePickle
os.remove(self._pickle)
OSError: [Errno 13] Permission denied: '/home/andbot/.repopickle_.gitconfig'
It doesn't look like a clean install of andbot. What OS are you using? Is it 32 or 64 bit? You need 64 bit for jb. I would try an new andbot install.
cmendonc2 said:
So i have been trying to brew up some ROMs for JB but I cant seen to get the repository working to sync the source code
Click to expand...
Click to collapse
bowguy said:
It doesn't look like a clean install of andbot. What OS are you using? Is it 32 or 64 bit? You need 64 bit for jb. I would try an new andbot install.
Click to expand...
Click to collapse
Im using Ubuntu 12.04 64 bit. I'll try a fresh install and see what happens.
That's the setup I use. Look for any warnings when you type andbot.run
cmendonc2 said:
Im using Ubuntu 12.04 64 bit. I'll try a fresh install and see what happens.
Click to expand...
Click to collapse

OmniROM for GT-i9300 Build Failure

Hi,
I successfully built the rom for a couple months on Ubuntu 13.10 following wiki's instructions, as an exercise on learning how to 'cherry-pick' stuff into a work-tree, now wanna add Hammerhead to the working tree BUT it seems that the building system for GT-I9300 is actually broken (maybe by an update?), here's the log:
mkdir -p /media/reS28raM/android/omni/out/target/product/i9300/obj/GYP/shared_intermediates/ui/jni; cd external/chromium_org/ui; ../base/android/jni_generator/jni_generator.py --input_file android/java/src/org/chromium/ui/WindowAndroid.java --output_dir "/media/reS28raM/android/omni/out/target/product/i9300/obj/GYP/shared_intermediates/ui/jni" --optimize_generation 0 --jarjar ../android_webview/build/jarjar-rules.txt
[32mImport includes file:[0m /media/reS28raM/android/omni/out/target/product/i9300/obj/STATIC_LIBRARIES/ui_ui_gyp_intermediates/import_includes
[32mExport includes file:[0m external/chromium_org/GypAndroid.linux-arm.mk -- /media/reS28raM/android/omni/out/target/product/i9300/obj/STATIC_LIBRARIES/ui_ui_gyp_intermediates/export_includes
Gyp action: Generating JNI bindings from /media/reS28raM/android/omni/prebuilts/sdk/17/android.jar/android/view/Surface.class (/media/reS28raM/android/omni/out/target/product/i9300/obj/GYP/shared_intermediates/ui/gl/jni/Surface_jni.h)
Traceback (most recent call last):
File "../../base/android/jni_generator/jni_generator.py", line 1070, in <module>
sys.exit(main(sys.argv))
File "../../base/android/jni_generator/jni_generator.py", line 1066, in main
options.optimize_generation)
File "../../base/android/jni_generator/jni_generator.py", line 1001, in GenerateJNIHeader
jni_from_javap = JNIFromJavaP.CreateFromClass(input_file, namespace)
File "../../base/android/jni_generator/jni_generator.py", line 514, in CreateFromClass
jni_from_javap = JNIFromJavaP(stdout.split('\n'), namespace)
File "../../base/android/jni_generator/jni_generator.py", line 457, in __init__
contents[1]).group('class_name')
AttributeError: 'NoneType' object has no attribute 'group'
make: *** [/media/reS28raM/android/omni/out/target/product/i9300/obj/GYP/shared_intermediates/ui/gl/jni/Surface_jni.h] Errore 1
make: *** Attesa per i processi non terminati....
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
real 4m21.228s
user 4m4.210s
sys 0m53.027s
Don't understand that reference to SDK API 17 at all, are you guys still using Ubuntu 13.10 to build OmniROM for Galaxy S3? Thx
reS28raM said:
Hi,
I successfully built the rom for a couple months on Ubuntu 13.10 following wiki's instructions, as an exercise on learning how to 'cherry-pick' stuff into a work-tree, now wanna add Hammerhead to the working tree BUT it seems that the building system for GT-I9300 is actually broken (maybe by an update?), here's the log:
mkdir -p /media/reS28raM/android/omni/out/target/product/i9300/obj/GYP/shared_intermediates/ui/jni; cd external/chromium_org/ui; ../base/android/jni_generator/jni_generator.py --input_file android/java/src/org/chromium/ui/WindowAndroid.java --output_dir "/media/reS28raM/android/omni/out/target/product/i9300/obj/GYP/shared_intermediates/ui/jni" --optimize_generation 0 --jarjar ../android_webview/build/jarjar-rules.txt
[32mImport includes file:[0m /media/reS28raM/android/omni/out/target/product/i9300/obj/STATIC_LIBRARIES/ui_ui_gyp_intermediates/import_includes
[32mExport includes file:[0m external/chromium_org/GypAndroid.linux-arm.mk -- /media/reS28raM/android/omni/out/target/product/i9300/obj/STATIC_LIBRARIES/ui_ui_gyp_intermediates/export_includes
Gyp action: Generating JNI bindings from /media/reS28raM/android/omni/prebuilts/sdk/17/android.jar/android/view/Surface.class (/media/reS28raM/android/omni/out/target/product/i9300/obj/GYP/shared_intermediates/ui/gl/jni/Surface_jni.h)
Traceback (most recent call last):
File "../../base/android/jni_generator/jni_generator.py", line 1070, in <module>
sys.exit(main(sys.argv))
File "../../base/android/jni_generator/jni_generator.py", line 1066, in main
options.optimize_generation)
File "../../base/android/jni_generator/jni_generator.py", line 1001, in GenerateJNIHeader
jni_from_javap = JNIFromJavaP.CreateFromClass(input_file, namespace)
File "../../base/android/jni_generator/jni_generator.py", line 514, in CreateFromClass
jni_from_javap = JNIFromJavaP(stdout.split('\n'), namespace)
File "../../base/android/jni_generator/jni_generator.py", line 457, in __init__
contents[1]).group('class_name')
AttributeError: 'NoneType' object has no attribute 'group'
make: *** [/media/reS28raM/android/omni/out/target/product/i9300/obj/GYP/shared_intermediates/ui/gl/jni/Surface_jni.h] Errore 1
make: *** Attesa per i processi non terminati....
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
real 4m21.228s
user 4m4.210s
sys 0m53.027s
Don't understand that reference to SDK API 17 at all, are you guys still using Ubuntu 13.10 to build OmniROM for Galaxy S3? Thx
Click to expand...
Click to collapse
Wrong Java version or Python version.
I was using OpenJDK and was happy to see it working, maybe it is time to switch to Oracle's
Sent from my Nexus 5 using Tapatalk

Leapcast (Ubuntu problem)

Hello guys!
Im very new on this site and i don't know if this is the right category but i was installing "leapcast" and then when i tried to start it.
It just says this:
Code:
INFO:root:Starting SSDP server
INFO:root:Starting LEAP server
INFO:root:Loading Config-JSON from Google-Server
INFO:requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): clients3.google.com
/home/ubuntu/.virtualenvs/leapcast/local/lib/python2.7/site-packages/requests/packages/urllib3/util/ssl_.py:315: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#snimissingwarning.
SNIMissingWarning
/home/ubuntu/.virtualenvs/leapcast/local/lib/python2.7/site-packages/requests/packages/urllib3/util/ssl_.py:120: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
InsecurePlatformWarning
Traceback (most recent call last):
File "/home/ubuntu/.virtualenvs/leapcast/bin/leapcast", line 9, in <module>
load_entry_point('Leapcast==0.1.3', 'console_scripts', 'leapcast')()
File "/home/ubuntu/.virtualenvs/leapcast/local/lib/python2.7/site-packages/leapcast/__main__.py", line 38, in main
leap_server.start()
File "/home/ubuntu/.virtualenvs/leapcast/local/lib/python2.7/site-packages/leapcast/services/leap.py", line 35, in start
resp = requests.get(url=app_dict_url)
File "/home/ubuntu/.virtualenvs/leapcast/local/lib/python2.7/site-packages/requests/api.py", line 67, in get
return request('get', url, params=params, **kwargs)
File "/home/ubuntu/.virtualenvs/leapcast/local/lib/python2.7/site-packages/requests/api.py", line 53, in request
return session.request(method=method, url=url, **kwargs)
File "/home/ubuntu/.virtualenvs/leapcast/local/lib/python2.7/site-packages/requests/sessions.py", line 468, in request
resp = self.send(prep, **send_kwargs)
File "/home/ubuntu/.virtualenvs/leapcast/local/lib/python2.7/site-packages/requests/sessions.py", line 576, in send
r = adapter.send(request, **kwargs)
File "/home/ubuntu/.virtualenvs/leapcast/local/lib/python2.7/site-packages/requests/adapters.py", line 447, in send
raise SSLError(e, request=request)
requests.exceptions.SSLError: [Errno 1] _ssl.c:504: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
(leapcast)[email protected]:~/leapcast$
Anyone know whats the problem?
System: Ubuntu 12.04 32bit.

Trouble using picamera python module with raspberry pi 4

Hello All,
I am using a raspberry pi4 with a bullseye os - 64 bit.
In a virtual environment, I used - "pip install picamera" - to install the module
Whenever I try to import picamera, I get the following error message:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/pi/Documents/proj_trash_can/cam.py", line 2, in <module>
from picamera import PiCamera
File "/home/pi/Documents/proj_trash_can/venv/lib/python3.9/site-packages/picamera/__init__.py", line 72, in <module>
from picamera.exc import (
File "/home/pi/Documents/proj_trash_can/venv/lib/python3.9/site-packages/picamera/exc.py", line 41, in <module>
import picamera.mmal as mmal
File "/home/pi/Documents/proj_trash_can/venv/lib/python3.9/site-packages/picamera/mmal.py", line 49, in <module>
_lib = ct.CDLL('libmmal.so')
File "/usr/lib/python3.9/ctypes/__init__.py", line 374, in __init__
self._handle = _dlopen(self._name, mode)
OSError: libmmal.so: cannot open shared object file: No such file or directory
Click to expand...
Click to collapse
I have updated and upgraded with sudo but to no luck. It seems I am missing a directory and some files. Requesting some guidance and help regarding this problem - I would be very grateful.
If any added information is needed to be provided from my side, kindly let me know how to do so and I will provide it.
Thank You.

How do I build LineageOS for the Pro1-X?

I tried to build using the Pro1 instructions (https://wiki.lineageos.org/devices/pro1/build) but the "breakfast pro1x" step doesn't work.
$ breakfast pro1x
16:47:13 Build sandboxing disabled due to nsjail error.
In file included from build/make/core/config.mk:353:
In file included from build/make/core/envsetup.mk:352:
build/make/core/product_config.mk:228: error: Can not locate config makefile for product "lineage_pro1x".
16:47:14 dumpvars failed with: exit status 1
Device pro1x not found. Attempting to retrieve device repository from LineageOS Github (http://github.com/LineageOS).
Found repository: android_device_fxtec_pro1x
Default revision: lineage-20.0
Checking branch info
Using fallback branch: lineage-20
Checking if device/fxtec/pro1x is fetched from android_device_fxtec_pro1x
Adding dependency: LineageOS/android_device_fxtec_pro1x -> device/fxtec/pro1x
Syncing repository to retrieve project.
Fetching: 100% (1/1), done in 1.282s
repo sync has finished successfully.
Repository synced!
Looking for dependencies in device/fxtec/pro1x
Default revision: lineage-20.0
Checking branch info
Traceback (most recent call last):
File "/run/media/kevin/SEAGATE4TB/lineageos/android/lineage/vendor/lineage/build/tools/roomservice.py", line 308, in <module>
fetch_dependencies(repo_path)
File "/run/media/kevin/SEAGATE4TB/lineageos/android/lineage/vendor/lineage/build/tools/roomservice.py", line 228, in fetch_dependencies
dependency['branch'] = get_default_or_fallback_revision(dependency['repository'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/run/media/kevin/SEAGATE4TB/lineageos/android/lineage/vendor/lineage/build/tools/roomservice.py", line 262, in get_default_or_fallback_revision
result = json.loads(urllib.request.urlopen(githubreq).read().decode())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.11/urllib/request.py", line 216, in urlopen
return opener.open(url, data, timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.11/urllib/request.py", line 525, in open
response = meth(req, response)
^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.11/urllib/request.py", line 634, in http_response
response = self.parent.error(
^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.11/urllib/request.py", line 563, in error
return self._call_chain(*args)
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.11/urllib/request.py", line 496, in _call_chain
result = func(*args)
^^^^^^^^^^^
File "/usr/lib64/python3.11/urllib/request.py", line 643, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 404: Not Found
A comment was made about roomservice.xml which shows:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project path="device/fxtec/pro1x" remote="github" name="LineageOS/android_device_fxtec_pro1x" revision="lineage-20" />
</manifest>
It's trying to get the list of branches:
Requesting: https://api.github.com/repos/LineageOS/android_kernel_fxtec_s6115/branches
But this returns 404 because there are no branches. It's looking for the lineage-20.0 branch.
In comparison, for the Pro1, there are branches.
So then I guess the question becomes: how does one develop with a pre-release device that doesn't have branches yet?
Ahh, I see, I think the problem is in this file: https://github.com/LineageOS/android_device_fxtec_pro1x/blob/lineage-20/lineage.dependencies
The repository is incorrect:
"repository": "android_kernel_fxtec_s6115",
It should be sm6115.
Created issue: https://gitlab.com/LineageOS/issues/infra/-/issues/143
kevgrig said:
Ahh, I see, I think the problem is in this file: https://github.com/LineageOS/android_device_fxtec_pro1x/blob/lineage-20/lineage.dependencies
The repository is incorrect:
"repository": "android_kernel_fxtec_s6115",
It should be sm6115.
Click to expand...
Click to collapse
I've merged a fix with credit to you.
Thanks.
rm .repo/local_manifests/roomservice.xml and try again pls
npjohnson said:
I've merged a fix with credit to you.
Thanks.
rm .repo/local_manifests/roomservice.xml and try again pls
Click to expand...
Click to collapse
Thanks! I'll check soon
npjohnson said:
I've merged a fix with credit to you.
Thanks.
rm .repo/local_manifests/roomservice.xml and try again pls
Click to expand...
Click to collapse
Thanks, it's getting farther now. I removed .repo/local_manifests/roomservice.xml and re-ran `breakfast pro1x` but now it's complaining about missing vendor/fxtec/pro1x/pro1x-vendor.mk. Oddly, it's looking in vendor/fxtec which doesn't exist.
# breakfast pro1x
21:29:32 Build sandboxing disabled due to nsjail error.
In file included from build/make/core/config.mk:353:
In file included from build/make/core/envsetup.mk:352:
In file included from build/make/target/product/telephony_vendor.mk:21:
device/fxtec/pro1x/device.mk:479: error: vendor/fxtec/pro1x/pro1x-vendor.mk does not exist..
21:29:34 dumpvars failed with: exit status 1
Device pro1x not found. Attempting to retrieve device repository from LineageOS Github (http://github.com/LineageOS).
Found repository: android_device_fxtec_pro1x
Looking up fxtec/pro1x
Default revision: lineage-20.0
Checking branch info
Requesting: https://api.github.com/repos/LineageOS/android_device_fxtec_pro1x/branches
Using fallback branch: lineage-20
Checking if device/fxtec/pro1x is fetched from android_device_fxtec_pro1x
Adding dependency: LineageOS/android_device_fxtec_pro1x -> device/fxtec/pro1x
Syncing repository to retrieve project.
Fetching: 100% (2/2), done in 2.005s
.repo/repo: project not found in manifest.
repo sync has finished successfully.
Repository synced!
Looking for dependencies in device/fxtec/pro1x
Default revision: lineage-20.0
Checking branch info
Requesting: https://api.github.com/repos/LineageOS/android_kernel_fxtec_sm6115/branches
Using fallback branch: lineage-20
Adding dependencies to manifest
Checking if kernel/fxtec/sm6115 is fetched from android_kernel_fxtec_sm6115
Adding dependency: LineageOS/android_kernel_fxtec_sm6115 -> kernel/fxtec/sm6115
Syncing dependencies
Fetching: 100% (2/2), done in 6m42.385s
Updating files: 100% (70635/70635), done.
Checking out: 100% (2/2), done in 14.935s
repo sync has finished successfully.
Looking for dependencies in kernel/fxtec/sm6115
kernel/fxtec/sm6115 has no additional dependencies.
Done
21:36:46 Build sandboxing disabled due to nsjail error.
In file included from build/make/core/config.mk:353:
In file included from build/make/core/envsetup.mk:352:
In file included from build/make/target/product/telephony_vendor.mk:21:
device/fxtec/pro1x/device.mk:479: error: vendor/fxtec/pro1x/pro1x-vendor.mk does not exist..
21:36:46 dumpvars failed with: exit status 1
21:36:48 Build sandboxing disabled due to nsjail error.
In file included from build/make/core/config.mk:353:
In file included from build/make/core/envsetup.mk:352:
In file included from build/make/target/product/telephony_vendor.mk:21:
device/fxtec/pro1x/device.mk:479: error: vendor/fxtec/pro1x/pro1x-vendor.mk does not exist..
21:36:48 dumpvars failed with: exit status 1
** Don't have a product spec for: 'lineage_pro1x'
** Do you have the right repo manifest?
# ls vendor/fxtec/pro1x
ls: cannot access 'vendor/fxtec/pro1x': No such file or directory
# ls vendor/
codeaurora crowdin lineage nxp qcom
kevgrig said:
Thanks, it's getting farther now. I removed .repo/local_manifests/roomservice.xml and re-ran `breakfast pro1x` but now it's complaining about missing vendor/fxtec/pro1x/pro1x-vendor.mk. Oddly, it's looking in vendor/fxtec which doesn't exist.
# breakfast pro1x
21:29:32 Build sandboxing disabled due to nsjail error.
In file included from build/make/core/config.mk:353:
In file included from build/make/core/envsetup.mk:352:
In file included from build/make/target/product/telephony_vendor.mk:21:
device/fxtec/pro1x/device.mk:479: error: vendor/fxtec/pro1x/pro1x-vendor.mk does not exist..
21:29:34 dumpvars failed with: exit status 1
Device pro1x not found. Attempting to retrieve device repository from LineageOS Github (http://github.com/LineageOS).
Found repository: android_device_fxtec_pro1x
Looking up fxtec/pro1x
Default revision: lineage-20.0
Checking branch info
Requesting: https://api.github.com/repos/LineageOS/android_device_fxtec_pro1x/branches
Using fallback branch: lineage-20
Checking if device/fxtec/pro1x is fetched from android_device_fxtec_pro1x
Adding dependency: LineageOS/android_device_fxtec_pro1x -> device/fxtec/pro1x
Syncing repository to retrieve project.
Fetching: 100% (2/2), done in 2.005s
.repo/repo: project not found in manifest.
repo sync has finished successfully.
Repository synced!
Looking for dependencies in device/fxtec/pro1x
Default revision: lineage-20.0
Checking branch info
Requesting: https://api.github.com/repos/LineageOS/android_kernel_fxtec_sm6115/branches
Using fallback branch: lineage-20
Adding dependencies to manifest
Checking if kernel/fxtec/sm6115 is fetched from android_kernel_fxtec_sm6115
Adding dependency: LineageOS/android_kernel_fxtec_sm6115 -> kernel/fxtec/sm6115
Syncing dependencies
Fetching: 100% (2/2), done in 6m42.385s
Updating files: 100% (70635/70635), done.
Checking out: 100% (2/2), done in 14.935s
repo sync has finished successfully.
Looking for dependencies in kernel/fxtec/sm6115
kernel/fxtec/sm6115 has no additional dependencies.
Done
21:36:46 Build sandboxing disabled due to nsjail error.
In file included from build/make/core/config.mk:353:
In file included from build/make/core/envsetup.mk:352:
In file included from build/make/target/product/telephony_vendor.mk:21:
device/fxtec/pro1x/device.mk:479: error: vendor/fxtec/pro1x/pro1x-vendor.mk does not exist..
21:36:46 dumpvars failed with: exit status 1
21:36:48 Build sandboxing disabled due to nsjail error.
In file included from build/make/core/config.mk:353:
In file included from build/make/core/envsetup.mk:352:
In file included from build/make/target/product/telephony_vendor.mk:21:
device/fxtec/pro1x/device.mk:479: error: vendor/fxtec/pro1x/pro1x-vendor.mk does not exist..
21:36:48 dumpvars failed with: exit status 1
** Don't have a product spec for: 'lineage_pro1x'
** Do you have the right repo manifest?
# ls vendor/fxtec/pro1x
ls: cannot access 'vendor/fxtec/pro1x': No such file or directory
# ls vendor/
codeaurora crowdin lineage nxp qcom
Click to expand...
Click to collapse
You didn't extract proprietary blobs like the guide says.
Additionally, don't extra then, just grab vendor/fxtec/pro1x from GitHub.com/themuppets and add to your local manifest.
npjohnson said:
You didn't extract proprietary blobs like the guide says.
Additionally, don't extra then, just grab vendor/fxtec/pro1x from GitHub.com/themuppets and add to your local manifest.
Click to expand...
Click to collapse
Ahh yes, my apologies. I had read that section about extracting blobs some time ago and forgot about it.
# cd device/fxtec/pro1x
# ./extract-files.sh
[...]
# cd -
# breakfast pro1x
[...]
# brunch pro1x
Building. Thanks!
kevgrig said:
Ahh yes, my apologies. I had read that section about extracting blobs some time ago and forgot about it.
# cd device/fxtec/pro1x
# ./extract-files.sh
[...]
# cd -
# breakfast pro1x
[...]
# brunch pro1x
Building. Thanks!
Click to expand...
Click to collapse
good to hear!
Got to 99% on the build and then failed with lack of memory on a 16GB box (with almost every background process stopped):
dex2oatd F 02-16 15:22:03 770205 770205 mem_map_arena_pool.cc:65] Check failed: map.IsValid() Failed anonymous mmap((nil), 131072, 0x3, 0x22, -1, 0): Cannot allocate memory. See process maps in the log.
Will buy some more RAM...
kevgrig said:
Got to 99% on the build and then failed with lack of memory on a 16GB box (with almost every background process stopped):
dex2oatd F 02-16 15:22:03 770205 770205 mem_map_arena_pool.cc:65] Check failed: map.IsValid() Failed anonymous mmap((nil), 131072, 0x3, 0x22, -1, 0): Cannot allocate memory. See process maps in the log.
Will buy some more RAM...
Click to expand...
Click to collapse
I had the same problem. I installed kernel 5.19 and booted with it instead of 6.1, the problem disappeared.
mishurov said:
I had the same problem. I installed kernel 5.19 and booted with it instead of 6.1, the problem disappeared.
Click to expand...
Click to collapse
can confirm, it's a linux kernel issue

Categories

Resources