[Android Builders Collective] SuperITMan:
Hey @Palinamarne

I have the same issue on my machine (already tried with Debian booksworm and now with Arch Linux) but I don't get the same result as you when executing the command

me@archlinux /mnt/grapheneos/repo % $ANDROID_BUILD_TOP/development/vndk/tools/header-checker/utils/create_reference_dumps.py -l libcrypto
making libs for aosp_arm-userdebug
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=14
PRODUCT_INCLUDE_TAGS=com.android.mainline
TARGET_PRODUCT=aosp_arm
TARGET_BUILD_VARIANT=userdebug
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=generic
HOST_OS=linux
HOST_OS_EXTRA=Linux-6.6.1-arch1-1-x86_64-Arch-Linux
HOST_CROSS_OS=windows
BUILD_ID=UP1A.231105.003
PLATFORM_SECURITY_PATCH=2023-11-01
OUT_DIR=out
============================================
[100% 3/3] analyzing Android.bp files and generating ninja file at out/soong/build.ninja
FAILED: out/soong/build.ninja
cd "$(dirname "out/host/linux-x86/bin/soong_build")" && BUILDER="$PWD/$(basename "out/host/linux-x86/bin/soong_build")" && cd / && env -i "$BUILDER" --top "$TOP" --soong_out "out/soong" --out "out" -o out/soong/build.ninja --bazel-mode --globListDir build --globFile out/soong/globs-build.ninja -t -l out/.module_paths/Android.bp.list --available_env out/soong/soong.environment.available --used_env out/soong/soong.environment.used.build Android.bp
error: external/hardened_malloc/androidtest/Android.bp:22:24: module "HMallocTest" variant "linux_glibc_common": data_device_bins_64: cannot find 64bit device target. Targets: map["android":["android_arm_armv7-a-neon"] "common_os":["common_os_common"] "linux_glibc":["linux_glibc_x86_64" "linux_glibc_x86"] "windows":["windows_x86" "windows_x86_64"]]
13:24:19 soong bootstrap failed with: exit status 1
Traceback (most recent call last):
File "/mnt/grapheneos/repo/development/vndk/tools/header-checker/utils/create_reference_dumps.py", line 228, in <module>
main()
File "/mnt/grapheneos/repo/development/vndk/tools/header-checker/utils/create_reference_dumps.py", line 219, in main
num_processed = create_source_abi_reference_dumps_for_all_products(args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/grapheneos/repo/development/vndk/tools/header-checker/utils/create_reference_dumps.py", line 146, in create_source_abi_reference_dumps_for_all_products
make_libs_for_product(args.libs, product, args.build_variant,
File "/mnt/grapheneos/repo/development/vndk/tools/header-checker/utils/create_reference_dumps.py", line 52, in make_libs_for_product
make_libraries(product, variant, vndk_version, targets, libs,
File "/mnt/grapheneos/repo/development/vndk/tools/header-checker/utils/utils.py", line 168, in make_libraries
lsdump_paths = read_lsdump_paths(product, variant, vndk_version, targets,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/grapheneos/repo/development/vndk/tools/header-checker/utils/utils.py", line 264, in read_lsdump_paths
make_targets(product, variant, [lsdump_paths_file_path])
File "/mnt/grapheneos/repo/development/vndk/tools/header-checker/utils/utils.py", line 157, in make_targets
subprocess.check_call(make_cmd, cwd=AOSP_DIR)
File "/usr/lib/python3.11/subprocess.py", line 413, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['build/soong/soong_ui.bash', '--make-mode', '-j', 'TARGET_PRODUCT=aosp_arm', 'TARGET_BUILD_VARIANT=userdebug', 'out/target/product/generic/lsdump_paths.txt']' returned non-zero exit status 1.
-l libcrypto 139.24s user 32.67s system 181% cpu 1:34.55 total

I'm trying to build Android for my Google Pixel 6 Pro (raven).

Any idea ?