Build problem

200 views
Skip to first unread message

Kai Wu

unread,
Jun 8, 2021, 10:27:06 PM6/8/21
to Android Building
Where to get the COPYRIGHT document?
I want to build image for my Pixel 5 but always get error as below.

error: ninja: 'vendor/qcom/redfin/COPYRIGHT', needed by 'out/target/product/redfin/obj/NOTICE_FILES/src/system_ext/app/QtiTelephonyService/QtiTelephonyService.apk.txt', missing and no known rule to make it

Does anyone face this issue?

cptl...@gmail.com

unread,
Jun 15, 2021, 6:34:26 PM6/15/21
to Android Building
In vendor/qcom/redfin/proprietary/Android.mk:

There are several lines that say:
LOCAL_NOTICE_FILE := $(LOCAL_PATH)/../COPYRIGHT $(LOCAL_PATH)/../LICENSE

Remove the  $(LOCAL_PATH)/../COPYRIGHT part.  Only the LICENSE file exists.

Dan Willemsen

unread,
Jun 15, 2021, 7:37:13 PM6/15/21
to Android Building
If that doesn't work, try rebuilding the blob files, my understanding is that they've been fixed.

Thanks,
Dan

--
--
You received this message because you are subscribed to the "Android Building" mailing list.
To post to this group, send email to android-...@googlegroups.com
To unsubscribe from this group, send email to
android-buildi...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

---
You received this message because you are subscribed to the Google Groups "Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-buildi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-building/95115842-5e59-4b81-9845-86cab2bb3b38n%40googlegroups.com.

lf l

unread,
Jun 23, 2021, 1:06:24 AM6/23/21
to Android Building
I went there too, my solution is to duplicate and rename the LICENSE file to COPYRIGHT

Andrew Fernandes

unread,
Jun 23, 2021, 1:06:51 AM6/23/21
to Android Building
Yes, I ran into a similar issue and just touched those files so they exist for the build to proceed.

$ touch vendor/qcom/redfin/COPYRIGHT

On Tuesday, June 8, 2021 at 10:27:06 PM UTC-4 s41...@gmail.com wrote:

Kai Wu

unread,
Jun 23, 2021, 1:14:04 AM6/23/21
to Android Building
Thanks for reply of everyone in this discussion.
Process is working with touch command
$ touch vendor/qcom/redfin/COPYRIGHT

afer...@gmail.com 在 2021年6月23日 星期三下午1:06:51 [UTC+8] 的信中寫道:
Reply all
Reply to author
Forward
0 new messages