Artifact path requirements.mk:30: Difference between revisions

From JCRDoc
m (Protected "Artifact path requirements.mk:30" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
m (using preformatted block)
Line 11: Line 11:


=Error=
=Error=
[ 99% 168/169] finishing build rules ...
[ 99% 168/169] finishing build rules ...
FAILED:
build/make/core/artifact_path_requirements.mk:30: warning: device/google/pantah/pixys_panther.mk produces files inside build/make/target/product/generic_system.mks artifact path requirement.
Offending entries:
system/app/GoogleExtShared/GoogleExtShared.apk
system/app/GooglePrintRecommendation Service/GooglePrintRecommendationService.apk
system/app/NfcNci/NfcNci.apk
system/app/NfcNci/lib/arm64/libnfc_nci_jni.so
system/etc/init/pixys-ssh.rc
system/etc/init/pixys-system.rc
system/etc/init/pixys-updates.rc
system/etc/libnfc-nci.conf
system/etc/permissions/privapp-permissions-google.xml
system/etc/permissions/privapp-permissions-pixys.xml
system/etc/textclassifier/actions_suggestions.universal.model
system/etc/textclassifier/lang_id.model
system/etc/textclassifier/textclassifier.en.model
system/etc/textclassifier/textclassifier.universal.model
system/lib64/android.hardware.nfc-V1-ndk.so
system/lib64/android.hardware.nfc@1.0.so
system/lib64/android.hardware.nfc@1.1.so
system/lib64/android.hardware.nfc@1.2.so
system/lib64/libnfc-nci.so
system/lib64/libnfc_nci_jni.so
system/priv-app/DocumentsUIGoogle/DocumentsUIGoogle.apk
system/priv-app/GoogleExtServices/GoogleExtServices.apk
system/priv-app/GooglePackage Installer/GooglePackage Installer.apk
system/priv-app/TagGoogle/TagGoogle.apk
In file included from build/make/core/main.mk: 1360:
build/make/core/artifact_path_requirements.mk:
04:05:51 ckati failed with: exit status 1
30: error: Build failed.
#### failed to build some targets (01:54 (mm:ss)) ####
jacob@jms-build:-/pixys$


FAILED:
=Solution=
 
build/make/core/artifact_path_requirements.mk:30: warning: device/google/pantah/pixys_panther.mk produces files inside build/make/target/product/generic_system.mks artifact path requirement.
 
Offending entries:
 
system/app/GoogleExtShared/GoogleExtShared.apk
 
system/app/GooglePrintRecommendation Service/GooglePrintRecommendationService.apk
 
system/app/NfcNci/NfcNci.apk
 
system/app/NfcNci/lib/arm64/libnfc_nci_jni.so
 
system/etc/init/pixys-ssh.rc
 
system/etc/init/pixys-system.rc
 
system/etc/init/pixys-updates.rc
 
system/etc/libnfc-nci.conf
 
system/etc/permissions/privapp-permissions-google.xml
 
system/etc/permissions/privapp-permissions-pixys.xml
 
system/etc/textclassifier/actions_suggestions.universal.model
 
system/etc/textclassifier/lang_id.model
 
system/etc/textclassifier/textclassifier.en.model
 
system/etc/textclassifier/textclassifier.universal.model
 
system/lib64/android.hardware.nfc-V1-ndk.so


system/lib64/android.hardware.nfc@1.0.so
Add following line to Device_google_gs201/BoardConfig-common.mk
 
DISABLE_ARTIFACT_PATH_REQUIREMENTS := true
system/lib64/android.hardware.nfc@1.1.so
 
system/lib64/android.hardware.nfc@1.2.so
 
system/lib64/libnfc-nci.so
 
system/lib64/libnfc_nci_jni.so
 
system/priv-app/DocumentsUIGoogle/DocumentsUIGoogle.apk
 
system/priv-app/GoogleExtServices/GoogleExtServices.apk
 
system/priv-app/GooglePackage Installer/GooglePackage Installer.apk
 
system/priv-app/TagGoogle/TagGoogle.apk
 
In file included from build/make/core/main.mk: 1360:
 
build/make/core/artifact_path_requirements.mk:
 
04:05:51 ckati failed with: exit status 1
 
30: error: Build failed.
 
<nowiki>####</nowiki> failed to build some targets (01:54 (mm:ss)) ####
 
jacob@jms-build:-/pixys$
 
=Solution=
Add following line to Device_google_gs201/BoardConfig-common.mk<blockquote>DISABLE_ARTIFACT_PATH_REQUIREMENTS := true</blockquote>

Revision as of 20:34, 27 February 2023

General Details

Device: Pixel 7

Codename: Panther

Rom: Pixys

Android Version: 13

Security Patch: January 2023

Error

[ 99% 168/169] finishing build rules ...
FAILED:
build/make/core/artifact_path_requirements.mk:30: warning: device/google/pantah/pixys_panther.mk produces files inside build/make/target/product/generic_system.mks artifact path requirement.
Offending entries:
system/app/GoogleExtShared/GoogleExtShared.apk
system/app/GooglePrintRecommendation Service/GooglePrintRecommendationService.apk
system/app/NfcNci/NfcNci.apk
system/app/NfcNci/lib/arm64/libnfc_nci_jni.so
system/etc/init/pixys-ssh.rc
system/etc/init/pixys-system.rc
system/etc/init/pixys-updates.rc
system/etc/libnfc-nci.conf
system/etc/permissions/privapp-permissions-google.xml
system/etc/permissions/privapp-permissions-pixys.xml
system/etc/textclassifier/actions_suggestions.universal.model
system/etc/textclassifier/lang_id.model
system/etc/textclassifier/textclassifier.en.model
system/etc/textclassifier/textclassifier.universal.model
system/lib64/android.hardware.nfc-V1-ndk.so
system/lib64/android.hardware.nfc@1.0.so
system/lib64/android.hardware.nfc@1.1.so
system/lib64/android.hardware.nfc@1.2.so
system/lib64/libnfc-nci.so
system/lib64/libnfc_nci_jni.so
system/priv-app/DocumentsUIGoogle/DocumentsUIGoogle.apk
system/priv-app/GoogleExtServices/GoogleExtServices.apk
system/priv-app/GooglePackage Installer/GooglePackage Installer.apk
system/priv-app/TagGoogle/TagGoogle.apk
In file included from build/make/core/main.mk: 1360:
build/make/core/artifact_path_requirements.mk:
04:05:51 ckati failed with: exit status 1
30: error: Build failed.
#### failed to build some targets (01:54 (mm:ss)) ####
jacob@jms-build:-/pixys$

Solution

Add following line to Device_google_gs201/BoardConfig-common.mk

DISABLE_ARTIFACT_PATH_REQUIREMENTS := true