error bucause of 492999986124b5e960d0e21fc81d341458d6c5ad


leimaohui
 

Hi,

I select linux-qoriq as kernel in my config file:

PREFERRED_PROVIDER_virtual/kernel = "linux-qoriq"

And I met the following error with the latest commit of master branch today.
----------------------------------------
NOTE: Executing Tasks
ERROR: linux-qoriq-5.4.47+gitAUTOINC+6bff40d413-r0 do_kernel_localversion: Execution of '/ubinux-dev/fct001/fnst/ubinux-build/build-ubinux-armv8/tmp/work/ubinux_armv8-ubinux-linux/linux-qoriq/5.4.47+gitAUTOINC+6bff40d413-r0/temp/run.do_kernel_localversion.44674' failed with exit code 2:
/ubinux-dev/ /ubinux-build/build-ubinux-armv8/tmp/work/ubinux_armv8-ubinux-linux/linux-qoriq/5.4.47+gitAUTOINC+6bff40d413-r0/temp/run.do_kernel_localversion.44674: 162: cannot open /ubinux-dev/ ubinux-build/build-ubinux-armv8/tmp/work/ubinux_armv8-ubinux-linux/linux-qoriq/5.4.47+gitAUTOINC+6bff40d413-r0/defconfig: No such file
WARNING: exit code 2 from a shell command.
-----------------------------------------

I found this error will disappear without commit 492999986124b5e960d0e21fc81d341458d6c5ad:

classes: fsl-kernel-localversion: Fix task dependency

We need to do any change to the generated `.config` file after it is
finished to be modified. In the case of `kernel-yocto` class being in use,
we need to do it after `kernel_configme` task.

Fixes: c7e23876 ("linux-imx.inc: inherit kernel-yocto class")
Fixes: #707.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Change-Id: I7d32b47595dff269defdc5b3f98aa0b9d89b603a


So, is there anything wrong in my config? Or is something wrong with this this commit?

Best regards
Lei


Sam Van Den Berge
 

Hi Lei,

Some time ago I think we were discussing the same issue. See
https://lists.yoctoproject.org/g/meta-freescale/topic/75903226.
Unfortunately I haven't been able to investigate any further. Now and
then the issue pops up and I always manage to
work around it...

Kr,
Sam.

On Mon, Apr 12, 2021 at 4:13 AM leimaohui <leimaohui@fujitsu.com> wrote:

Hi,

I select linux-qoriq as kernel in my config file:

PREFERRED_PROVIDER_virtual/kernel = "linux-qoriq"

And I met the following error with the latest commit of master branch today.
----------------------------------------
NOTE: Executing Tasks
ERROR: linux-qoriq-5.4.47+gitAUTOINC+6bff40d413-r0 do_kernel_localversion: Execution of '/ubinux-dev/fct001/fnst/ubinux-build/build-ubinux-armv8/tmp/work/ubinux_armv8-ubinux-linux/linux-qoriq/5.4.47+gitAUTOINC+6bff40d413-r0/temp/run.do_kernel_localversion.44674' failed with exit code 2:
/ubinux-dev/ /ubinux-build/build-ubinux-armv8/tmp/work/ubinux_armv8-ubinux-linux/linux-qoriq/5.4.47+gitAUTOINC+6bff40d413-r0/temp/run.do_kernel_localversion.44674: 162: cannot open /ubinux-dev/ ubinux-build/build-ubinux-armv8/tmp/work/ubinux_armv8-ubinux-linux/linux-qoriq/5.4.47+gitAUTOINC+6bff40d413-r0/defconfig: No such file
WARNING: exit code 2 from a shell command.
-----------------------------------------

I found this error will disappear without commit 492999986124b5e960d0e21fc81d341458d6c5ad:

classes: fsl-kernel-localversion: Fix task dependency

We need to do any change to the generated `.config` file after it is
finished to be modified. In the case of `kernel-yocto` class being in use,
we need to do it after `kernel_configme` task.

Fixes: c7e23876 ("linux-imx.inc: inherit kernel-yocto class")
Fixes: #707.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Change-Id: I7d32b47595dff269defdc5b3f98aa0b9d89b603a


So, is there anything wrong in my config? Or is something wrong with this this commit?

Best regards
Lei



Otavio Salvador
 

Could you open an issue on GitHub about it? I'll take a look once I
find some time.

Em seg., 12 de abr. de 2021 às 03:29, svdb
<sam.van.den.berge@gmail.com> escreveu:


Hi Lei,

Some time ago I think we were discussing the same issue. See
https://lists.yoctoproject.org/g/meta-freescale/topic/75903226.
Unfortunately I haven't been able to investigate any further. Now and
then the issue pops up and I always manage to
work around it...

Kr,
Sam.


On Mon, Apr 12, 2021 at 4:13 AM leimaohui <leimaohui@fujitsu.com> wrote:

Hi,

I select linux-qoriq as kernel in my config file:

PREFERRED_PROVIDER_virtual/kernel = "linux-qoriq"

And I met the following error with the latest commit of master branch today.
----------------------------------------
NOTE: Executing Tasks
ERROR: linux-qoriq-5.4.47+gitAUTOINC+6bff40d413-r0 do_kernel_localversion: Execution of '/ubinux-dev/fct001/fnst/ubinux-build/build-ubinux-armv8/tmp/work/ubinux_armv8-ubinux-linux/linux-qoriq/5.4.47+gitAUTOINC+6bff40d413-r0/temp/run.do_kernel_localversion.44674' failed with exit code 2:
/ubinux-dev/ /ubinux-build/build-ubinux-armv8/tmp/work/ubinux_armv8-ubinux-linux/linux-qoriq/5.4.47+gitAUTOINC+6bff40d413-r0/temp/run.do_kernel_localversion.44674: 162: cannot open /ubinux-dev/ ubinux-build/build-ubinux-armv8/tmp/work/ubinux_armv8-ubinux-linux/linux-qoriq/5.4.47+gitAUTOINC+6bff40d413-r0/defconfig: No such file
WARNING: exit code 2 from a shell command.
-----------------------------------------

I found this error will disappear without commit 492999986124b5e960d0e21fc81d341458d6c5ad:

classes: fsl-kernel-localversion: Fix task dependency

We need to do any change to the generated `.config` file after it is
finished to be modified. In the case of `kernel-yocto` class being in use,
we need to do it after `kernel_configme` task.

Fixes: c7e23876 ("linux-imx.inc: inherit kernel-yocto class")
Fixes: #707.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Change-Id: I7d32b47595dff269defdc5b3f98aa0b9d89b603a


So, is there anything wrong in my config? Or is something wrong with this this commit?

Best regards
Lei



--
Otavio Salvador O.S. Systems
http://www.ossystems.com.br http://code.ossystems.com.br
Mobile: +55 (53) 9 9981-7854 Mobile: +1 (347) 903-9750


leimaohui
 

Hi,

Could you open an issue on GitHub about it? I'll take a look once I find some
time.
Done.

https://github.com/Freescale/meta-freescale/issues/721

Best regards
Lei


-----Original Message-----
From: Otavio Salvador <otavio.salvador@ossystems.com.br>
Sent: Monday, April 12, 2021 7:52 PM
To: svdb <sam.van.den.berge@gmail.com>
Cc: Lei, Maohui <leimaohui@fujitsu.com>;
meta-freescale@lists.yoctoproject.org
Subject: Re: [meta-freescale] error bucause of
492999986124b5e960d0e21fc81d341458d6c5ad

Could you open an issue on GitHub about it? I'll take a look once I find some
time.

Em seg., 12 de abr. de 2021 às 03:29, svdb <sam.van.den.berge@gmail.com>
escreveu:

Hi Lei,

Some time ago I think we were discussing the same issue. See
https://lists.yoctoproject.org/g/meta-freescale/topic/75903226.
Unfortunately I haven't been able to investigate any further. Now and
then the issue pops up and I always manage to work around it...

Kr,
Sam.


On Mon, Apr 12, 2021 at 4:13 AM leimaohui <leimaohui@fujitsu.com> wrote:

Hi,

I select linux-qoriq as kernel in my config file:

PREFERRED_PROVIDER_virtual/kernel = "linux-qoriq"

And I met the following error with the latest commit of master branch
today.
----------------------------------------
NOTE: Executing Tasks
ERROR: linux-qoriq-5.4.47+gitAUTOINC+6bff40d413-r0
do_kernel_localversion: Execution of
'/ubinux-dev/fct001/fnst/ubinux-build/build-ubinux-armv8/tmp/work/ubinux_
armv8-ubinux-linux/linux-qoriq/5.4.47+gitAUTOINC+6bff40d413-r0/temp/run.d
o_kernel_localversion.44674' failed with exit code 2:
/ubinux-dev/
/ubinux-build/build-ubinux-armv8/tmp/work/ubinux_armv8-ubinux-linux/
linux-qoriq/5.4.47+gitAUTOINC+6bff40d413-r0/temp/run.do_kernel_local
version.44674: 162: cannot open /ubinux-dev/
ubinux-build/build-ubinux-armv8/tmp/work/ubinux_armv8-ubinux-linux/l
inux-qoriq/5.4.47+gitAUTOINC+6bff40d413-r0/defconfig: No such file
WARNING: exit code 2 from a shell command.
-----------------------------------------

I found this error will disappear without commit
492999986124b5e960d0e21fc81d341458d6c5ad:

classes: fsl-kernel-localversion: Fix task dependency

We need to do any change to the generated `.config` file after it is
finished to be modified. In the case of `kernel-yocto` class being in
use,
we need to do it after `kernel_configme` task.

Fixes: c7e23876 ("linux-imx.inc: inherit kernel-yocto class")
Fixes: #707.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Change-Id: I7d32b47595dff269defdc5b3f98aa0b9d89b603a


So, is there anything wrong in my config? Or is something wrong with this
this commit?

Best regards
Lei




--
Otavio Salvador O.S. Systems
http://www.ossystems.com.br http://code.ossystems.com.br
Mobile: +55 (53) 9 9981-7854 Mobile: +1 (347) 903-9750