Not sure if this is the right place or not. if it isnt mods feel free to move it to any where you ever desire.
Im trying to build cm13 unofficial from source i downloaded and im following this guide: http://xda-university.com/as-a-developer/getting-started-building-android-from-source
And i used this guide to get source code etc downloaded: https://nathanpfry.com/how-to-setup-ubuntu-16-04-lts-xenial-xerus-to-compile-android-roms/
Im using openjdk 8.
But i get this error when building:
Code:
Export includes file: packages/apps/Gallery2/jni_jpegstream/Android.mk -- /home/user/android/out/target/product/mako/obj/SHARED_LIBRARIES/libjni_jpegstream_intermediates/export_includes
target Strip: libjni_jpegstream (/home/user/android/out/target/product/mako/obj/lib/libjni_jpegstream.so)
Install: /home/user/android/out/target/product/mako/system/lib/libjni_jpegstream.so
Install: /home/user/android/out/target/product/mako/system/app/Gallery2/Gallery2.apk
mkdir -p /home/user/android/out/target/product/mako/system/app/Gallery2/lib/arm ;ln -sf /system/lib/libjni_eglfence.so /home/user/android/out/target/product/mako/system/app/Gallery2/lib/arm/libjni_eglfence.so ;ln -sf /system/lib/libjni_filtershow_filters.so /home/user/android/out/target/product/mako/system/app/Gallery2/lib/arm/libjni_filtershow_filters.so ;ln -sf /system/lib/librsjni.so /home/user/android/out/target/product/mako/system/app/Gallery2/lib/arm/librsjni.so ;ln -sf /system/lib/libjni_jpegstream.so /home/user/android/out/target/product/mako/system/app/Gallery2/lib/arm/libjni_jpegstream.so
[ERROR] Plugin org.apache.maven.plugins:maven-dependency-plugin:2.10 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-dependency-plugin:jar:2.10: Could not transfer artifact org.apache.maven.plugins:maven-dependency-plugin:pom:2.10 from/to central (https://repo.maven.apache.org/maven2): repo.maven.apache.org: Temporary failure in name resolution: Unknown host repo.maven.apache.org: Temporary failure in name resolution -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException
vendor/cm/build/core/maven_artifact.mk:42: recipe for target '/home/user/android/out/target/common/obj/APPS/Gello_intermediates/org.cyanogenmod.gello-40.apk' failed
make: *** [/home/user/android/out/target/common/obj/APPS/Gello_intermediates/org.cyanogenmod.gello-40.apk] Error 1
#### make failed to build some targets (01:23:35 (hh:mm:ss)) ####
Also the update.zip isnt there in that folder that they stated in last in the building cm link but i guess thats because of the errors?
Any help would be good, Thanks
Connect your pc to the Internet and try building again
Sent from my SM-A9100 using Tapatalk
detele gello in boardconfig and try again
I just had to get internet and now its working and i compiled the rom. but its stuck at google logo and not getting past it. any ideas?
thinhx2 said:
detele gello in boardconfig and try again
Click to expand...
Click to collapse
Which boardconfig, where?
Charles IV said:
Which boardconfig, where?
Click to expand...
Click to collapse
Check your device tree "device.mk"
osas514 said:
Check your device tree "device.mk"
Click to expand...
Click to collapse
device.mk or mako.mk
thinhx2 said:
device.mk or mako.mk
Click to expand...
Click to collapse
found it, device.mk under # Browser
We can preobably change it to Jelly, ad that's the replacement
Charles IV said:
found it, device.mk under # Browser
We can preobably change it to Jelly, ad that's the replacement
Click to expand...
Click to collapse
Jelly can work on 6.0?
thinhx2 said:
Jelly can work on 6.0?
Click to expand...
Click to collapse
apparently not ... it didn't work for me :,(
Related
Hi,
I am working on building nougat AOSP as well as CyanogenMod 14.0 for Kenzo. Facing some errors while building. I request the users as well as devs to help in ironing out errors so that a working build may be done soon.
This is the error I am getting while building AOSP.
Code:
ninja: error: 'out/target/product/kenzo/obj/KERNEL_OBJ/usr', needed by 'out/target/product/kenzo/obj/EXECUTABLES/ipacm_intermediates/IPACM_Main.o', missing and no known rule to make it
build/core/ninja.mk:148: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
I have added few changes to CM device tree to work with AOSP . AndroidBoard.mk reads as
Code:
LOCAL_PATH := device/xiaomi/kenzo/
#
# Boot files
#
TARGET_PREBUILT_KERNEL := $(LOCAL_PATH)/kernel
file := $(INSTALLED_KERNEL_TARGET)
ALL_PREBUILT += $(file)
$(file): $(TARGET_PREBUILT_KERNEL) | $(ACP)
$(transform-prebuilt-to-target)
And BoardConfig.mk reads as
Code:
# Kernel
TARGET_PREBUILT_KERNEL := device/xiaomi/kenzo/kernel
I am attaching .mk files so that interested devs can see and id the errors/mistake.
Error in CM-14.0
This is the error I am getting in CM-14.0
Code:
error: '/home/****/cm14/out/target/product/kenzo/obj/SHARED_LIBRARIES/libdhcpcd_intermediates/export_includes', needed by '/home/****/cm14/out/target/product/kenzo/obj/EXECUTABLES/ipacm_intermediates/import_includes', missing and no known rule to make it
build/core/ninja.mk:148: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
review.cyanogenmod.org/#/c/159646 and 159642
@arunmcops
---------- Post added at 11:35 AM ---------- Previous post was at 11:33 AM ----------
Look around cm gerrit you'll find tons of fixes
Update :
Already merged all these changes... still getting error
Any suggestions for AOSP error? Manually added the changes in the device tree from. CM Gerrit. Yet stucked at Kernel error. Boot.img is already present in defined place.
arunmcops said:
Any suggestions for AOSP error? Manually added the changes in the device tree from. CM Gerrit. Yet stucked at Kernel error. Boot.img is already present in defined place.
Click to expand...
Click to collapse
I'm not sure, but I think the device/xiaomi/kenzo/kernel file should be the zImage, not the whole boot.img. Maybe try extracting the zImage and building with that?
arunmcops said:
This is the error I am getting in CM-14.0
Code:
error: '/home/****/cm14/out/target/product/kenzo/obj/SHARED_LIBRARIES/libdhcpcd_intermediates/export_includes', needed by '/home/****/cm14/out/target/product/kenzo/obj/EXECUTABLES/ipacm_intermediates/import_includes', missing and no known rule to make it
build/core/ninja.mk:148: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
Click to expand...
Click to collapse
Remove dhcpcd init entries dhcpcd is no more needed.
path: rootdir/init.qcom.rc
adityaupreti said:
Remove dhcpcd init entries dhcpcd is no more needed.
path: rootdir/init.qcom.rc
Click to expand...
Click to collapse
Got new error...
Code:
ninja: error: '/home/arun/cm14/out/target/common/obj/APPS/BasicDreams_intermediates/with-local/classes.dex', needed by '/home/arun/cm14/out/target/common/obj/APPS/BasicDreams_intermediates/classes.dex', missing and no known rule to make it
build/core/ninja.mk:148: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
make: Leaving directory '/home/arun/cm14'
arunmcops said:
Got new error...
Code:
ninja: error: '/home/arun/cm14/out/target/common/obj/APPS/BasicDreams_intermediates/with-local/classes.dex', needed by '/home/arun/cm14/out/target/common/obj/APPS/BasicDreams_intermediates/classes.dex', missing and no known rule to make it
build/core/ninja.mk:148: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
make: Leaving directory '/home/arun/cm14'
Click to expand...
Click to collapse
@arunmcops,
Code:
rm -rf packages/apps/BasicDream
brunch kenzo
adityaupreti said:
@arunmcops,
Code:
rm -rf packages/apps/BasicDream
brunch kenzo
Click to expand...
Click to collapse
Code:
[email protected]:/home/arun/cm14# cd packages/apps/BasicDream
bash: cd: packages/apps/BasicDream: No such file or directory
[email protected]arun:/home/arun/cm14# cd packages/apps
[email protected]:/home/arun/cm14/packages/apps# ls
AudioFX CMWallpapers Launcher3 Snap
BasicSmsReceiver Contacts LockClock SoundRecorder
Bluetooth ContactsCommon ManagedProvisioning Stk
Browser DeskClock Messaging Tag
Calendar Dialer Nfc Terminal
Camera2 Eleven OneTimeInitializer Test
CarrierConfig Email PackageInstaller ThemeChooser
CellBroadcastReceiver EmergencyInfo PhoneCommon Trebuchet
CertInstaller ExactCalculator Profiles TV
CMBugReport Gallery2 Provision TvSettings
CMFileManager Gello Screencast UnifiedEmail
CMParts HTMLViewer Settings WallpaperPicker
CMUpdater KeyChain SetupWizard
BTW there is no packages/apps/BascDream .
Figured it out...
<project path="packages/screensavers/Basic" name="CyanogenMod/android_packages_screensavers_Basic" groups="pdk-fs" />
arunmcops said:
Code:
[email protected]:/home/arun/cm14# cd packages/apps/BasicDream
bash: cd: packages/apps/BasicDream: No such file or directory
[email protected]:/home/arun/cm14# cd packages/apps
[email protected]:/home/arun/cm14/packages/apps# ls
AudioFX CMWallpapers Launcher3 Snap
BasicSmsReceiver Contacts LockClock SoundRecorder
Bluetooth ContactsCommon ManagedProvisioning Stk
Browser DeskClock Messaging Tag
Calendar Dialer Nfc Terminal
Camera2 Eleven OneTimeInitializer Test
CarrierConfig Email PackageInstaller ThemeChooser
CellBroadcastReceiver EmergencyInfo PhoneCommon Trebuchet
CertInstaller ExactCalculator Profiles TV
CMBugReport Gallery2 Provision TvSettings
CMFileManager Gello Screencast UnifiedEmail
CMParts HTMLViewer Settings WallpaperPicker
CMUpdater KeyChain SetupWizard
BTW there is no packages/apps/BascDream .
Click to expand...
Click to collapse
i thought it may be in packages/apps
do
Code:
rm -rf packages/screensavers/Basic
adityaupreti said:
can u show me ur device.mk
Click to expand...
Click to collapse
Figured it out...
Code:
<project path="packages/screensavers/Basic" name="CyanogenMod/android_packages_screensavers_Basic" groups="pdk-fs" />
arunmcops said:
Figured it out...
Code:
<project path="packages/screensavers/Basic" name="CyanogenMod/android_packages_screensavers_Basic" groups="pdk-fs" />
Click to expand...
Click to collapse
yes rm -rf packages/screensavers/Basic
arunmcops said:
Figured it out...
Code:
<project path="packages/screensavers/Basic" name="CyanogenMod/android_packages_screensavers_Basic" groups="pdk-fs" />
Click to expand...
Click to collapse
Now new error
Code:
ninja: error: '/home/arun/cm14/out/target/common/obj/APPS/Bluetooth_intermediates/with-local/classes.dex', needed by '/home/arun/cm14/out/target/common/obj/APPS/Bluetooth_intermediates/classes.dex', missing and no known rule to make it
build/core/ninja.mk:148: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
make: Leaving directory '/home/arun/cm14'
Please help build error
ninja: error: '/home/ost268/Omni/out/target/product/kenzo/obj/STATIC_LIBRARIES/libbatteryservice_intermediates/export_includes', needed by '/home/ost268/Omni/out/target/product/kenzo/obj/EXECUTABLES/healthd_intermediates/import_includes', missing and no known rule to make it
make: *** [ninja_wrapper] Error 1
Click to expand...
Click to collapse
BoardConfig.mk
ninja off - USE_NINJA := false
ninja on - USE_NINJA := true
Did you build it successfully??
arunmcops said:
Now new error
Code:
ninja: error: '/home/arun/cm14/out/target/common/obj/APPS/Bluetooth_intermediates/with-local/classes.dex', needed by '/home/arun/cm14/out/target/common/obj/APPS/Bluetooth_intermediates/classes.dex', missing and no known rule to make it
build/core/ninja.mk:148: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
make: Leaving directory '/home/arun/cm14'
Click to expand...
Click to collapse
@arunmcops @adityaupreti Stuck at same error - Carbon for Athene though. I changed the
Code:
BOARD_HAVE_BLUETOOTH_QCOM := true
to
Code:
BOARD_HAVE_BLUETOOTH_QCOM := false
Still getting the same thing. Any help?
If you have
Code:
ANDROID_COMPILE_WITH_JACK := false
in your BoardConfig.mk then remove that line.
Then you have to enter this command for disabling Jack for one build:
Code:
export USE_NINJA=false
or adding that line into bottom of ~/.bashrc to disable Jack on every build
That worked for me
ninja: Entering directory `.'
ninja: error: '/home/rushidhanawade123/lineage/out/target/product/kenzo/obj_arm/SHARED_LIBRARIES/libts_face_beautify_hal_intermediates/export_
includes', needed by '/home/rushidhanawade123/lineage/out/target/product/kenzo/obj_arm/SHARED_LIBRARIES/camera.msm8952_intermediates/import_in
cludes', missing and no known rule to make it
build/core/ninja.mk:151: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
plzz help me with these
So,... since I like total Independence and would like to fiddle around with my CM build even when sitting inside my nuclear bunker ruing my Laptop or a old Diesel generator.
I set up a fresh BBQ Linux VM while connected to the net and ran:
Code:
repo init -u https://github.com/CyanogenMod/android.git -b stable/cm-13.0-ZNH5Y
# now i added my manifest file to the local_manifests folder
repo sync
source build/envsetup.sh
breakfast oneplus3
so far so good, i should have all files needed for building ready to go on the virtual HDD so I unplugged the internet and ran
Code:
make clobber
brunch oneplus3
but that gave me an error after only a few minutes into the build:
Code:
Notice file: external/libvpx/NOTICE -- /home/me/Android/cm-13.0/out/target/product/oneplus3/obj/NOTICE_FILES/src//system/lib64/libvpx.a.txt
Notice file: external/libvpx/NOTICE -- /home/me/Android/cm-13.0/out/target/product/oneplus3/obj/NOTICE_FILES/src//system/lib/libvpx.a.txt
Notice file: external/libvpx/NOTICE -- /home/me/Android/cm-13.0/out/target/product/oneplus3/obj/NOTICE_FILES/src//system/lib64/libwebm.a.txt
Notice file: external/libvpx/NOTICE -- /home/me/Android/cm-13.0/out/target/product/oneplus3/obj/NOTICE_FILES/src//system/lib/libwebm.a.txt
Notice file: frameworks/av/media/libstagefright/mpeg2ts/NOTICE -- /home/me/Android/cm-13.0/out/target/product/oneplus3/obj/NOTICE_FILES/src//system/lib64/libstagefright_mpeg2ts.a.txt
Notice file: frameworks/av/media/libstagefright/mpeg2ts/NOTICE -- /home/me/Android/cm-13.0/out/target/product/oneplus3/obj/NOTICE_FILES/src//system/lib/libstagefright_mpeg2ts.a.txt
Notice file: frameworks/av/media/libstagefright/id3/NOTICE -- /home/me/Android/cm-13.0/out/target/product/oneplus3/obj/NOTICE_FILES/src//system/lib64/libstagefright_id3.a.txt
Notice file: frameworks/av/media/libstagefright/id3/NOTICE -- /home/me/Android/cm-13.0/out/target/product/oneplus3/obj/NOTICE_FILES/src//system/lib/libstagefright_id3.a.txt
[ERROR] Plugin org.apache.maven.plugins:maven-dependency-plugin:2.10 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-dependency-plugin:jar:2.10: Could not transfer artifact org.apache.maven.plugins:maven-dependency-plugin:pom:2.10 from/to central (https://repo.maven.apache.org/maven2): repo.maven.apache.org: Name or service not known: Unknown host repo.maven.apache.org: Name or service not known -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] Plugin org.apache.maven.plugins:maven-dependency-plugin:2.10 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-dependency-plugin:jar:2.10: Could not transfer artifact org.apache.maven.plugins:maven-dependency-plugin:pom:2.10 from/to central (https://repo.maven.apache.org/maven2): repo.maven.apache.org: Name or service not known: Unknown host repo.maven.apache.org: Name or service not known -> [Help 1]Notice file: external/flac/libFLAC/NOTICE -- /home/me/Android/cm-13.0/out/target/product/oneplus3/obj/NOTICE_FILES/src//system/lib64/libFLAC.a.txt
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException
Notice file: external/flac/libFLAC/NOTICE -- /home/me/Android/cm-13.0/out/target/product/oneplus3/obj/NOTICE_FILES/src//system/lib/libFLAC.a.txt
Notice file: frameworks/av/drm/libdrmframework/NOTICE -- /home/me/Android/cm-13.0/out/target/product/oneplus3/obj/NOTICE_FILES/src//system/lib/libdrmframework.so.txt
Notice file: frameworks/av/drm/common/NOTICE -- /home/me/Android/cm-13.0/out/target/product/oneplus3/obj/NOTICE_FILES/src//system/lib64/libdrmframeworkcommon.a.txt
make: *** [vendor/cm/build/core/maven_artifact.mk:42: /home/me/Android/cm-13.0/out/target/common/obj/APPS/Gello_intermediates/org.cyanogenmod.gello-29.apk] Error 1
make: *** Waiting for unfinished jobs....
make: *** [vendor/cm/build/core/maven_artifact.mk:42: /home/me/Android/cm-13.0/out/target/common/obj/JAVA_LIBRARIES/ambientsdk_intermediates/com.cyngn.ambient.ambientsdk-1.5.11.aar] Error 1
warning: [options] bootstrap class path not set in conjunction with -source 1.6
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 warning
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: Leaving directory '/home/me/Android/cm-13.0'
#### make failed to build some targets (02:11 (mm:ss)) ####
NOT Cool!
Does anyone know how what to change in order to get a source copy that can be build entirely offline?
DavidXanatos said:
So,... since I like total Independence and would like to fiddle around with my CM build even when sitting inside my nuclear bunker ruing my Laptop or a old Diesel generator.
I set up a fresh BBQ Linux VM while connected to the net and ran:
Code:
repo init -u https://github.com/CyanogenMod/android.git -b stable/cm-13.0-ZNH5Y
# now i added my manifest file to the local_manifests folder
repo sync
source build/envsetup.sh
breakfast oneplus3
so far so good, i should have all files needed for building ready to go on the virtual HDD so I unplugged the internet and ran
Code:
make clobber
brunch oneplus3
but that gave me an error after only a few minutes into the build:
Code:
Notice file: external/libvpx/NOTICE -- /home/me/Android/cm-13.0/out/target/product/oneplus3/obj/NOTICE_FILES/src//system/lib64/libvpx.a.txt
Notice file: external/libvpx/NOTICE -- /home/me/Android/cm-13.0/out/target/product/oneplus3/obj/NOTICE_FILES/src//system/lib/libvpx.a.txt
Notice file: external/libvpx/NOTICE -- /home/me/Android/cm-13.0/out/target/product/oneplus3/obj/NOTICE_FILES/src//system/lib64/libwebm.a.txt
Notice file: external/libvpx/NOTICE -- /home/me/Android/cm-13.0/out/target/product/oneplus3/obj/NOTICE_FILES/src//system/lib/libwebm.a.txt
Notice file: frameworks/av/media/libstagefright/mpeg2ts/NOTICE -- /home/me/Android/cm-13.0/out/target/product/oneplus3/obj/NOTICE_FILES/src//system/lib64/libstagefright_mpeg2ts.a.txt
Notice file: frameworks/av/media/libstagefright/mpeg2ts/NOTICE -- /home/me/Android/cm-13.0/out/target/product/oneplus3/obj/NOTICE_FILES/src//system/lib/libstagefright_mpeg2ts.a.txt
Notice file: frameworks/av/media/libstagefright/id3/NOTICE -- /home/me/Android/cm-13.0/out/target/product/oneplus3/obj/NOTICE_FILES/src//system/lib64/libstagefright_id3.a.txt
Notice file: frameworks/av/media/libstagefright/id3/NOTICE -- /home/me/Android/cm-13.0/out/target/product/oneplus3/obj/NOTICE_FILES/src//system/lib/libstagefright_id3.a.txt
[ERROR] Plugin org.apache.maven.plugins:maven-dependency-plugin:2.10 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-dependency-plugin:jar:2.10: Could not transfer artifact org.apache.maven.plugins:maven-dependency-plugin:pom:2.10 from/to central (https://repo.maven.apache.org/maven2): repo.maven.apache.org: Name or service not known: Unknown host repo.maven.apache.org: Name or service not known -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] Plugin org.apache.maven.plugins:maven-dependency-plugin:2.10 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-dependency-plugin:jar:2.10: Could not transfer artifact org.apache.maven.plugins:maven-dependency-plugin:pom:2.10 from/to central (https://repo.maven.apache.org/maven2): repo.maven.apache.org: Name or service not known: Unknown host repo.maven.apache.org: Name or service not known -> [Help 1]Notice file: external/flac/libFLAC/NOTICE -- /home/me/Android/cm-13.0/out/target/product/oneplus3/obj/NOTICE_FILES/src//system/lib64/libFLAC.a.txt
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException
Notice file: external/flac/libFLAC/NOTICE -- /home/me/Android/cm-13.0/out/target/product/oneplus3/obj/NOTICE_FILES/src//system/lib/libFLAC.a.txt
Notice file: frameworks/av/drm/libdrmframework/NOTICE -- /home/me/Android/cm-13.0/out/target/product/oneplus3/obj/NOTICE_FILES/src//system/lib/libdrmframework.so.txt
Notice file: frameworks/av/drm/common/NOTICE -- /home/me/Android/cm-13.0/out/target/product/oneplus3/obj/NOTICE_FILES/src//system/lib64/libdrmframeworkcommon.a.txt
make: *** [vendor/cm/build/core/maven_artifact.mk:42: /home/me/Android/cm-13.0/out/target/common/obj/APPS/Gello_intermediates/org.cyanogenmod.gello-29.apk] Error 1
make: *** Waiting for unfinished jobs....
make: *** [vendor/cm/build/core/maven_artifact.mk:42: /home/me/Android/cm-13.0/out/target/common/obj/JAVA_LIBRARIES/ambientsdk_intermediates/com.cyngn.ambient.ambientsdk-1.5.11.aar] Error 1
warning: [options] bootstrap class path not set in conjunction with -source 1.6
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 warning
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: Leaving directory '/home/me/Android/cm-13.0'
#### make failed to build some targets (02:11 (mm:ss)) ####
NOT Cool!
Does anyone know how what to change in order to get a source copy that can be build entirely offline?
Click to expand...
Click to collapse
The problem is a Gello browser
Sent from my GT-S7580 using Tapatalk
and how do i fix that?
well after removing booth gello repos i still get an error refering to this apache maven thingy
DavidXanatos said:
well after removing booth gello repos i still get an error refering to this apache maven thingy
Click to expand...
Click to collapse
Try to remove maven_artifact.mk in vendor/cm/build/core
Sent from my GT-S7580 using Tapatalk
DavidXanatos said:
well after removing booth gello repos i still get an error refering to this apache maven thingy
Click to expand...
Click to collapse
Hi David have you resolved this?
I am getting same error as you... & wont found any solution.
did work above solution to you?
No it did not work.
My solution in the end was to run a build once (after a clean vm snapshot), and let it download this maven Sh!7 it ends up in ~/.m than i just put this .m directory into a *.tar.gz and copied it onto the desktop. Than I could revert to the clean snapshot, put the .m directory where it belonged out of the archive. After that I could use the snapshot for a offline build without further problems.
Its not the prettiest solution but it worked for me good enough to stick with it.
Cheers
David X.
somadsul said:
Hi David have you resolved this?
I am getting same error as you... & wont found any solution.
did work above solution to you?
Click to expand...
Click to collapse
DavidXanatos said:
No it did not work.
My solution in the end was to run a build once (after a clean vm snapshot), and let it download this maven Sh!7 it ends up in ~/.m than i just put this .m directory into a *.tar.gz and copied it onto the desktop. Than I could revert to the clean snapshot, put the .m directory where it belonged out of the archive. After that I could use the snapshot for a offline build without further problems.
Its not the prettiest solution but it worked for me good enough to stick with it.
Cheers
David X.
Click to expand...
Click to collapse
Navigate to vendor/cm/ and delete gello folder . issue will be solved .
Hi, I meet the same problem on CM13, Did you solve this problem?
Not sure if this is the right place or not. if it isnt mods feel free to move it to any where you ever desire.
Im trying to build cm13 unofficial from source i downloaded and im following this guide: http://xda-university.com/as-a-developer/getting-started-building-android-from-source
And i used this guide to get source code etc downloaded: https://nathanpfry.com/how-to-setup-ubuntu-16-04-lts-xenial-xerus-to-compile-android-roms/
Im using openjdk 8.
But i get this error when building:
Code:
Export includes file: packages/apps/Gallery2/jni_jpegstream/Android.mk -- /home/user/android/out/target/product/mako/obj/SHARED_LIBRARIES/libjni_jpegstream_intermediates/export_includes
target Strip: libjni_jpegstream (/home/user/android/out/target/product/mako/obj/lib/libjni_jpegstream.so)
Install: /home/user/android/out/target/product/mako/system/lib/libjni_jpegstream.so
Install: /home/user/android/out/target/product/mako/system/app/Gallery2/Gallery2.apk
mkdir -p /home/user/android/out/target/product/mako/system/app/Gallery2/lib/arm ;ln -sf /system/lib/libjni_eglfence.so /home/user/android/out/target/product/mako/system/app/Gallery2/lib/arm/libjni_eglfence.so ;ln -sf /system/lib/libjni_filtershow_filters.so /home/user/android/out/target/product/mako/system/app/Gallery2/lib/arm/libjni_filtershow_filters.so ;ln -sf /system/lib/librsjni.so /home/user/android/out/target/product/mako/system/app/Gallery2/lib/arm/librsjni.so ;ln -sf /system/lib/libjni_jpegstream.so /home/user/android/out/target/product/mako/system/app/Gallery2/lib/arm/libjni_jpegstream.so
[ERROR] Plugin org.apache.maven.plugins:maven-dependency-plugin:2.10 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-dependency-plugin:jar:2.10: Could not transfer artifact org.apache.maven.plugins:maven-dependency-plugin:pom:2.10 from/to central (https://repo.maven.apache.org/maven2): repo.maven.apache.org: Temporary failure in name resolution: Unknown host repo.maven.apache.org: Temporary failure in name resolution -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException
vendor/cm/build/core/maven_artifact.mk:42: recipe for target '/home/user/android/out/target/common/obj/APPS/Gello_intermediates/org.cyanogenmod.gello-40.apk' failed
make: *** [/home/user/android/out/target/common/obj/APPS/Gello_intermediates/org.cyanogenmod.gello-40.apk] Error 1
#### make failed to build some targets (01:23:35 (hh:mm:ss)) ####
Also the update.zip isnt there in that folder that they stated in last in the building cm link but i guess thats because of the errors?
Any help would be good, Thanks
You have this in your debug log
Code:
Unknown host repo.maven.apache.org
Please check your internet connection. Something is wrong.
You are missing a package called maven. Run this command:
sudo apt-get install maven
Click to expand...
Click to collapse
Nitin
I was able to compile rom successfully now. but its stuck at google logo any ideas?
Hello guys! I last time i successfully build android roms,and i reinstall my Ubuntu and now i got the following error. I tried it both RR,and AICP,Omni... but all of them showed me that error. Please help me! (maven installed.)
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:2.10:get (default-cli) on project standalone-pom: Couldn't download artifact: Could not transfer artifact org.cyanogenmod:gello:apk:37 from/to central (https://maven.cyanogenmod.org/artifactory/gello_prebuilds): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
[ERROR] org.cyanogenmod:gello:apk:37
[ERROR]
[ERROR] from the specified remote repositories:
[ERROR] central (https://repo.maven.apache.org/maven2, releases=true, snapshots=false),
[ERROR] central (https://maven.cyanogenmod.org/artifactory/gello_prebuilds, releases=true, snapshots=true)
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
vendor/aicp/build/core/maven_artifact.mk:42: recipe for target '/home/android/AICP-MM/out/target/common/obj/APPS/Gello_intermediates/org.cyanogenmod.gello-37.apk' failed
make: *** [/home/android/AICP-MM/out/target/common/obj/APPS/Gello_intermediates/org.cyanogenmod.gello-37.apk] Error 1
make: *** Waiting for unfinished jobs....
warning: [options] bootstrap class path not set in conjunction with -source 1.6
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 warning
make: Leaving directory '/home/android/AICP-MM'
#### make failed to build some targets in 04m:14s
PLEASE HELP ME I WANT TO MAKE ROMS AGAIN!!!
Remove gello from your device.mk under product packages in your device tree and try recompiling again
Sent from my SM-A9100 using Tapatalk
I am experiencing the same issue, I have tried to remove Gello but the error is still showing up. This is my first time compiling a ROM, please help. Thank you
osas514 said:
Remove gello from your device.mk under product packages in your device tree and try recompiling again
Sent from my SM-A9100 using Tapatalk
Click to expand...
Click to collapse
Thank you my friend! I hope you try my any rom once.
wsydgx said:
I am experiencing the same issue, I have tried to remove Gello but the error is still showing up. This is my first time compiling a ROM, please help. Thank you
Click to expand...
Click to collapse
Can you post your own error log?
Sent from my SM-A9100 using Tapatalk
osas514 said:
Can you post your own error log?
Sent from my SM-A9100 using Tapatalk
Click to expand...
Click to collapse
So you so much for your help, it turns out I had to delete 2 Gello folders. after that it complied and I made my first ROM (through copying and pasting)
as the title says i have a probmel with building twrp
i get this error
Copying baseline ramdisk...
cp: cannot stat '/home/wajdi/Documents/omni/out/target/product/wingray/system/bin/adbd': No such file or directory
ninja: build stopped: subcommand failed.
13:33:35 ninja failed with: exit status 1
Wajdi Muhtadi said:
as the title says i have a probmel with building twrp
i get this error
Copying baseline ramdisk...
cp: cannot stat '/home/wajdi/Documents/omni/out/target/product/wingray/system/bin/adbd': No such file or directory
ninja: build stopped: subcommand failed.
13:33:35 ninja failed with: exit status 1
Click to expand...
Click to collapse
Did you ever figure this out? I have exactly the same problem.
ianmacd said:
Did you ever figure this out? I have exactly the same problem.
Click to expand...
Click to collapse
I have the same problem, have u solve it ?
kongkongyzt said:
I have the same problem, have u solve it ?
Click to expand...
Click to collapse
OK, I have solved this problem just now...
After I reading the .repo/manifest.xml , I was surprised to find the boot/recovery source code is from AOSP, not TWRP, which means when I type `make recoveryimage ` command, it doesn't compiling TWRP but AOSP's recovery.... so there is no doubt coming to this error.......
And I `rm -rf bootable/recovery` and git clone from github, omnirom/android_bootable_recovery, trying to recompile, it show's that I miss busybox folder, which is should required by TWRP but not exists from manifest.xml........
Maybe the omni team has remove TWRP from their manifest.xml, who knows? And I decide to try TWRP minimal install and I success,
repo init -u <URL> -b twrp-8.1 // XDA not allow me post the link, so the github project name is platform_manifest_twrp_omni
repo sync
git clone <your/device/twrp/tree> // this is my device tree, you should replace to your
export ALLOW_MISSING_DEPENDENCIES=true // remember to add this or u will get tons of unnecessary error.
source build/envsetup.sh
lunch omni_<device>-eng; mka recoveryimage