[android-building] Re: AOSP 8 build - Jack internal unknown error 415
How do I downgrade? When I tried it gave me: error: failed to commit transaction (conflicting files) curl: /usr/lib/libcurl.so.4.4.0 exists in filesystem Errors occurred, no packages were upgraded. On Tuesday, November 7, 2017 at 9:57:48 AM UTC-6, Vasishath Kaushal wrote: > > The error is because of curl. Downgrade it to 7.55.1 and it will be fixed. > It fixed for me on arch linux. > >> >> -- -- You received this message because you are subscribed to the "Android Building" mailing list. To post to this group, send email to android-building@googlegroups.com To unsubscribe from this group, send email to android-building+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-building?hl=en --- You received this message because you are subscribed to the Google Groups "Android Building" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-building+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[android-building] Re: Build failure with android-8.0.0_r23 (and master)
It looks like these symbols should be in libLLVMSupport but aren't. After making some changes and then reverting them the problem has fixed itself, which makes me suspect it could be related to concurrency (I was using make -j 4) or possibly some kind of ccache issue (I also nuked the cache at some point). On Monday, 6 November 2017 17:28:11 UTC, Will Newton wrote: > > > Hi, > > I'm trying to build AOSP on Ubuntu 16.04 and running into this error on > the Android 8 and master branches: > > [ 73% 47110/64124] host Prebuilt: minigzip > (/temp/out/dist/android-repo/host/linux-x86/obj/EXECUTABLES/minigzip_intermediates/minigzip) > [ 73% 47111/64124] //external/llvm/utils/TableGen:llvm-tblgen link > llvm-tblgen [linux_glibc] > FAILED: > /temp/out/dist/android-repo/soong/.intermediates/external/llvm/utils/TableGen/llvm-tblgen/linux_glibc_x86_64/llvm-tblgen > > > prebuilts/clang/host/linux-x86/clang-4393122/bin/clang++ > @/temp/out/dist/android-repo/soong/.intermediates/external/llvm/utils/TableGen/llvm-tblgen/linux_glibc_x86_64/llvm-tblgen.rsp > > /temp/out/dist/android-repo/soong/.intermediates/external/llvm/lib/TableGen/libLLVMTableGen/linux_glibc_x86_64_static/libLLVMTableGen.a > > /temp/out/dist/android-repo/soong/.intermediates/external/llvm/lib/Support/libLLVMSupport/linux_glibc_x86_64_static/libLLVMSupport.a > > -Wl,--start-group > /temp/out/dist/android-repo/soong/.intermediates/external/compiler-rt/libcompiler_rt-extras/linux_glibc_x86_64_static/libcompiler_rt-extras.a > > -Wl,--end-group > /temp/out/dist/android-repo/soong/.intermediates/external/libcxx/libc++/linux_glibc_x86_64_shared/libc++.so > > -o > /temp/out/dist/android-repo/soong/.intermediates/external/llvm/utils/TableGen/llvm-tblgen/linux_glibc_x86_64/llvm-tblgen > > -target x86_64-linux-gnu > -Bprebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/bin > -Wl,--no-undefined -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now > -Wl,--no-undefined-version > --gcc-toolchain=prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8 > --sysroot prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot > -m64 > -Bprebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/lib/gcc/x86_64-linux/4.8 > > -Lprebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/lib/gcc/x86_64-linux/4.8 > > -Lprebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/lib64 > -lncurses -lgcc_s -ldl -lpthread -lm -lrt -Wl,-rpath,\$ORIGIN/../lib64 > -Wl,-rpath,\$ORIGIN/lib64 -pie -nodefaultlibs -lgcc_s -lgcc -lc -lgcc_s > -lgcc > external/llvm/include/llvm/ADT/SmallVector.h:81: error: undefined > reference to 'llvm::SmallVectorBase::grow_pod(void*, unsigned long, > unsigned long)' > external/llvm/include/llvm/ADT/SmallVector.h:81: error: undefined > reference to 'llvm::SmallVectorBase::grow_pod(void*, unsigned long, > unsigned long)' > external/llvm/include/llvm/ADT/SmallVector.h:81: error: undefined > reference to 'llvm::SmallVectorBase::grow_pod(void*, unsigned long, > unsigned long)' > external/llvm/include/llvm/ADT/SmallVector.h:81: error: undefined > reference to 'llvm::SmallVectorBase::grow_pod(void*, unsigned long, > unsigned long)' > external/llvm/include/llvm/Support/CommandLine.h:345: error: undefined > reference to 'vtable for llvm::cl::Option' > external/llvm/include/llvm/Support/CommandLine.h:307: error: undefined > reference to 'llvm::cl::GeneralCategory' > > (many more undefined symbols follow) > > The symbols all seem to be in libLLVM.so which is not part of the link as > far as I can tell. Any ideas why this might be happening? > > Thanks, > -- -- You received this message because you are subscribed to the "Android Building" mailing list. To post to this group, send email to android-building@googlegroups.com To unsubscribe from this group, send email to android-building+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-building?hl=en --- You received this message because you are subscribed to the Google Groups "Android Building" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-building+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[android-building] [Nougat] Compiling error
I am seeing this error again and again when I am building rom from source. Kindly help me with it. Is this due to my java version ? I am usig open-jdk 1.8. 100% 302/302] Docs droiddoc: /ho...get/common/docs/doc-comment-check FAILED: /bin/bash /home/cobalt/rr/out/target/common/docs/doc-comment-check-timestamp.rsp frameworks/base/core/java/android/app/ThemeManager.java:47: error 103: Unknown tag: @Override frameworks/base/core/java/android/app/ThemeManager.java:54: error 103: Unknown tag: @Override frameworks/base/core/java/android/app/ThemeManager.java:65: error 103: Unknown tag: @Override frameworks/base/core/java/android/app/ThemeManager.java:79: error 103: Unknown tag: @Override frameworks/base/core/java/android/pocket/PocketManager.java:36: error 103: Unknown tag: @Override frameworks/base/core/java/android/provider/Settings.java:3672: error 101: Unresolved link/see tag "android.provider.Settings.Global.KEY_SMS_BREATH" in android.provider.Settings.System frameworks/base/core/java/android/widget/SeekBar.java:41: error 101: Unresolved link/see tag "ProgressBar.setMax(int)" in android.preference.CustomSeekBarPreference frameworks/base/core/java/android/widget/SeekBar.java:43: error 101: Unresolved link/see tag "ProgressBar.setMax(int)" in android.widget.SeekBar.OnSeekBarChangeListener DroidDoc took 271 sec. to write docs to /home/cobalt/rr/out/target/common/docs/doc-comment-check ninja: build stopped: subcommand failed. build/core/ninja.mk:151: recipe for target 'ninja_wrapper' failed make: *** [ninja_wrapper] Error 1 -- -- You received this message because you are subscribed to the "Android Building" mailing list. To post to this group, send email to android-building@googlegroups.com To unsubscribe from this group, send email to android-building+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-building?hl=en --- You received this message because you are subscribed to the Google Groups "Android Building" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-building+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[android-building] Re: Android 8.0.0 Oreo DR Released
Android 8.0.0 Oreo DR EMR source code is now available. The following builds, tags, and devices are supported: - OPD1.170816.025, android-8.0.0_r33, Pixel 2 XL, Pixel 2 - OPD3.170816.023, android-8.0.0_r34, Pixel 2 XL, Pixel 2 The corresponding factory images, ota images, and proprietary binaries are available at https://developers.google.com/android/images https://developers.google.com/android/ota https://developers.google.com/android/drivers We have pushed the corresponding kernel projects for the following devices: tag project branch device android-8.0.0_r0.28 kernel/msm android-msm-wahoo-4.4-oreo-dr1 Pixel 2 XL, Pixel 2 bill -- -- You received this message because you are subscribed to the "Android Building" mailing list. To post to this group, send email to android-building@googlegroups.com To unsubscribe from this group, send email to android-building+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-building?hl=en --- You received this message because you are subscribed to the Google Groups "Android Building" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-building+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[android-building] Re: Android 8.0.0 Oreo DR Released
A release targeted to Pixel 2 XL (taimen) and Pixel 2 (walleye) On Tuesday, November 7, 2017 at 7:57:48 AM UTC-8, Guoyin Chen wrote: > > What the DR means here? > > On Tuesday, November 7, 2017 at 9:00:52 AM UTC+8, Bill Yi wrote: >> >> Android 8.0.0 Oreo DR source code is now available. The following builds, >> tags, and devices are supported: >> - OPD1.170816.018, android-8.0.0_r25, Pixel 2 >> - OPD2.170816.015, android-8.0.0_r26, Pixel 2 >> - OPD3.170816.016, android-8.0.0_r27, Pixel 2 >> >> The corresponding factory images, ota images, and proprietary binaries >> are available at >> https://developers.google.com/android/images >> https://developers.google.com/android/ota >> https://developers.google.com/android/drivers >> >> We have pushed the corresponding kernel projects for the following >> devices: >> tag project branch >> device >> android-8.0.0_r0.22 kernel/msm android-msm-wahoo-4.4-oreo-dr1 Pixel 2 >> >> bill >> > -- -- You received this message because you are subscribed to the "Android Building" mailing list. To post to this group, send email to android-building@googlegroups.com To unsubscribe from this group, send email to android-building+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-building?hl=en --- You received this message because you are subscribed to the Google Groups "Android Building" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-building+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [android-building] Android O build error for car emulator
You should delete this rule from nonplat_sepolicy.cil: allow domain sysfs_qemu_trace (file (ioctl read write getattr lock append map open)) 2017-10-13 10:47 GMT+08:00 Kun Li : > I met sepolicy error when build latest android O code > with car_emu_x86_64-userdebug: > -- > [ 82% 60943/73832] build out/target/product/.-x86_64/obj/ETC/sepolicy_ > intermediates/sepolicy > FAILED: out/target/product/car-x86_64/obj/ETC/sepolicy_ > intermediates/sepolicy > /bin/bash -c "(out/host/linux-x86/bin/secilc -m -M true -G -c 30 > out/target/product/car-x86_64/obj/ETC/plat_sepolicy.cil_ > intermediates/plat_sepolicy.cil out/target/product/car-x86_64/ > obj/ETC/1.0.cil_intermediates/1.0.cil > out/target/product/car-x86_64/obj/ETC/nonplat_sepolicy.cil_ > intermediates/nonplat_sepolicy.cil -o out/target/product/car-x86_64/ > obj/ETC/sepolicy_intermediates/sepolicy.tmp -f /dev/null ) && > (out/host/linux-x86/bin/sepolicy-analyze out/target/product/car-x86_64/ > obj/ETC/sepolicy_intermediates/sepolicy.tmp permissive > > out/target/product/car-x86_64/obj/ETC/sepolicy_intermediates/sepolicy.permissivedomains > ) && (if [ \"userdebug\" = \"user\" -a -s out/target/product/car-x86_64/ > obj/ETC/sepolicy_intermediates/sepolicy.permissivedomains ]; then > echo \"==\" 1>&2; echo \"ERROR: permissive > domains not allowed in user builds\" 1>&2;echo \"List of > invalid domains:\" 1>&2; cat out/target/product/car-x86_64/ > obj/ETC/sepolicy_intermediates/sepolicy.permissivedomains 1>&2; > exit 1; fi ) && (mv out/target/product/car-x86_64/ > obj/ETC/sepolicy_intermediates/sepolicy.tmp out/target/product/car-x86_64/ > obj/ETC/sepolicy_intermediates/sepolicy )" > neverallow check failed at out/target/product/car-x86_64/ > obj/ETC/plat_sepolicy.cil_intermediates/plat_sepolicy.cil:11513 from > system/sepolicy/private/isolated_app.te:113 > (neverallow isolated_app base_typeattr_290 (file (ioctl read write > create setattr lock relabelfrom append unlink link rename open))) > > allow at out/target/product/car-x86_64/obj/ETC/nonplat_sepolicy.cil_ > intermediates/nonplat_sepolicy.cil:6402 > (allow domain sysfs_qemu_trace (file (ioctl read write getattr lock > append map open))) > > Failed to generate binary > Failed to build policydb > [ 82% 60946/73832] //frameworks/compile/slang:llvm-rs-cc clang++ > slang_rs_object_ref_count.cpp [linux_glibc] > ninja: build stopped: subcommand failed. > 19:10:30 ninja failed with: exit status 1 > > > No idea on this error , anyone met this before ? > > > > > > > > > > > > -- > -- > You received this message because you are subscribed to the "Android > Building" mailing list. > To post to this group, send email to android-building@googlegroups.com > To unsubscribe from this group, send email to > android-building+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-building?hl=en > > --- > You received this message because you are subscribed to the Google Groups > "Android Building" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to android-building+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- -- You received this message because you are subscribed to the "Android Building" mailing list. To post to this group, send email to android-building@googlegroups.com To unsubscribe from this group, send email to android-building+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-building?hl=en --- You received this message because you are subscribed to the Google Groups "Android Building" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-building+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[android-building] Run Android Emulator with custom build kernel
I try to run android emulator with custom build kernel. The steps for build kernel: git clone https://android.googlesource.com/kernel/goldfish/ -b android-goldfish-3.18 git clone https://android.googlesource.com/platform/prebuilts/gcc/linux-x86/x86/x86_64-linux-android-4.9 cd goldfishexport CROSS_COMPILE=x86_64-linux-android-export ARCH=x86_64export PATH=$PATH:/path/to/x86_64-linux-android-4.9/bin make x86_64_ranchu_defconfig make -j4 Then, when I try to run emulator with this image: emulator -avd Nexus_5_API_24 -kernel /path/to/goldfish/arch/x86/boot/bzImage -show-kernel Emulator window starts, I see "Android" logo, but nothing else happens. It is bootloop and in console I see this message again and again: [ 22.396836] init: Starting service 'netd'... [ 22.397460] init: Starting service 'media'... [ 22.397919] init: Starting service 'zygote'... [ 22.808059] zygote[2021]: segfault at bf833000 ip afba292a sp bf8528f0 error 4 in libart.so[af66d000+745000] [ 22.809470] init: Service 'zygote' (pid 2021) killed by signal 11 [ 22.809940] init: Service 'zygote' (pid 2021) killing any children in process group [ 22.810545] init: write_file: Unable to open '/sys/android_power/request_state': No such file or directory [ 22.811288] init: write_file: Unable to write to '/sys/power/state': Invalid argument [ 22.811881] init: Service 'media' is being killed... [ 22.812608] init: Service 'netd' is being killed... [ 22.813030] init: Service 'media' (pid 2020) killed by signal 9 [ 22.813482] init: Service 'media' (pid 2020) killing any children in process group [ 22.814085] init: Service 'netd' (pid 2019) killed by signal 9 [ 22.814533] init: Service 'netd' (pid 2019) killing any children in process group [ 22.815129] init: Untracked pid 2129 killed by signal 9 I found some answer here: https://gist.github.com/yan12125/78a9004acb1bed5faf2ffd442163e2ef But I don`t want and can`t build ASOP and add fix to thread.cc, because I need only custom kernel and official images from Google. How I can build kernel to avoid this error or, maybe, it is some option when run emulator? P.S. I also tried another branches for goldfish (android-goldfish-3.10), but with the same result. Thank you for your answers! -- -- You received this message because you are subscribed to the "Android Building" mailing list. To post to this group, send email to android-building@googlegroups.com To unsubscribe from this group, send email to android-building+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-building?hl=en --- You received this message because you are subscribed to the Google Groups "Android Building" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-building+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[android-building] Compiling errors
I am facing these errors kindly help thank you I have fixed the problem in droiddoc.mk, but stil getting problems. 100% 302/302] Docs droiddoc: /ho...get/common/docs/doc-comment-check FAILED: /bin/bash /home/cobalt/rr/out/target/common/docs/doc-comment-check-timestamp.rsp frameworks/base/core/java/android/app/ThemeManager.java:47: error 103: Unknown tag: @Override frameworks/base/core/java/android/app/ThemeManager.java:54: error 103: Unknown tag: @Override frameworks/base/core/java/android/app/ThemeManager.java:65: error 103: Unknown tag: @Override frameworks/base/core/java/android/app/ThemeManager.java:79: error 103: Unknown tag: @Override frameworks/base/core/java/android/pocket/PocketManager.java:36: error 103: Unknown tag: @Override frameworks/base/core/java/android/provider/Settings.java:3672: error 101: Unresolved link/see tag "android.provider.Settings.Global.KEY_SMS_BREATH" in android.provider.Settings.System frameworks/base/core/java/android/widget/SeekBar.java:41: error 101: Unresolved link/see tag "ProgressBar.setMax(int)" in android.preference.CustomSeekBarPreference frameworks/base/core/java/android/widget/SeekBar.java:43: error 101: Unresolved link/see tag "ProgressBar.setMax(int)" in android.widget.SeekBar.OnSeekBarChangeListener DroidDoc took 271 sec. to write docs to /home/cobalt/rr/out/target/common/docs/doc-comment-check ninja: build stopped: subcommand failed. build/core/ninja.mk:151: recipe for target 'ninja_wrapper' failed make: *** [ninja_wrapper] Error 1 -- -- You received this message because you are subscribed to the "Android Building" mailing list. To post to this group, send email to android-building@googlegroups.com To unsubscribe from this group, send email to android-building+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-building?hl=en --- You received this message because you are subscribed to the Google Groups "Android Building" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-building+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[android-building] Re: Error when building marlin Oreo kernel Image.gz-dtb not found
Has anyone had any luck compiling the marlin kernel (android-8.0.0_r0.12) in the android-8.0.0_r15 tag? On Wednesday, November 1, 2017 at 10:39:52 PM UTC-4, Will Fairclough wrote: > > Hi, > > I am having an issue compiling the Android Oreo 8.0.0 kernel sources for > marlin in my AOSP tree. > > cp: cannot stat > 'out/target/product/sailfish/obj/KERNEL_OBJ/arch/arm64/boot/Image.gz-dtb': > No such file or directory > > I cannot figure out why the build is trying to look for Image.gz-dtb when > it looks like the kernel is compressed with lz4. > > will@localhost oreo$ ls > out/target/product/sailfish/obj/KERNEL_OBJ/arch/arm64/boot > dts Image Image.lz4 Image.lz4-dtb > > > > I have remove the make variables that set the TARGET_PREBUILT_KERNEL as > well as added the following to my BoardConfig.mk in device/google/marlin: > > # Inline kernel > BOARD_KERNEL_IMAGE_NAME := Image.lz4-dtb > TARGET_KERNEL_SOURCE := kernel/google/marlin > KERNEL_DEFCONFIG := marlin_defconfig > > TARGET_KERNEL_ARCH := arm64 > TARGET_KERNEL_HEADER_ARCH := arm64 > > > Is there anything obvious that I am missing? > > Will > > > -- -- You received this message because you are subscribed to the "Android Building" mailing list. To post to this group, send email to android-building@googlegroups.com To unsubscribe from this group, send email to android-building+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-building?hl=en --- You received this message because you are subscribed to the Google Groups "Android Building" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-building+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[android-building] Re: AOSP 8 build - Jack internal unknown error 415
The error is because of curl. Downgrade it to 7.55.1 and it will be fixed. It fixed for me on arch linux. On Thursday, 2 November 2017 08:09:52 UTC+5:30, ezio84 wrote: > > EDIT: after a make clean, i'm getting the error again... > -- -- You received this message because you are subscribed to the "Android Building" mailing list. To post to this group, send email to android-building@googlegroups.com To unsubscribe from this group, send email to android-building+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-building?hl=en --- You received this message because you are subscribed to the Google Groups "Android Building" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-building+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[android-building] Re: Android 8.0.0 Oreo DR Released
What the DR means here? On Tuesday, November 7, 2017 at 9:00:52 AM UTC+8, Bill Yi wrote: > > Android 8.0.0 Oreo DR source code is now available. The following builds, > tags, and devices are supported: > - OPD1.170816.018, android-8.0.0_r25, Pixel 2 > - OPD2.170816.015, android-8.0.0_r26, Pixel 2 > - OPD3.170816.016, android-8.0.0_r27, Pixel 2 > > The corresponding factory images, ota images, and proprietary binaries are > available at > https://developers.google.com/android/images > https://developers.google.com/android/ota > https://developers.google.com/android/drivers > > We have pushed the corresponding kernel projects for the following devices: > tag project branch > device > android-8.0.0_r0.22 kernel/msm android-msm-wahoo-4.4-oreo-dr1 Pixel 2 > > bill > -- -- You received this message because you are subscribed to the "Android Building" mailing list. To post to this group, send email to android-building@googlegroups.com To unsubscribe from this group, send email to android-building+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-building?hl=en --- You received this message because you are subscribed to the Google Groups "Android Building" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-building+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[android-building] Re: Android 8.0.0 Oreo DR Released
Is the dr release a beta source code ? -- -- You received this message because you are subscribed to the "Android Building" mailing list. To post to this group, send email to android-building@googlegroups.com To unsubscribe from this group, send email to android-building+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-building?hl=en --- You received this message because you are subscribed to the Google Groups "Android Building" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-building+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.