do_kernel_configme - Could not generate configuration queue
I am running into a bizarre problem with kernel configuration.
I have an existing build environment that builds for an i.MX6ul machine. That works fine and the linux-fslc kernel 5.18 builds without any problems. Now within the that build environment I changed the machine to imx6ullevk and then the kernel configuration fails with this error message:
| DEBUG: Executing shell function do_kernel_configme | NOTE: do_kernel_metadata: for summary/debug, set KCONF_AUDIT_LEVEL > 0 | [ERROR]: processing of file /tmp/tmp.owmBptYrba failed | /develop/projects/altec/tcu/build/tmp/hosttools/dirname: missing operand | Try '/develop/projects/altec/tcu/build/tmp/hosttools/dirname --help' for more information. | ERROR: Could not generate configuration queue for imx6ullevk. | WARNING: /develop/projects/altec/tcu/build/tmp/work/imx6ullevk-altec-linux-gnueabi/linux-fslc/5.18.5+gitAUTOINC+1d6b3055ae-r0/temp/run.do_kernel_configme.287395:209 exit 1 from 'exit 1' | WARNING: Backtrace (BB generated script): | #1: bbfatal_log, /develop/projects/altec/tcu/build/tmp/work/imx6ullevk-altec-linux-gnueabi/linux-fslc/5.18.5+gitAUTOINC+1d6b3055ae-r0/temp/run.do_kernel_configme.287395, line 209 | #2: do_kernel_metadata, /develop/projects/altec/tcu/build/tmp/work/imx6ullevk-altec-linux-gnueabi/linux-fslc/5.18.5+gitAUTOINC+1d6b3055ae-r0/temp/run.do_kernel_configme.287395, line 382 | #3: do_kernel_configme, /develop/projects/altec/tcu/build/tmp/work/imx6ullevk-altec-linux-gnueabi/linux-fslc/5.18.5+gitAUTOINC+1d6b3055ae-r0/temp/run.do_kernel_configme.287395, line 150 | #4: main, /develop/projects/altec/tcu/build/tmp/work/imx6ullevk-altec-linux-gnueabi/linux-fslc/5.18.5+gitAUTOINC+1d6b3055ae-r0/temp/run.do_kernel_configme.287395, line 484
ERROR: Task (/develop/projects/altec/tcu/build/../meta-freescale/recipes-kernel/linux/linux-fslc_5.18.bb:do_kernel_configme) failed with exit code '1'
I tried to debug do_kernel_configme. The issue seems in the scc script more specifically, I think, in the kconf command that is called by scc when parsing the temporary configuration queue file in /tmp: tmp.owmBptYrba
#
# spp v0.8 # processed: Fri Oct 14 09:49:02 PM UTC 2022 # # This is a preprocessor output file, do not edit # # prefix /develop/projects/altec/tcu/build/../meta-freescale/recipes-kernel/linux/linux-fslc/defconfig kconf non-hardware /develop/projects/altec/tcu/build/../meta-freescale/recipes-kernel/linux/linux-fslc/defconfig # run time: 0 seconds # processed files: # _cfg /develop/projects/altec/tcu/build/../meta-freescale/recipes-kernel/linux/linux-fslc/defconfig
Apparently a call to dirname is missing the argument. However, I do not understand why.
I wiped out build/tmp directory entirely, ran a cleanall on virtual/kernel but to no avail. The problem remains the same.
Has anybody seen this issue before?
Rudi
Hi Rudolf,
I have reported this issue and together with a path [1] to fix it. Anyway Bruce has fixed the issue in another way in [2] and this works for me as well.
[1] https://lists.yoctoproject.org/g/linux-yocto/message/11746
[2]
https://git.yoctoproject.org/yocto-kernel-tools/commit/?id=6a4752ebbe7d242c02b3c74a5772926edd243626
Jose
Rudolf J Streif <[email protected]> escreveu no dia sábado, 15/10/2022 à(s) 01:45:
Quoted 88 lines
I am running into a bizarre problem with kernel configuration.
I have an existing build environment that builds for an i.MX6ul machine. That works fine and the linux-fslc kernel 5.18 builds without any problems. Now within the that build environment I changed the machine to imx6ullevk and then the kernel configuration fails with this error message:
| DEBUG: Executing shell function do_kernel_configme | NOTE: do_kernel_metadata: for summary/debug, set KCONF_AUDIT_LEVEL > 0 | [ERROR]: processing of file /tmp/tmp.owmBptYrba failed | /develop/projects/altec/tcu/build/tmp/hosttools/dirname: missing operand | Try '/develop/projects/altec/tcu/build/tmp/hosttools/dirname --help'for more information.
| ERROR: Could not generate configuration queue for imx6ullevk.
| WARNING:
/develop/projects/altec/tcu/build/tmp/work/imx6ullevk-altec-linux-gnueabi/linux-fslc/5.18.5+gitAUTOINC+1d6b3055ae-r0/temp/run.do_kernel_configme.287395:209exit 1 from 'exit 1'
| WARNING: Backtrace (BB generated script):
| #1:bbfatal_log,
/develop/projects/altec/tcu/build/tmp/work/imx6ullevk-altec-linux-gnueabi/linux-fslc/5.18.5+gitAUTOINC+1d6b3055ae-r0/temp/run.do_kernel_configme.287395,line 209
| #2:do_kernel_metadata,
/develop/projects/altec/tcu/build/tmp/work/imx6ullevk-altec-linux-gnueabi/linux-fslc/5.18.5+gitAUTOINC+1d6b3055ae-r0/temp/run.do_kernel_configme.287395,line 382
| #3:do_kernel_configme,
/develop/projects/altec/tcu/build/tmp/work/imx6ullevk-altec-linux-gnueabi/linux-fslc/5.18.5+gitAUTOINC+1d6b3055ae-r0/temp/run.do_kernel_configme.287395,line 150
| #4: main,
/develop/projects/altec/tcu/build/tmp/work/imx6ullevk-altec-linux-gnueabi/linux-fslc/5.18.5+gitAUTOINC+1d6b3055ae-r0/temp/run.do_kernel_configme.287395,line 484
ERROR: Task(/develop/projects/altec/tcu/build/../meta-freescale/recipes-kernel/linux/linux-fslc_5.18.bb:do_kernel_configme)
failed with exit code '1'
I tried to debug
do_kernel_configme. The issue seems in the scc script more specifically, I think, in the kconf command that is called by scc when parsing the temporary configuration queue file in /tmp: tmp.owmBptYrba#
# spp v0.8 # processed: Fri Oct 14 09:49:02 PM UTC 2022 # # This is a preprocessor output file, do not edit # # prefix/develop/projects/altec/tcu/build/../meta-freescale/recipes-kernel/linux/linux-fslc/defconfig kconf non-hardware
/develop/projects/altec/tcu/build/../meta-freescale/recipes-kernel/linux/linux-fslc/defconfig
# run time: 0 seconds # processed files: # _cfg/develop/projects/altec/tcu/build/../meta-freescale/recipes-kernel/linux/linux-fslc/defconfig
Apparently a call to dirname is missing the argument. However, I do not understand why.
I wiped out build/tmp directory entirely, ran a cleanall on virtual/kernel but to no avail. The problem remains the same.
Has anybody seen this issue before?
Rudi
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#58337):
https://lists.yoctoproject.org/g/yocto/message/58337
Mute This Topic: https://lists.yoctoproject.org/mt/94339433/5052612
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Signature · 3 lines
Best regards, José Quaresma
Quoted 11 lines · Jose Quaresma
Hi Rudolf,
I have reported this issue and together with a path [1] to fix it. Anyway Bruce has fixed the issue in another way in [2] and this works for me as well.
[1] https://lists.yoctoproject.org/g/linux-yocto/message/11746
[2]
https://git.yoctoproject.org/yocto-kernel-tools/commit/?id=6a4752ebbe7d242c02b3c74a5772926edd243626
Yes indeed. This has also passed my other regression testing, but I was traveling today and couldn't send my pull request.
I'll send it over the weekend, so hopefully it'll be merged shortly!
Bruce
Quoted 104 lines
Jose
Rudolf J Streif <[email protected]> escreveu no dia sábado, 15/10/2022 à(s) 01:45:
Quoted 69 lines
I am running into a bizarre problem with kernel configuration.
I have an existing build environment that builds for an i.MX6ul machine. That works fine and the linux-fslc kernel 5.18 builds without any problems. Now within the that build environment I changed the machine to imx6ullevk and then the kernel configuration fails with this error message:
| DEBUG: Executing shell function do_kernel_configme | NOTE: do_kernel_metadata: for summary/debug, set KCONF_AUDIT_LEVEL > 0 | [ERROR]: processing of file /tmp/tmp.owmBptYrba failed | /develop/projects/altec/tcu/build/tmp/hosttools/dirname: missing operand | Try '/develop/projects/altec/tcu/build/tmp/hosttools/dirname --help'for more information.
| ERROR: Could not generate configuration queue for imx6ullevk.
| WARNING:
/develop/projects/altec/tcu/build/tmp/work/imx6ullevk-altec-linux-gnueabi/linux-fslc/5.18.5+gitAUTOINC+1d6b3055ae-r0/temp/run.do_kernel_configme.287395:209exit 1 from 'exit 1'
| WARNING: Backtrace (BB generated script):
| #1:bbfatal_log,
/develop/projects/altec/tcu/build/tmp/work/imx6ullevk-altec-linux-gnueabi/linux-fslc/5.18.5+gitAUTOINC+1d6b3055ae-r0/temp/run.do_kernel_configme.287395,line 209
| #2:do_kernel_metadata,
/develop/projects/altec/tcu/build/tmp/work/imx6ullevk-altec-linux-gnueabi/linux-fslc/5.18.5+gitAUTOINC+1d6b3055ae-r0/temp/run.do_kernel_configme.287395,line 382
| #3:do_kernel_configme,
/develop/projects/altec/tcu/build/tmp/work/imx6ullevk-altec-linux-gnueabi/linux-fslc/5.18.5+gitAUTOINC+1d6b3055ae-r0/temp/run.do_kernel_configme.287395,line 150
| #4: main,
/develop/projects/altec/tcu/build/tmp/work/imx6ullevk-altec-linux-gnueabi/linux-fslc/5.18.5+gitAUTOINC+1d6b3055ae-r0/temp/run.do_kernel_configme.287395,line 484
ERROR: Task(/develop/projects/altec/tcu/build/../meta-freescale/recipes-kernel/linux/linux-fslc_5.18.bb:do_kernel_configme)
failed with exit code '1'
I tried to debug
do_kernel_configme. The issue seems in the scc script more specifically, I think, in the kconf command that is called by scc when parsing the temporary configuration queue file in /tmp:
tmp.owmBptYrba#
# spp v0.8 # processed: Fri Oct 14 09:49:02 PM UTC 2022 # # This is a preprocessor output file, do not edit # # prefix/develop/projects/altec/tcu/build/../meta-freescale/recipes-kernel/linux/linux-fslc/defconfig kconf non-hardware
/develop/projects/altec/tcu/build/../meta-freescale/recipes-kernel/linux/linux-fslc/defconfig
# run time: 0 seconds # processed files: # _cfg/develop/projects/altec/tcu/build/../meta-freescale/recipes-kernel/linux/linux-fslc/defconfig
Apparently a call to dirname is missing the argument. However, I do not understand why.
Quoted 13 lines
I wiped out build/tmp directory entirely, ran a cleanall on virtual/kernel but to no avail. The problem remains the same.
Has anybody seen this issue before?
Rudi
--
Best regards,José Quaresma
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#58338):
https://lists.yoctoproject.org/g/yocto/message/58338
Mute This Topic: https://lists.yoctoproject.org/mt/94339433/1050810
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Signature · 3 lines
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end - "Use the force Harry" - Gandalf, Star Trek II
Quoted 16 lines · On Fri, Oct 14, 2022, 18:53 Bruce Ashfield <[email protected]> wrote:
Quoted 11 lines · Jose Quaresma
Hi Rudolf,
I have reported this issue and together with a path [1] to fix it. Anyway Bruce has fixed the issue in another way in [2] and this works for me as well.
[1] https://lists.yoctoproject.org/g/linux-yocto/message/11746
[2]
https://git.yoctoproject.org/yocto-kernel-tools/commit/?id=6a4752ebbe7d242c02b3c74a5772926edd243626
Quoted 5 lines
Yes indeed. This has also passed my other regression testing, but I was traveling today and couldn't send my pull request.
I'll send it over the weekend, so hopefully it'll be merged shortly!
Thank you, Jose and Bruce. Much appreciated.
Rudi
Quoted 117 lines
Bruce
Quoted 94 lines
Jose
Rudolf J Streif <[email protected]> escreveu no dia sábado, 15/10/2022 à(s) 01:45:
Quoted 70 lines
I am running into a bizarre problem with kernel configuration.
I have an existing build environment that builds for an i.MX6ul machine. That works fine and the linux-fslc kernel 5.18 builds without any problems. Now within the that build environment I changed the machine to imx6ullevk and then the kernel configuration fails with this error message:
| DEBUG: Executing shell function do_kernel_configme | NOTE: do_kernel_metadata: for summary/debug, set KCONF_AUDIT_LEVEL > 0 | [ERROR]: processing of file /tmp/tmp.owmBptYrba failed | /develop/projects/altec/tcu/build/tmp/hosttools/dirname: missingoperand
| Try '/develop/projects/altec/tcu/build/tmp/hosttools/dirname --help'
for more information.
| ERROR: Could not generate configuration queue for imx6ullevk.
| WARNING:
/develop/projects/altec/tcu/build/tmp/work/imx6ullevk-altec-linux-gnueabi/linux-fslc/5.18.5+gitAUTOINC+1d6b3055ae-r0/temp/run.do_kernel_configme.287395:209exit 1 from 'exit 1'
| WARNING: Backtrace (BB generated script):
| #1:bbfatal_log,
/develop/projects/altec/tcu/build/tmp/work/imx6ullevk-altec-linux-gnueabi/linux-fslc/5.18.5+gitAUTOINC+1d6b3055ae-r0/temp/run.do_kernel_configme.287395,line 209
| #2:do_kernel_metadata,
/develop/projects/altec/tcu/build/tmp/work/imx6ullevk-altec-linux-gnueabi/linux-fslc/5.18.5+gitAUTOINC+1d6b3055ae-r0/temp/run.do_kernel_configme.287395,line 382
| #3:do_kernel_configme,
/develop/projects/altec/tcu/build/tmp/work/imx6ullevk-altec-linux-gnueabi/linux-fslc/5.18.5+gitAUTOINC+1d6b3055ae-r0/temp/run.do_kernel_configme.287395,line 150
| #4: main,
/develop/projects/altec/tcu/build/tmp/work/imx6ullevk-altec-linux-gnueabi/linux-fslc/5.18.5+gitAUTOINC+1d6b3055ae-r0/temp/run.do_kernel_configme.287395,line 484
ERROR: Task(/develop/projects/altec/tcu/build/../meta-freescale/recipes-kernel/linux/linux-fslc_5.18.bb:do_kernel_configme)
failed with exit code '1'
I tried to debug
do_kernel_configme. The issue seems in the scc script more specifically, I think, in the kconf command that is called by scc when parsing the temporary configuration queue file in /tmp:
tmp.owmBptYrba#
# spp v0.8 # processed: Fri Oct 14 09:49:02 PM UTC 2022 # # This is a preprocessor output file, do not edit # # prefix/develop/projects/altec/tcu/build/../meta-freescale/recipes-kernel/linux/linux-fslc/defconfig kconf non-hardware
/develop/projects/altec/tcu/build/../meta-freescale/recipes-kernel/linux/linux-fslc/defconfig
# run time: 0 seconds # processed files: # _cfg/develop/projects/altec/tcu/build/../meta-freescale/recipes-kernel/linux/linux-fslc/defconfig
Apparently a call to dirname is missing the argument. However, I do not understand why.
Quoted 13 lines
I wiped out build/tmp directory entirely, ran a cleanall on virtual/kernel but to no avail. The problem remains the same.
Has anybody seen this issue before?
Rudi
--
Best regards,José Quaresma
Quoted 11 lines
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#58338):
https://lists.yoctoproject.org/g/yocto/message/58338
Mute This Topic: https://lists.yoctoproject.org/mt/94339433/1050810
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=---
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end
- "Use the force Harry" - Gandalf, Star Trek II
Quoted 15 lines · Bruce Ashfield
On Fri, Oct 14, 2022 at 10:11 PM Jose Quaresma <[email protected]> wrote:
Hi Rudolf,
I have reported this issue and together with a path [1] to fix it. Anyway Bruce has fixed the issue in another way in [2] and this works for me as well.
[1] https://lists.yoctoproject.org/g/linux-yocto/message/11746
[2]
https://git.yoctoproject.org/yocto-kernel-tools/commit/?id=6a4752ebbe7d242c02b3c74a5772926edd243626
Quoted 5 lines
Yes indeed. This has also passed my other regression testing, but I was traveling today and couldn't send my pull request.
I'll send it over the weekend, so hopefully it'll be merged shortly!
Bruce
Did this end up getting sen to the list? I also validated updating to the specific hash resolved my issue too.
Quoted 115 lines
Jose
Rudolf J Streif <[email protected]> escreveu no dia sábado, 15/10/2022 à(s) 01:45:
I am running into a bizarre problem with kernel configuration.
I have an existing build environment that builds for an i.MX6ul machine.
That works fine and the linux-fslc kernel 5.18 builds without any problems. Now within the that build environment I changed the machine to
imx6ullevk and then the kernel configuration fails with this error message:| DEBUG: Executing shell function
do_kernel_configme
| NOTE:do_kernel_metadata: for summary/debug, set
KCONF_AUDIT_LEVEL> 0
| [ERROR]: processing of file/tmp/tmp.owmBptYrbafailed
| /develop/projects/altec/tcu/build/tmp/hosttools/dirname:
missing operand
| Try '/develop/projects/altec/tcu/build/tmp/hosttools/dirname
--help'
for more information.
| ERROR: Could not generate configuration queue for imx6ullevk.
| WARNING:
/develop/projects/altec/tcu/build/tmp/work/imx6ullevk-altec-linux-gnueabi/linux-fslc/5.18.5+gitAUTOINC+1d6b3055ae-r0/temp/run.do_kernel_configme.287395:209exit 1 from 'exit 1'
| WARNING: Backtrace (BB generated script):
| #1:bbfatal_log, /develop/projects/altec/tcu/build/tmp/work/imx6ullevk-altec-linux-gnueabi/linux-fslc/5.18.5+gitAUTOINC+1d6b3055ae-r0/temp/run.do_kernel_configme.287395,line 209
| #2:do_kernel_metadata, /develop/projects/altec/tcu/build/tmp/work/imx6ullevk-altec-linux-gnueabi/linux-fslc/5.18.5+gitAUTOINC+1d6b3055ae-r0/temp/run.do_kernel_configme.287395,line 382
| #3:do_kernel_configme, /develop/projects/altec/tcu/build/tmp/work/imx6ullevk-altec-linux-gnueabi/linux-fslc/5.18.5+gitAUTOINC+1d6b3055ae-r0/temp/run.do_kernel_configme.287395,line 150
| #4: main, /develop/projects/altec/tcu/build/tmp/work/imx6ullevk-altec-linux-gnueabi/linux-fslc/5.18.5+gitAUTOINC+1d6b3055ae-r0/temp/run.do_kernel_configme.287395,line 484
ERROR: Task (/develop/projects/altec/tcu/build/../meta-freescale/recipes-kernel/linux/linux-fslc_5.18.bb:do_kernel_configme)failed with exit code '1'
I tried to debug
do_kernel_configme. The issue seems in the scc script
more specifically, I think, in the kconf command that is called by scc
when parsing the temporary configuration queue file in /tmp:
tmp.owmBptYrba#
# spp v0.8
# processed: Fri Oct 14 09:49:02 PM UTC 2022
#
# This is a preprocessor output file, do not edit
#
#
prefix /develop/projects/altec/tcu/build/../meta-freescale/recipes-kernel/linux/linux-fslc/defconfig kconf non-hardware /develop/projects/altec/tcu/build/../meta-freescale/recipes-kernel/linux/linux-fslc/defconfig # run time: 0 seconds
# processed files:
#_cfg/develop/projects/altec/tcu/build/../meta-freescale/recipes-kernel/linux/linux-fslc/defconfigApparently a call to dirname is missing the argument. However, I do not
understand why.I wiped out build/tmp directory entirely, ran a cleanall on virtual/kernel but to no avail. The problem remains the same.
Has anybody seen this issue before?
Rudi
--
Best regards,José Quaresma
Signature · 12 lines
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end - "Use the force Harry" - Gandalf, Star Trek II -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#58339):https://lists.yoctoproject.org/g/yocto/message/58339 Mute This Topic:https://lists.yoctoproject.org/mt/94339433/2167262 Group Owner:[email protected] Unsubscribe:https://lists.yoctoproject.org/g/yocto/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
Signature · 2 lines
Jeremy A. Puhlman [email protected]
Quoted 21 lines · Jeremy Puhlman
On 10/14/2022 6:52 PM, Bruce Ashfield wrote:
Quoted 11 lines · Jose Quaresma
Hi Rudolf,
I have reported this issue and together with a path [1] to fix it. Anyway Bruce has fixed the issue in another way in [2] and this works for me as well.
[1] https://lists.yoctoproject.org/g/linux-yocto/message/11746
[2]
https://git.yoctoproject.org/yocto-kernel-tools/commit/?id=6a4752ebbe7d242c02b3c74a5772926edd243626Yes indeed. This has also passed my other regression testing, but I was traveling today and couldn't send my pull request.
Quoted 9 lines
I'll send it over the weekend, so hopefully it'll be merged shortly!
Bruce
Did this end up getting sen to the list? I also validated updating to the specific hash resolved my issue too.
Nope. I got tied up with some other issues, I'll send it tonight when I get a moment!
Bruce
Quoted 122 lines
Quoted 91 lines
Jose
Rudolf J Streif <[email protected]> escreveu no dia sábado, 15/10/2022 à(s) 01:45:
Quoted 70 lines
I am running into a bizarre problem with kernel configuration.
I have an existing build environment that builds for an i.MX6ul machine. That works fine and the linux-fslc kernel 5.18 builds without any problems. Now within the that build environment I changed the machine to imx6ullevk and then the kernel configuration fails with this error message:
| DEBUG: Executing shell function do_kernel_configme | NOTE: do_kernel_metadata: for summary/debug, set KCONF_AUDIT_LEVEL > 0 | [ERROR]: processing of file /tmp/tmp.owmBptYrba failed | /develop/projects/altec/tcu/build/tmp/hosttools/dirname: missingoperand
| Try '/develop/projects/altec/tcu/build/tmp/hosttools/dirname --help'
for more information.
| ERROR: Could not generate configuration queue for imx6ullevk.
| WARNING:
/develop/projects/altec/tcu/build/tmp/work/imx6ullevk-altec-linux-gnueabi/linux-fslc/5.18.5+gitAUTOINC+1d6b3055ae-r0/temp/run.do_kernel_configme.287395:209exit 1 from 'exit 1'
| WARNING: Backtrace (BB generated script):
| #1:bbfatal_log,
/develop/projects/altec/tcu/build/tmp/work/imx6ullevk-altec-linux-gnueabi/linux-fslc/5.18.5+gitAUTOINC+1d6b3055ae-r0/temp/run.do_kernel_configme.287395,line 209
| #2:do_kernel_metadata,
/develop/projects/altec/tcu/build/tmp/work/imx6ullevk-altec-linux-gnueabi/linux-fslc/5.18.5+gitAUTOINC+1d6b3055ae-r0/temp/run.do_kernel_configme.287395,line 382
| #3:do_kernel_configme,
/develop/projects/altec/tcu/build/tmp/work/imx6ullevk-altec-linux-gnueabi/linux-fslc/5.18.5+gitAUTOINC+1d6b3055ae-r0/temp/run.do_kernel_configme.287395,line 150
| #4: main,
/develop/projects/altec/tcu/build/tmp/work/imx6ullevk-altec-linux-gnueabi/linux-fslc/5.18.5+gitAUTOINC+1d6b3055ae-r0/temp/run.do_kernel_configme.287395,line 484
ERROR: Task(/develop/projects/altec/tcu/build/../meta-freescale/recipes-kernel/linux/linux-fslc_5.18.bb:do_kernel_configme)
failed with exit code '1'
I tried to debug
do_kernel_configme. The issue seems in the scc script more specifically, I think, in the kconf command that is called by scc when parsing the temporary configuration queue file in /tmp:
tmp.owmBptYrba#
# spp v0.8 # processed: Fri Oct 14 09:49:02 PM UTC 2022 # # This is a preprocessor output file, do not edit # # prefix/develop/projects/altec/tcu/build/../meta-freescale/recipes-kernel/linux/linux-fslc/defconfig kconf non-hardware
/develop/projects/altec/tcu/build/../meta-freescale/recipes-kernel/linux/linux-fslc/defconfig
# run time: 0 seconds # processed files: # _cfg/develop/projects/altec/tcu/build/../meta-freescale/recipes-kernel/linux/linux-fslc/defconfig
Apparently a call to dirname is missing the argument. However, I do not understand why.
Quoted 13 lines
I wiped out build/tmp directory entirely, ran a cleanall on virtual/kernel but to no avail. The problem remains the same.
Has anybody seen this issue before?
Rudi
Quoted 8 lines
--
Best regards,José Quaresma
--
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end
- "Use the force Harry" - Gandalf, Star Trek II--
Jeremy A. [email protected]-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#58359):
https://lists.yoctoproject.org/g/yocto/message/58359
Mute This Topic: https://lists.yoctoproject.org/mt/94339433/1050810
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Signature · 3 lines
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end - "Use the force Harry" - Gandalf, Star Trek II
Quoted 27 lines · Bruce Ashfield
On Tue, Oct 18, 2022 at 5:01 PM Jeremy Puhlman <[email protected]> wrote:
On 10/14/2022 6:52 PM, Bruce Ashfield wrote:Quoted 22 lines
On Fri, Oct 14, 2022 at 10:11 PM Jose Quaresma <[email protected]> wrote:
Hi Rudolf,
I have reported this issue and together with a path [1] to fix it.
Anyway Bruce has fixed the issue in another way in [2] and this works for me as well.[1] https://lists.yoctoproject.org/g/linux-yocto/message/11746
[2]
https://git.yoctoproject.org/yocto-kernel-tools/commit/?id=6a4752ebbe7d242c02b3c74a5772926edd243626Yes indeed. This has also passed my other regression testing, but I was traveling today and couldn't send my pull request.
I'll send it over the weekend, so hopefully it'll be merged shortly!
Quoted 7 lines
Quoted 1 line
Bruce
Did this end up getting sen to the list? I also validated updating to the specific hash resolved my issue too.
Nope. I got tied up with some other issues, I'll send it tonight when I get a moment!
I can confirm that updating kern-tools-native to6a4752eb resolved the issue for me.
Quoted 139 lines
Bruce
Quoted 106 lines
Jose
Rudolf J Streif <[email protected]> escreveu no dia sábado, 15/10/2022 à(s) 01:45:
I am running into a bizarre problem with kernel configuration.
I have an existing build environment that builds for an i.MX6ul machine.
That works fine and the linux-fslc kernel 5.18 builds without any
problems. Now within the that build environment I changed the machine to
imx6ullevk and then the kernel configuration fails with this error message:| DEBUG: Executing shell function
do_kernel_configme
| NOTE:do_kernel_metadata: for summary/debug, set
KCONF_AUDIT_LEVEL> 0
| [ERROR]: processing of file/tmp/tmp.owmBptYrbafailed
|
/develop/projects/altec/tcu/build/tmp/hosttools/dirname:
missing operand
| Try
'/develop/projects/altec/tcu/build/tmp/hosttools/dirname
--help'
for more information.
| ERROR: Could not generate configuration queue for
imx6ullevk.
| WARNING:
/develop/projects/altec/tcu/build/tmp/work/imx6ullevk-altec-linux-gnueabi/linux-fslc/5.18.5+gitAUTOINC+1d6b3055ae-r0/temp/run.do_kernel_configme.287395:209exit 1 from 'exit 1'
| WARNING: Backtrace (BB generated script):
| #1:bbfatal_log, /develop/projects/altec/tcu/build/tmp/work/imx6ullevk-altec-linux-gnueabi/linux-fslc/5.18.5+gitAUTOINC+1d6b3055ae-r0/temp/run.do_kernel_configme.287395,line 209
| #2:do_kernel_metadata, /develop/projects/altec/tcu/build/tmp/work/imx6ullevk-altec-linux-gnueabi/linux-fslc/5.18.5+gitAUTOINC+1d6b3055ae-r0/temp/run.do_kernel_configme.287395,line 382
| #3:do_kernel_configme, /develop/projects/altec/tcu/build/tmp/work/imx6ullevk-altec-linux-gnueabi/linux-fslc/5.18.5+gitAUTOINC+1d6b3055ae-r0/temp/run.do_kernel_configme.287395,line 150
| #4: main, /develop/projects/altec/tcu/build/tmp/work/imx6ullevk-altec-linux-gnueabi/linux-fslc/5.18.5+gitAUTOINC+1d6b3055ae-r0/temp/run.do_kernel_configme.287395,line 484
ERROR: Task (/develop/projects/altec/tcu/build/../meta-freescale/recipes-kernel/linux/linux-fslc_5.18.bb:do_kernel_configme)failed with exit code '1'
I tried to debug
do_kernel_configme. The issue seems in the scc script
more specifically, I think, in the kconf command that is called by scc
when parsing the temporary configuration queue file in /tmp: tmp.owmBptYrba#
# spp v0.8
# processed: Fri Oct 14 09:49:02 PM UTC 2022
#
# This is a preprocessor output file, do not edit
#
#
prefix /develop/projects/altec/tcu/build/../meta-freescale/recipes-kernel/linux/linux-fslc/defconfig kconf non-hardware /develop/projects/altec/tcu/build/../meta-freescale/recipes-kernel/linux/linux-fslc/defconfig # run time: 0 seconds
# processed files:
#_cfg/develop/projects/altec/tcu/build/../meta-freescale/recipes-kernel/linux/linux-fslc/defconfigApparently a call to dirname is missing the argument. However, I do not
understand why.I wiped out build/tmp directory entirely, ran a cleanall on virtual/kernel but to no avail. The problem remains the same.
Has anybody seen this issue before?
Rudi
--
Best regards,José Quaresma
Quoted 6 lines
--
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end
- "Use the force Harry" - Gandalf, Star Trek II-- Jeremy A. Puhlman [email protected] -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#58359): https://lists.yoctoproject.org/g/yocto/message/58359 Mute This Topic: https://lists.yoctoproject.org/mt/94339433/1050810 Group Owner: [email protected] <mailto:yocto%[email protected]> Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-Signature · 3 lines
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end - "Use the force Harry" - Gandalf, Star Trek II
Signature · 3 lines
Rudolf J Streif CEO/CTO 1.855.442.3386
Quoted 29 lines · Bruce Ashfield
On Tue, Oct 18, 2022 at 5:01 PM Jeremy Puhlman <[email protected]> wrote:
On 10/14/2022 6:52 PM, Bruce Ashfield wrote:Quoted 17 lines
On Fri, Oct 14, 2022 at 10:11 PM Jose Quaresma <[email protected]> wrote:
Hi Rudolf,
I have reported this issue and together with a path [1] to fix it.
Anyway Bruce has fixed the issue in another way in [2] and this works for me as well.[1] https://lists.yoctoproject.org/g/linux-yocto/message/11746
[2]
https://git.yoctoproject.org/yocto-kernel-tools/commit/?id=6a4752ebbe7d242c02b3c74a5772926edd243626Quoted 6 lines
Yes indeed. This has also passed my other regression testing, but I was traveling today and couldn't send my pull request.
I'll send it over the weekend, so hopefully it'll be merged shortly!
Bruce
Quoted 8 lines
Did this end up getting sen to the list? I also validated updating to the specific hash resolved my issue too.
Nope. I got tied up with some other issues, I'll send it tonight when I get a moment!
Bruce
Thanks!
Quoted 137 lines
Quoted 107 lines
Jose
Rudolf J Streif <[email protected]> escreveu no dia sábado, 15/10/2022 à(s) 01:45:
I am running into a bizarre problem with kernel configuration.
I have an existing build environment that builds for an i.MX6ul machine.
That works fine and the linux-fslc kernel 5.18 builds without any
problems. Now within the that build environment I changed the machine to
imx6ullevk and then the kernel configuration fails with this error message:| DEBUG: Executing shell function
do_kernel_configme
| NOTE:do_kernel_metadata: for summary/debug, set
KCONF_AUDIT_LEVEL> 0
| [ERROR]: processing of file/tmp/tmp.owmBptYrbafailed
|
/develop/projects/altec/tcu/build/tmp/hosttools/dirname:
missing operand
| Try
'/develop/projects/altec/tcu/build/tmp/hosttools/dirname
--help'
for more information.
| ERROR: Could not generate configuration queue for
imx6ullevk.
| WARNING:
/develop/projects/altec/tcu/build/tmp/work/imx6ullevk-altec-linux-gnueabi/linux-fslc/5.18.5+gitAUTOINC+1d6b3055ae-r0/temp/run.do_kernel_configme.287395:209exit 1 from 'exit 1'
| WARNING: Backtrace (BB generated script):
| #1:bbfatal_log, /develop/projects/altec/tcu/build/tmp/work/imx6ullevk-altec-linux-gnueabi/linux-fslc/5.18.5+gitAUTOINC+1d6b3055ae-r0/temp/run.do_kernel_configme.287395,line 209
| #2:do_kernel_metadata, /develop/projects/altec/tcu/build/tmp/work/imx6ullevk-altec-linux-gnueabi/linux-fslc/5.18.5+gitAUTOINC+1d6b3055ae-r0/temp/run.do_kernel_configme.287395,line 382
| #3:do_kernel_configme, /develop/projects/altec/tcu/build/tmp/work/imx6ullevk-altec-linux-gnueabi/linux-fslc/5.18.5+gitAUTOINC+1d6b3055ae-r0/temp/run.do_kernel_configme.287395,line 150
| #4: main, /develop/projects/altec/tcu/build/tmp/work/imx6ullevk-altec-linux-gnueabi/linux-fslc/5.18.5+gitAUTOINC+1d6b3055ae-r0/temp/run.do_kernel_configme.287395,line 484
ERROR: Task (/develop/projects/altec/tcu/build/../meta-freescale/recipes-kernel/linux/linux-fslc_5.18.bb:do_kernel_configme)failed with exit code '1'
I tried to debug
do_kernel_configme. The issue seems in the scc script
more specifically, I think, in the kconf command that is called by scc
when parsing the temporary configuration queue file in /tmp: tmp.owmBptYrba#
# spp v0.8
# processed: Fri Oct 14 09:49:02 PM UTC 2022
#
# This is a preprocessor output file, do not edit
#
#
prefix /develop/projects/altec/tcu/build/../meta-freescale/recipes-kernel/linux/linux-fslc/defconfig kconf non-hardware /develop/projects/altec/tcu/build/../meta-freescale/recipes-kernel/linux/linux-fslc/defconfig # run time: 0 seconds
# processed files:
#_cfg/develop/projects/altec/tcu/build/../meta-freescale/recipes-kernel/linux/linux-fslc/defconfigApparently a call to dirname is missing the argument. However, I do not
understand why.I wiped out build/tmp directory entirely, ran a cleanall on virtual/kernel but to no avail. The problem remains the same.
Has anybody seen this issue before?
Rudi
--
Best regards,José Quaresma
Quoted 6 lines
--
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end
- "Use the force Harry" - Gandalf, Star Trek II-- Jeremy A. Puhlman [email protected] -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#58359): https://lists.yoctoproject.org/g/yocto/message/58359 Mute This Topic: https://lists.yoctoproject.org/mt/94339433/1050810 Group Owner: [email protected] <mailto:yocto%[email protected]> Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-Signature · 3 lines
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end - "Use the force Harry" - Gandalf, Star Trek II
Signature · 2 lines
Jeremy A. Puhlman [email protected]
Quoted 25 lines · Jeremy Puhlman
On 10/18/2022 3:31 PM, Bruce Ashfield wrote:
Quoted 21 lines · Jeremy Puhlman
On 10/14/2022 6:52 PM, Bruce Ashfield wrote:
Quoted 9 lines · Jose Quaresma
Hi Rudolf,
I have reported this issue and together with a path [1] to fix it. Anyway Bruce has fixed the issue in another way in [2] and this works for me as well.
[1] https://lists.yoctoproject.org/g/linux-yocto/message/11746
[2] https://git.yoctoproject.org/yocto-kernel-tools/commit/?id=6a4752ebbe7d242c02b3c74a5772926edd243626Yes indeed. This has also passed my other regression testing, but I was traveling today and couldn't send my pull request.
I'll send it over the weekend, so hopefully it'll be merged shortly!
Bruce
Quoted 8 lines
Quoted 2 lines
Did this end up getting sen to the list? I also validated updating to the specific hash resolved my issue too.
Nope. I got tied up with some other issues, I'll send it tonight when I get a moment!
Bruce
Thanks!
Just noticed the same issue is now happening on kirkstone, since the kern-tools-native was also updated there.
Seems we're missing backporting 533720a1756454447341769c4a0969fce8d6f287 (kern-tools: fix relative path processing).
Sakoman, is that one already on your list? Otherwise we can send it to the list as well.
Thanks,
Signature · 1 line
Ricardo Salveti
Quoted 39 lines · Ricardo Salveti
Quoted 25 lines · Jeremy Puhlman
On 10/18/2022 3:31 PM, Bruce Ashfield wrote:
Quoted 21 lines · Jeremy Puhlman
On 10/14/2022 6:52 PM, Bruce Ashfield wrote:
Quoted 9 lines · Jose Quaresma
Hi Rudolf,
I have reported this issue and together with a path [1] to fix it. Anyway Bruce has fixed the issue in another way in [2] and this works for me as well.
[1] https://lists.yoctoproject.org/g/linux-yocto/message/11746
[2] https://git.yoctoproject.org/yocto-kernel-tools/commit/?id=6a4752ebbe7d242c02b3c74a5772926edd243626Yes indeed. This has also passed my other regression testing, but I was traveling today and couldn't send my pull request.
I'll send it over the weekend, so hopefully it'll be merged shortly!
Bruce
Quoted 8 lines
Quoted 2 lines
Did this end up getting sen to the list? I also validated updating to the specific hash resolved my issue too.
Nope. I got tied up with some other issues, I'll send it tonight when I get a moment!
Bruce
Thanks!
Just noticed the same issue is now happening on kirkstone, since the kern-tools-native was also updated there.
Quoted 6 lines
Seems we're missing backporting
533720a1756454447341769c4a0969fce8d6f287(kern-tools: fix relative path processing).Sakoman, is that one already on your list? Otherwise we can send it to the list as well.
Yes, it is now :-)
Steve
Quoted 41 lines · Steve Sakoman
Quoted 39 lines · Ricardo Salveti
Quoted 25 lines · Jeremy Puhlman
On 10/18/2022 3:31 PM, Bruce Ashfield wrote:
Quoted 21 lines · Jeremy Puhlman
On 10/14/2022 6:52 PM, Bruce Ashfield wrote:
Quoted 9 lines · Jose Quaresma
Hi Rudolf,
I have reported this issue and together with a path [1] to fix it. Anyway Bruce has fixed the issue in another way in [2] and this works for me as well.
[1] https://lists.yoctoproject.org/g/linux-yocto/message/11746
[2] https://git.yoctoproject.org/yocto-kernel-tools/commit/?id=6a4752ebbe7d242c02b3c74a5772926edd243626Yes indeed. This has also passed my other regression testing, but I was traveling today and couldn't send my pull request.
I'll send it over the weekend, so hopefully it'll be merged shortly!
Bruce
Quoted 8 lines
Quoted 2 lines
Did this end up getting sen to the list? I also validated updating to the specific hash resolved my issue too.
Nope. I got tied up with some other issues, I'll send it tonight when I get a moment!
Bruce
Thanks!
Just noticed the same issue is now happening on kirkstone, since the kern-tools-native was also updated there.
Quoted 8 lines
Quoted 6 lines
Seems we're missing backporting
533720a1756454447341769c4a0969fce8d6f287(kern-tools: fix relative path processing).Sakoman, is that one already on your list? Otherwise we can send it to the list as well.
Yes, it is now :-)
Awesome, thanks!
Cheers,
Signature · 1 line
Ricardo Salveti