While building toolchain for Qt5 with the command: bitbake meta-toolchain-qt5, the whole thing fails with the following messages:
| make[2]: 'ruby' is up to date.
| make[2]: Leaving directory '/home/user/toradex/Qt5-plus-x11/oe-core/build/tmp-glibc/work/x86_64-linux/ruby-native/2.2.5-r0/build'
| make[1]: Leaving directory '/home/user/toradex/Qt5-plus-x11/oe-core/build/tmp-glibc/work/x86_64-linux/ruby-native/2.2.5-r0/build'
| Generating RDoc documentation
|
| Directory .ext/rdoc already exists, but it looks like it isn't an RDoc directory.
|
| Because RDoc doesn't want to risk destroying any of your existing files,
| you'll need to specify a different output directory name (using the --op <dir>
| option)
|
| /home/user/toradex/Qt5-plus-x11/oe-core/build/tmp-glibc/work/x86_64-linux/ruby-native/2.2.5-r0/ruby-2.2.5/lib/rdoc/rdoc.rb:108:in `error'
| /home/user/toradex/Qt5-plus-x11/oe-core/build/tmp-glibc/work/x86_64-linux/ruby-native/2.2.5-r0/ruby-2.2.5/lib/rdoc/rdoc.rb:208:in `rescue in setup_output_dir'
| /home/user/toradex/Qt5-plus-x11/oe-core/build/tmp-glibc/work/x86_64-linux/ruby-native/2.2.5-r0/ruby-2.2.5/lib/rdoc/rdoc.rb:195:in `setup_output_dir'
| /home/user/toradex/Qt5-plus-x11/oe-core/build/tmp-glibc/work/x86_64-linux/ruby-native/2.2.5-r0/ruby-2.2.5/lib/rdoc/rdoc.rb:476:in `document'
| ../ruby-2.2.5/bin/rdoc:20:in `<main>'
|
| make: *** [uncommon.mk:428: rdoc] Error 1
| WARNING: /home/user/toradex/Qt5-plus-x11/oe-core/build/tmp-glibc/work/x86_64-linux/ruby-native/2.2.5-r0/temp/run.do_compile.5866:1 exit 1 from 'exit 1'
| ERROR: Function failed: do_comp| make[2]: 'ruby' is up to date.
| make[2]: Leaving directory '/home/user/toradex/Qt5-plus-x11/oe-core/build/tmp-glibc/work/x86_64-linux/ruby-native/2.2.5-r0/build'
| make[1]: Leaving directory '/home/user/toradex/Qt5-plus-x11/oe-core/build/tmp-glibc/work/x86_64-linux/ruby-native/2.2.5-r0/build'
| Generating RDoc documentationhttp://developer.toradex.com/knowledge-base/board-support-package/openembedded-(core)#Adding_the_Qt5_Layer
|
| Directory .ext/rdoc already exists, but it looks like it isn't an RDoc directory.
|
| Because RDoc doesn't want to risk destroying any of your existing files,
| you'll need to specify a different output directory name (using the --op
| option)
|
| /home/user/toradex/Qt5-plus-x11/oe-core/build/tmp-glibc/work/x86_64-linux/ruby-native/2.2.5-r0/ruby-2.2.5/lib/rdoc/rdoc.rb:108:in `error'
| /home/user/toradex/Qt5-plus-x11/oe-core/build/tmp-glibc/work/x86_64-linux/ruby-native/2.2.5-r0/ruby-2.2.5/lib/rdoc/rdoc.rb:208:in `rescue in setup_output_dir'
| /home/user/toradex/Qt5-plus-x11/oe-core/build/tmp-glibc/work/x86_64-linux/ruby-native/2.2.5-r0/ruby-2.2.5/lib/rdoc/rdoc.rb:195:in `setup_output_dir'
| /home/user/toradex/Qt5-plus-x11/oe-core/build/tmp-glibc/work/x86_64-linux/ruby-native/2.2.5-r0/ruby-2.2.5/lib/rdoc/rdoc.rb:476:in `document'
| ../ruby-2.2.5/bin/rdoc:20:in `<main>'
|
| make: *** [uncommon.mk:428: rdoc] Error 1
| WARNING: /home/user/toradex/Qt5-plus-x11/oe-core/build/tmp-glibc/work/x86_64-linux/ruby-native/2.2.5-r0/temp/run.do_compile.5866:1 exit 1 from 'exit 1'
| ERROR: Function failed: do_compile (log file is located at /home/user/toradex/Qt5-plus-x11/oe-core/build/tmp-glibc/work/x86_64-linux/ruby-native/2.2.5-r0/temp/log.do_compile.5866)
ERROR: Task (virtual:native:/home/user/toradex/Qt5-plus-x11/oe-core/build/../layers/openembedded-core/meta/recipes-devtools/ruby/ruby_2.2.5.bb:do_compile) failed with exit code '1'
Second Keyboard Interrupt, stopping...ile (log file is located at /home/user/toradex/Qt5-plus-x11/oe-core/build/tmp-glibc/work/x86_64-linux/ruby-native/2.2.5-r0/temp/log.do_compile.5866)
ERROR: Task (virtual:native:/home/user/toradex/Qt5-plus-x11/oe-core/build/../layers/openembedded-core/meta/recipes-devtools/ruby/ruby_2.2.5.bb:do_compile) failed with exit code '1'
Second Keyboard Interrupt, stopping...
But this one I was not able to solve so far (I have tried all cleanings and this did not help)… ?!
Please, could you follow exact steps and ensure that you do NOT have the same error??? Maybe I did not include some required package on my host for ruby 2.2.5?
Downgrading Morty ruby 2.2.5 package to Krogoth ruby 2.2.2 (native from YOCTO Project) does not solve this problem as well.
The same error after some 350 sec of ruby compiling.
I am now reading in depth what is the problem, and it seems that there is somewhere some directory called ext/rdoc . I will look into …/oe-poky/build/tmp/… to try to find this directory and try to figure it out…
Also ruby-native builds here for a 2.7.3 installation as described here so I do not think that changing the version being built is the first thing to do.
What git hashes of the layers do you have installed, e.g. what is the version summary which gets output by bitbake at the beginning of a bitbake run?
I did clean re-build, but it failed again about 30 minutes ago. Same place, same error. Not to say that I had other errors, but these I was able to fix, and to build my own iMX6 Colibri load, sans Qt5 tools and layers, I guess.
The error is EXACT the same as few previous. Long (over 5000 lines of report), and on this tip of iceberg you can see repo heads/GIT hashes (I guess you wanted to have these).
Maybe I missed to install some packages on the Fedora 26 x86_64 host?! Not sure…
[3] B: Do the attached files, unpacked in meta-toradex-demos help?
YES, It did. I placed/merged it very wrongly into …oe-core/layers/openembedded-core/meta/recipes-devtools/ruby (ignorant me!?), but after all, I placed it correctly in …/oe-core/layers/meta-toradex-demos/recipes-devtools/