[Samsung Galaxy J5 (2015) ROMs, Kernels, Recoveries] fidaj:
Hi.

Why it is not possible to build a ROM according to this instruction github.com / BootleggersROM / manifest and using this gitlab.com / jenslody / local_manifests / tree / pie local_manifest.

Is there something broken in the source code, or is it intentionally done?

First error:

source build/envsetup.sh

including device/samsung/j53gxx/vendorsetup.sh

device/samsung/j53gxx/vendorsetup.sh:2: add_lunch_combo is obsolete. Use COMMON_LUNCH_CHOICES in your AndroidProducts.mk instead.

device/samsung/j53gxx/vendorsetup.sh:2: add_lunch_combo is obsolete. Use COMMON_LUNCH_CHOICES in your AndroidProducts.mk instead.

device/samsung/j53gxx/vendorsetup.sh:2: add_lunch_combo is obsolete. Use COMMON_LUNCH_CHOICES in your AndroidProducts.mk instead.

including device/samsung/j5ltechn/vendorsetup.sh

device/samsung/j5ltechn/vendorsetup.sh:2: add_lunch_combo is obsolete. Use COMMON_LUNCH_CHOICES in your AndroidProducts.mk instead.

device/samsung/j5ltechn/vendorsetup.sh:2: add_lunch_combo is obsolete. Use COMMON_LUNCH_CHOICES in your AndroidProducts.mk instead.

device/samsung/j5ltechn/vendorsetup.sh:2: add_lunch_combo is obsolete. Use COMMON_LUNCH_CHOICES in your AndroidProducts.mk instead.

including device/samsung/j5lte/vendorsetup.sh

device/samsung/j5lte/vendorsetup.sh:2: add_lunch_combo is obsolete. Use COMMON_LUNCH_CHOICES in your AndroidProducts.mk instead.

device/samsung/j5lte/vendorsetup.sh:2: add_lunch_combo is obsolete. Use COMMON_LUNCH_CHOICES in your AndroidProducts.mk instead.

device/samsung/j5lte/vendorsetup.sh:2: add_lunch_combo is obsolete. Use COMMON_LUNCH_CHOICES in your AndroidProducts.mk instead.

including device/samsung/j5nlte/vendorsetup.sh

device/samsung/j5nlte/vendorsetup.sh:2: add_lunch_combo is obsolete. Use COMMON_LUNCH_CHOICES in your AndroidProducts.mk instead.

device/samsung/j5nlte/vendorsetup.sh:2: add_lunch_combo is obsolete. Use COMMON_LUNCH_CHOICES in your AndroidProducts.mk instead.

device/samsung/j5nlte/vendorsetup.sh:2: add_lunch_combo is obsolete. Use COMMON_LUNCH_CHOICES in your AndroidProducts.mk instead.

including device/samsung/j5xnlte/vendorsetup.sh

device/samsung/j5xnlte/vendorsetup.sh:2: add_lunch_combo is obsolete. Use COMMON_LUNCH_CHOICES in your AndroidProducts.mk instead.

device/samsung/j5xnlte/vendorsetup.sh:2: add_lunch_combo is obsolete. Use COMMON_LUNCH_CHOICES in your AndroidProducts.mk instead.

device/samsung/j5xnlte/vendorsetup.sh:2: add_lunch_combo is obsolete. Use COMMON_LUNCH_CHOICES in your AndroidProducts.mk instead.

After fix, second error:

lunch

You're building on Linux

Lunch menu... pick a combo:

device/samsung/j53gxx/AndroidProducts.mk:8: error: device/samsung/j53gxx: bootleg_j53gxx: Product not defined in this file.

09:38:30 dumpvars failed with: exit status 1

Which would you like? [aosp_arm-eng]

After fix? next error:

lunch

You're building on Linux

Lunch menu... pick a combo:

1. aosp_arm-eng

2. aosp_arm64-eng

3. aosp_x86-eng

4. aosp_x86_64-eng

5. beagle_x15-userdebug

6. bootleg_j53gxx-eng

7. bootleg_j53gxx-user

8. bootleg_j53gxx-userdebug

9. bootleg_j5lte-eng

10. bootleg_j5lte-user

11. bootleg_j5lte-userdebug

12. bootleg_j5ltechn-eng

13. bootleg_j5ltechn-user

14. bootleg_j5ltechn-userdebug

15. bootleg_j5nlte-eng

16. bootleg_j5nlte-user

17. bootleg_j5nlte-userdebug

18. bootleg_j5xnlte-eng

19. bootleg_j5xnlte-user

20. bootleg_j5xnlte-userdebug

21. poplar-eng

22. poplar-user

23. poplar-userdebug

Which would you like? [aosp_arm-eng] bootleg_j53gxx-userdebug

device/samsung/j5-common/board/display.mk:2: error: cannot assign to readonly variable: PRODUCT_AAPT_CONFIG

09:43:04 dumpvars failed with: exit status 1

device/samsung/j5-common/board/display.mk:2: error: cannot assign to readonly variable: PRODUCT_AAPT_CONFIG

09:43:05 dumpvars failed with: exit status 1

After fix, next:

============================================

[100% 138/138] out/soong/.bootstrap/bin/soong_build out/soong/build.ninja

FAILED: out/soong/build.ninja

out/soong/.bootstrap/bin/soong_build -t -l out/.module_paths/Android.bp.list -b out/soong -n out -d out/soong/build.ninja.d -globFile out/soong/.bootstrap/build-globs.ninja -o out/soong/build.ninja Android.bp

error: system/core/init/Android.bp:95:1: "libinit" depends on undefined module "libinit_msm8916"

09:45:05 soong bootstrap failed with: exit status 1

#### failed to build some targets (52 seconds) ####

COOL!