See https://groups.google.com/g/android-building/c/0kzPnw3akxg

On Wed, Nov 20, 2019 at 4:07 PM Eliane Fonseca <[email protected]>
wrote:

> when building aosp android-8.1.0_r3 always fails, trying to build with
> emulator on a low-spec pc (and i have installed all required components per
> the android compiling instructions), here is the latest console output:
>
> (the target product was mini_emulator_x86 but i also tried aosp_x86 with
> the same error and I had to modify the build ID because it was causing
> another error "too long build fingerprint")
> ============================================
> PLATFORM_VERSION_CODENAME=REL
> PLATFORM_VERSION=8.1.0
> TARGET_PRODUCT=mini_emulator_x86
> TARGET_BUILD_VARIANT=userdebug
> TARGET_BUILD_TYPE=release
> TARGET_ARCH=x86
> TARGET_ARCH_VARIANT=x86
> HOST_ARCH=x86_64
> HOST_2ND_ARCH=x86
> HOST_OS=linux
> HOST_OS_EXTRA=Linux-5.0.0-36-generic-x86_64-with-Ubuntu-18.04-bionic
> HOST_CROSS_OS=windows
> HOST_CROSS_ARCH=x86
> HOST_CROSS_2ND_ARCH=x86_64
> HOST_BUILD_TYPE=release
> BUILD_ID=OC-MR1
> OUT_DIR=out
> ============================================
> ninja: no work to do.
> [1/1] out/soong/.bootstrap/bin/soong_build out/soong/build.ninja
> out/build-mini_emulator_x86.ninja is missing, regenerating...
> [680/995] including ./system/sepolicy/Android.mk ...
> ./system/sepolicy/Android.mk:111: warning: BOARD_SEPOLICY_VERS not
> specified, assuming current platform version
> [995/995] including ./tools/tradefederation/core/Android.mk ...
> platform_testing/build/tasks/tests/instrumentation_metric_test_list.mk:
> warning: continuous_instrumentation_metric_tests: Unknown installed file
> for module perf-setup.sh
> platform_testing/build/tasks/tests/instrumentation_test_list.mk: warning:
> continuous_instrumentation_tests: Unknown installed file for module
> RecyclerViewTests
> platform_testing/build/tasks/tests/instrumentation_test_list.mk: warning:
> continuous_instrumentation_tests: Unknown installed file for module
> SettingsFunctionalTests
> platform_testing/build/tasks/tests/instrumentation_test_list.mk: warning:
> continuous_instrumentation_tests: Unknown installed file for module
> LauncherFunctionalTests
> platform_testing/build/tasks/tests/instrumentation_test_list.mk: warning:
> continuous_instrumentation_tests: Unknown installed file for module
> EmergencyInfoTests
> platform_testing/build/tasks/tests/native_metric_test_list.mk: warning:
> continuous_native_metric_tests: Unknown installed file for module
> perf-setup.sh
> [  2% 1493/57217] target  C: sh <= external/mksh/src/eval.c
> external/mksh/src/eval.c:634:21: warning: implicit conversion from 'int'
> to 'char' changes value from 192 to -64 [-Wconstant-conversion]
>                                                         *dp++ = 0x80 | '@';
>                                                               ~ ~~~~~^~~~~
> 1 warning generated.
> [  2% 1509/57217] target  C: sh_vendor <= external/mksh/src/eval.c
> external/mksh/src/eval.c:634:21: warning: implicit conversion from 'int'
> to 'char' changes value from 192 to -64 [-Wconstant-conversion]
>                                                         *dp++ = 0x80 | '@';
>                                                               ~ ~~~~~^~~~~
> 1 warning generated.
> [  3% 1916/57217] target  C:
> e2fsdroid_st...l/e2fsprogs/contrib/android/block_range.c
> In file included from external/e2fsprogs/contrib/android/block_range.c:3:
> In file included from external/e2fsprogs/contrib/android/block_range.h:5:
> In file included from external/e2fsprogs/lib/ext2fs/ext2fs.h:71:
> external/e2fsprogs/lib/ext2fs/ext2_types.h:30:9: warning: '__bitwise'
> macro redefined [-Wmacro-redefined]
> #define __bitwise
>         ^
> bionic/libc/kernel/uapi/linux/types.h:25:9: note: previous definition is
> here
> #define __bitwise __bitwise__
>         ^
> 1 warning generated.
> [  3% 1917/57217] target  C:
> e2fsdroid_st...al/e2fsprogs/contrib/android/block_list.c
> In file included from external/e2fsprogs/contrib/android/block_list.c:1:
> In file included from external/e2fsprogs/contrib/android/block_list.h:4:
> In file included from external/e2fsprogs/contrib/android/fsmap.h:11:
> In file included from external/e2fsprogs/lib/ext2fs/ext2fs.h:71:
> external/e2fsprogs/lib/ext2fs/ext2_types.h:30:9: warning: '__bitwise'
> macro redefined [-Wmacro-redefined]
> #define __bitwise
>         ^
> bionic/libc/kernel/uapi/linux/types.h:25:9: note: previous definition is
> here
> #define __bitwise __bitwise__
>         ^
> 1 warning generated.
> [  3% 1918/57217] target  C:
> e2fsdroid_st...xternal/e2fsprogs/contrib/android/fsmap.c
> In file included from external/e2fsprogs/contrib/android/fsmap.c:1:
> In file included from external/e2fsprogs/contrib/android/fsmap.h:11:
> In file included from external/e2fsprogs/lib/ext2fs/ext2fs.h:71:
> external/e2fsprogs/lib/ext2fs/ext2_types.h:30:9: warning: '__bitwise'
> macro redefined [-Wmacro-redefined]
> #define __bitwise
>         ^
> bionic/libc/kernel/uapi/linux/types.h:25:9: note: previous definition is
> here
> #define __bitwise __bitwise__
>         ^
> 1 warning generated.
> [  3% 1919/57217] target  C:
> e2fsdroid_st...nal/e2fsprogs/contrib/android/e2fsdroid.c
> In file included from external/e2fsprogs/contrib/android/e2fsdroid.c:6:
> In file included from external/e2fsprogs/lib/ext2fs/ext2fs.h:71:
> external/e2fsprogs/lib/ext2fs/ext2_types.h:30:9: warning: '__bitwise'
> macro redefined [-Wmacro-redefined]
> #define __bitwise
>         ^
> bionic/libc/kernel/uapi/linux/types.h:25:9: note: previous definition is
> here
> #define __bitwise __bitwise__
>         ^
> 1 warning generated.
> [  3% 1921/57217] target  C:
> e2fsdroid_st...ernal/e2fsprogs/contrib/android/base_fs.c
> In file included from external/e2fsprogs/contrib/android/base_fs.c:1:
> In file included from external/e2fsprogs/contrib/android/base_fs.h:4:
> In file included from external/e2fsprogs/contrib/android/fsmap.h:11:
> In file included from external/e2fsprogs/lib/ext2fs/ext2fs.h:71:
> external/e2fsprogs/lib/ext2fs/ext2_types.h:30:9: warning: '__bitwise'
> macro redefined [-Wmacro-redefined]
> #define __bitwise
>         ^
> bionic/libc/kernel/uapi/linux/types.h:25:9: note: previous definition is
> here
> #define __bitwise __bitwise__
>         ^
> 1 warning generated.
> [  3% 1923/57217] target  C:
> e2fsdroid_st...sprogs/contrib/android/basefs_allocator.c
> In file included from
> external/e2fsprogs/contrib/android/basefs_allocator.c:3:
> In file included from
> external/e2fsprogs/contrib/android/basefs_allocator.h:5:
> In file included from external/e2fsprogs/lib/ext2fs/ext2fs.h:71:
> external/e2fsprogs/lib/ext2fs/ext2_types.h:30:9: warning: '__bitwise'
> macro redefined [-Wmacro-redefined]
> #define __bitwise
>         ^
> bionic/libc/kernel/uapi/linux/types.h:25:9: note: previous definition is
> here
> #define __bitwise __bitwise__
>         ^
> 1 warning generated.
> [  3% 1928/57217] target  C:
> e2fsdroid_st...xternal/e2fsprogs/contrib/android/perms.c
> In file included from external/e2fsprogs/contrib/android/perms.c:4:
> In file included from external/e2fsprogs/contrib/android/perms.h:5:
> In file included from external/e2fsprogs/lib/ext2fs/ext2fs.h:71:
> external/e2fsprogs/lib/ext2fs/ext2_types.h:30:9: warning: '__bitwise'
> macro redefined [-Wmacro-redefined]
> #define __bitwise
>         ^
> bionic/libc/kernel/uapi/linux/types.h:25:9: note: previous definition is
> here
> #define __bitwise __bitwise__
>         ^
> external/e2fsprogs/contrib/android/perms.c:291:31: warning: unused
> parameter 'seopts' [-Wunused-parameter]
>                                struct selinux_opt *seopts,
>                                                    ^
> external/e2fsprogs/contrib/android/perms.c:292:24: warning: unused
> parameter 'nopt' [-Wunused-parameter]
>                                unsigned int nopt,
>                                             ^
> 3 warnings generated.
> [  3% 2241/57217] Ensuring Jack server is installed and started
> Jack server already installed in "/home/sspaladin/.jack-server"
> Launching Jack server java -XX:MaxJavaStackTraceDepth=-1
> -Djava.io.tmpdir=/tmp -Dfile.encoding=UTF-8 -XX:+TieredCompilation -cp
> /home/sspaladin/.jack-server/launcher.jar
> com.android.jack.launcher.ServerLauncher
> [  4% 2500/57217] Lex: applypatch <= bootable/recovery/edify/lexer.ll
> FAILED:
> out/target/product/mini-emulator-x86/obj/STATIC_LIBRARIES/libedify_intermediates/lexer.cpp
>
> /bin/bash -c "prebuilts/misc/linux-x86/flex/flex-2.5.39
> -oout/target/product/mini-emulator-x86/obj/STATIC_LIBRARIES/libedify_intermediates/lexer.cpp
> bootable/recovery/edify/lexer.ll"
> flex-2.5.39: loadlocale.c:130: _nl_intern_locale_data: Assertion `cnt <
> (sizeof (_nl_value_type_LC_TIME) / sizeof (_nl_value_type_LC_TIME[0]))'
> failed.
> Aborted (core dumped)
> [  4% 2503/57217] target  C++: libotafault <=
> bootable/recovery/otafault/ota_io.cpp
> ninja: build stopped: subcommand failed.
> 20:22:59 ninja failed with: exit status 1
>
>
> --
> --
> You received this message because you are subscribed to the "Android
> Building" mailing list.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/android-building/834fd63d-62a8-4211-af6b-bc430b2dccbf%40googlegroups.com
> <https://groups.google.com/d/msgid/android-building/834fd63d-62a8-4211-af6b-bc430b2dccbf%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-building/CAMbhsRSy9SRqoWJfXaZUoZF1hpfgzdwgEgqCq_NEbAMXEPVHdw%40mail.gmail.com.

Reply via email to