Forum

Build error : tzdata UID 1000 same as the user running bitbake


#1

Hi,

I tried to build a new image from Fedora 27 (I know it’s not officially supported) but I got an error and don’t know how to solve it:

ERROR: tzdata-2017a-r0 do_package_qa: QA Issue: tzdata: /tzdata/var/luna/preferences/timezone is owned by uid 1000, which is the same as the user running bitbake. This may be due to host contamination [host-user-contaminated]
ERROR: tzdata-2017a-r0 do_package_qa: QA run found fatal errors. Please consider fixing them.
ERROR: tzdata-2017a-r0 do_package_qa: Function failed: do_package_qa
ERROR: Logfile of failure stored in: /home/gulivert/Projects/build-webos/BUILD/work/all-webos-linux/tzdata/2017a-r0/temp/log.do_package_qa.29441
ERROR: Task (/home/gulivert/Projects/build-webos/oe-core/meta/recipes-extended/tzdata/tzdata_2017a.bb:do_package_qa) failed with exit code ‘1’

Any help would be appreciate


#2

@gulivert We will fix it soon.

Temporarily please add below line in ./meta-webos/recipes-extended/tzdata/tzdata_2017a.bbappend

INSANE_SKIP_${PN} += “host-user-contaminated”


#3

Thank you for your reply.

Hmm cannot parse this line: ERROR: ParseError at /home/gulivert/Projects/build-webos/meta-webosose/meta-webos/recipes-extended/tzdata/tzdata_2017a.bbappend:58: unparsed line: ‘INSANE_SKIP_${PN} += “host-user-contaminated”’

I added this line at the end of this file
meta-webosose/meta-webos/recipes-extended/tzdata/tzdata_2017a.bbappend


#4

maybe wrong quotation marks.