[Q] T-mobile compiling - Nexus 4 Q&A, Help & Troubleshooting

Hello I have the suigiente mistake, any suggestions
vendor/tmobile/providers/ThemeManager/src/com/tmobile/thememanager/provider/PackageResourcesProvider.java:39: cannot find symbol
symbol : class DrmStore
location: package android.provider
import android.provider.DrmStore;
^
Note: frameworks/opt/mms/src/java/com/google/android/mms/util/SqliteWrapper.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: frameworks/opt/mms/src/java/com/google/android/mms/pdu/PduHeaders.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
vendor/tmobile/providers/ThemeManager/src/com/tmobile/thememanager/provider/PackageResourcesProvider.java:209: cannot find symbol
symbol : variable DrmStore
location: class com.tmobile.thememanager.provider.PackageResourcesProvider
DrmStore.enforceAccessDrmPermission(getContext());
^
Copying: out/target/common/obj/JAVA_LIBRARIES/ime_intermediates/classes.dex
Copying: out/target/common/obj/JAVA_LIBRARIES/input_intermediates/classes.dex
target Jar: javax.obex (out/target/common/obj/JAVA_LIBRARIES/javax.obex_intermediates/javalib.jar)
2 errors
make: *** [out/target/common/obj/APPS/ThemeManager_intermediates/classes-full-debug.jar] Error 41
make: *** Se espera a que terminen otras tareas....
Note: frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/BasicTexture.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

Related

[Q] [help] Compile defy CM7 failed about layoutlib

Copying: out/target/common/obj/APPS/TagCanon_intermediates/emma_out/lib/classes-jarjar.jar
Install: out/target/product/jordan/recovery/root/sbin/mke2fs
Install: out/host/linux-x86/lib/libSR_Session.so
Install: out/host/linux-x86/lib/libSR_Recognizer.so
Copying: out/target/common/obj/APPS/ADWLauncher_intermediates/noproguard.classes.dex
Copying: out/target/common/obj/APPS/AccountAndSyncSettings_intermediates/noproguard.classes.dex
target Dex: AndroidTerm
Install: out/target/product/jordan/system/lib/libutils.so
target Dex: javax.obex
target Dex: ApplicationsProvider
frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeTypedArray.java:19: cannot find symbol
symbol : class DeclareStyleableResourceValue
location: package com.android.ide.common.rendering.api
import com.android.ide.common.rendering.api.DeclareStyleableResourceValue;
^
frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeResources.java:243: getParser(java.lang.String) in com.android.ide.common.rendering.api.IProjectCallback cannot be applied to (com.android.ide.common.rendering.api.ResourceValue)
parser = mProjectCallback.getParser(value);
^
frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java:311: getParser(java.lang.String) in com.android.ide.common.rendering.api.IProjectCallback cannot be applied to (com.android.ide.common.rendering.api.ResourceValue)
parser = mProjectCallback.getParser((ResourceValue) resource);
^
frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeTypedArray.java:218: cannot find symbol
symbol : class DeclareStyleableResourceValue
location: class com.android.layoutlib.bridge.android.BridgeTypedArray
if (styleable instanceof DeclareStyleableResourceValue) {
^
frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeTypedArray.java:219: cannot find symbol
symbol : class DeclareStyleableResourceValue
location: class com.android.layoutlib.bridge.android.BridgeTypedArray
map = ((DeclareStyleableResourceValue) styleable).getAttributeValues(mNames[index]);
^
Note: frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContentResolver.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
5 errors
make: *** [out/host/common/obj/JAVA_LIBRARIES/layoutlib_intermediates/javalib.jar] Error 41
make: *** Waiting for unfinished jobs....
Thanks~
no com.android.ide.common.rendering.api package
i have grep all the android source code, but no find packet com.android.ide.common.rendering.api

[Q/A] Build Errors and such...

Ok guys lets all post our build errors here for a more organized help and support. And so that we can help each other out
Sent from my Gnome Shelled Mako
Good idea , hope someone will know this one.
Export includes file: hardware/libhardware_legacy/audio/Android.mk -- /home/elio/android/omni/out/target/product/mako/obj/SHARED_LIBRARIES/audio_policy.default_intermediates/export_includes
Export includes file: hardware/qcom/display/libgenlock/Android.mk -- /home/elio/android/omni/out/target/product/mako/obj/SHARED_LIBRARIES/libgenlock_intermediates/export_includes
Export includes file: device/lge/mako/camera/mm-camera-interface/Android.mk -- /home/elio/android/omni/out/target/product/mako/obj/SHARED_LIBRARIES/libmmcamera_interface2_intermediates/export_includes
make: *** No rule to make target `/home/elio/android/omni/out/target/product/mako/obj/KERNEL_OBJ/usr', needed by `/home/elio/android/omni/out/target/product/mako/obj/SHARED_LIBRARIES/libgenlock_intermediates/genlock.o'. Stop.
make: *** Waiting for unfinished jobs....
Import includes file: /home/elio/android/omni/out/target/product/mako/obj/SHARED_LIBRARIES/libmmcamera_interface2_intermediates/import_includes
Click to expand...
Click to collapse
i have been trying to build for mako and i get stuck at this error.
i'm ubuntu 12.04 64bit.
Looks like a kernel error.
Add this lines to your local_manifest
Code:
<project name="omnirom/android_device_lge_mako" path="device/lge/mako" remote="github" revision="android-4.3" />
<project name="omnirom/android_kernel_lge_mako" path="kernel/lge/mako" remote="github" revision="android-4.3" />
then
Code:
repo sync -j4 && make clean && . build/envsetup.sh && time brunch mako
fix for most errors
Gnome said:
Ok guys lets all post our build errors here for a more organized help and support. And so that we can help each other out
Sent from my Gnome Shelled Mako
Click to expand...
Click to collapse
I am just starting out on building Roms but for almost any error even if you can't fix it just delete your folder/directory with the source and reinitialize repo in a new directory
Sent from my lg optimus f6 which boot loader can't be unlocked I'm never getting a new lg phone
help
alright ive been trying to port kitkat to my f6 for a week or so and i just hit this error and yes i have included msmb_camera.h in my PATH and put it in a few dirs named media also in my usr/bin and /bin and /sbin can anyone find how to fix it here it is
Code:
make: *** [/home/ryan/android/system/out/target/product/f6mt/obj/SHARED_LIBRARIES/libOmxVenc_intermediates/venc/src/video_encoder_device.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from hardware/qcom/camera/QCamera2/stack/mm-camera-interface/src/mm_camera_channel.c:40:0:
hardware/qcom/camera/QCamera2/stack/mm-camera-interface/../common/mm_camera_interface.h:34:31: fatal error: media/msmb_camera.h: No such file or directory
compilation terminated.
In file included from hardware/qcom/camera/QCamera2/stack/mm-camera-interface/src/mm_camera_stream.c:44:0:
hardware/qcom/camera/QCamera2/stack/mm-camera-interface/../common/mm_camera_interface.h:34:31: fatal error: media/msmb_camera.h: No such file or directory
compilation terminated.
In file included from hardware/qcom/camera/QCamera2/stack/mm-camera-interface/src/mm_camera.c:42:0:
hardware/qcom/camera/QCamera2/stack/mm-camera-interface/../common/mm_camera_interface.h:34:31: fatal error: media/msmb_camera.h: No such file or directory
compilation terminated.
In file included from hardware/qcom/camera/QCamera2/stack/mm-camera-interface/src/mm_camera_interface.c:40:0:
hardware/qcom/camera/QCamera2/stack/mm-camera-interface/../common/mm_camera_interface.h:34:31: fatal error: media/msmb_camera.h: No such file or directory
compilation terminated.
make: *** [/home/ryan/android/system/out/target/product/f6mt/obj/SHARED_LIBRARIES/libmmcamera_interface_intermediates/src/mm_camera_channel.o] Error 1
make: *** [/home/ryan/android/system/out/target/product/f6mt/obj/SHARED_LIBRARIES/libmmcamera_interface_intermediates/src/mm_camera_stream.o] Error 1
make: *** [/home/ryan/android/system/out/target/product/f6mt/obj/SHARED_LIBRARIES/libmmcamera_interface_intermediates/src/mm_camera.o] Error 1
make: *** [/home/ryan/android/system/out/target/product/f6mt/obj/SHARED_LIBRARIES/libmmcamera_interface_intermediates/src/mm_camera_interface.o] Error 1
UPADTE
alright i solved this by puting msmb_camera.h in hardware/qcom/msm8x74/kernel-headers/media
please hit that thanks button if i helped
codingninja62001 said:
alright ive been trying to port kitkat to my f6 for a week or so and i just hit this error and yes i have included msmb_camera.h in my PATH and put it in a few dirs named media also in my usr/bin and /bin and /sbin can anyone find how to fix it here it is
Code:
make: *** [/home/ryan/android/system/out/target/product/f6mt/obj/SHARED_LIBRARIES/libOmxVenc_intermediates/venc/src/video_encoder_device.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from hardware/qcom/camera/QCamera2/stack/mm-camera-interface/src/mm_camera_channel.c:40:0:
hardware/qcom/camera/QCamera2/stack/mm-camera-interface/../common/mm_camera_interface.h:34:31: fatal error: media/msmb_camera.h: No such file or directory
compilation terminated.
In file included from hardware/qcom/camera/QCamera2/stack/mm-camera-interface/src/mm_camera_stream.c:44:0:
hardware/qcom/camera/QCamera2/stack/mm-camera-interface/../common/mm_camera_interface.h:34:31: fatal error: media/msmb_camera.h: No such file or directory
compilation terminated.
In file included from hardware/qcom/camera/QCamera2/stack/mm-camera-interface/src/mm_camera.c:42:0:
hardware/qcom/camera/QCamera2/stack/mm-camera-interface/../common/mm_camera_interface.h:34:31: fatal error: media/msmb_camera.h: No such file or directory
compilation terminated.
In file included from hardware/qcom/camera/QCamera2/stack/mm-camera-interface/src/mm_camera_interface.c:40:0:
hardware/qcom/camera/QCamera2/stack/mm-camera-interface/../common/mm_camera_interface.h:34:31: fatal error: media/msmb_camera.h: No such file or directory
compilation terminated.
make: *** [/home/ryan/android/system/out/target/product/f6mt/obj/SHARED_LIBRARIES/libmmcamera_interface_intermediates/src/mm_camera_channel.o] Error 1
make: *** [/home/ryan/android/system/out/target/product/f6mt/obj/SHARED_LIBRARIES/libmmcamera_interface_intermediates/src/mm_camera_stream.o] Error 1
make: *** [/home/ryan/android/system/out/target/product/f6mt/obj/SHARED_LIBRARIES/libmmcamera_interface_intermediates/src/mm_camera.o] Error 1
make: *** [/home/ryan/android/system/out/target/product/f6mt/obj/SHARED_LIBRARIES/libmmcamera_interface_intermediates/src/mm_camera_interface.o] Error 1
UPADTE
alright i solved this by puting msmb_camera.h in hardware/qcom/msm8x74/kernel-headers/media
please hit that thanks button if i helped
Click to expand...
Click to collapse
Most likely Omni does not have any non-Nexus devices that compile the camera HAL from source, and as a result does not yet pull in kernel headers for the camera HAL.
https://github.com/omnirom/android_...mmit/6736097aeaed860eefdf90ebbb145cc310b564b4 can give you a rough idea of how to convert something set to use prebuilt kernel headers to one that uses headers from the kernel being built.
What's an f6???
Entropy512 said:
Most likely Omni does not have any non-Nexus devices that compile the camera HAL from source, and as a result does not yet pull in kernel headers for the camera HAL.
https://github.com/omnirom/android_...mmit/6736097aeaed860eefdf90ebbb145cc310b564b4 can give you a rough idea of how to convert something set to use prebuilt kernel headers to one that uses headers from the kernel being built.
What's an f6???
Click to expand...
Click to collapse
okey it isn't omni its cyanogenmod and f6 as LG optimus f6 a budget phone that ive working on a port for and can you explain in a little more detail and my KERNEL_OBJ/usr is empty so no source there
---------- Post added at 05:13 PM ---------- Previous post was at 04:35 PM ----------
Entropy512 said:
Most likely Omni does not have any non-Nexus devices that compile the camera HAL from source, and as a result does not yet pull in kernel headers for the camera HAL.
https://github.com/omnirom/android_...mmit/6736097aeaed860eefdf90ebbb145cc310b564b4 can give you a rough idea of how to convert something set to use prebuilt kernel headers to one that uses headers from the kernel being built.
What's an f6???
Click to expand...
Click to collapse
Hey can you help me with this new error i had fixed that one yesterday not much detail it spits out do you know how to declare GRALLOC_USAGE_PRIVATE_INTERNAL_ONLY or fix this
Code:
frameworks/native/libs/gui/Surface.cpp: In member function 'virtual android::status_t android::Surface::lock(ANativeWindow_Buffer*, ARect*)':
frameworks/native/libs/gui/Surface.cpp:818:29: error: 'GRALLOC_USAGE_PRIVATE_INTERNAL_ONLY' was not declared in this scope
make: *** [/home/ryan/android/system/out/target/product/f6mt/obj/SHARED_LIBRARIES/libgui_intermediates/Surface.o] Error 1
make: *** Waiting for unfinished jobs....
Please help me
build/core/base_rules.mk:316: warning: overriding commands for target `/home/govind/n/out/target/product/Z00L/system/xbin/wget' ./external/busybox/Android.mk:171: warning: ignoring old commands for target `/home/govind/n/out/target/product/Z00L/system/xbin/wget' vendor/cm/build/tasks/kernel.mk:285: warning: overriding commands for target `/home/govind/n/out/target/product/Z00L/obj/KERNEL_OBJ/.config' build/core/tasks/kernel.mk:209: warning: ignoring old commands for target `/home/govind/n/out/target/product/Z00L/obj/KERNEL_OBJ/.config' vendor/cm/build/tasks/kernel.mk:299: warning: overriding commands for target `TARGET_KERNEL_BINARIES' build/core/tasks/kernel.mk:220: warning: ignoring old commands for target `TARGET_KERNEL_BINARIES' vendor/cm/build/tasks/kernel.mk:348: warning: overriding commands for target `kerneltags' build/core/tasks/kernel.mk:252: warning: ignoring old commands for target `kerneltags' vendor/cm/build/tasks/kernel.mk:353: warning: overriding commands for target `kernelconfig' build/core/tasks/kernel.mk:255: warning: ignoring old commands for target `kernelconfig' vendor/cm/build/tasks/kernel.mk:372: warning: overriding commands for target `/home/govind/n/out/target/product/Z00L/kernel' build/core/tasks/kernel.mk:269: warning: ignoring old commands for target `/home/govind/n/out/target/product/Z00L/kernel' Starting build with ninja ninja: Entering directory `.' ninja: error: '/home/govind/n/out/target/product/Z00L/obj/SHARED_LIBRARIES/libqmiservices_intermediates/export_includes', needed by '/home/govind/n/out/target/product/Z00L/obj/EXECUTABLES/wcnss_service_intermediates/import_includes', missing and no known rule to make it make: *** [ninja_wrapper] Error 1 #### make failed to build some targets (25 seconds) #### Build step 'Execute shell' marked build as failure FTP: Current build result is [FAILURE], not going to run. Finished: FAILURE
https://hastebin.com/qixotiyuqo.sql plz help me in sorting out this error

Omni 4.4 error building it

Hi i am traying to build from source my omnirom but i am getting a lot of problems:
Related to kernel:
`/Volumes/android/OmniROM/out/target/product/kumquat/boot.img'
build/core/Makefile:476: warning: ignoring old commands for target `/Volumes/android/OmniROM/out/target/product/kumquat/boot.img'
build/core/tasks/kernel.mk:40: ***************************************************************
build/core/tasks/kernel.mk:41: * Using prebuilt kernel binary instead of source *
build/core/tasks/kernel.mk:42: * THIS IS DEPRECATED, AND WILL BE DISCONTINUED *
build/core/tasks/kernel.mk:43: * Please configure your device to download the kernel *
build/core/tasks/kernel.mk:44: * source repository to kernel/sony/kumquat
build/core/tasks/kernel.mk:45: * See http://wiki.cyanogenmod.com/wiki/Integrated_kernel_building
build/core/tasks/kernel.mk:46: * for more information *
build/core/tasks/kernel.mk:47: ***************************************************************
Then if i used make -j16:
ECUTABLES/dalvikvm_intermediates/import_includes
Export includes file: art/dalvikvm/Android.mk -- /Volumes/android/OmniROM/out/target/product/kumquat/obj/EXECUTABLES/dalvikvm_intermediates/export_includes
make: *** No rule to make target `vendor/sony/kumquat/proprietary/bin/dbus-daemon', needed by `/Volumes/android/OmniROM/out/target/product/kumquat/system/bin/dbus-daemon'. Stop.
make: *** Waiting for unfinished jobs....
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.
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.
And with make -j4 otapackage:
[HIDEhost C++: libutils <= system/core/libutils/Printer.cpp
system/core/libutils/Printer.cpp: In member function ‘virtual void android::FdPrinter:rintLine(const char*)’:
system/core/libutils/Printer.cpp:123: error: ‘dprintf’ was not declared in this scope
make: *** [/Volumes/android/OmniROM/out/host/darwin-x86/obj/STATIC_LIBRARIES/libutils_intermediates/Printer.o] Error 1
make: *** Waiting for unfinished jobs....
[/HIDE]
werty100 said:
Hi i am traying to build from source my omnirom but i am getting a lot of problems:
Related to kernel:
`/Volumes/android/OmniROM/out/target/product/kumquat/boot.img'
build/core/Makefile:476: warning: ignoring old commands for target `/Volumes/android/OmniROM/out/target/product/kumquat/boot.img'
build/core/tasks/kernel.mk:40: ***************************************************************
build/core/tasks/kernel.mk:41: * Using prebuilt kernel binary instead of source *
build/core/tasks/kernel.mk:42: * THIS IS DEPRECATED, AND WILL BE DISCONTINUED *
build/core/tasks/kernel.mk:43: * Please configure your device to download the kernel *
build/core/tasks/kernel.mk:44: * source repository to kernel/sony/kumquat
build/core/tasks/kernel.mk:45: * See http://wiki.cyanogenmod.com/wiki/Integrated_kernel_building
build/core/tasks/kernel.mk:46: * for more information *
build/core/tasks/kernel.mk:47: ***************************************************************
Then if i used make -j16:
ECUTABLES/dalvikvm_intermediates/import_includes
Export includes file: art/dalvikvm/Android.mk -- /Volumes/android/OmniROM/out/target/product/kumquat/obj/EXECUTABLES/dalvikvm_intermediates/export_includes
make: *** No rule to make target `vendor/sony/kumquat/proprietary/bin/dbus-daemon', needed by `/Volumes/android/OmniROM/out/target/product/kumquat/system/bin/dbus-daemon'. Stop.
make: *** Waiting for unfinished jobs....
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.
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.
And with make -j4 otapackage:
[HIDEhost C++: libutils <= system/core/libutils/Printer.cpp
system/core/libutils/Printer.cpp: In member function ‘virtual void android::FdPrinter:rintLine(const char*)’:
system/core/libutils/Printer.cpp:123: error: ‘dprintf’ was not declared in this scope
make: *** [/Volumes/android/OmniROM/out/host/darwin-x86/obj/STATIC_LIBRARIES/libutils_intermediates/Printer.o] Error 1
make: *** Waiting for unfinished jobs....
[/HIDE]
Click to expand...
Click to collapse
1. You did not used any kernel source for kumquat,here you can find one of them : www.github.com/munjeni/android_kernel_xperiago
2. It's obviously that you didn't appplied patch as said in www.github.com/XperiaNovathor/android_device_sony_kumquat
Also,are you using semc's hardware and XperiaNovathor's vendor ? If not,git clone them
DroidModderXtreme said:
1. You did not used any kernel source for kumquat,here you can find one of them : www.github.com/munjeni/android_kernel_xperiago
2. It's obviously that you didn't appplied patch as said in www.github.com/XperiaNovathor/android_device_sony_kumquat
Also,are you using semc's hardware and XperiaNovathor's vendor ? If not,git clone them
Click to expand...
Click to collapse
Is not this thanks @DroidModderXtreme is MAC and his stupid things is beocuse of GCC of mac osx
I send you aPM

Building errors

wI have been trying to port latest aosp to my sgs5 (G900F), but I keep running into the same errors.
First one using "make -j5":
Code:
Notice file: external/expat/NOTICE -- out/host/linux-x86/obj/NOTICE_FILES/src//lib/libexpat.a.txt
make: *** No rule to make target `out/target/common/obj/JAVA_LIBRARIES/qcmediaplayer_intermediates/classes.jar', needed by `out/target/common/obj/PACKAGING/boot-jars-package-check_intermediates/stamp'. Stop.
make: *** Waiting for unfinished jobs....
logtags: out/target/common/obj/JAVA_LIBRARIES/telephony-common_intermediates/src/src/java/com/android/internal/telephony/EventLogTags.java <= frameworks/opt/telephony/src/java/com/android/internal/telephony/EventLogTags.logtags
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
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.
#### make failed to build some targets (01:32 (mm:ss)) ####
[email protected]:~/android/aospm$
And the second one I don't know exactly, but it is installing libwebviechromium.so and then it suddenly says it has no rule to make 'droid'.
Also, I only get to the second one when I use 'make -j5 -k
Fixed this
caelin99 said:
Fixed this
Click to expand...
Click to collapse
make: *** No rule to make target `out/target/common/obj/JAVA_LIBRARIES/qcmediaplayer_intermediates/classes.jar', needed by `out/target/common/obj/PACKAGING/boot-jars-package-check_intermediates/stamp'. Stop.
I also met this error,How do you solve it?

Building CM13.0 on the Galaxy S4 LTE

Hi, I'm trying to build CM13 for my device, but I can't achieve it. I'm always stuck on the same bug :
Code:
make[1]: entrant dans le répertoire « /media/aviallon/90d74afb-6307-4c31-a774-2abeaa4086b4/aviallon/cm/kernel/samsung/jf »
target Export Resources: org.cyanogenmod.platform-res (/media/aviallon/90d74afb-6307-4c31-a774-2abeaa4086b4/aviallon/cm/out/target/common/obj/APPS/org.cyanogenmod.platform-res_intermediates/package-export.apk)
Install: /media/aviallon/90d74afb-6307-4c31-a774-2abeaa4086b4/aviallon/cm/out/host/linux-x86/framework/jack.jar
Install: /media/aviallon/90d74afb-6307-4c31-a774-2abeaa4086b4/aviallon/cm/out/host/linux-x86/bin/conscrypt_generate_constants
device/samsung/jf-common/sepolicy/vold.te:2:ERROR 'unknown type mmc_block_device' at token ';' on line 26830:
allow vold mmc_block_device:blk_file { open read write ioctl getattr };
#line 1 "device/samsung/jf-common/sepolicy/vold.te"
checkpolicy: error(s) encountered while parsing configuration
make: *** [/media/aviallon/90d74afb-6307-4c31-a774-2abeaa4086b4/aviallon/cm/out/target/product/jfltexx/obj/ETC/sepolicy_intermediates/sepolicy] Erreur 1
make: *** Attente des tâches non terminées....
Launching Jack server java -Dfile.encoding=UTF-8 -Xms2560m -XX:+TieredCompilation -jar /media/aviallon/90d74afb-6307-4c31-a774-2abeaa4086b4/aviallon/cm/out/host/linux-x86/framework/jack-launcher.jar -cp /media/aviallon/90d74afb-6307-4c31-a774-2abeaa4086b4/aviallon/cm/out/host/linux-x86/framework/jack.jar com.android.jack.server.JackSimpleServer
[B]device/samsung/jf-common/sepolicy/vold.te:2:ERROR 'unknown type mmc_block_device' at token ';' on line 27120:
#line 1 "device/samsung/jf-common/sepolicy/vold.te"
allow vold mmc_block_device:blk_file { open read write ioctl getattr };[/B]
checkpolicy: error(s) encountered while parsing configuration
make: *** [/media/aviallon/90d74afb-6307-4c31-a774-2abeaa4086b4/aviallon/cm/out/target/product/jfltexx/obj/ETC/sepolicy.recovery_intermediates/sepolicy.recovery] Erreur 1
GEN /media/aviallon/90d74afb-6307-4c31-a774-2abeaa4086b4/aviallon/cm/out/target/product/jfltexx/obj/KERNEL_OBJ/Makefile
drivers/usb/otg/Kconfig:187:warning: leading whitespace ignored
drivers/media/video/msm-jf/Kconfig:114:warning: choice value used outside its choice group
drivers/media/video/msm/Kconfig:108:warning: choice value used outside its choice group
drivers/media/video/msm-jf/Kconfig:119:warning: choice value used outside its choice group
drivers/media/video/msm/Kconfig:113:warning: choice value used outside its choice group
#
# configuration written to .config
#
make[1]: quittant le répertoire « /media/aviallon/90d74afb-6307-4c31-a774-2abeaa4086b4/aviallon/cm/kernel/samsung/jf »
make[1]: entrant dans le répertoire « /media/aviallon/90d74afb-6307-4c31-a774-2abeaa4086b4/aviallon/cm/kernel/samsung/jf »
# In case value of PACKAGES is empty.
CHK include/linux/version.h
make[1]: quittant le répertoire « /media/aviallon/90d74afb-6307-4c31-a774-2abeaa4086b4/aviallon/cm/kernel/samsung/jf »
make: quittant le répertoire « /media/aviallon/90d74afb-6307-4c31-a774-2abeaa4086b4/aviallon/cm »
Here is a part of my log. I'm building on Ubuntu 14.04 LTS.
I've tried to comment the line in vold.te, but then I have a other errors, more complicated ones, and I think that the mmc_blocl_device is essential for my phone to work correctly. So, if there is anybody who can help me, then please, help me !
PS : Here is the log after commenting the line in vold :
Code:
make[1]: entrant dans le répertoire « /media/aviallon/90d74afb-6307-4c31-a774-2abeaa4086b4/aviallon/cm/kernel/samsung/jf »
libsepol.context_from_record: type mmc_block_device is not defined
libsepol.context_from_record: could not create context structure
libsepol.context_from_string: could not create context structure
libsepol.sepol_context_to_sid: could not convert u:object_r:mmc_block_device:s0 to sid
/media/aviallon/90d74afb-6307-4c31-a774-2abeaa4086b4/aviallon/cm/out/target/product/jfltexx/obj/ETC/file_contexts_intermediates/file_contexts: line 770 has invalid context u:object_r:mmc_block_device:s0
Invalid context file found in /media/aviallon/90d74afb-6307-4c31-a774-2abeaa4086b4/aviallon/cm/out/target/product/jfltexx/obj/ETC/file_contexts_intermediates/file_contexts
make: *** [/media/aviallon/90d74afb-6307-4c31-a774-2abeaa4086b4/aviallon/cm/out/target/product/jfltexx/obj/ETC/file_contexts_intermediates/file_contexts] Erreur 5
make: *** Destruction du fichier « /media/aviallon/90d74afb-6307-4c31-a774-2abeaa4086b4/aviallon/cm/out/target/product/jfltexx/obj/ETC/file_contexts_intermediates/file_contexts »
make: *** Attente des tâches non terminées....
aviallon said:
Hi, I'm trying to build CM13 for my device, but I can't achieve it. I'm always stuck on the same bug :
[...]
Click to expand...
Click to collapse
Same issue with my build machine building CM 13 for samsung i9515 (using @sombree work)
Never mind. It works now! I just had to compile on Arch-Linux and to wait a little bit. Right now, I'm running my build!
How did you solve this?
sarbyn said:
Same issue with my build machine building CM 13 for samsung i9515 (using @sombree work)
Click to expand...
Click to collapse
I'm getting this error:
Code:
drivers/usb/otg/Kconfig:187:warning: leading whitespace ignored
drivers/media/video/msm-jf/Kconfig:114:warning: choice value used outside its choice group
drivers/media/video/msm/Kconfig:108:warning: choice value used outside its choice group
drivers/media/video/msm-jf/Kconfig:119:warning: choice value used outside its choice group
drivers/media/video/msm/Kconfig:113:warning: choice value used outside its choice group
#
# configuration written to .config
#
make[1]: exit from directory "/home/gio98/du/kernel/samsung/jf"
---------- Post added at 10:51 AM ---------- Previous post was at 10:50 AM ----------
aviallon said:
Never mind. It works now! I just had to compile on Arch-Linux and to wait a little bit. Right now, I'm running my build!
Click to expand...
Click to collapse
thanks

Categories

Resources