Hi, This is my 3rd kernel build, before there was a little problems but Kernel got build after few adjustments. Now it is horror, I use the same set of yocto recipes, Im working with one user application and I did not modify any other recipe or dependency between packages. I want to rebuild Kernel again with few modification in the driver code. I removed yocto dir with all work and one again I made git clone and fetch for all meta-layers. It is 3rd time Im doing this starting at the beginning of whole process.
For now I try to solve gdk-pixbuf and gdk-pixbuf-native issue. It is second time, I fixed it before and after that I got issue with perl so I fixed perl and now again I have issue with gdk-pixbu and gdk-pixbuf-native.
The gdk-pixbu and gdk-pixbuf-native LOG is below, and second one at the end is perl issue LOG.
I used: bitbake package_name -c cleanall
and bitbake package_name -f
to fix packages, I fixed this way 5 packages, but now it does not work again for gdk-pixbuf (but befor it worked)
What is wrong or missed that this time kernel build is like horror ?
NOTE: Executing Tasks
ERROR: gdk-pixbuf-native-2.40.0-r0 do_install: Execution of '/home/bartosz/yocto/build/tmp/work/x86_64-linux/gdk-pixbuf-native/2.40.0-r0/temp/run.do_install.558502' failed with exit code 1
ERROR: Logfile of failure stored in: /home/bartosz/yocto/build/tmp/work/x86_64-linux/gdk-pixbuf-native/2.40.0-r0/temp/log.do_install.558502
Log data follows:
| DEBUG: Executing shell function do_install
| [1/3] /home/bartosz/yocto/build/tmp/work/x86_64-linux/gdk-pixbuf-native/2.40.0-r0/recipe-sysroot-native/usr/bin/xsltproc --nonet --stringparam man.output.quietly 1 --stringparam funcsynopsis.style ansi --stringparam man.th.extra1.suppress 1 --stringparam man.authors.section.enabled 0 --stringparam man.copyright.section.enabled 0 -o docs/gdk-pixbuf-csource.1 http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl ../gdk-pixbuf-2.40.0/docs/gdk-pixbuf-csource.xml
| [2/3] /home/bartosz/yocto/build/tmp/work/x86_64-linux/gdk-pixbuf-native/2.40.0-r0/recipe-sysroot-native/usr/bin/xsltproc --nonet --stringparam man.output.quietly 1 --stringparam funcsynopsis.style ansi --stringparam man.th.extra1.suppress 1 --stringparam man.authors.section.enabled 0 --stringparam man.copyright.section.enabled 0 -o docs/gdk-pixbuf-query-loaders.1 http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl ../gdk-pixbuf-2.40.0/docs/gdk-pixbuf-query-loaders.xml
| [2/3] /home/bartosz/yocto/build/tmp/work/x86_64-linux/gdk-pixbuf-native/2.40.0-r0/recipe-sysroot-native/usr/bin/meson install --no-rebuild
| Traceback (most recent call last):
| File "/home/bartosz/yocto/build/tmp/work/x86_64-linux/gdk-pixbuf-native/2.40.0-r0/recipe-sysroot-native/usr/lib/python3.9/site-packages/mesonbuild/mesonmain.py", line 132, in run
| return options.run_func(options)
| File "/home/bartosz/yocto/build/tmp/work/x86_64-linux/gdk-pixbuf-native/2.40.0-r0/recipe-sysroot-native/usr/lib/python3.9/site-packages/mesonbuild/minstall.py", line 705, in run
| installer.do_install(datafilename)
| File "/home/bartosz/yocto/build/tmp/work/x86_64-linux/gdk-pixbuf-native/2.40.0-r0/recipe-sysroot-native/usr/lib/python3.9/site-packages/mesonbuild/minstall.py", line 503, in do_install
| self.install_targets(d, dm, destdir, fullprefix)
| File "/home/bartosz/yocto/build/tmp/work/x86_64-linux/gdk-pixbuf-native/2.40.0-r0/recipe-sysroot-native/usr/lib/python3.9/site-packages/mesonbuild/minstall.py", line 597, in install_targets
| raise RuntimeError('File {!r} could not be found'.format(t.fname))
| RuntimeError: File 'docs/gdk-pixbuf-csource.1' could not be found
| Installing gdk-pixbuf/gdk-pixbuf-marshal.h to /home/bartosz/yocto/build/tmp/work/x86_64-linux/gdk-pixbuf-native/2.40.0-r0/image/home/bartosz/yocto/build/tmp/work/x86_64-linux/gdk-pixbuf-native/2.40.0-r0/recipe-sysroot-native/usr/include/gdk-pixbuf-2.0/gdk-pixbuf
| RPATH changes at install time disabled
| Installing gdk-pixbuf/gdk-pixbuf-enum-types.h to /home/bartosz/yocto/build/tmp/work/x86_64-linux/gdk-pixbuf-native/2.40.0-r0/image/home/bartosz/yocto/build/tmp/work/x86_64-linux/gdk-pixbuf-native/2.40.0-r0/recipe-sysroot-native/usr/include/gdk-pixbuf-2.0/gdk-pixbuf
| RPATH changes at install time disabled
| Installing gdk-pixbuf/libgdk_pixbuf-2.0.so.0.4000.0 to /home/bartosz/yocto/build/tmp/work/x86_64-linux/gdk-pixbuf-native/2.40.0-r0/image/home/bartosz/yocto/build/tmp/work/x86_64-linux/gdk-pixbuf-native/2.40.0-r0/recipe-sysroot-native/usr/lib
| RPATH changes at install time disabled
| Installing gdk-pixbuf/libpixbufloader-png.so to /home/bartosz/yocto/build/tmp/work/x86_64-linux/gdk-pixbuf-native/2.40.0-r0/image/home/bartosz/yocto/build/tmp/work/x86_64-linux/gdk-pixbuf-native/2.40.0-r0/recipe-sysroot-native/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders
| RPATH changes at install time disabled
| Installing gdk-pixbuf/libpixbufloader-bmp.so to /home/bartosz/yocto/build/tmp/work/x86_64-linux/gdk-pixbuf-native/2.40.0-r0/image/home/bartosz/yocto/build/tmp/work/x86_64-linux/gdk-pixbuf-native/2.40.0-r0/recipe-sysroot-native/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders
| RPATH changes at install time disabled
| Installing gdk-pixbuf/libpixbufloader-gif.so to /home/bartosz/yocto/build/tmp/work/x86_64-linux/gdk-pixbuf-native/2.40.0-r0/image/home/bartosz/yocto/build/tmp/work/x86_64-linux/gdk-pixbuf-native/2.40.0-r0/recipe-sysroot-native/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders
| RPATH changes at install time disabled
| Installing gdk-pixbuf/libpixbufloader-ico.so to /home/bartosz/yocto/build/tmp/work/x86_64-linux/gdk-pixbuf-native/2.40.0-r0/image/home/bartosz/yocto/build/tmp/work/x86_64-linux/gdk-pixbuf-native/2.40.0-r0/recipe-sysroot-native/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders
| RPATH changes at install time disabled
| Installing gdk-pixbuf/libpixbufloader-ani.so to /home/bartosz/yocto/build/tmp/work/x86_64-linux/gdk-pixbuf-native/2.40.0-r0/image/home/bartosz/yocto/build/tmp/work/x86_64-linux/gdk-pixbuf-native/2.40.0-r0/recipe-sysroot-native/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders
| RPATH changes at install time disabled
| Installing gdk-pixbuf/libpixbufloader-jpeg.so to /home/bartosz/yocto/build/tmp/work/x86_64-linux/gdk-pixbuf-native/2.40.0-r0/image/home/bartosz/yocto/build/tmp/work/x86_64-linux/gdk-pixbuf-native/2.40.0-r0/recipe-sysroot-native/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders
| RPATH changes at install time disabled
| Installing gdk-pixbuf/libpixbufloader-pnm.so to /home/bartosz/yocto/build/tmp/work/x86_64-linux/gdk-pixbuf-native/2.40.0-r0/image/home/bartosz/yocto/build/tmp/work/x86_64-linux/gdk-pixbuf-native/2.40.0-r0/recipe-sysroot-native/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders
| RPATH changes at install time disabled
| Installing gdk-pixbuf/libpixbufloader-xpm.so to /home/bartosz/yocto/build/tmp/work/x86_64-linux/gdk-pixbuf-native/2.40.0-r0/image/home/bartosz/yocto/build/tmp/work/x86_64-linux/gdk-pixbuf-native/2.40.0-r0/recipe-sysroot-native/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders
| RPATH changes at install time disabled
| Installing gdk-pixbuf/libpixbufloader-xbm.so to /home/bartosz/yocto/build/tmp/work/x86_64-linux/gdk-pixbuf-native/2.40.0-r0/image/home/bartosz/yocto/build/tmp/work/x86_64-linux/gdk-pixbuf-native/2.40.0-r0/recipe-sysroot-native/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders
| RPATH changes at install time disabled
| Installing gdk-pixbuf/libpixbufloader-tga.so to /home/bartosz/yocto/build/tmp/work/x86_64-linux/gdk-pixbuf-native/2.40.0-r0/image/home/bartosz/yocto/build/tmp/work/x86_64-linux/gdk-pixbuf-native/2.40.0-r0/recipe-sysroot-native/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders
| RPATH changes at install time disabled
| Installing gdk-pixbuf/libpixbufloader-icns.so to /home/bartosz/yocto/build/tmp/work/x86_64-linux/gdk-pixbuf-native/2.40.0-r0/image/home/bartosz/yocto/build/tmp/work/x86_64-linux/gdk-pixbuf-native/2.40.0-r0/recipe-sysroot-native/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders
| RPATH changes at install time disabled
| Installing gdk-pixbuf/libpixbufloader-qtif.so to /home/bartosz/yocto/build/tmp/work/x86_64-linux/gdk-pixbuf-native/2.40.0-r0/image/home/bartosz/yocto/build/tmp/work/x86_64-linux/gdk-pixbuf-native/2.40.0-r0/recipe-sysroot-native/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders
| RPATH changes at install time disabled
| Installing gdk-pixbuf/gdk-pixbuf-csource to /home/bartosz/yocto/build/tmp/work/x86_64-linux/gdk-pixbuf-native/2.40.0-r0/image/home/bartosz/yocto/build/tmp/work/x86_64-linux/gdk-pixbuf-native/2.40.0-r0/recipe-sysroot-native/usr/bin
| RPATH changes at install time disabled
| Installing gdk-pixbuf/gdk-pixbuf-pixdata to /home/bartosz/yocto/build/tmp/work/x86_64-linux/gdk-pixbuf-native/2.40.0-r0/image/home/bartosz/yocto/build/tmp/work/x86_64-linux/gdk-pixbuf-native/2.40.0-r0/recipe-sysroot-native/usr/bin
| RPATH changes at install time disabled
| Installing gdk-pixbuf/gdk-pixbuf-query-loaders to /home/bartosz/yocto/build/tmp/work/x86_64-linux/gdk-pixbuf-native/2.40.0-r0/image/home/bartosz/yocto/build/tmp/work/x86_64-linux/gdk-pixbuf-native/2.40.0-r0/recipe-sysroot-native/usr/bin
| RPATH changes at install time disabled
| Installing thumbnailer/gdk-pixbuf-thumbnailer to /home/bartosz/yocto/build/tmp/work/x86_64-linux/gdk-pixbuf-native/2.40.0-r0/image/home/bartosz/yocto/build/tmp/work/x86_64-linux/gdk-pixbuf-native/2.40.0-r0/recipe-sysroot-native/usr/bin
| RPATH changes at install time disabled
| Installing thumbnailer/gdk-pixbuf-print-mime-types to /home/bartosz/yocto/build/tmp/work/x86_64-linux/gdk-pixbuf-native/2.40.0-r0/image/home/bartosz/yocto/build/tmp/work/x86_64-linux/gdk-pixbuf-native/2.40.0-r0/recipe-sysroot-native/usr/bin
| RPATH changes at install time disabled
| Installing thumbnailer/gdk-pixbuf-thumbnailer.thumbnailer to /home/bartosz/yocto/build/tmp/work/x86_64-linux/gdk-pixbuf-native/2.40.0-r0/image/home/bartosz/yocto/build/tmp/work/x86_64-linux/gdk-pixbuf-native/2.40.0-r0/recipe-sysroot-native/usr/share/thumbnailers
| RPATH changes at install time disabled
| FAILED: meson-install
| /home/bartosz/yocto/build/tmp/work/x86_64-linux/gdk-pixbuf-native/2.40.0-r0/recipe-sysroot-native/usr/bin/meson install --no-rebuild
| ninja: build stopped: subcommand failed.
| WARNING: /home/bartosz/yocto/build/tmp/work/x86_64-linux/gdk-pixbuf-native/2.40.0-r0/temp/run.do_install.558502:188 exit 1 from 'DESTDIR='/home/bartosz/yocto/build/tmp/work/x86_64-linux/gdk-pixbuf-native/2.40.0-r0/image' ninja -v -j 2 install'
| WARNING: Backtrace (BB generated script):
| #1: meson_do_install, /home/bartosz/yocto/build/tmp/work/x86_64-linux/gdk-pixbuf-native/2.40.0-r0/temp/run.do_install.558502, line 188
| #2: do_install, /home/bartosz/yocto/build/tmp/work/x86_64-linux/gdk-pixbuf-native/2.40.0-r0/temp/run.do_install.558502, line 156
| #3: main, /home/bartosz/yocto/build/tmp/work/x86_64-linux/gdk-pixbuf-native/2.40.0-r0/temp/run.do_install.558502, line 224
| ERROR: Execution of '/home/bartosz/yocto/build/tmp/work/x86_64-linux/gdk-pixbuf-native/2.40.0-r0/temp/run.do_install.558502' failed with exit code 1
ERROR: Task (virtual:native:/home/bartosz/yocto/poky/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.40.0.bb:do_install) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1118 tasks of which 1100 didn't need to be rerun and 1 failed.
Summary: 1 task failed:
virtual:native:/home/bartosz/yocto/poky/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.40.0.bb:do_install
Summary: There was 1 WARNING message shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
Perl package error LOG - I fixed all packages with cleanall method
NOTE: Executing Tasks
Currently 4 running tasks (947 of 1265) 74% |################################################################################# |
0: linux-imx-5.10.72+gitAUTOINC+a68e31b63f-r0 do_compile_kernelmodules - 3m26s (pid 422463)
1: perl-5.32.1-r0 do_patch - 3m8s (pid 428846)
ERROR: perl-5.32.1-r0 do_patch: Execution of event handler 'defaultsstate_eventhandler' failed
Traceback (most recent call last):
File "/home/bartosz/yocto/poky/bitbake/lib/bb/siggen.py", line 691, in dump_this_task(outfile='/home/bartosz/yocto/build/sstate-cache/7f/73/sstate:perl::5.32.1:r0::3:7f73ee692a2a1a0249b9398f9d83b0a72eecd9c6ad1e9484d4fc716fe31e3a05_patch.tgz.siginfo', d=<bb.data_smart.DataSmart object at 0x7f6d36a6d850>)
File "/home/bartosz/yocto/poky/meta/lib/oe/sstatesig.py", line 222, in SignatureGeneratorOEEquivHash.dump_sigtask(fn='/home/bartosz/yocto/poky/meta/recipes-devtools/perl/perl_5.32.1.bb', task='do_patch', stampbase='/home/bartosz/yocto/build/sstate-cache/7f/73/sstate:perl::5.32.1:r0::3:7f73ee692a2a1a0249b9398f9d83b0a72eecd9c6ad1e9484d4fc716fe31e3a05_patch.tgz.siginfo', runtime='customfile:/home/bartosz/yocto/build/tmp/stamps/cortexa53-crypto-poky-linux/perl/5.32.1-r0'):
return
> super(bb.siggen.SignatureGeneratorBasicHash, self).dump_sigtask(fn, task, stampbase, runtime)
File "/home/bartosz/yocto/poky/bitbake/lib/bb/siggen.py", line 399, in SignatureGeneratorOEEquivHash.dump_sigtask(fn='/home/bartosz/yocto/poky/meta/recipes-devtools/perl/perl_5.32.1.bb', task='do_patch', stampbase='/home/bartosz/yocto/build/sstate-cache/7f/73/sstate:perl::5.32.1:r0::3:7f73ee692a2a1a0249b9398f9d83b0a72eecd9c6ad1e9484d4fc716fe31e3a05_patch.tgz.siginfo', runtime='customfile:/home/bartosz/yocto/build/tmp/stamps/cortexa53-crypto-poky-linux/perl/5.32.1-r0')
File "/usr/lib/python3.8/tempfile.py", line 470, in mkstemp(suffix='', prefix='sigtask.', dir='/home/bartosz/yocto/build/sstate-cache/7f/73', text=False)
File "/usr/lib/python3.8/tempfile.py", line 389, in _mkstemp_inner(dir='/home/bartosz/yocto/build/sstate-cache/7f/73', pre='sigtask.', suf='', flags=131266, output_type=<class 'str'>)
OSError: [Errno 30] Read-only file system: '/home/bartosz/yocto/build/sstate-cache/7f/73/sigtask.g7e5o0kf'
ERROR: perl-5.32.1-r0 do_patch: Build of do_patch failed
ERROR: perl-5.32.1-r0 do_patch: Traceback (most recent call last):
File "/home/bartosz/yocto/poky/bitbake/lib/bb/build.py", line 756, in exec_task
File "/home/bartosz/yocto/poky/bitbake/lib/bb/build.py", line 730, in _exec_task
File "/home/bartosz/yocto/poky/bitbake/lib/bb/event.py", line 216, in fire
File "/home/bartosz/yocto/poky/bitbake/lib/bb/event.py", line 123, in fire_class_handlers
File "/home/bartosz/yocto/poky/bitbake/lib/bb/event.py", line 93, in execute_handler
File "/home/bartosz/yocto/poky/meta/classes/sstate.bbclass", line 1152, in defaultsstate_eventhandler
bb.siggen.dump_this_task(siginfo, d)
File "/home/bartosz/yocto/poky/bitbake/lib/bb/siggen.py", line 691, in dump_this_task
File "/home/bartosz/yocto/poky/meta/lib/oe/sstatesig.py", line 222, in dump_sigtask
super(bb.siggen.SignatureGeneratorBasicHash, self).dump_sigtask(fn, task, stampbase, runtime)
File "/home/bartosz/yocto/poky/bitbake/lib/bb/siggen.py", line 399, in dump_sigtask
File "/usr/lib/python3.8/tempfile.py", line 470, in mkstemp
File "/usr/lib/python3.8/tempfile.py", line 389, in _mkstemp_inner
OSError: [Errno 30] Read-only file system: '/home/bartosz/yocto/build/sstate-cache/7f/73/sigtask.g7e5o0kf'
ERROR: libgcc-10.2.0-r0 do_package: Error executing a python function in exec_python_func() autogenerated:
The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_python_func() autogenerated', lineno: 2, function: <module>
0001:
*** 0002:extend_recipe_sysroot(d)
0003:
File: '/home/bartosz/yocto/poky/meta/classes/staging.bbclass', lineno: 582, function: extend_recipe_sysroot
0578: if "/bin/" in l or "/sbin/" in l:
0579: # defer /*bin/* files until last in case they need libs
0580: binfiles[l] = (targetdir, dest)
0581: else:
*** 0582: staging_copyfile(l, targetdir, dest, postinsts, seendirs)
0583:
0584: # Handle deferred binfiles
0585: for l in binfiles:
0586: (targetdir, dest) = binfiles[l]
File: '/home/bartosz/yocto/poky/meta/classes/staging.bbclass', lineno: 157, function: staging_copyfile
0153: os.symlink(linkto, dest)
0154: #bb.warn(c)
0155: else:
0156: try:
*** 0157: os.link(c, dest)
0158: except OSError as err:
0159: if err.errno == errno.EXDEV:
0160: bb.utils.copyfile(c, dest)
0161: else:
Exception: OSError: [Errno 5] Input/output error: '/home/bartosz/yocto/build/tmp/sysroots-components/x86_64/dwarfsrcfiles-native/sysroot-providers/dwarfsrcfiles-native' -> '/home/bartosz/yocto/build/tmp/work/cortexa53-crypto-poky-linux/libgcc/10.2.0-r0/recipe-sysroot-native/sysroot-providers/dwarfsrcfiles-native'
ERROR: libgcc-10.2.0-r0 do_package: Execution of event handler 'defaultrun_buildstats' failed
Traceback (most recent call last):
File "/home/bartosz/yocto/poky/meta/classes/buildstats.bbclass", line 240, in defaultrun_buildstats(e=<bb.build.TaskFailed object at 0x7f257a8dff10>):
bb.utils.mkdirhier(taskdir)
> write_task_data("failed", os.path.join(taskdir, e.task), e, d)
########################################################################
File "/home/bartosz/yocto/poky/meta/classes/buildstats.bbclass", line 83, in write_task_data(status='failed', logfile='/home/bartosz/yocto/build/tmp/buildstats/20220723220716/libgcc-10.2.0-r0/do_package', e=<bb.build.TaskFailed object at 0x7f257a8dff10>, d=<bb.data_smart.DataSmart object at 0x7f258237a9a0>):
def write_task_data(status, logfile, e, d):
> with open(os.path.join(logfile), "a") as f:
elapsedtime = get_timedata("__timedata_task", d, e.time)
OSError: [Errno 30] Read-only file system: '/home/bartosz/yocto/build/tmp/buildstats/20220723220716/libgcc-10.2.0-r0/do_package'
ERROR: libgcc-10.2.0-r0 do_package: Build of do_package failed
ERROR: libgcc-10.2.0-r0 do_package: Traceback (most recent call last):
File "/home/bartosz/yocto/poky/bitbake/lib/bb/utils.py", line 402, in better_exec
File "exec_python_func() autogenerated", line 2, in <module>
File "/home/bartosz/yocto/poky/meta/classes/staging.bbclass", line 582, in extend_recipe_sysroot
staging_copyfile(l, targetdir, dest, postinsts, seendirs)
File "/home/bartosz/yocto/poky/meta/classes/staging.bbclass", line 157, in staging_copyfile
os.link(c, dest)
OSError: [Errno 5] Input/output error: '/home/bartosz/yocto/build/tmp/sysroots-components/x86_64/dwarfsrcfiles-native/sysroot-providers/dwarfsrcfiles-native' -> '/home/bartosz/yocto/build/tmp/work/cortexa53-crypto-poky-linux/libgcc/10.2.0-r0/recipe-sysroot-native/sysroot-providers/dwarfsrcfiles-native'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/bartosz/yocto/poky/bitbake/lib/bb/build.py", line 690, in _exec_task
File "/home/bartosz/yocto/poky/bitbake/lib/bb/build.py", line 254, in exec_func
File "/home/bartosz/yocto/poky/bitbake/lib/bb/build.py", line 299, in exec_func_python
File "/home/bartosz/yocto/poky/bitbake/lib/bb/utils.py", line 416, in better_exec
bb.BBHandledException: [Errno 5] Input/output error: '/home/bartosz/yocto/build/tmp/sysroots-components/x86_64/dwarfsrcfiles-native/sysroot-providers/dwarfsrcfiles-native' -> '/home/bartosz/yocto/build/tmp/work/cortexa53-crypto-poky-linux/libgcc/10.2.0-r0/recipe-sysroot-native/sysroot-providers/dwarfsrcfiles-native'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/bartosz/yocto/poky/bitbake/lib/bb/build.py", line 756, in exec_task
File "/home/bartosz/yocto/poky/bitbake/lib/bb/build.py", line 695, in _exec_task
File "/home/bartosz/yocto/poky/bitbake/lib/bb/event.py", line 216, in fire
File "/home/bartosz/yocto/poky/bitbake/lib/bb/event.py", line 123, in fire_class_handlers
File "/home/bartosz/yocto/poky/bitbake/lib/bb/event.py", line 93, in execute_handler
File "/home/bartosz/yocto/poky/meta/classes/buildstats.bbclass", line 240, in defaultrun_buildstats
write_task_data("failed", os.path.join(taskdir, e.task), e, d)
File "/home/bartosz/yocto/poky/meta/classes/buildstats.bbclass", line 83, in write_task_data
with open(os.path.join(logfile), "a") as f:
OSError: [Errno 30] Read-only file system: '/home/bartosz/yocto/build/tmp/buildstats/20220723220716/libgcc-10.2.0-r0/do_package'
ERROR: Task (/home/bartosz/yocto/poky/meta/recipes-devtools/perl/perl_5.32.1.bb:do_patch) failed with exit code '1'
ERROR: linux-imx-5.10.72+gitAUTOINC+a68e31b63f-r0 do_compile_kernelmodules: oe_runmake failed
ERROR: Task (/home/bartosz/yocto/poky/meta/recipes-devtools/gcc/libgcc_10.2.bb:do_package) failed with exit code '1'
ERROR: linux-imx-5.10.72+gitAUTOINC+a68e31b63f-r0 do_compile_kernelmodules: [Errno 30] Read-only file system: '/home/bartosz/yocto/build/tmp/work/imx8mmevk-poky-linux/linux-imx/5.10.72+gitAUTOINC+a68e31b63f-r0/temp/fifo.422463'
ERROR: libgcc-10.2.0-r0 do_populate_sysroot: Fatal errors occurred in subprocesses:
Command '['aarch64-poky-linux-strip', '--remove-section=.comment', '--remove-section=.note', '--strip-unneeded', '/home/bartosz/yocto/build/tmp/work/cortexa53-crypto-poky-linux/libgcc/10.2.0-r0/sysroot-destdir/lib/libgcc_s.so.1']' died with <Signals.SIGBUS: 7>.: Traceback (most recent call last):
File "/home/bartosz/yocto/poky/meta/lib/oe/utils.py", line 279, in run
ret = self._target(*self._args, **self._kwargs)
File "/home/bartosz/yocto/poky/meta/lib/oe/package.py", line 48, in runstrip
output = subprocess.check_output(stripcmd, stderr=subprocess.STDOUT)
File "/usr/lib/python3.8/subprocess.py", line 415, in check_output
File "/usr/lib/python3.8/subprocess.py", line 516, in run
subprocess.CalledProcessError: Command '['aarch64-poky-linux-strip', '--remove-section=.comment', '--remove-section=.note', '--strip-unneeded', '/home/bartosz/yocto/build/tmp/work/cortexa53-crypto-poky-linux/libgcc/10.2.0-r0/sysroot-destdir/lib/libgcc_s.so.1']' died with <Signals.SIGBUS: 7>.
ERROR: linux-imx-5.10.72+gitAUTOINC+a68e31b63f-r0 do_compile_kernelmodules: Execution of event handler 'defaultrun_buildstats' failed
Traceback (most recent call last):
File "/home/bartosz/yocto/poky/meta/classes/buildstats.bbclass", line 240, in defaultrun_buildstats(e=<bb.build.TaskFailed object at 0x7f6d35b227f0>):
bb.utils.mkdirhier(taskdir)
> write_task_data("failed", os.path.join(taskdir, e.task), e, d)
########################################################################
File "/home/bartosz/yocto/poky/meta/classes/buildstats.bbclass", line 83, in write_task_data(status='failed', logfile='/home/bartosz/yocto/build/tmp/buildstats/20220723220716/linux-imx-5.10.72+gitAUTOINC+a68e31b63f-r0/do_compile_kernelmodules', e=<bb.build.TaskFailed object at 0x7f6d35b227f0>, d=<bb.data_smart.DataSmart object at 0x7f6d35ae6bb0>):
def write_task_data(status, logfile, e, d):
> with open(os.path.join(logfile), "a") as f:
elapsedtime = get_timedata("__timedata_task", d, e.time)
OSError: [Errno 30] Read-only file system: '/home/bartosz/yocto/build/tmp/buildstats/20220723220716/linux-imx-5.10.72+gitAUTOINC+a68e31b63f-r0/do_compile_kernelmodules'
ERROR: linux-imx-5.10.72+gitAUTOINC+a68e31b63f-r0 do_compile_kernelmodules: Build of do_compile_kernelmodules failed
ERROR: linux-imx-5.10.72+gitAUTOINC+a68e31b63f-r0 do_compile_kernelmodules: Traceback (most recent call last):
File "/home/bartosz/yocto/poky/bitbake/lib/bb/build.py", line 503, in exec_func_shell
File "/home/bartosz/yocto/poky/bitbake/lib/bb/process.py", line 186, in run
bb.process.ExecutionError: Execution of '/home/bartosz/yocto/build/tmp/work/imx8mmevk-poky-linux/linux-imx/5.10.72+gitAUTOINC+a68e31b63f-r0/temp/run.do_compile_kernelmodules.422463' failed with exit code 1
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/bartosz/yocto/poky/bitbake/lib/bb/build.py", line 691, in _exec_task
File "/home/bartosz/yocto/poky/bitbake/lib/bb/build.py", line 256, in exec_func
File "/home/bartosz/yocto/poky/bitbake/lib/bb/build.py", line 561, in exec_func_shell
OSError: [Errno 30] Read-only file system: '/home/bartosz/yocto/build/tmp/work/imx8mmevk-poky-linux/linux-imx/5.10.72+gitAUTOINC+a68e31b63f-r0/temp/fifo.422463'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/bartosz/yocto/poky/bitbake/lib/bb/build.py", line 756, in exec_task
File "/home/bartosz/yocto/poky/bitbake/lib/bb/build.py", line 707, in _exec_task
File "/home/bartosz/yocto/poky/bitbake/lib/bb/event.py", line 216, in fire
File "/home/bartosz/yocto/poky/bitbake/lib/bb/event.py", line 123, in fire_class_handlers
File "/home/bartosz/yocto/poky/bitbake/lib/bb/event.py", line 93, in execute_handler
File "/home/bartosz/yocto/poky/meta/classes/buildstats.bbclass", line 240, in defaultrun_buildstats
write_task_data("failed", os.path.join(taskdir, e.task), e, d)
File "/home/bartosz/yocto/poky/meta/classes/buildstats.bbclass", line 83, in write_task_data
with open(os.path.join(logfile), "a") as f:
OSError: [Errno 30] Read-only file system: '/home/bartosz/yocto/build/tmp/buildstats/20220723220716/linux-imx-5.10.72+gitAUTOINC+a68e31b63f-r0/do_compile_kernelmodules'
ERROR: libgcc-10.2.0-r0 do_populate_sysroot: Execution of event handler 'defaultrun_buildstats' failed
Traceback (most recent call last):
File "/home/bartosz/yocto/poky/meta/classes/buildstats.bbclass", line 240, in defaultrun_buildstats(e=<bb.build.TaskFailed object at 0x7f6d35b5cd60>):
bb.utils.mkdirhier(taskdir)
> write_task_data("failed", os.path.join(taskdir, e.task), e, d)
########################################################################
File "/home/bartosz/yocto/poky/meta/classes/buildstats.bbclass", line 83, in write_task_data(status='failed', logfile='/home/bartosz/yocto/build/tmp/buildstats/20220723220716/libgcc-10.2.0-r0/do_populate_sysroot', e=<bb.build.TaskFailed object at 0x7f6d35b5cd60>, d=<bb.data_smart.DataSmart object at 0x7f6d36ab56a0>):
def write_task_data(status, logfile, e, d):
> with open(os.path.join(logfile), "a") as f:
elapsedtime = get_timedata("__timedata_task", d, e.time)
OSError: [Errno 30] Read-only file system: '/home/bartosz/yocto/build/tmp/buildstats/20220723220716/libgcc-10.2.0-r0/do_populate_sysroot'
ERROR: libgcc-10.2.0-r0 do_populate_sysroot: Build of do_populate_sysroot failed
ERROR: libgcc-10.2.0-r0 do_populate_sysroot: Traceback (most recent call last):
File "/home/bartosz/yocto/poky/bitbake/lib/bb/build.py", line 691, in _exec_task
File "/home/bartosz/yocto/poky/bitbake/lib/bb/build.py", line 254, in exec_func
File "/home/bartosz/yocto/poky/bitbake/lib/bb/build.py", line 299, in exec_func_python
File "/home/bartosz/yocto/poky/bitbake/lib/bb/utils.py", line 402, in better_exec
File "exec_python_func() autogenerated", line 2, in <module>
File "/home/bartosz/yocto/poky/meta/classes/staging.bbclass", line 102, in do_populate_sysroot
bb.build.exec_func("sysroot_strip", d)
File "/home/bartosz/yocto/poky/bitbake/lib/bb/build.py", line 254, in exec_func
File "/home/bartosz/yocto/poky/bitbake/lib/bb/build.py", line 299, in exec_func_python
File "/home/bartosz/yocto/poky/bitbake/lib/bb/utils.py", line 402, in better_exec
File "exec_python_func() autogenerated", line 2, in <module>
File "/home/bartosz/yocto/poky/meta/classes/staging.bbclass", line 88, in sysroot_strip
oe.package.strip_execs(pn, dstdir, strip_cmd, libdir, base_libdir, d,
File "/home/bartosz/yocto/poky/meta/lib/oe/package.py", line 177, in strip_execs
oe.utils.multiprocess_launch(runstrip, sfiles, d)
File "/home/bartosz/yocto/poky/meta/lib/oe/utils.py", line 340, in multiprocess_launch
bb.fatal("Fatal errors occurred in subprocesses:\n%s" % msg)
File "/home/bartosz/yocto/poky/bitbake/lib/bb/__init__.py", line 165, in fatal
bb.BBHandledException
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/bartosz/yocto/poky/bitbake/lib/bb/build.py", line 756, in exec_task
File "/home/bartosz/yocto/poky/bitbake/lib/bb/build.py", line 695, in _exec_task
File "/home/bartosz/yocto/poky/bitbake/lib/bb/event.py", line 216, in fire
File "/home/bartosz/yocto/poky/bitbake/lib/bb/event.py", line 123, in fire_class_handlers
File "/home/bartosz/yocto/poky/bitbake/lib/bb/event.py", line 93, in execute_handler
File "/home/bartosz/yocto/poky/meta/classes/buildstats.bbclass", line 240, in defaultrun_buildstats
write_task_data("failed", os.path.join(taskdir, e.task), e, d)
File "/home/bartosz/yocto/poky/meta/classes/buildstats.bbclass", line 83, in write_task_data
with open(os.path.join(logfile), "a") as f:
OSError: [Errno 30] Read-only file system: '/home/bartosz/yocto/build/tmp/buildstats/20220723220716/libgcc-10.2.0-r0/do_populate_sysroot'
ERROR: Task (/home/bartosz/yocto/meta-imx/meta-bsp/recipes-kernel/linux/linux-imx_5.10.bb:do_compile_kernelmodules) failed with exit code '1'
ERROR: Task (/home/bartosz/yocto/poky/meta/recipes-devtools/gcc/libgcc_10.2.bb:do_populate_sysroot) failed with exit code '1'
ERROR: Opening log file '/home/bartosz/yocto/build/tmp/work/x86_64-linux/gdk-pixbuf-native/2.40.0-r0/temp/log.task_order'
Traceback (most recent call last):
File "/home/bartosz/yocto/poky/bitbake/lib/bb/build.py", line 617, in _exec_task(fn='virtual:native:/home/bartosz/yocto/poky/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.40.0.bb', task='do_install', d=<bb.data_smart.DataSmart object at 0x7f6d36a62d30>, quieterr=False)
OSError: [Errno 30] Read-only file system: '/home/bartosz/yocto/build/tmp/work/x86_64-linux/gdk-pixbuf-native/2.40.0-r0/temp/log.task_order'
ERROR: Opening log file '/home/bartosz/yocto/build/tmp/work/x86_64-linux/gdk-pixbuf-native/2.40.0-r0/temp/log.do_install.430396'
Traceback (most recent call last):
File "/home/bartosz/yocto/poky/bitbake/lib/bb/build.py", line 650, in _exec_task(fn='virtual:native:/home/bartosz/yocto/poky/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.40.0.bb', task='do_install', d=<bb.data_smart.DataSmart object at 0x7f6d36a62d30>, quieterr=False)
OSError: [Errno 30] Read-only file system: '/home/bartosz/yocto/build/tmp/work/x86_64-linux/gdk-pixbuf-native/2.40.0-r0/temp/log.do_install.430396'
ERROR: Build of do_install failed
ERROR: Traceback (most recent call last):
File "/home/bartosz/yocto/poky/bitbake/lib/bb/build.py", line 756, in exec_task
File "/home/bartosz/yocto/poky/bitbake/lib/bb/build.py", line 663, in _exec_task
UnboundLocalError: local variable 'logfile' referenced before assignment
ERROR: Task (virtual:native:/home/bartosz/yocto/poky/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.40.0.bb:do_install) failed with exit code '1'
ERROR: Unable to acquire lock '/home/bartosz/yocto/build/cache/bb_unihashes.dat.lock', directory is not writable
ERROR: Command execution failed: 1
Summary: 5 tasks failed:
/home/bartosz/yocto/poky/meta/recipes-devtools/perl/perl_5.32.1.bb:do_patch
/home/bartosz/yocto/poky/meta/recipes-devtools/gcc/libgcc_10.2.bb:do_package
/home/bartosz/yocto/meta-imx/meta-bsp/recipes-kernel/linux/linux-imx_5.10.bb:do_compile_kernelmodules
/home/bartosz/yocto/poky/meta/recipes-devtools/gcc/libgcc_10.2.bb:do_populate_sysroot
virtual:native:/home/bartosz/yocto/poky/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.40.0.bb:do_install
Summary: There was 1 WARNING message shown.
Summary: There were 22 ERROR messages shown, returning a non-zero exit code.