Build Android 8.0 error .Help me please! - Android Q&A, Help & Troubleshooting

Code:
FAILED: /home/jack/Mokee/O/out/target/common/docs/mokee-api-stubs-timestamp
/bin/bash -c "(mkdir -p /home/jack/Mokee/O/out/target/common/obj/JAVA_LIBRARIES/mokee-api-stubs_intermediates/ ) && (rm -f /home/jack/Mokee/O/out/target/common/obj/JAVA_LIBRARIES/mokee-api-stubs_intermediates/droiddoc-src-list ) && (touch /home/jack/Mokee/O/out/target/common/obj/JAVA_LIBRARIES/mokee-api-stubs_intermediates/droiddoc-src-list ) && (echo -n 'mokee-sdk/sdk/src/java/mokee/alarmclock/ClockContract.java mokee-sdk/sdk/src/java/mokee/alarmclock/MoKeeAlarmClock.java mokee-sdk/sdk/src/java/mokee/app/CustomTile.java mokee-sdk/sdk/src/java/mokee/app/CustomTileListenerService.java mokee-sdk/sdk/src/java/mokee/app/MKContextConstants.java mokee-sdk/sdk/src/java/mokee/app/MKStatusBarManager.java mokee-sdk/sdk/src/java/mokee/app/MKTelephonyManager.java mokee-sdk/sdk/src/java/mokee/app/Profile.java mokee-sdk/sdk/src/java/mokee/app/ProfileGroup.java mokee-sdk/sdk/src/java/mokee/app/ProfileManager.java mokee-sdk/sdk/src/java/mokee/app/StatusBarPanelCustomTile.java mokee-sdk/sdk/src/java/mokee/content/Intent.java mokee-sdk/sdk/src/java/mokee/externalviews/ExternalView.java mokee-sdk/sdk/src/java/mokee/externalviews/ExternalViewProperties.java mokee-sdk/sdk/src/java/mokee/externalviews/ExternalViewProviderService.java mokee-sdk/sdk/src/java/mokee/hardware/DisplayMode.java mokee-sdk/sdk/src/java/mokee/hardware/HSIC.java mokee-sdk/sdk/src/java/mokee/hardware/LiveDisplayConfig.java mokee-sdk/sdk/src/java/mokee/hardware/LiveDisplayManager.java mokee-sdk/sdk/src/java/mokee/hardware/MKHardwareManager.java mokee-sdk/sdk/src/java/mokee/hardware/ThermalListenerCallback.java mokee-sdk/sdk/src/java/mokee/hardware/TouchscreenGesture.java mokee-sdk/sdk/src/java/mokee/media/AudioSessionInfo.java mokee-sdk/sdk/src/java/mokee/media/MKAudioManager.java mokee-sdk/sdk/src/java/mokee/media/MediaRecorder.java mokee-sdk/sdk/src/java/mokee/os/Build.java mokee-sdk/sdk/src/java/mokee/os/Concierge.java mokee-sdk/sdk/src/java/mokee/power/PerformanceManager.java mokee-sdk/sdk/src/java/mokee/power/PerformanceManagerInternal.java mokee-sdk/sdk/src/java/mokee/power/PerformanceProfile.java mokee-sdk/sdk/src/java/mokee/preference/ConstraintsHelper.java mokee-sdk/sdk/src/java/mokee/preference/GlobalSettingSwitchPreference.java mokee-sdk/sdk/src/java/mokee/preference/MKGlobalSettingSwitchPreference.java mokee-sdk/sdk/src/java/mokee/preference/MKSecureSettingListPreference.java mokee-sdk/sdk/src/java/mokee/preference/MKSecureSettingSwitchPreference.java mokee-sdk/sdk/src/java/mokee/preference/MKSystemSettingDropDownPreference.java mokee-sdk/sdk/src/java/mokee/preference/MKSystemSettingListPreference.java mokee-sdk/sdk/src/java/mokee/preference/MKSystemSettingSwitchPreference.java mokee-sdk/sdk/src/java/mokee/preference/RemotePreference.java mokee-sdk/sdk/src/java/mokee/preference/RemotePreferenceManager.java mokee-sdk/sdk/src/java/mokee/preference/RemotePreferenceUpdater.java mokee-sdk/sdk/src/java/mokee/preference/SecureSettingSwitchPreference.java mokee-sdk/sdk/src/java/mokee/preference/SelfRemovingDropDownPreference.java mokee-sdk/sdk/src/java/mokee/preference/SelfRemovingListPreference.java mokee-sdk/sdk/src/java/mokee/preference/SelfRemovingPreference.java mokee-sdk/sdk/src/java/mokee/preference/SelfRemovingSwitchPreference.java mokee-sdk/sdk/src/java/mokee/preference/SettingsHelper.java mokee-sdk/sdk/src/java/mokee/preference/SystemSettingSwitchPreference.java mokee-sdk/sdk/src/java/mokee/profiles/AirplaneModeSettings.java mokee-sdk/sdk/src/java/mokee/profiles/BrightnessSettings.java mokee-sdk/sdk/src/java/mokee/profiles/ConnectionSettings.java mokee-sdk/sdk/src/java/mokee/profiles/LockSettings.java mokee-sdk/sdk/src/java/mokee/profiles/RingModeSettings.java mokee-sdk/sdk/src/java/mokee/profiles/StreamSettings.java mokee-sdk/sdk/src/java/mokee/providers/DataUsageContract.java mokee-sdk/sdk/src/java/mokee/providers/MKSettings.java mokee-sdk/sdk/src/java/mokee/providers/WeatherContract.java mokee-sdk/sdk/src/java/mokee/util/ColorUtils.java mokee-sdk/sdk/src/java/mokee/util/palette/ColorCutQuantizer.java mokee-sdk/sdk/src/java/mokee/util/palette/ColorUtils.java mokee-sdk/sdk/src/java/mokee/util/palette/DefaultGenerator.java mokee-sdk/sdk/src/java/mokee/util/palette/Palette.java mokee-sdk/sdk/src/java/mokee/weather/MKWeatherManager.java mokee-sdk/sdk/src/java/mokee/weather/RequestInfo.java mokee-sdk/sdk/src/java/mokee/weather/WeatherInfo.java mokee-sdk/sdk/src/java/mokee/weather/WeatherLocation.java mokee-sdk/sdk/src/java/mokee/weather/util/WeatherUtils.java mokee-sdk/sdk/src/java/mokee/weatherservice/ServiceRequest.java mokee-sdk/sdk/src/java/mokee/weatherservice/ServiceRequestResult.java mokee-sdk/sdk/src/java/mokee/weatherservice/WeatherProviderService.java /home/jack/Mokee/O/out/target/common/obj/APPS/org.mokee.platform-res_intermediates/src/mokee/platform/R.java /home/jack/Mokee/O/out/target/common/obj/APPS/org.mokee.platform-res_intermediates/src/mokee/platform/Manifest.java /home/jack/Mokee/O/out/target/common/obj/APPS/org.mokee.platform-res_intermediates/src/org/mokee/platform/internal/R.java ' >> /home/jack/Mokee/O/out/target/common/obj/JAVA_LIBRARIES/mokee-api-stubs_intermediates/droiddoc-src-list ) && (for d in /home/jack/Mokee/O/out/target/common/obj/JAVA_LIBRARIES/mokee-api-stubs_intermediates/src /home/jack/Mokee/O/out/target/common/obj/JAVA_LIBRARIES/org.mokee.platform.sdk_intermediates/src ; do find \$d -name '*.java' -and -not -name '.*' >> /home/jack/Mokee/O/out/target/common/obj/JAVA_LIBRARIES/mokee-api-stubs_intermediates/droiddoc-src-list 2> /dev/null ; done ; true ) && (( javadoc -encoding UTF-8 \\@/home/jack/Mokee/O/out/target/common/obj/JAVA_LIBRARIES/mokee-api-stubs_intermediates/droiddoc-src-list -J-Xmx1600m -J-XX:-OmitStackTraceInFastThrow -XDignore.symbol.file -quiet -doclet com.google.doclava.Doclava -docletpath /home/jack/Mokee/O/out/host/linux-x86/framework/jsilver.jar:/home/jack/Mokee/O/out/host/linux-x86/framework/doclava.jar -templatedir build/tools/droiddoc/templates-sdk -bootclasspath /home/jack/Mokee/O/out/target/common/obj/JAVA_LIBRARIES/core-oj_intermediates/classes.jar:/home/jack/Mokee/O/out/target/common/obj/JAVA_LIBRARIES/core-libart_intermediates/classes.jar -classpath /home/jack/Mokee/O/out/target/common/obj/JAVA_LIBRARIES/core-libart_intermediates/classes.jar:/home/jack/Mokee/O/out/target/common/obj/JAVA_LIBRARIES/core-oj_intermediates/classes.jar:/home/jack/Mokee/O/out/target/common/obj/JAVA_LIBRARIES/ext_intermediates/classes.jar:/home/jack/Mokee/O/out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/classes.jar:/home/jack/Mokee/O/out/target/common/obj/JAVA_LIBRARIES/org.mokee.platform.sdk_intermediates/classes.jar: -sourcepath sdk/src/java/mokee/alarmclock/ClockContract.java:sdk/src/java/mokee/alarmclock/MoKeeAlarmClock.java:sdk/src/java/mokee/app/CustomTile.java:sdk/src/java/mokee/app/CustomTileListenerService.java:sdk/src/java/mokee/app/MKContextConstants.java:sdk/src/java/mokee/app/MKStatusBarManager.java:sdk/src/java/mokee/app/MKTelephonyManager.java:sdk/src/java/mokee/app/Profile.java:sdk/src/java/mokee/app/ProfileGroup.java:sdk/src/java/mokee/app/ProfileManager.java:sdk/src/java/mokee/app/StatusBarPanelCustomTile.java:sdk/src/java/mokee/content/Intent.java:sdk/src/java/mokee/externalviews/ExternalView.java:sdk/src/java/mokee/externalviews/ExternalViewProperties.java:sdk/src/java/mokee/externalviews/ExternalViewProviderService.java:sdk/src/java/mokee/hardware/DisplayMode.java:sdk/src/java/mokee/hardware/HSIC.java:sdk/src/java/mokee/hardware/LiveDisplayConfig.java:sdk/src/java/mokee/hardware/LiveDisplayManager.java:sdk/src/java/mokee/hardware/MKHardwareManager.java:sdk/src/java/mokee/hardware/ThermalListenerCallback.java:sdk/src/java/mokee/hardware/TouchscreenGesture.java:sdk/src/java/mokee/media/AudioSessionInfo.java:sdk/src/java/mokee/media/MKAudioManager.java:sdk/src/java/mokee/media/MediaRecorder.java:sdk/src/java/mokee/os/Build.java:sdk/src/java/mokee/os/Concierge.java:sdk/src/java/mokee/power/PerformanceManager.java:sdk/src/java/mokee/power/PerformanceManagerInternal.java:sdk/src/java/mokee/power/PerformanceProfile.java:sdk/src/java/mokee/preference/ConstraintsHelper.java:sdk/src/java/mokee/preference/GlobalSettingSwitchPreference.java:sdk/src/java/mokee/preference/MKGlobalSettingSwitchPreference.java:sdk/src/java/mokee/preference/MKSecureSettingListPreference.java:sdk/src/java/mokee/preference/MKSecureSettingSwitchPreference.java:sdk/src/java/mokee/preference/MKSystemSettingDropDownPreference.java:sdk/src/java/mokee/preference/MKSystemSettingListPreference.java:sdk/src/java/mokee/preference/MKSystemSettingSwitchPreference.java:sdk/src/java/mokee/preference/RemotePreference.java:sdk/src/java/mokee/preference/RemotePreferenceManager.java:sdk/src/java/mokee/preference/RemotePreferenceUpdater.java:sdk/src/java/mokee/preference/SecureSettingSwitchPreference.java:sdk/src/java/mokee/preference/SelfRemovingDropDownPreference.java:sdk/src/java/mokee/preference/SelfRemovingListPreference.java:sdk/src/java/mokee/preference/SelfRemovingPreference.java:sdk/src/java/mokee/preference/SelfRemovingSwitchPreference.java:sdk/src/java/mokee/preference/SettingsHelper.java:sdk/src/java/mokee/preference/SystemSettingSwitchPreference.java:sdk/src/java/mokee/profiles/AirplaneModeSettings.java:sdk/src/java/mokee/profiles/BrightnessSettings.java:sdk/src/java/mokee/profiles/ConnectionSettings.java:sdk/src/java/mokee/profiles/LockSettings.java:sdk/src/java/mokee/profiles/RingModeSettings.java:sdk/src/java/mokee/profiles/StreamSettings.java:sdk/src/java/mokee/providers/DataUsageContract.java:sdk/src/java/mokee/providers/MKSettings.java:sdk/src/java/mokee/providers/WeatherContract.java:sdk/src/java/mokee/util/ColorUtils.java:sdk/src/java/mokee/util/palette/ColorCutQuantizer.java:sdk/src/java/mokee/util/palette/ColorUtils.java:sdk/src/java/mokee/util/palette/DefaultGenerator.java:sdk/src/java/mokee/util/palette/Palette.java:sdk/src/java/mokee/weather/MKWeatherManager.java:sdk/src/java/mokee/weather/RequestInfo.java:sdk/src/java/mokee/weather/WeatherInfo.java:sdk/src/java/mokee/weather/WeatherLocation.java:sdk/src/java/mokee/weather/util/WeatherUtils.java:sdk/src/java/mokee/weatherservice/ServiceRequest.java:sdk/src/java/mokee/weatherservice/ServiceRequestResult.java:sdk/src/java/mokee/weatherservice/WeatherProviderService.java:/home/jack/Mokee/O/out/target/common/obj/JAVA_LIBRARIES/core-libart_intermediates/classes.jar:/home/jack/Mokee/O/out/target/common/obj/JAVA_LIBRARIES/core-oj_intermediates/classes.jar:/home/jack/Mokee/O/out/target/common/obj/JAVA_LIBRARIES/ext_intermediates/classes.jar:/home/jack/Mokee/O/out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/classes.jar:/home/jack/Mokee/O/out/target/common/obj/JAVA_LIBRARIES/org.mokee.platform.sdk_intermediates/classes.jar: -d /home/jack/Mokee/O/out/target/common/docs/mokee-api-stubs -hdf page.build OPR3.170623.013-\$(cat /home/jack/Mokee/O/out/build_number.txt) -hdf page.now \"\$(date -d @\$(cat /home/jack/Mokee/O/out/build_date.txt) \"+%d %b %Y %k:%M\")\" -stubs /home/jack/Mokee/O/out/target/common/obj/JAVA_LIBRARIES/mokee-sdk_stubs_current_intermediates/src -stubpackages mokee.alarmclock:mokee.app:mokee.content:mokee.externalviews:mokee.hardware:mokee.media:mokee.os:mokee.preference:mokee.profiles:mokee.providers:mokee.platform:mokee.power:mokee.util:mokee.weather:mokee.weatherservice -exclude org.mokee.platform.internal -api /home/jack/Mokee/O/out/target/common/obj/PACKAGING/mk_public_api.txt -removedApi /home/jack/Mokee/O/out/target/common/obj/PACKAGING/mk_removed.txt -nodocs && touch -f /home/jack/Mokee/O/out/target/common/docs/mokee-api-stubs-timestamp ) || (rm -rf /home/jack/Mokee/O/out/target/common/docs/mokee-api-stubs /home/jack/Mokee/O/out/target/common/obj/JAVA_LIBRARIES/mokee-api-stubs_intermediates/droiddoc-src-list; exit 45) )"
mokee-sdk/sdk/src/java/mokee/preference/ConstraintsHelper.java:27: error:package android.support.v7.preference does not exist
import android.support.v7.preference.Preference;
^
mokee-sdk/sdk/src/java/mokee/preference/ConstraintsHelper.java:28: error: package android.support.v7.preference does not exist
import android.support.v7.preference.PreferenceGroup;
^
mokee-sdk/sdk/src/java/mokee/preference/ConstraintsHelper.java:29: error: package android.support.v7.preference does not exist
import android.support.v7.preference.PreferenceManager;
^
mokee-sdk/sdk/src/java/mokee/preference/SelfRemovingDropDownPreference.java:28: error:
public class SelfRemovingDropDownPreference extends DropDownPreference {
^
mokee-sdk/sdk/src/java/mokee/preference/SelfRemovingDropDownPreference.java:48: error: cannot find symbol
public void onBindViewHolder(PreferenceViewHolder holder) {
^
mokee-sdk/sdk/src/java/mokee/preference/SelfRemovingPreference.java:53: error: cannot find symbol
public void onBindViewHolder(PreferenceViewHolder holder) {
^
symbol: class PreferenceViewHolder
location: class SelfRemovingPreference
javadoc: error - In doclet class
In com.google.doclava.Doclava, method start had thrown an exception java.lang.reflect.InvocationTargetException
java.lang.IllegalArgumentException: Unable to find IThermalListenerCallback.java. This is usually because doclava has been asked to generate stubs for a file that isn't present in the list of input source files but exists in the input classpath.
at com.google.doclava.Stubs.parseLicenseHeader(Stubs.java:494)
at com.google.doclava.Stubs.writeClassFile(Stubs.java:478)
at com.google.doclava.Stubs.writeClassFile(Stubs.java:465)
at com.google.doclava.Stubs.writeStubsAndApi(Stubs.java:193)
at com.google.doclava.Doclava.start(Doclava.java:511)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.sun.tools.javadoc.DocletInvoker.invoke(DocletInvoker.java:310)
at com.sun.tools.javadoc.DocletInvoker.start(DocletInvoker.java:189)
at com.sun.tools.javadoc.Start.parseAndExecute(Start.java:366)
at com.sun.tools.javadoc.Start.begin(Start.java:219)
at com.sun.tools.javadoc.Start.begin(Start.java:205)
at com.sun.tools.javadoc.Main.execute(Main.java:64)
at com.sun.tools.javadoc.Main.main(Main.java:54)
1 error
39 warning
ninja: build stopped: subcommand failed.
11:45:41 ninja failed with: exit status 1
build/core/main.mk:21: recipe for target 'run_soong_ui' failed
make: *** [run_soong_ui] Error 1

Help me,please!

Related

[Q] Building an app from source [limbo-android]

Hi,
I've wanted to use the app "limbo-android" ( https://code.google.com/p/limbo-android/ ) on my Intel Atom (x86) android tablet.
Unfortunatly, I have only found an apk for arm devices that crashes when I start a VM in the app. So, I have tried to build the app myself (I was following this https://code.google.com/p/limbo-android/source/browse/README ).
So far, I have downloaded the tools (SDK, NDK r8e, Eclipse + Eclipse Android plugin) and the source ( https://code.google.com/p/limbo-android/source/browse/ ) and unpacked all of it. After that, I have tried to follow the README file. So, i have competed steps 3, 4a, but I am stuck at point 4b. (I have also copied the NDK to /usr/local/bin because even when i have configured the right folders in step 3, it sayed something like ndk-build not found)
now with that done, if i type 'make' into the terminal, this is what i have got:
Code:
mkdir -p /home/sobotkama/limbo-android/jni/..//obj/local/x86/
rm -rf /home/sobotkama/limbo-android/jni/..//libs/armeabi ../libs/armeabi-v7a ../libs/x86 ../libs/mips \
mkdir -p /home/sobotkama/limbo-android/jni/..//libs/x86/
cd /home/sobotkama/limbo-android/jni/../ && ndk-build V=1 LIMBO_JNI_ROOT=/home/sobotkama/limbo-android/jni
make[1]: Entering directory `/home/sobotkama/limbo-android'
jni/Application.mk:10: ARCH_CFLAGS = -std=gnu99 -ffunction-sections -O3 -fomit-frame-pointer -fstrict-aliasing -funswitch-loops -finline-limit=300 -DANDROID_X86
jni/Application.mk:11: LOCAL_ARM_MODE =
jni/Application.mk:12: LOCAL_ARM_NEON =
jni/Application.mk:13: NDK_DEBUG =
jni/Application.mk:14: APP_OPTIM =
jni/Application.mk:15: APP_ABI = x86
/usr/local/bin/build/gmsl/__gmsl:512: *** non-numeric second argument to `wordlist' function: ''. Stop.
make[1]: Leaving directory `/home/sobotkama/limbo-android'
make: *** [sdl] Error 2
Running both Ubuntu and Windows 8.1 on my PC, doing this on Ubuntu.
Any help like what should I do or is there anyone that would build it for me, please?
Thanks, Sobotkama
Anyone?

[DEV] CyanogenMod 13.0 development RPI2 (further work required - help needed)

READ THE WHOLE POST - THIS JUST FINISHED BUILDING
Hello all,
As there was a fair bit of interest in the cm-12.1 cyanogenmod stuff, even from myself, that seemed to be some bit of eye candy. Unfortunately no source was released thus far and not much further help to assist the rest of us so i thought I would give it a go.
Initially i thought i would look around for some other repo's thankfully Peyo-HD on github has actually done a bring up for android marshmallow (AOSP) for the device. I forked his source and set to work on doing some things for the device tree and get a build happening.
At present its seems to get pretty far, I have ran into an issue with SystemUI tests, it can safely be removed from frameworks/base. SO I forked the cyanogenmod repo and removed them.
https://github.com/Joshndroid/android_frameworks_base/tree/cm-13.0-rpi
Device tree source - https://github.com/Joshndroid/device_brcm_rpi2/tree/cm-13.0
kernel tree source - https://github.com/Joshndroid/kernel_rpi (could just use peyo-hd version as i havnt changed anything)
Essentially the only other thing that is required now is to manually remove the frameworks/base/services/telecomm folder. I doubt it should be a problem because the device does not have a modem for 3g/4g type signals.
Credits
Peyo-HD - initial marshmallow source (even though i haven’t actually attempted to build it, but alot of work had been done obviously)
Please dont just think you can plop this stuff in and expect it to work/build. The initial building is failing and from there debugging will probably need to occur once we can get it to build.
I put this up because i was keen to help out, and show the work that I have done in doing so and make it potentially easier for others to assist in getting this to work for our device.
feherneoh said:
Which manifest did you use? I would try getting it to work
Click to expand...
Click to collapse
Using this as cm source - repo init -u git://github.com/CyanogenMod/android.git -b cm-13.0
local manifests only need
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remote fetch="https://github.com" name="gh" />
<!-- RPI2 files -->
<project name="Joshndroid/device_brcm_rpi2" path="device/brcm/rpi2" remote="gh" revision="cm-13.0" />
<project name="Joshndroid/kernel_rpi" path="kernel/rpi" remote="gh" revision="rpi2m" />
</manifest>
for kernel it is only using a prebuilt and not actually building from source at this time however am not 100% as im not getting far enough for the kernel to be pulled from the prebuilt location, i know that the kernel source is not defined within the device boardconfig.mk. It is actually listed within boardconfig.mk target_no_kernel := true
feherneoh said:
Thanks, syncing
Click to expand...
Click to collapse
No worries,
If you want to try and build the kernel inline in the boardconfig.mk delete the line
Code:
target_no_kernel := true
and add
Code:
TARGET_KERNEL_SOURCE := kernel/rpi
to the file...
i would recommend just trying to build and pass build errors then see how the kernle goes building in lines, could make it easier in the long run, but each to their own.
feherneoh said:
What lunch combo did you use?
EDIT:
I found it
I tried rpi2, but I need cm_rpi2
EDIT 2:
Got a completely different error, maybe they are currently patching these
Code:
vendor/cm/overlay/common/frameworks/base/packages/SettingsProvider/res/values/defaults.xml:29: error: Resource at def_cm_stats_collection appears in overlay but not in the base package; use <add-resource> to add.
Click to expand...
Click to collapse
go to here - http://review.cyanogenmod.org/#/c/111336/
and cherrypick this commit into cd vendor/cm
this should fix your error, i have this in my cm-13.0 cherry-pick list. It would be the only one i have that is relevant to you
feherneoh said:
Already got that fixed
Now I have to enable kernel building because of required stuff in KERNEL_OBJ
Click to expand...
Click to collapse
The kernel should build, haven't had a chance to try myself today.
feherneoh said:
Will try it, but I work over ssh from my phone
Click to expand...
Click to collapse
I know your pain.. Tho I use team viewer to remote connect so much easier
feherneoh said:
Yeah, but I did not install X11 on my server
Which defconfig is for rpi2? I forgot that
Okay, building the kernel
Click to expand...
Click to collapse
Should be bcm2709
Alright,
So i have done some small changes and updated the device tree of cm-13.0
so it appears there need to be a different toolchain added. As outlined within the readme it specifys
# Build Kernel
$ cd kernel/rpi
$ ARCH=arm scripts/kconfig/merge_config.sh arch/arm/configs/bcm2709_defconfig android/configs/android-base.cfg android/configs/android-recommended.cfg
$ ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- make zImage
$ ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- make dtbs
So i found the stock tool chain imported from another fellow and forked it. You will need to add this to your local_manifests.xml
Code:
<project name="Joshndroid/arm-cortex_a7-linux-gnueabihf" path="prebuilts/gcc/linux-x86/arm/arm-linux-gnueabihf-4.9.3" remote="gh" revision="gcc-4.9.3" />
the issue now is that you will get this error;
Code:
Using /home/joshndroid/cmarsh/kernel/rpi as source for kernel
GEN ./Makefile
CHK include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
make[3]: `include/generated/mach-types.h' is up to date.
CHK include/generated/bounds.h
CHK include/generated/asm-offsets.h
CALL /home/joshndroid/cmarsh/kernel/rpi/scripts/checksyscalls.sh
CHK include/generated/compile.h
LD arch/arm/net/built-in.o
/home/joshndroid/cmarsh/prebuilts/gcc/linux-x86/arm/arm-linux-gnueabihf-4.9.3/bin/arm-eabi-ar: error while loading shared libraries: libfl.so.2: cannot open shared object file: No such file or directory
make[3]: *** [arch/arm/net/built-in.o] Error 127
make[2]: *** [arch/arm/net] Error 2
make[2]: Leaving directory `/home/joshndroid/cmarsh/out/target/product/rpi2/obj/KERNEL_OBJ'
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/home/joshndroid/cmarsh/kernel/rpi'
make: *** [TARGET_KERNEL_BINARIES] Error 2
just need to change the arm-eabi to arm-cortex_a7-linux-gnueabihf-
@feherneoh
so I’ve got a kernel built. (takes a while)
I worked out what the issue was. I was missing a .so that is only present in arch-linux it is essentially to do with flex, but i can't seem to find the package for it to download elsewhere so it seems that you have to manually obtain it and push it to your appropriate location ill explain as follows.
Firstly, the libfl.so.2 is referenced in this package - https://www.archlinux.org/packages/core/x86_64/flex/
I have attached a zipped copy of the lib for you to work with from the archlinux site (i followed some of this guide and used the libfl.so.2 - http://forum.xda-developers.com/nex...hells-core-kitkat-b45-stable-t2495373/page959 (i trusted it was not sketchy download).
Then do as follows
1. extract the lib to your downloads directory (assuming downloads)
Code:
sudo su
cp /home/<username>/Downloads/libfl.so.2.0.0 /usr/lib/libfl.so.2.0.0
chmod 755 /usr/lib/libfl.so.2.0.0
ln -s /usr/lib/libfl.so.2.0.0 /usr/lib/libfl.so.2
ln -s /usr/lib/libfl.so.2.0.0 /usr/lib/x86_64-linux-gnu/libfl.so.2 (<<< this is probably the most important one, this is what toolchain was complaining about)
note - in the linked xda page there is another command that i purposely did not move over because your system will already have it installed.
use this in conjunction with my previous post you should then be able to run "make bootimage" and get something usefull
See ending output here as confirmation
Code:
make[2]: Leaving directory `/home/joshndroid/cmarsh/out/target/product/rpi2/obj/KERNEL_OBJ'
make[1]: Leaving directory `/home/joshndroid/cmarsh/kernel/rpi'
mdpath=`find /home/joshndroid/cmarsh/out/target/product/rpi2/system/lib/modules -type f -name modules.order`; if [ "$mdpath" != "" ];then mpath=`dirname $mdpath`; ko=`find $mpath/kernel -type f -name *.ko`; for i in $ko; do /home/joshndroid/cmarsh/prebuilts/gcc/linux-x86/arm/arm-linux-gnueabihf-4.9.3/bin/arm-eabi-strip --strip-unneeded $i; mv $i /home/joshndroid/cmarsh/out/target/product/rpi2/system/lib/modules/; done; fi
mdpath=`find /home/joshndroid/cmarsh/out/target/product/rpi2/system/lib/modules -type f -name modules.order`; if [ "$mdpath" != "" ];then mpath=`dirname $mdpath`; rm -rf $mpath; fi
mdpath=`find /home/joshndroid/cmarsh/out/target/product/rpi2/system/lib/modules -type f -name modules.order`; if [ "$mdpath" != "" ];then mpath=`dirname $mdpath`; ko=`find $mpath/kernel -type f -name *.ko`; for i in $ko; do /home/joshndroid/cmarsh/prebuilts/gcc/linux-x86/arm/arm-linux-gnueabihf-4.9.3/bin/arm-eabi-strip --strip-unneeded $i; mv $i /home/joshndroid/cmarsh/out/target/product/rpi2/system/lib/modules/; done; fi
mdpath=`find /home/joshndroid/cmarsh/out/target/product/rpi2/system/lib/modules -type f -name modules.order`; if [ "$mdpath" != "" ];then mpath=`dirname $mdpath`; rm -rf $mpath; fi
target Prebuilt: (/home/joshndroid/cmarsh/out/target/product/rpi2/kernel)
target Strip: init (/home/joshndroid/cmarsh/out/target/product/rpi2/obj/EXECUTABLES/init_intermediates/init)
Install: /home/joshndroid/cmarsh/out/target/product/rpi2/root/init
target Strip: adbd (/home/joshndroid/cmarsh/out/target/product/rpi2/obj/EXECUTABLES/adbd_intermediates/adbd)
Install: /home/joshndroid/cmarsh/out/target/product/rpi2/root/sbin/adbd
target Strip: healthd (/home/joshndroid/cmarsh/out/target/product/rpi2/obj/EXECUTABLES/healthd_intermediates/healthd)
Install: /home/joshndroid/cmarsh/out/target/product/rpi2/root/sbin/healthd
Target ram disk: /home/joshndroid/cmarsh/out/target/product/rpi2/ramdisk.img
Target boot image: /home/joshndroid/cmarsh/out/target/product/rpi2/boot.img
Made boot image: /home/joshndroid/cmarsh/out/target/product/rpi2/boot.img
#### make completed successfully (21:24 (mm:ss)) ####
[email protected]:~/cmarsh$
I think if you got any errors with proguard for settings, you can use https://github.com/kumajaya/android...mmit/7bdeb432f50afab65f7680c9b0659371ef31af6f
You can manually delete the toolchain repos and point it to your own repo by the way in local_manifest
nick37332001 said:
I think if you got any errors with proguard for settings, you can use https://github.com/kumajaya/android...mmit/7bdeb432f50afab65f7680c9b0659371ef31af6f
You can manually delete the toolchain repos and point it to your own repo by the way in local_manifest
Click to expand...
Click to collapse
the idea is to be able to build it in line with my other devices. I dont want to have to have local_manifest modifications or keep second set of source because i changed one thing. I got it to work just like it should, in-line, with correct location finding and naming.
thanks for the commit i think that is the error i faced late last night before turning my machine off
joshndroid said:
the idea is to be able to build it in line with my other devices. I dont want to have to have local_manifest modifications or keep second set of source because i changed one thing. I got it to work just like it should, in-line, with correct location finding and naming.
thanks for the commit i think that is the error i faced late last night before turning my machine off
Click to expand...
Click to collapse
Which commit?
BTW, I pushed a new commit
And why build using Android TV?
nick37332001 said:
Which commit?
BTW, I pushed a new commit
And why build using Android TV?
Click to expand...
Click to collapse
The original repos have it listed as such. I also think it could be to do with aspects such as locks screen. I doubt you would have one for a TV that is always on. There is probably different overlay and layout to a normal device ide say
i think we may need to get brunch working.
I am getting the no rule to make target 'bacon.' stop
the reason i say this is because with the lunch command i think some of the cmsdk stuff is not being pulled across. I had the same issue with angler (Nexus 6p) in which i would get a keyguard.java error. I was using lunch command while seeing this error, much like i have been doing for rpi2. Once i was able to use brunch command, I was then able to get past this keyguard.java error and the build continued. Same thing has been happening with the rpi2 build. I just unsure of how to get the brunch command working. What i think is happening is the brunch command is allowing other cm-related aspects to continue to be pulled into the build config
edit; disregard. looking further into it the bacon refers to the flashable zip creation, for which we have no need for.
joshndroid said:
i think we may need to get brunch working.
I am getting the no rule to make target 'bacon.' stop
the reason i say this is because with the lunch command i think some of the cmsdk stuff is not being pulled across. I had the same issue with angler (Nexus 6p) in which i would get a keyguard.java error. I was using lunch command while seeing this error, much like i have been doing for rpi2. Once i was able to use brunch command, I was then able to get past this keyguard.java error and the build continued. Same thing has been happening with the rpi2 build. I just unsure of how to get the brunch command working. What i think is happening is the brunch command is allowing other cm-related aspects to continue to be pulled into the build config
edit; disregard. looking further into it the bacon refers to the flashable zip creation, for which we have no need for.
Click to expand...
Click to collapse
But then we can make recovery.img XDXD
nick37332001 said:
But then we can make recovery.img XDXD
Click to expand...
Click to collapse
Recovery is listed as not to be built in the boardconfig.mk
Think we will need to either come up with a way to disable lock screen all together or fix through the broken tests in cyanogenmod that seem to surround lock screen.. I tried reverting a few things to do with the lock screen within android_packages_apps_settings but as I reverted some things more errors just kept cropping up so I don't necessarily think that is going to fix our issue. Unsure of what another way may be
Sent from my Nexus 9 using Tapatalk
feherneoh said:
We should really wait until CM13 nightlies start appearing for officially supported devices
Click to expand...
Click to collapse
Nighties are poised to start very soon
As nightlies have started for some devices i thought i would try again.
I utilised the CM frameworks base and have run into an issue with systemUI tests in frameworks/base
http://pastebin.com/3f86nDwe
Code:
target SharedLib: libpac (/media/joshndroid/ubuntufiles/cmrpi/out/target/product/rpi2/obj/SHARED_LIBRARIES/libpac_intermediates/LINKED/libpac.so)
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
target SharedLib: libttspico (/media/joshndroid/ubuntufiles/cmrpi/out/target/product/rpi2/obj/SHARED_LIBRARIES/libttspico_intermediates/LINKED/libttspico.so)
frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/qs/QSDragPanel.java:32: error: package android.support.v4.view does not exist
import android.support.v4.view.PagerAdapter;
^
frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/qs/QSDragPanel.java:33: error: package android.support.v4.view does not exist
import android.support.v4.view.ViewPager;
^
frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/KeyguardAffordanceView.java:34: error: package android.support.v7.graphics does not exist
import android.support.v7.graphics.Palette;
^
frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/KeyguardAffordanceView.java:52: error: package Palette does not exist
public class KeyguardAffordanceView extends ImageView implements Palette.PaletteAsyncListener {
^
frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/qs/QSViewPager.java:6: error: package android.support.v4.view does not exist
import android.support.v4.view.ViewPager;
^
frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/qs/QSViewPager.java:15: error: cannot find symbol
public class QSViewPager extends ViewPager {
^
symbol: class ViewPager
frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/qs/QSDragPanel.java:71: error: cannot find symbol
protected PagerAdapter mPagerAdapter;
^
symbol: class PagerAdapter
location: class QSDragPanel
frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/KeyguardAffordanceView.java:606: error: cannot find symbol
public void onGenerated(Palette palette) {
^
symbol: class Palette
location: class KeyguardAffordanceView
frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/tuner/QsTuner.java:34: error: package android.support.v4.view does not exist
import android.support.v4.view.ViewPager;
^
frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/qs/QSDragPanel.java:124: error: no suitable method found for addView(QSViewPager)
addView(mViewPager);
^
method ViewGroup.addView(View,int,LayoutParams) is not applicable
(actual and formal argument lists differ in length)
method ViewGroup.addView(View,LayoutParams) is not applicable
(actual and formal argument lists differ in length)
method ViewGroup.addView(View,int,int) is not applicable
(actual and formal argument lists differ in length)
method ViewGroup.addView(View,int) is not applicable
(actual and formal argument lists differ in length)
method ViewGroup.addView(View) is not applicable
(actual argument QSViewPager cannot be converted to View by method invocation conversion)
frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/qs/QSDragPanel.java:142: error: cannot find symbol
mPagerAdapter = new PagerAdapter() {
^
symbol: class PagerAdapter
location: class QSDragPanel
frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/qs/QSDragPanel.java:181: error: package ViewPager does not exist
mViewPager.addOnPageChangeListener(new ViewPager.OnPageChangeListener() {
^
frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/qs/QSDragPanel.java:214: error: cannot find symbol
mViewPager.setCurrentItem(0);
^
symbol: method setCurrentItem(int)
location: variable mViewPager of type QSViewPager
frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/qs/QSDragPanel.java:219: error: cannot find symbol
mViewPager.setOnDragListener(this);
^
symbol: method setOnDragListener(QSDragPanel)
location: variable mViewPager of type QSViewPager
frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/qs/QSDragPanel.java:478: error: cannot find symbol
mViewPager.measure(exactly(width), MeasureSpec.UNSPECIFIED);
^
symbol: method measure(int,int)
location: variable mViewPager of type QSViewPager
frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/qs/QSDragPanel.java:480: error: cannot find symbol
int h = brightnessHeight + mViewPager.getMeasuredHeight();
^
symbol: method getMeasuredHeight()
location: variable mViewPager of type QSViewPager
frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/qs/QSDragPanel.java:513: error: cannot find symbol
final int dh = Math.max(mDetail.getMeasuredHeight(), mViewPager.getMeasuredHeight());
^
symbol: method getMeasuredHeight()
location: variable mViewPager of type QSViewPager
frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/qs/QSDragPanel.java:514: error: cannot find symbol
mViewPager.layout(0, t + mQsPanelTop.getMeasuredHeight(), w, t + dh);
^
symbol: method layout(int,int,int,int)
location: variable mViewPager of type QSViewPager
frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/qs/QSDragPanel.java:601: error: cannot find symbol
return mPages.get(mViewPager.getCurrentItem());
^
symbol: method getCurrentItem()
location: variable mViewPager of type QSViewPager
frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/qs/QSDragPanel.java:649: error: cannot find symbol
&& !mViewPager.isFakeDragging()
^
symbol: method isFakeDragging()
location: variable mViewPager of type QSViewPager
frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/qs/QSDragPanel.java:716: error: cannot find symbol
&& !mViewPager.isFakeDragging()
^
symbol: method isFakeDragging()
location: variable mViewPager of type QSViewPager
frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/qs/QSDragPanel.java:737: error: cannot find symbol
if (mCurrentlyAnimating.isEmpty() && !mViewPager.isFakeDragging()) {
^
symbol: method isFakeDragging()
location: variable mViewPager of type QSViewPager
frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/qs/QSDragPanel.java:738: error: bad operand types for binary operator '=='
if (v == mViewPager) {
^
first type: View
second type: QSViewPager
frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/qs/QSDragPanel.java:741: error: cannot find symbol
int width = mViewPager.getWidth();
^
symbol: method getWidth()
location: variable mViewPager of type QSViewPager
frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/qs/QSDragPanel.java:744: error: cannot find symbol
if (mViewPager.canScrollHorizontally(-1)) {
^
symbol: method canScrollHorizontally(int)
location: variable mViewPager of type QSViewPager
frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/qs/QSDragPanel.java:749: error: cannot find symbol
if (mViewPager.canScrollHorizontally(1)) {
^
symbol: method canScrollHorizontally(int)
location: variable mViewPager of type QSViewPager
frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/qs/QSDragPanel.java:828: error: cannot find symbol
mLastTouchLocationY += mViewPager.getTop(); // we are in the threshold of the viewpager meow
^
symbol: method getTop()
location: variable mViewPager of type QSViewPager
frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/qs/QSDragPanel.java:857: error: cannot find symbol
if (mDraggingRecord.destinationPage > mViewPager.getCurrentItem()) {
^
symbol: method getCurrentItem()
location: variable mViewPager of type QSViewPager
frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/qs/QSDragPanel.java:859: error: cannot find symbol
} else if (mDraggingRecord.destinationPage < mViewPager.getCurrentItem()) {
^
symbol: method getCurrentItem()
location: variable mViewPager of type QSViewPager
frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/qs/QSDragPanel.java:864: error: cannot find symbol
float destinationY = mDraggingRecord.destination.y + mViewPager.getTop();
^
symbol: method getTop()
location: variable mViewPager of type QSViewPager
frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/qs/QSDragPanel.java:879: error: cannot find symbol
mViewPager.requestDisallowInterceptTouchEvent(false);
^
symbol: method requestDisallowInterceptTouchEvent(boolean)
location: variable mViewPager of type QSViewPager
frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/qs/QSDragPanel.java:993: error: cannot find symbol
mViewPager.requestDisallowInterceptTouchEvent(true);
^
symbol: method requestDisallowInterceptTouchEvent(boolean)
location: variable mViewPager of type QSViewPager
frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/qs/QSDragPanel.java:1064: error: cannot find symbol
mViewPager.getAdapter().notifyDataSetChanged();
^
symbol: method getAdapter()
location: variable mViewPager of type QSViewPager
frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/KeyguardAffordanceView.java:179: error: cannot find symbol
Palette.generateAsync(((BitmapDrawable) getDrawable()).getBitmap(), this);
^
symbol: variable Palette
location: class KeyguardAffordanceView
frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/KeyguardAffordanceView.java:605: error: method does not override or implement a method from a supertype
@Override
^
frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/qs/QSViewPager.java:29: error: cannot find symbol
for (int i = 0; i < getChildCount(); i++) {
^
symbol: method getChildCount()
location: class QSViewPager
frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/qs/QSViewPager.java:30: error: cannot find symbol
View child = getChildAt(i);
^
symbol: method getChildAt(int)
location: class QSViewPager
frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/qs/QSViewPager.java:31: error: cannot find symbol
child.measure(widthMeasureSpec, MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED));
^
symbol: variable MeasureSpec
location: class QSViewPager
frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/qs/QSViewPager.java:31: error: cannot find symbol
child.measure(widthMeasureSpec, MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED));
^
symbol: variable MeasureSpec
location: class QSViewPager
frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/qs/QSViewPager.java:35: error: cannot find symbol
heightMeasureSpec = MeasureSpec.makeMeasureSpec(height, MeasureSpec.EXACTLY);
^
symbol: variable MeasureSpec
location: class QSViewPager
frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/qs/QSViewPager.java:35: error: cannot find symbol
heightMeasureSpec = MeasureSpec.makeMeasureSpec(height, MeasureSpec.EXACTLY);
^
symbol: variable MeasureSpec
location: class QSViewPager
frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/qs/QSViewPager.java:36: error: cannot find symbol
super.onMeasure(widthMeasureSpec, heightMeasureSpec);
^
symbol: variable super
location: class QSViewPager
frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/qs/QSViewPager.java:26: error: method does not override or implement a method from a supertype
@Override
^
frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/qs/QSViewPager.java:40: error: cannot find symbol
ValueAnimator animator = ValueAnimator.ofInt(0, getWidth());
^
symbol: method getWidth()
location: class QSViewPager
frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/qs/QSViewPager.java:48: error: cannot find symbol
if (isFakeDragging()) {
^
symbol: method isFakeDragging()
frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/qs/QSViewPager.java:49: error: cannot find symbol
endFakeDrag();
^
symbol: method endFakeDrag()
frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/qs/QSViewPager.java:55: error: cannot find symbol
if (isFakeDragging()) {
^
symbol: method isFakeDragging()
frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/qs/QSViewPager.java:56: error: cannot find symbol
endFakeDrag();
^
symbol: method endFakeDrag()
frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/qs/QSViewPager.java:72: error: cannot find symbol
if (isFakeDragging()) {
^
symbol: method isFakeDragging()
frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/qs/QSViewPager.java:76: error: cannot find symbol
fakeDragBy(dragOffset * (forward ? -1 : 1));
^
symbol: method fakeDragBy(int)
frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/qs/QSViewPager.java:80: error: cannot find symbol
if (beginFakeDrag()) {
^
symbol: method beginFakeDrag()
location: class QSViewPager
frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/qs/QSViewPager.java:91: error: cannot find symbol
return super.onInterceptTouchEvent(event);
^
symbol: variable super
location: class QSViewPager
frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/qs/QSViewPager.java:88: error: method does not override or implement a method from a supertype
@Override
^
frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/qs/QSViewPager.java:99: error: cannot find symbol
return super.onTouchEvent(event);
^
symbol: variable super
location: class QSViewPager
frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/qs/QSViewPager.java:96: error: method does not override or implement a method from a supertype
@Override
^
frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/qs/QSViewPager.java:108: error: cannot find symbol
if (getCurrentItem() > 0 && !mPagingEnabled) {
^
symbol: method getCurrentItem()
location: class QSViewPager
frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/qs/QSViewPager.java:110: error: cannot find symbol
setCurrentItem(0, true);
^
symbol: method setCurrentItem(int,boolean)
location: class QSViewPager
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.
57 errors
make: *** [/media/joshndroid/ubuntufiles/cmrpi/out/target/common/obj/APPS/SystemUITests_intermediates/classes-full-debug.jar] Error 41
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.
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.
DroidDoc took 18 sec. to write docs to /media/joshndroid/ubuntufiles/cmrpi/out/target/common/docs/system-api-stubs
DroidDoc took 17 sec. to write docs to /media/joshndroid/ubuntufiles/cmrpi/out/target/common/docs/api-stubs
make: Leaving directory `/media/joshndroid/ubuntufiles/cmrpi'
#### make failed to build some targets (07:57 (mm:ss)) ####
I wonder if there is a way to disable tests completely or atleast the tests that will be unnecessary
So ive had a bit of success today and managed to get a build completed. Note that it was not from a clean /out folder but it completed none the less
Code:
mdpath=`find /media/joshndroid/ubuntufiles/cmrpi/out/target/product/rpi2/system/lib/modules -type f -name modules.order`; if [ "$mdpath" != "" ];then mpath=`dirname $mdpath`; rm -rf $mpath; fi
mdpath=`find /media/joshndroid/ubuntufiles/cmrpi/out/target/product/rpi2/system/lib/modules -type f -name modules.order`; if [ "$mdpath" != "" ];then mpath=`dirname $mdpath`; ko=`find $mpath/kernel -type f -name *.ko`; for i in $ko; do /media/joshndroid/ubuntufiles/cmrpi/prebuilts/gcc/linux-x86/arm/arm-linux-gnueabihf-4.9.3/bin/arm-eabi-strip --strip-unneeded $i; mv $i /media/joshndroid/ubuntufiles/cmrpi/out/target/product/rpi2/system/lib/modules/; done; fi
mdpath=`find /media/joshndroid/ubuntufiles/cmrpi/out/target/product/rpi2/system/lib/modules -type f -name modules.order`; if [ "$mdpath" != "" ];then mpath=`dirname $mdpath`; rm -rf $mpath; fi
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.
make_ext4fs -T -1 -S /media/joshndroid/ubuntufiles/cmrpi/out/target/product/rpi2/root/file_contexts -L system -l 536870912 -a system /media/joshndroid/ubuntufiles/cmrpi/out/target/product/rpi2/obj/PACKAGING/systemimage_intermediates/system.img /media/joshndroid/ubuntufiles/cmrpi/out/target/product/rpi2/system /media/joshndroid/ubuntufiles/cmrpi/out/target/product/rpi2/system
Creating filesystem with parameters:
Size: 536870912
Block size: 4096
Blocks per group: 32768
Inodes per group: 8192
Inode size: 256
Journal blocks: 2048
Label: system
Blocks: 131072
Block groups: 4
Reserved block group size: 31
Created filesystem with 3171/32768 inodes and 91696/131072 blocks
Install system fs image: /media/joshndroid/ubuntufiles/cmrpi/out/target/product/rpi2/system.img
/media/joshndroid/ubuntufiles/cmrpi/out/target/product/rpi2/system.img+ maxsize=548110464 blocksize=4224 total=536870912 reserve=5537664
make: Leaving directory `/media/joshndroid/ubuntufiles/cmrpi'
#### make completed successfully (01:32 (mm:ss)) ####
[email protected]:/media/joshndroid/ubuntufiles/cmrpi$
EDIT - i have not pushed some things, but i had to disable tests in frameworks/base for systemui as well as remove telecomm package by deleting it (maybe we can disable it some other way). I'm going to push my changes and update first post to further signify build

Failed to build arm64 goldfish kernel on Mac OS X

I have add the elf.h. Build failed to build the vdso.
CC arch/arm64/kernel/signal.o
In file included from arch/arm64/kernel/signal.c:36:0:
arch/arm64/kernel/signal.c: In function 'setup_return':
./arch/arm64/include/asm/vdso.h:34:11: error: 'vdso_offset_sigtramp' undeclared (first use in this function)
(void *)(vdso_offset_##name - VDSO_LBASE + (unsigned long)(base)); \
^
arch/arm64/kernel/signal.c:245:14: note: in expansion of macro 'VDSO_SYMBOL'
sigtramp = VDSO_SYMBOL(current->mm->context.vdso, sigtramp);
^
./arch/arm64/include/asm/vdso.h:34:11: note: each undeclared identifier is reported only once for each function it appears in
(void *)(vdso_offset_##name - VDSO_LBASE + (unsigned long)(base)); \
^
arch/arm64/kernel/signal.c:245:14: note: in expansion of macro 'VDSO_SYMBOL'
sigtramp = VDSO_SYMBOL(current->mm->context.vdso, sigtramp);
^
make[1]: *** [arch/arm64/kernel/signal.o] Error 1
make: *** [arch/arm64/kernel] Error 2
I have solved the problem.
The vdso_offset_sigtramp is defined in include/generated/vdso-offsets.h
#define vdso_offset_sigtramp 0x04e0
But in my code this line is "#define vdso_offset_sigtrampt0x04e0". What the ****! I don't modify any things. Why this file changed?
Have the same problem and solved
I've got the same error message but the cause is somewhat different. My include/generated/vdso-offsets.h is empty. The reason is that arch/arm64/kernel/vdso/gen_vdso_offsets.h does not have the eXecute permission. This script is very simple, so I guess you were hit by a Mac sh or make bug.
I'm building Z00E (ASUS Zenfone 2 ZE500KL) kernel on Arch Linux x86_64.
clangllvm said:
I have add the elf.h. Build failed to build the vdso.
CC arch/arm64/kernel/signal.o
In file included from arch/arm64/kernel/signal.c:36:0:
arch/arm64/kernel/signal.c: In function 'setup_return':
./arch/arm64/include/asm/vdso.h:34:11: error: 'vdso_offset_sigtramp' undeclared (first use in this function)
(void *)(vdso_offset_##name - VDSO_LBASE + (unsigned long)(base)); \
^
arch/arm64/kernel/signal.c:245:14: note: in expansion of macro 'VDSO_SYMBOL'
sigtramp = VDSO_SYMBOL(current->mm->context.vdso, sigtramp);
^
./arch/arm64/include/asm/vdso.h:34:11: note: each undeclared identifier is reported only once for each function it appears in
(void *)(vdso_offset_##name - VDSO_LBASE + (unsigned long)(base)); \
^
arch/arm64/kernel/signal.c:245:14: note: in expansion of macro 'VDSO_SYMBOL'
sigtramp = VDSO_SYMBOL(current->mm->context.vdso, sigtramp);
^
make[1]: *** [arch/arm64/kernel/signal.o] Error 1
make: *** [arch/arm64/kernel] Error 2
Click to expand...
Click to collapse
Hey i know it's too late but i found out solution we have to change last line of this file : arch/arm64/kernel/vdso/gen_vdso_offsets.sh
to :
<code>
's/^\([0-9a-fA-F]*\) . VDSO_\([a-zA-Z0-9_]*\)$/\#define vdso_offset_\2 0x\1/p'
</code>
actually i replaced "\t" to " "(black space)
tested on sierra :fingers-crossed:
erfanoabdi said:
Hey i know it's too late but i found out solution we have to change last line of this file : arch/arm64/kernel/vdso/gen_vdso_offsets.sh
to :
<code>
's/^\([0-9a-fA-F]*\) . VDSO_\([a-zA-Z0-9_]*\)$/\#define vdso_offset_\2 0x\1/p'
</code>
actually i replaced "\t" to " "(black space)
tested on sierra :fingers-crossed:
Click to expand...
Click to collapse
I know it's late but thx fixed my problem.

Help build RR 6 ROM error

im trying to build rr 6 oero rom
Code:
5 warnings generated.
[ 7% 5876/77326] host Generated: fs_c...evice/samsung/msm8974-common/config.fs
FAILED: /home/eccko/rr-oreo/out/target/product/ks01ltexx/gen/EXECUTABLES/fs_config_generate_ks01ltexx_intermediates/android_filesystem_config.h
/bin/bash -c "build/tools/fs_config/fs_config_generator.py fsconfig --aid-header=system/core/include/private/android_filesystem_config.h device/samsung/msm8974-common/config.fs > /home/eccko/rr-oreo/out/target/product/ks01ltexx/gen/EXECUTABLES/fs_config_generate_ks01ltexx_intermediates/android_filesystem_config.h"
Following AID Collisions detected for:
Identifier: "AID_QCOM_DIAG" Friendly Name: "qcom_diag" found in file "system/core/include/private/android_filesystem_config.h" and "device/samsung/msm8974-common/config.fs"
[ 7% 5878/77326] target thumb C++: vdc <= system/vold/vdc.cpp
6 warnings generated.
Suppressed 6 warnings (5 in non-user code, 1 with check filters).
Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
[ 7% 5881/77326] Building Kernel Config
make: Entering directory '/home/eccko/rr-oreo/kernel/samsung/msm8974'
GEN /home/eccko/rr-oreo/out/target/product/ks01ltexx/obj/KERNEL_OBJ/Makefile
HOSTCC scripts/kconfig/conf.o
SHIPPED scripts/kconfig/zconf.tab.c
SHIPPED scripts/kconfig/zconf.lex.c
SHIPPED scripts/kconfig/zconf.hash.c
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/conf
sound/soc/codecs/audience/Kconfig:40:warning: type of 'SND_SOC_ES_SLIM' redefined from 'boolean' to 'tristate'
sound/soc/codecs/audience/Kconfig:43:warning: type of 'SND_SOC_ES_I2C' redefined from 'boolean' to 'tristate'
sound/soc/codecs/audience/Kconfig:44:warning: choice value used outside its choice group
sound/soc/codecs/audience/Kconfig:41:warning: choice value used outside its choice group
boolean symbol SND_SOC_MAX98506 tested for 'm'? test forced to 'n'
#
# configuration written to .config
#
make: Leaving directory '/home/eccko/rr-oreo/kernel/samsung/msm8974'
make: Entering directory '/home/eccko/rr-oreo/kernel/samsung/msm8974'
GEN /home/eccko/rr-oreo/out/target/product/ks01ltexx/obj/KERNEL_OBJ/Makefile
scripts/kconfig/conf --savedefconfig=defconfig Kconfig
sound/soc/codecs/audience/Kconfig:40:warning: type of 'SND_SOC_ES_SLIM' redefined from 'boolean' to 'tristate'
sound/soc/codecs/audience/Kconfig:43:warning: type of 'SND_SOC_ES_I2C' redefined from 'boolean' to 'tristate'
sound/soc/codecs/audience/Kconfig:44:warning: choice value used outside its choice group
sound/soc/codecs/audience/Kconfig:41:warning: choice value used outside its choice group
boolean symbol SND_SOC_MAX98506 tested for 'm'? test forced to 'n'
make: Leaving directory '/home/eccko/rr-oreo/kernel/samsung/msm8974'
ninja: build stopped: subcommand failed.
19:48:08 ninja failed with: exit status 1
#### failed to build some targets (19:27 (mm:ss)) ####
[email protected]:~/rr-oreo$
Code:
[7:57 PM, 5/24/2018] Xda: FAILED: /home/eccko/rr-oreo/out/target/product/ks01ltexx/gen/EXECUTABLES/fs_config_generate_ks01ltexx_intermediates/android_filesystem_config.h
/bin/bash -c "build/tools/fs_config/fs_config_generator.py fsconfig --aid-header=system/core/include/private/android_filesystem_config.h device/samsung/msm8974-common/config.fs > /home/eccko/rr-oreo/out/target/product/ks01ltexx/gen/EXECUTABLES/fs_config_generate_ks01ltexx_intermediates/android_filesystem_config.h"
Following AID Collisions detected for:
Identifier: "AID_QCOM_DIAG" Friendly Name: "qcom_diag" found in file "system/core/include/private/android_filesystem_config.h" and "device/samsung/msm8974-common/config.fs"
:silly::silly:
You need to delete one of the qcom_diag entries
search qcom_diag in "device/samsung/msm8974-common/config.fs" and comment or delete it, and try to compile
Sorry for my english

Sony's AOSP Pie 9.0 Guide

Sony just posted a guide in their site to build AOSP 9.0 for our devices.
https://developer.sony.com/develop/...build-instructions/build-aosp-android-p-9-0-0
I try to build this next week stay tuned
VinBenzin810 said:
I try to build this next week stay tuned
Click to expand...
Click to collapse
That's great! Thanks a lot!
Sent from my [device_name] using XDA-Developers Legacy app
VinBenzin810 said:
I try to build this next week stay tuned
Click to expand...
Click to collapse
TriboDoP said:
That's great! Thanks a lot!
Sent from my [device_name] using XDA-Developers Legacy app
Click to expand...
Click to collapse
I'm actually trying to build it myself now. It's the first time I'm doing it, but their guide is clear and easy to follow. I just need someone to test it when I'm done, my own device isn't unlocked yet and I kinda don't want to unless the bugs are minor.
I'm at step 4 downloading/syncing it right now. I'll let you know when I'm done & upload it in the OP.
Edit: I'll leave it to someone who knows it better. I got stuck at building it (step 5.3), getting an error at the first 10 seconds.
Redcalibur said:
I'm actually trying to build it myself now. It's the first time I'm doing it, but their guide is clear and easy to follow. I just need someone to test it when I'm done, my own device isn't unlocked yet and I kinda don't want to unless the bugs are minor.
I'm at step 4 downloading/syncing it right now. I'll let you know when I'm done & upload it in the OP.
Edit: I'll leave it to someone who knows it better. I got stuck at building it (step 5.3), getting an error at the first 10 seconds.
Click to expand...
Click to collapse
Thanks for trying anyway! Being new to sony i also don't want to breake the camera (altough thankfully there is a custom kernel + twrp + camera-fix) so i am uncertain if i should wait for official android 9 or AOSP android 9 (customroms would be even better).
On my other devices (samsung,oneplus) i use only customroms but at the moment there is very little choice here.
But i love the xz1 with the 835 it is fast as lightning!
Regards!
Sent from my [device_name] using XDA-Developers Legacy app
Redcalibur said:
I'm actually trying to build it myself now. It's the first time I'm doing it, but their guide is clear and easy to follow. I just need someone to test it when I'm done, my own device isn't unlocked yet and I kinda don't want to unless the bugs are minor.
I'm at step 4 downloading/syncing it right now. I'll let you know when I'm done & upload it in the OP.
Edit: I'll leave it to someone who knows it better. I got stuck at building it (step 5.3), getting an error at the first 10 seconds.
Click to expand...
Click to collapse
Which Error you get ? Write me an pn
VinBenzin810 said:
Which Error you get ? Write me an pn
Click to expand...
Click to collapse
Hi, I sent the PM but couldn't find it in between my "sent messages" folder. I'll just send it here too for future references aswell.
So I tried to reproduce the error after running a ./repo_update.sh, but got another error. This time, it progressed a little further. Here are some screens of my terminal.
https://imgur.com/a/4AdBMrp
Redcalibur said:
Hi, I sent the PM but couldn't find it in between my "sent messages" folder. I'll just send it here too for future references aswell.
So I tried to reproduce the error after running a ./repo_update.sh, but got another error. This time, it progressed a little further. Here are some screens of my terminal.
https://imgur.com/a/4AdBMrp
Click to expand...
Click to collapse
I send you an PM look there
Redcalibur said:
Hi, I sent the PM but couldn't find it in between my "sent messages" folder. I'll just send it here too for future references aswell.
So I tried to reproduce the error after running a ./repo_update.sh, but got another error. This time, it progressed a little further. Here are some screens of my terminal.
https://imgur.com/a/4AdBMrp
Click to expand...
Click to collapse
Except
- repo_update.sh hardware/qcom/gps
- vendor-qcom-opensource-location
Poplar xperiadev pie is "today build-able" but doesn't boot yet; good news are xperiadev moves to kernel 4.9; will probably have to wait for SoftwareBinairies v16 Pie specifics...
Will upload poplar_Pie as soon as it will boot...
btw: I've uploaded latest twrp 3.2.3 with OEM.img flash support (and BusyBox) https://androidfilehost.com/?fid=1322778262903981152
Any news about the build?
Getting below error .. doesn't seem like kernel is syncing. Any ideas?
[ 66% 2/3] glob frameworks/base/core/java/**/*.java
ninja: error: 'kernel/sony/msm-4.9/common-kernel/kernel-dtb-poplar', needed by 'out/target/product/poplar/kernel', missing and no known rule to make it
16:01:44 ninja failed with: exit status 1
#### failed to build some targets (07:25 (mm:ss)) ####
rsabluebulls said:
Getting below error .. doesn't seem like kernel is syncing. Any ideas?
[ 66% 2/3] glob frameworks/base/core/java/**/*.java
ninja: error: 'kernel/sony/msm-4.9/common-kernel/kernel-dtb-poplar', needed by 'out/target/product/poplar/kernel', missing and no known rule to make it
16:01:44 ninja failed with: exit status 1
#### failed to build some targets (07:25 (mm:ss)) ####
Click to expand...
Click to collapse
Just delete kernel/sony/msm-4.9/common-kernel directory and your build will go through a complete rebuild of dbt and kernel.
But without Sony Pie OEm vendor image release, the phone will hang on logo...
Thank you oF2pks - I managed to get further with the compile. This is the next error... any help please?
Copying resources from program jar [/Volumes/Mac_Drive/android-pe/out/target/common/obj/APPS/messaging_intermediates/classes.jar]
[ 60% 52636/87279] build out/target/common/obj/PACKAGING/hiddenapi-light-greylist.txt
uniq: illegal option -- D
usage: uniq [-c | -d | -u] [-i] [-f fields] [-s chars] [input [output]]
[ 60% 52851/87279] build out/target/common/obj/PACKAGING/hiddenapi-dark-greylist.txt
uniq: illegal option -- D
usage: uniq [-c | -d | -u] [-i] [-f fields] [-s chars] [input [output]]
[ 60% 52893/87279] build out/target/common/obj/PACKAGING/hiddenapi-blacklist.txt
uniq: illegal option -- D
usage: uniq [-c | -d | -u] [-i] [-f fields] [-s chars] [input [output]]
[ 60% 52978/87279] Yacc: ss <= external/iproute2/misc/ssfilter.y
external/iproute2/misc/ssfilter.y: conflicts: 35 shift/reduce
[ 61% 53613/87279] target C: libext4 <= out/target/product/poplar/obj/STATIC_LIBRARIES/libext4_intermediates/libipt_ECN.c
FAILED: out/target/product/poplar/obj/STATIC_LIBRARIES/libext4_intermediates/libipt_ECN.o
/bin/bash -c "prebuilts/misc/darwin-x86/ccache/ccache prebuilts/clang/host/darwin-x86/clang-4691093/bin/clang -I external/iptables/extensions/../include/ -I external/iptables/extensions/.. -I out/target/product/poplar/gen/STATIC_LIBRARIES/libext4_intermediates -I external/iptables/extensions -I external/iptables/extensions -I out/target/product/poplar/obj/STATIC_LIBRARIES/libext4_intermediates -I out/target/product/poplar/gen/STATIC_LIBRARIES/libext4_intermediates -I libnativehelper/include_jni \$(cat out/target/product/poplar/obj/STATIC_LIBRARIES/libext4_intermediates/import_includes) -I system/core/include -I system/media/audio/include -I hardware/libhardware/include -I hardware/libhardware_legacy/include -I hardware/ril/include -I libnativehelper/include -I frameworks/native/include -I frameworks/native/opengl/include -I frameworks/av/include -isystem out/target/product/poplar/obj/include -isystem kernel/sony/msm-4.9/common-headers/kernel-headers -isystem bionic/libc/include -isystem bionic/libc/kernel/uapi -isystem bionic/libc/kernel/uapi/asm-arm64 -isystem bionic/libc/kernel/android/scsi -isystem bionic/libc/kernel/android/uapi -c -Werror=implicit-function-declaration -DANDROID -fmessage-length=0 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -no-canonical-prefixes -DNDEBUG -UDEBUG -fno-exceptions -Wno-multichar -O2 -g -fno-strict-aliasing -D__compiler_offsetof=__builtin_offsetof -Werror=int-conversion -Wno-reserved-id-macro -Wno-format-pedantic -Wno-unused-command-line-argument -fcolor-diagnostics -Wno-expansion-to-defined -Wno-zero-as-null-pointer-constant -fdebug-prefix-map=\$PWD/= -ffunction-sections -fdata-sections -fno-short-enums -funwind-tables -fstack-protector-strong -Wa,--noexecstack -D_FORTIFY_SOURCE=2 -Wstrict-aliasing=2 -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Werror=date-time -Werror=format-security -nostdlibinc -march=armv8-a -mcpu=cortex-a53 -target aarch64-linux-android -Bprebuilts/gcc/darwin-x86/aarch64/aarch64-linux-android-4.9/aarch64-linux-android/bin -std=gnu99 -DNO_SHARED_LIBS=1 -DXTABLES_INTERNAL -D_LARGEFILE_SOURCE=1 -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DENABLE_IPV4 -DENABLE_IPV6 -D__ANDROID__ -Wall -Werror -Wno-format -Wno-missing-field-initializers -Wno-pointer-arith -Wno-pointer-bool-conversion -Wno-sign-compare -Wno-tautological-pointer-compare -Wno-unused-parameter -fPIC -D_USING_LIBCXX -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -Werror=address-of-temporary -Werror=return-type -Wno-tautological-constant-compare -Wno-null-pointer-arithmetic -Wno-enum-compare -Wno-enum-compare-switch -MD -MF out/target/product/poplar/obj/STATIC_LIBRARIES/libext4_intermediates/libipt_ECN.d -o out/target/product/poplar/obj/STATIC_LIBRARIES/libext4_intermediates/libipt_ECN.o out/target/product/poplar/obj/STATIC_LIBRARIES/libext4_intermediates/libipt_ECN.c"
In file included from out/target/product/poplar/obj/STATIC_LIBRARIES/libext4_intermediates/libipt_ECN.c:11:
external/iptables/extensions/../include/linux/netfilter_ipv4/ipt_ECN.h:13:10: fatal error: 'linux/netfilter/xt_DSCP.h' file not found
#include <linux/netfilter/xt_DSCP.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[ 61% 53616/87279] target StaticLib: libv8 (out/target/product/poplar/obj/STATIC_LIBRARIES/libv8_intermediates/libv8.a)
ninja: build stopped: subcommand failed.
18:47:24 ninja failed with: exit status 1
#### failed to build some targets (05:24:19 (hh:mm:ss)) ####
rsabluebulls said:
external/iptables/extensions/../include/linux/netfilter_ipv4/ipt_ECN.h:13:10: fatal error: 'linux/netfilter/xt_DSCP.h' file not found
#include <linux/netfilter/xt_DSCP.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[ 61% 53616/87279] target StaticLib: libv8 (out/target/product/poplar/obj/STATIC_LIBRARIES/libv8_intermediates/libv8.a)
ninja: build stopped: subcommand failed.
18:47:24 ninja failed with: exit status 1
#### failed to build some targets (05:24:19 (hh:mm:ss)) ####
Click to expand...
Click to collapse
Noob here. Does this (https://medium.com/@christopherney/building-android-o-with-a-mac-da07e8bd94f9) help?
christopherney said:
If the following error is raised during the Android building process:
external/iptables/extensions/../include/linux/netfilter_ipv4/ipt_ECN.h:13:10: fatal error: 'linux/netfilter/xt_DSCP.h' file not found
#include <linux/netfilter/xt_DSCP.h>
Please check the filename user or lower case. Remember that the Android building process is case-sensitive.
Click to expand...
Click to collapse
Does anyone tried any Android Pie Treble GSI roms on our device? is it working fine?
Anyone able to assist with the missing separator error in Android.mk which I'm receiving now?
many thanks
--------------------------
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=9
TARGET_PRODUCT=aosp_g8341
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=cortex-a73
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv8-a
TARGET_2ND_CPU_VARIANT=cortex-a73
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=darwin
HOST_OS_EXTRA=Darwin-17.7.0-x86_64-10.13.6
HOST_BUILD_TYPE=release
BUILD_ID=PPR1.180610.009
OUT_DIR=out
============================================
ninja: no work to do.
ninja: no work to do.
wildcard(out/target/product/poplar/clean_steps.mk) was changed, regenerating...
out/build-aosp_g8341.ninja is missing, regenerating...
[2/947] including art/Android.mk ...
art/build/Android.common.mk:50: warning: unsupported HOST_ARCH=x86_64
[119/947] including device/sony/common/Android.mk ...
hardware/qcom/gps/sdm845/android/Android.mk:48: error: missing separator.
19:53:11 ckati failed with: exit status 1
#### failed to build some targets (57 seconds) ####
arslancn said:
Does anyone tried any Android Pie Treble GSI roms on our device? is it working fine?
Click to expand...
Click to collapse
I tested some ROMs, but I will restart them in Sony LOGO. I don't know if anyone is successful. Maybe I still need to flash something.
Anyone come across a StaticLib: libv8src_32 related compiling issue like mine shown in the log below?
Many thanks - got up to 64% clean build...
make[3]: *** Waiting for unfinished jobs....
INSTALL usr/include/scsi/ufs/ (2 files)
INSTALL usr/include/linux/caif/ (2 files)
INSTALL usr/include/linux/byteorder/ (2 files)
INSTALL usr/include/linux/can/ (5 files)
sed: illegal option -- r
usage: sed script [-Ealn] [-i extension] [file ...]
sed [-Ealn] [-i extension] [-e script] ... [-f script_file] ... [file ...]
sed: illegal option -- r
usage: sed script [-Ealn] [-i extension] [file ...]
sed [-Ealn] [-i extension] [-e script] ... [-f script_file] ... [file ...]
sed: illegal option -- r
usage: sed script [-Ealn] [-i extension] [file ...]
sed [-Ealn] [-i extension] [-e script] ... [-f script_file] ... [file ...]
sed: illegal option -- r
usage: sed script [-Ealn] [-i extension] [file ...]
sed [-Ealn] [-i extension] [-e script] ... [-f script_file] ... [file ...]
make[4]: *** [usr/include/linux/byteorder/.install] Error 1
make[4]: *** [usr/include/linux/caif/.install] Error 1
make[4]: *** [usr/include/linux/can/.install] Error 1
make[4]: *** [usr/include/scsi/ufs/.install] Error 1
make[3]: *** [can] Error 2
make[3]: *** [caif] Error 2
make[3]: *** [byteorder] Error 2
make[3]: *** [ufs] Error 2
make[2]: *** [linux] Error 2
make[2]: *** [scsi] Error 2
make[1]: *** [headers_install] Error 2
make: *** [sub-make] Error 2
[ 64% 56247/87336] target StaticLib: libv8src_32 (out/target/product/poplar/obj_arm/STATIC_LIBRARIES/libv8src_intermediates/libv8src.a)
ninja: build stopped: subcommand failed.
15:16:21 ninja failed with: exit status 1
#### failed to build some targets (49:07 (mm:ss)) ####
Hi all, anyone perhaps have an idea on the below error or perhaps came across it before? (PS. 8.1 ASOP Sony builds without any issues, latest SEP release), this is for Android Pie latest asop
[ 63% 55359/87336] Building Kernel Headers
FAILED: /Volumes/Extra/androidp_r06/out/target/product/poplar/obj/KERNEL_OBJ/.headers_install_stamp
/bin/bash -c "(if [ ! -z "aosp_yoshino_poplar_defconfig" ]; then rm -f ..//Volumes/Extra/androidp_r06/out/target/product/poplar/obj/KERNEL_OBJ/.config; make -j10 -C kernel/sony/msm-4.9/kernel O=/Volumes/Extra/androidp_r06/out/target/product/poplar/obj/KERNEL_OBJ ARCH=arm64 CROSS_COMPILE="/Volumes/Extra/androidp_r06/prebuilts/misc/darwin-x86/ccache/ccache aarch64-linux-android-" aosp_yoshino_poplar_defconfig; make -j10 -C kernel/sony/msm-4.9/kernel O=/Volumes/Extra/androidp_r06/out/target/product/poplar/obj/KERNEL_OBJ ARCH=arm64 CROSS_COMPILE="/Volumes/Extra/androidp_r06/prebuilts/misc/darwin-x86/ccache/ccache aarch64-linux-android-" headers_install; fi ) && (if [ "aosp_yoshino_poplar_defconfig" != "aosp_yoshino_poplar_defconfig" ]; then echo "Used a different defconfig for header generation"; rm -f ..//Volumes/Extra/androidp_r06/out/target/product/poplar/obj/KERNEL_OBJ/.config; make -j10 -C kernel/sony/msm-4.9/kernel O=/Volumes/Extra/androidp_r06/out/target/product/poplar/obj/KERNEL_OBJ ARCH=arm64 CROSS_COMPILE="/Volumes/Extra/androidp_r06/prebuilts/misc/darwin-x86/ccache/ccache aarch64-linux-android-" aosp_yoshino_poplar_defconfig; fi ) && (if [ ! -z "" ]; then echo "Overriding kernel config with ''"; echo >> /Volumes/Extra/androidp_r06/out/target/product/poplar/obj/KERNEL_OBJ/.config; make -j10 -C kernel/sony/msm-4.9/kernel O=/Volumes/Extra/androidp_r06/out/target/product/poplar/obj/KERNEL_OBJ ARCH=arm64 CROSS_COMPILE="/Volumes/Extra/androidp_r06/prebuilts/misc/darwin-x86/ccache/ccache aarch64-linux-android-" oldconfig; fi )"
GEN ./Makefile
#
# configuration written to .config
#
https://developer.sony.com/file/dow...-for-aosp-pie-android-9-0-kernel-4-9-yoshino/ this link maybe useful for you guys

Categories

Resources