Skip to content

Build fails for devices with PRODUCT_ENFORCE_ARTIFACT_PATH_REQUIREMENTS := strict in their makefiles #44

@petefoth

Description

@petefoth
  • buildserv3: Failed build for akita (Google Pixel 8a) branch: lineage-22.1
[ 99% 213/214] finishing legacy Make module parsing ...
FAILED:
build/make/core/artifact_path_requirements.mk:31: warning:  device/google/akita/lineage_akita.mk produces files inside build/make/target/product/generic_system.mks artifact path requirement.
Offending entries:
system/etc/microg.xml
In file included from build/make/core/main.mk:1157:
  • caused by this PR In the android_vendor_partner_gms/ repo. I have seen this build error before when making builds for sunfish (Google Pixel 4a) - see here. I'm guessing it will break the build for all Google Pixel devices that have PRODUCT_ENFORCE_ARTIFACT_PATH_REQUIREMENTS := strict in their makefiles (14 instances - 5 devices and 9 motorola commonrepos - in LOS GitHub repos).

Possible fixes:

  1. Revert that change In the android_vendor_partner_gms/ repo
  2. Create and maintain a patch for all Google Pixel devices, and apply it when building
  3. Set PRODUCT_ENFORCE_ARTIFACT_PATH_REQUIREMENTS := relaxed as an environment variable

Originally posted by @petefoth in #754

Metadata

Metadata

Assignees

No one assigned

    Labels

    Upstream issueNeeds to be fixed upstreambugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions