hashbang/os

Build error: Offending entries:

ypid opened this issue · 4 comments

ypid commented

The error message:

make groupid=100 DEVICE=sailfish tools
[...]
[ 99% 573/574] finishing build rules ...
FAILED:
build/make/core/main.mk:1402: warning:  build/target/product/aosp_arm.mk produces files inside build/target/product/mainline_system.mks artifact path requirement. 
Offending entries:
system/etc/default-permissions/default-permissions_app.seamlessupdate.client.xml
system/etc/permissions/permissions_app.seamlessupdate.client.xml
system/etc/permissions/permissions_com.stevesoltys.backup.xml
system/etc/permissions/permissions_org.fdroid.fdroid.privileged.xml
system/etc/sysconfig/whitelist_app.seamlessupdate.client.xml
system/etc/sysconfig/whitelist_com.stevesoltys.backup.xml
system/priv-app/Backup/Backup.apk
system/priv-app/F-DroidPrivilegedExtension/F-DroidPrivilegedExtension.apk
system/priv-app/Updater/Updater.apk
build/make/core/main.mk:1402: error: Build failed.
20:26:42 ckati failed with: exit status 1
Makefile:79: recipe for target 'tools' failed
make: *** [tools] Error 1

Any idea? I already did some digging but was unable to find the issue. Note that I commented out F-Droid from the products list for debugging this issue, thats why it is missing from the list.

ypid commented

With android-10.0.0_r10 this problem does not occur for me anymore.

ypid commented

Ah, false, it still occurs.

yecho commented

Hi @ypid,

I have encountered the same problem, did you solve it?
Am also digging into it. Will report if I have some findings...

Cheers

ypid commented

I was not able to dig into it to understand it fully, but at least this error has not occurred for me in the past few months. According to my build logs, it happened to me three times (three different releases). The last occurrence on 2020-03-10:

$ ag ckati
13.12.log
795:02:33:22 ckati failed with: exit status 1

15.log
6606:23:35:10 ckati failed with: exit status 1

17.2.log
116:21:31:48 ckati failed with: exit status 1

$ ll 13.12.log 15.log 17.2.log
-rw-r--r-- 1 builder builder 211K 2019-11-22 03:33 13.12.log
-rw-r--r-- 1 builder builder 1.1M 2020-01-25 20:57 15.log
-rw-r--r-- 1 builder builder  14K 2020-03-10 22:31 17.2.log

My hope is that those errors go away with hashbang/aosp-build#4 (GrapheneOS also lists Debian buster as supported). You might try that. Also, for what target are you building?