Skip to content

Instantly share code, notes, and snippets.

@shurane
Created January 11, 2013 08:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shurane/4508812 to your computer and use it in GitHub Desktop.
Save shurane/4508812 to your computer and use it in GitHub Desktop.
lsb_release -a
# No LSB modules are available.
# Distributor ID: Ubuntu
# Description: Ubuntu 12.04.1 LTS
# Release: 12.04
# Codename: precise
uname -a
# Linux un 3.2.0-29-generic #46-Ubuntu SMP Fri Jul 27 17:03:23 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
repo version
# repo version v1.12.0
# (from https://gerrit.googlesource.com/git-repo)
# repo launcher version 1.19
# (from /home/kikin/bin/repo)
# git version 1.7.9.5
# Python 2.7.3 (default, Aug 1 2012, 05:14:39)
# [GCC 4.6.3]
adb version
# Android Debug Bridge version 1.0.29
repo init -u git://github.com/AOKP/platform_manifest.git -b jb --reference=/mnt/projects/AOKP_MIRROR/
repo sync
## yay, errors!
# error: The requested URL returned error: 502 while accessing https://github.com/AOKP/vendor_samsung/info/refs
# fatal: HTTP request failed
# error: The requested URL returned error: 502 while accessing https://github.com/AOKP/vendor_samsung/info/refs
# fatal: HTTP request failed
# error: Cannot fetch AOKP/vendor_samsung
repo sync
source build/envsetup.sh; breakfast aokp_maguro-userdebug
mka &> make.output.maguro.2
## yay, errors!
## ... previous lines ...
# host C++:libutils <= frameworks/native/libs/utils/ZipFileCRO.cpp
# host C++:libutils <= frameworks/native/libs/utils/ZipFileRO.cpp
# host C++:libutils <= frameworks/native/libs/utils/ZipUtils.cpp
# host C++:libutils <= frameworks/native/libs/utils/misc.cpp
# host C++:libutils <= frameworks/native/libs/utils/Looper.cpp
# host StaticLib:liblog (out/host/linux-x86/obj/STATIC_LIBRARIES/liblog_intermediates/liblog.a)
# host StaticLib:libcutils (out/host/linux-x86/obj/STATIC_LIBRARIES/libcutils_intermediates/libcutils.a)
# host StaticLib:libexpat (out/host/linux-x86/obj/STATIC_LIBRARIES/libexpat_intermediates/libexpat.a)
# host StaticLib:libpng (out/host/linux-x86/obj/STATIC_LIBRARIES/libpng_intermediates/libpng.a)
# Install: /home/kikin/projects-android/AOKP/out/host/linux-x86/framework/jarjar.jar
# make: *** No rule to make target `frameworks/base/core/java/android/content/pm/PackageCleanItem.aidl', needed by `out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/src/core/java/android/content/pm/IPackageManager.java'. Stop.
# make: *** Waiting for unfinished jobs....
# host Executable:aidl (out/host/linux-x86/obj/EXECUTABLES/aidl_intermediates/aidl)
# true
make clean
repo sync
mka &> make.output.maguro.3
## yay, errors!
## ... previous lines ...
# out/target/common/obj/PACKAGING/public_api.txt:1512: error 5: Added public field android.R.string.update_weather
# out/target/common/obj/PACKAGING/public_api.txt:4084: error 3: Added class VibrationPickerDialog to package android.app
# out/target/common/obj/PACKAGING/public_api.txt:9177: error 4: Added public method android.graphics.drawable.AnimationDrawable.setOnAnimationFinishedListener
# out/target/common/obj/PACKAGING/public_api.txt:9183: error 3: Added class AnimationDrawable.OnAnimationFinishedListener to package android.graphics.drawable
# out/target/common/obj/PACKAGING/public_api.txt:11905: error 3: Added class VibrationPattern to package android.media
# out/target/common/obj/PACKAGING/public_api.txt:17221: error 5: Added public field android.provider.Contacts.PeopleColumns.CUSTOM_VIBRATION
# out/target/common/obj/PACKAGING/public_api.txt:17567: error 5: Added public field android.provider.ContactsContract.ContactOptionsColumns.CUSTOM_VIBRATION
# out/target/common/obj/PACKAGING/public_api.txt:18527: error 5: Added public field android.provider.Settings.System.DEFAULT_VIBRATION_URI
# out/target/common/obj/PACKAGING/public_api.txt:18533: error 5: Added public field android.provider.Settings.System.FORCE_DUAL_PANEL
# out/target/common/obj/PACKAGING/public_api.txt:18535: error 5: Added public field android.provider.Settings.System.HAPTIC_FEEDBACK_TOGGLES_ENABLED
# out/target/common/obj/PACKAGING/public_api.txt:18536: error 5: Added public field android.provider.Settings.System.HIDE_EXTRAS_SYSTEM_BAR
# out/target/common/obj/PACKAGING/public_api.txt:18546: error 5: Added public field android.provider.Settings.System.MODE_TABLET_UI
# out/target/common/obj/PACKAGING/public_api.txt:18548: error 5: Added public field android.provider.Settings.System.NAVIGATION_BAR_WIDGETS
# out/target/common/obj/PACKAGING/public_api.txt:18555: error 5: Added public field android.provider.Settings.System.PHONE_VIBRATION
# out/target/common/obj/PACKAGING/public_api.txt:18573: error 5: Added public field android.provider.Settings.System.SYSTEMUI_SOFTKEY_IME_SWITCHER
# out/target/common/obj/PACKAGING/public_api.txt:18574: error 5: Added public field android.provider.Settings.System.SYSTEMUI_SOFTKEY_KILL_PROCESS
# out/target/common/obj/PACKAGING/public_api.txt:18575: error 5: Added public field android.provider.Settings.System.SYSTEMUI_SOFTKEY_REBOOT
# out/target/common/obj/PACKAGING/public_api.txt:18576: error 5: Added public field android.provider.Settings.System.SYSTEMUI_SOFTKEY_RING_SILENT
# out/target/common/obj/PACKAGING/public_api.txt:18577: error 5: Added public field android.provider.Settings.System.SYSTEMUI_SOFTKEY_RING_VIB
# out/target/common/obj/PACKAGING/public_api.txt:18578: error 5: Added public field android.provider.Settings.System.SYSTEMUI_SOFTKEY_RING_VIB_SILENT
# out/target/common/obj/PACKAGING/public_api.txt:18579: error 5: Added public field android.provider.Settings.System.SYSTEMUI_SOFTKEY_SCREENOFF
# out/target/common/obj/PACKAGING/public_api.txt:18580: error 5: Added public field android.provider.Settings.System.SYSTEMUI_SOFTKEY_SCREENSHOT
#
# ******************************
# You have tried to change the API from what has been previously approved.
#
# To make these errors go away, you have two choices:
# 1) You can add "@hide" javadoc comments to the methods, etc. listed in the
# errors above.
#
# 2) You can update current.txt by executing the following command:
# make update-api
# ^^^^^^^^^^^^^^^^^^
# NO. NO. STOP BEING LAZY. SERIOUSLY.
# DO NOT DO THIS in CM. THIS IS A LIE. IF YOU DO THIS I WILL HATE YOU.
# USE OPTION #1.
# -Koush
#
#
# To submit the revised current.txt to the main Android repository,
# you will need approval.
# ******************************
#
#
#
# make: *** [out/target/common/obj/PACKAGING/checkapi-current-timestamp] Error 38
# make: *** Waiting for unfinished jobs....
# DroidDoc took 150 sec. to write docs to out/target/common/docs/doc-comment-check
make update-api
mka &> make.output.maguro.4
## success!
## why is it this convoluted?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment