PS I've updated the thread subject to better reflect the problem.
Thanks
On 11/12/17 09:58, Mircea Gliga wrote:
Hello,
I have a working krogoth build - I build images etc, everything is
fine.
Then I wanted to try a rocko build, I installed the needed host
packages:
http://www.yoctoproject.org/docs/2.4/yocto-project-qs/yocto-project-qs.html#packages
Then sourced env and bitbake core-image-minimal.
So no extra layers involved, just poky.
I get errors like this:
ERROR: gnu-config-native-20150728+gitAUTOINC+b576fa87c1-r0 do_fetch:
Build
of do_fetch failed
ERROR: gnu-config-native-20150728+gitAUTOINC+b576fa87c1-r0 do_fetch:
Traceback (most recent call last):
File
"/media/mircea/ExtLinux/Adventure/repository/rocko/poky/bitbake/lib/bb/build.py",
line 644, in exec_task
return _exec_task(fn, task, d, quieterr)
File
"/media/mircea/ExtLinux/Adventure/repository/rocko/poky/bitbake/lib/bb/build.py",
line 618, in _exec_task
event.fire(TaskSucceeded(task, logfn, localdata), localdata)
File
"/media/mircea/ExtLinux/Adventure/repository/rocko/poky/bitbake/lib/bb/event.py",
line 222, in fire
fire_class_handlers(event, d)
File
"/media/mircea/ExtLinux/Adventure/repository/rocko/poky/bitbake/lib/bb/event.py",
line 134, in fire_class_handlers
execute_handler(name, handler, event, d)
File
"/media/mircea/ExtLinux/Adventure/repository/rocko/poky/bitbake/lib/bb/event.py",
line 106, in execute_handler
ret = handler(event)
File
"/media/mircea/ExtLinux/Adventure/repository/rocko/poky/meta/classes/buildstats.bbclass",
line 166, in run_buildstats
write_task_data("passed", os.path.join(taskdir, e.task), e, d)
File
"/media/mircea/ExtLinux/Adventure/repository/rocko/poky/meta/classes/buildstats.bbclass",
line 90, in write_task_data
cpu, iostats, resources, childres =
get_process_cputime(os.getpid())
File
"/media/mircea/ExtLinux/Adventure/repository/rocko/poky/meta/classes/buildstats.bbclass",
line 29, in get_process_cputime
with open("/proc/%d/io" % pid, "r") as f:
PermissionError: [Errno 13] Permission denied: '/proc/1530/io'
ERROR: Task
(virtual:native:/media/mircea/ExtLinux/Adventure/repository/rocko/poky/meta/recipes-devtools/gnu-config/gnu-config_git.bb:do_fetch)
failed with exit code '1'
ERROR: autoconf-native-2.69-r11 do_fetch: Execution of event handler
'run_buildstats' failed
Traceback (most recent call last):
File
"/media/mircea/ExtLinux/Adventure/repository/rocko/poky/meta/classes/buildstats.bbclass",
line 166, in run_buildstats(e=<bb.build.TaskSucceeded object at
0x7f07f3f31898>):
elif isinstance(e, bb.build.TaskSucceeded):
> write_task_data("passed", os.path.join(taskdir,
e.task), e, d)
if e.task == "do_rootfs":
File
"/media/mircea/ExtLinux/Adventure/repository/rocko/poky/meta/classes/buildstats.bbclass",
line 90, in write_task_data(status='passed',
logfile='/media/mircea/ExtLinux/Adventure/repository/rocko/build/tmp/buildstats/20171211074610/autoconf-native-2.69-r11/do_fetch',
e=<bb.build.TaskSucceeded object at 0x7f07f3f31898>,
d=<bb.data_smart.DataSmart object at 0x7f07f23de2b0>):
f.write(d.expand("Elapsed time: %0.2f seconds\n" %
elapsedtime))
> cpu, iostats, resources, childres =
get_process_cputime(os.getpid())
if cpu:
File
"/media/mircea/ExtLinux/Adventure/repository/rocko/poky/meta/classes/buildstats.bbclass",
line 29, in get_process_cputime(pid=1543):
if os.path.isfile("/proc/%d/io" % pid):
> with open("/proc/%d/io" % pid, "r") as f:
while True:
PermissionError: [Errno 13] Permission denied: '/proc/1543/io'
ERROR: autoconf-native-2.69-r11 do_fetch: Build of do_fetch failed
ERROR: autoconf-native-2.69-r11 do_fetch: Traceback (most recent
call last):
File
"/media/mircea/ExtLinux/Adventure/repository/rocko/poky/bitbake/lib/bb/build.py",
line 644, in exec_task
return _exec_task(fn, task, d, quieterr)
File
"/media/mircea/ExtLinux/Adventure/repository/rocko/poky/bitbake/lib/bb/build.py",
line 618, in _exec_task
event.fire(TaskSucceeded(task, logfn, localdata), localdata)
File
"/media/mircea/ExtLinux/Adventure/repository/rocko/poky/bitbake/lib/bb/event.py",
line 222, in fire
fire_class_handlers(event, d)
File
"/media/mircea/ExtLinux/Adventure/repository/rocko/poky/bitbake/lib/bb/event.py",
line 134, in fire_class_handlers
execute_handler(name, handler, event, d)
File
"/media/mircea/ExtLinux/Adventure/repository/rocko/poky/bitbake/lib/bb/event.py",
line 106, in execute_handler
ret = handler(event)
File
"/media/mircea/ExtLinux/Adventure/repository/rocko/poky/meta/classes/buildstats.bbclass",
line 166, in run_buildstats
write_task_data("passed", os.path.join(taskdir, e.task), e, d)
File
"/media/mircea/ExtLinux/Adventure/repository/rocko/poky/meta/classes/buildstats.bbclass",
line 90, in write_task_data
cpu, iostats, resources, childres =
get_process_cputime(os.getpid())
File
"/media/mircea/ExtLinux/Adventure/repository/rocko/poky/meta/classes/buildstats.bbclass",
line 29, in get_process_cputime
with open("/proc/%d/io" % pid, "r") as f:
PermissionError: [Errno 13] Permission denied: '/proc/1543/io'
Any hints ?
Thanks
--
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto