* [U-Boot] build fail due to dependence error
@ 2018-06-01 9:59 Kever Yang
2018-06-28 8:38 ` Kever Yang
0 siblings, 1 reply; 10+ messages in thread
From: Kever Yang @ 2018-06-01 9:59 UTC (permalink / raw)
To: u-boot
Hi Guys,
I met below error from time to time when build U-Boot project.
fixdep: error opening config file: arch/arm/include/asm/arch/hardware.h: No such file or directory
The folder 'arch/arm/include/asm/arch' is a link for
'arch/arm/include/asm/arch-rockchip',
which is dynamic generate by build system, I thinks there should be some
dependency issue?
How to fix this kind of issue?
Thanks,
- Kever
^ permalink raw reply [flat|nested] 10+ messages in thread
* [U-Boot] build fail due to dependence error
2018-06-01 9:59 [U-Boot] build fail due to dependence error Kever Yang
@ 2018-06-28 8:38 ` Kever Yang
2018-06-28 8:41 ` Dr. Philipp Tomsich
0 siblings, 1 reply; 10+ messages in thread
From: Kever Yang @ 2018-06-28 8:38 UTC (permalink / raw)
To: u-boot
Hi Simon,
Do you have any idea about this error?
CC lib/asm-offsets.s
CC arch/arm/lib/asm-offsets.s
fixdep: error opening config file: arch/arm/include/asm/arch/hardware.h: No such file or directory
Kbuild:64: recipe for target 'arch/arm/lib/asm-offsets.s' failed
make[1]: *** [arch/arm/lib/asm-offsets.s] Error 2
make[1]: *** 正在等待未完成的任务....
CHK include/config.h
Makefile:1340: recipe for target 'prepare0' failed
Thanks,
- Kever
On 06/01/2018 05:59 PM, Kever Yang wrote:
> Hi Guys,
>
> I met below error from time to time when build U-Boot project.
>
> fixdep: error opening config file: arch/arm/include/asm/arch/hardware.h: No such file or directory
>
> The folder 'arch/arm/include/asm/arch' is a link for
> 'arch/arm/include/asm/arch-rockchip',
>
> which is dynamic generate by build system, I thinks there should be some
> dependency issue?
>
> How to fix this kind of issue?
>
>
> Thanks,
>
> - Kever
>
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> https://lists.denx.de/listinfo/u-boot
^ permalink raw reply [flat|nested] 10+ messages in thread
* [U-Boot] build fail due to dependence error
2018-06-28 8:38 ` Kever Yang
@ 2018-06-28 8:41 ` Dr. Philipp Tomsich
2018-06-30 4:19 ` Simon Glass
0 siblings, 1 reply; 10+ messages in thread
From: Dr. Philipp Tomsich @ 2018-06-28 8:41 UTC (permalink / raw)
To: u-boot
Kever,
is the link for ‘asm’ set up correctly?
Thanks,
Philipp.
> On 28 Jun 2018, at 10:38, Kever Yang <kever.yang@rock-chips.com> wrote:
>
> Hi Simon,
>
> Do you have any idea about this error?
>
> CC lib/asm-offsets.s
> CC arch/arm/lib/asm-offsets.s
> fixdep: error opening config file: arch/arm/include/asm/arch/hardware.h: No such file or directory
> Kbuild:64: recipe for target 'arch/arm/lib/asm-offsets.s' failed
> make[1]: *** [arch/arm/lib/asm-offsets.s] Error 2
> make[1]: *** 正在等待未完成的任务....
> CHK include/config.h
> Makefile:1340: recipe for target 'prepare0' failed
>
> Thanks,
> - Kever
> On 06/01/2018 05:59 PM, Kever Yang wrote:
>> Hi Guys,
>>
>> I met below error from time to time when build U-Boot project.
>>
>> fixdep: error opening config file: arch/arm/include/asm/arch/hardware.h: No such file or directory
>>
>> The folder 'arch/arm/include/asm/arch' is a link for
>> 'arch/arm/include/asm/arch-rockchip',
>>
>> which is dynamic generate by build system, I thinks there should be some
>> dependency issue?
>>
>> How to fix this kind of issue?
>>
>>
>> Thanks,
>>
>> - Kever
>>
>> _______________________________________________
>> U-Boot mailing list
>> U-Boot at lists.denx.de <mailto:U-Boot@lists.denx.de>
>> https://lists.denx.de/listinfo/u-boot <https://lists.denx.de/listinfo/u-boot>
>
^ permalink raw reply [flat|nested] 10+ messages in thread
* [U-Boot] build fail due to dependence error
2018-06-28 8:41 ` Dr. Philipp Tomsich
@ 2018-06-30 4:19 ` Simon Glass
2018-07-02 7:54 ` Kever Yang
0 siblings, 1 reply; 10+ messages in thread
From: Simon Glass @ 2018-06-30 4:19 UTC (permalink / raw)
To: u-boot
Hi,
On 28 June 2018 at 01:41, Dr. Philipp Tomsich
<philipp.tomsich@theobroma-systems.com> wrote:
> Kever,
>
> is the link for ‘asm’ set up correctly?
>
> Thanks,
> Philipp.
>
> On 28 Jun 2018, at 10:38, Kever Yang <kever.yang@rock-chips.com> wrote:
>
> Hi Simon,
>
> Do you have any idea about this error?
>
>
> CC lib/asm-offsets.s
> CC arch/arm/lib/asm-offsets.s
> fixdep: error opening config file: arch/arm/include/asm/arch/hardware.h: No
> such file or directory
> Kbuild:64: recipe for target 'arch/arm/lib/asm-offsets.s' failed
> make[1]: *** [arch/arm/lib/asm-offsets.s] Error 2
> make[1]: *** 正在等待未完成的任务....
> CHK include/config.h
> Makefile:1340: recipe for target 'prepare0' failed
>
> Thanks,
> - Kever
>
> On 06/01/2018 05:59 PM, Kever Yang wrote:
>
> Hi Guys,
>
> I met below error from time to time when build U-Boot project.
>
> fixdep: error opening config file: arch/arm/include/asm/arch/hardware.h: No
> such file or directory
>
> The folder 'arch/arm/include/asm/arch' is a link for
> 'arch/arm/include/asm/arch-rockchip',
>
> which is dynamic generate by build system, I thinks there should be some
> dependency issue?
>
> How to fix this kind of issue?
I am not sure what is going on there. I don't see this.
Are you using 'make distclean' or 'make mrproper' on your object tree
every now and then?
Regards,
Simon
^ permalink raw reply [flat|nested] 10+ messages in thread
* [U-Boot] build fail due to dependence error
2018-06-30 4:19 ` Simon Glass
@ 2018-07-02 7:54 ` Kever Yang
2018-07-02 8:23 ` Dr. Philipp Tomsich
0 siblings, 1 reply; 10+ messages in thread
From: Kever Yang @ 2018-07-02 7:54 UTC (permalink / raw)
To: u-boot
Hi Simon,
On 06/30/2018 12:19 PM, Simon Glass wrote:
> Hi,
>
> On 28 June 2018 at 01:41, Dr. Philipp Tomsich
> <philipp.tomsich@theobroma-systems.com> wrote:
>> Kever,
>>
>> is the link for ‘asm’ set up correctly?
>>
>> Thanks,
>> Philipp.
>>
>> On 28 Jun 2018, at 10:38, Kever Yang <kever.yang@rock-chips.com> wrote:
>>
>> Hi Simon,
>>
>> Do you have any idea about this error?
>>
>>
>> CC lib/asm-offsets.s
>> CC arch/arm/lib/asm-offsets.s
>> fixdep: error opening config file: arch/arm/include/asm/arch/hardware.h: No
>> such file or directory
>> Kbuild:64: recipe for target 'arch/arm/lib/asm-offsets.s' failed
>> make[1]: *** [arch/arm/lib/asm-offsets.s] Error 2
>> make[1]: *** 正在等待未完成的任务....
>> CHK include/config.h
>> Makefile:1340: recipe for target 'prepare0' failed
>>
>> Thanks,
>> - Kever
>>
>> On 06/01/2018 05:59 PM, Kever Yang wrote:
>>
>> Hi Guys,
>>
>> I met below error from time to time when build U-Boot project.
>>
>> fixdep: error opening config file: arch/arm/include/asm/arch/hardware.h: No
>> such file or directory
>>
>> The folder 'arch/arm/include/asm/arch' is a link for
>> 'arch/arm/include/asm/arch-rockchip',
>>
>> which is dynamic generate by build system, I thinks there should be some
>> dependency issue?
>>
>> How to fix this kind of issue?
> I am not sure what is going on there. I don't see this.
>
> Are you using 'make distclean' or 'make mrproper' on your object tree
> every now and then?
This is happen sometimes in our Jenkins verify, It will gone when I
rebase the patch(re-build without any change),
we do 'make distclean' every time before a new build.
Thanks,
- Kever
> Regards,
> Simon
>
^ permalink raw reply [flat|nested] 10+ messages in thread
* [U-Boot] build fail due to dependence error
2018-07-02 7:54 ` Kever Yang
@ 2018-07-02 8:23 ` Dr. Philipp Tomsich
2018-07-09 2:39 ` Simon Glass
0 siblings, 1 reply; 10+ messages in thread
From: Dr. Philipp Tomsich @ 2018-07-02 8:23 UTC (permalink / raw)
To: u-boot
Kever,
Could you check the build artifacts in Jenkins to see whether after
the ‘make [configname]_defconfig’, the link for asm/arch is correctly
set up?
Thanks,
Philipp.
> On 2 Jul 2018, at 09:54, Kever Yang <kever.yang@rock-chips.com> wrote:
>
> Hi Simon,
>
>
> On 06/30/2018 12:19 PM, Simon Glass wrote:
>> Hi,
>>
>> On 28 June 2018 at 01:41, Dr. Philipp Tomsich
>> <philipp.tomsich@theobroma-systems.com> wrote:
>>> Kever,
>>>
>>> is the link for ‘asm’ set up correctly?
>>>
>>> Thanks,
>>> Philipp.
>>>
>>> On 28 Jun 2018, at 10:38, Kever Yang <kever.yang@rock-chips.com> wrote:
>>>
>>> Hi Simon,
>>>
>>> Do you have any idea about this error?
>>>
>>>
>>> CC lib/asm-offsets.s
>>> CC arch/arm/lib/asm-offsets.s
>>> fixdep: error opening config file: arch/arm/include/asm/arch/hardware.h: No
>>> such file or directory
>>> Kbuild:64: recipe for target 'arch/arm/lib/asm-offsets.s' failed
>>> make[1]: *** [arch/arm/lib/asm-offsets.s] Error 2
>>> make[1]: *** 正在等待未完成的任务....
>>> CHK include/config.h
>>> Makefile:1340: recipe for target 'prepare0' failed
>>>
>>> Thanks,
>>> - Kever
>>>
>>> On 06/01/2018 05:59 PM, Kever Yang wrote:
>>>
>>> Hi Guys,
>>>
>>> I met below error from time to time when build U-Boot project.
>>>
>>> fixdep: error opening config file: arch/arm/include/asm/arch/hardware.h: No
>>> such file or directory
>>>
>>> The folder 'arch/arm/include/asm/arch' is a link for
>>> 'arch/arm/include/asm/arch-rockchip',
>>>
>>> which is dynamic generate by build system, I thinks there should be some
>>> dependency issue?
>>>
>>> How to fix this kind of issue?
>> I am not sure what is going on there. I don't see this.
>>
>> Are you using 'make distclean' or 'make mrproper' on your object tree
>> every now and then?
>
> This is happen sometimes in our Jenkins verify, It will gone when I
> rebase the patch(re-build without any change),
> we do 'make distclean' every time before a new build.
>
> Thanks,
> - Kever
>> Regards,
>> Simon
^ permalink raw reply [flat|nested] 10+ messages in thread
* [U-Boot] build fail due to dependence error
2018-07-02 8:23 ` Dr. Philipp Tomsich
@ 2018-07-09 2:39 ` Simon Glass
2018-07-09 5:26 ` Masahiro Yamada
0 siblings, 1 reply; 10+ messages in thread
From: Simon Glass @ 2018-07-09 2:39 UTC (permalink / raw)
To: u-boot
+Masahiro who might know
On 2 July 2018 at 01:23, Dr. Philipp Tomsich
<philipp.tomsich@theobroma-systems.com> wrote:
> Kever,
>
> Could you check the build artifacts in Jenkins to see whether after
> the ‘make [configname]_defconfig’, the link for asm/arch is correctly
> set up?
>
> Thanks,
> Philipp.
>
> On 2 Jul 2018, at 09:54, Kever Yang <kever.yang@rock-chips.com> wrote:
>
> Hi Simon,
>
>
> On 06/30/2018 12:19 PM, Simon Glass wrote:
>
> Hi,
>
> On 28 June 2018 at 01:41, Dr. Philipp Tomsich
> <philipp.tomsich@theobroma-systems.com> wrote:
>
> Kever,
>
> is the link for ‘asm’ set up correctly?
>
> Thanks,
> Philipp.
>
> On 28 Jun 2018, at 10:38, Kever Yang <kever.yang@rock-chips.com> wrote:
>
> Hi Simon,
>
> Do you have any idea about this error?
>
>
> CC lib/asm-offsets.s
> CC arch/arm/lib/asm-offsets.s
> fixdep: error opening config file: arch/arm/include/asm/arch/hardware.h: No
> such file or directory
> Kbuild:64: recipe for target 'arch/arm/lib/asm-offsets.s' failed
> make[1]: *** [arch/arm/lib/asm-offsets.s] Error 2
> make[1]: *** 正在等待未完成的任务....
> CHK include/config.h
> Makefile:1340: recipe for target 'prepare0' failed
>
> Thanks,
> - Kever
>
> On 06/01/2018 05:59 PM, Kever Yang wrote:
>
> Hi Guys,
>
> I met below error from time to time when build U-Boot project.
>
> fixdep: error opening config file: arch/arm/include/asm/arch/hardware.h: No
> such file or directory
>
> The folder 'arch/arm/include/asm/arch' is a link for
> 'arch/arm/include/asm/arch-rockchip',
>
> which is dynamic generate by build system, I thinks there should be some
> dependency issue?
>
> How to fix this kind of issue?
>
> I am not sure what is going on there. I don't see this.
>
> Are you using 'make distclean' or 'make mrproper' on your object tree
> every now and then?
>
>
> This is happen sometimes in our Jenkins verify, It will gone when I
> rebase the patch(re-build without any change),
> we do 'make distclean' every time before a new build.
>
> Thanks,
> - Kever
>
> Regards,
> Simon
>
>
On 2 July 2018 at 02:23, Dr. Philipp Tomsich
<philipp.tomsich@theobroma-systems.com> wrote:
> Kever,
>
> Could you check the build artifacts in Jenkins to see whether after
> the ‘make [configname]_defconfig’, the link for asm/arch is correctly
> set up?
>
> Thanks,
> Philipp.
>
> On 2 Jul 2018, at 09:54, Kever Yang <kever.yang@rock-chips.com> wrote:
>
> Hi Simon,
>
>
> On 06/30/2018 12:19 PM, Simon Glass wrote:
>
> Hi,
>
> On 28 June 2018 at 01:41, Dr. Philipp Tomsich
> <philipp.tomsich@theobroma-systems.com> wrote:
>
> Kever,
>
> is the link for ‘asm’ set up correctly?
>
> Thanks,
> Philipp.
>
> On 28 Jun 2018, at 10:38, Kever Yang <kever.yang@rock-chips.com> wrote:
>
> Hi Simon,
>
> Do you have any idea about this error?
>
>
> CC lib/asm-offsets.s
> CC arch/arm/lib/asm-offsets.s
> fixdep: error opening config file: arch/arm/include/asm/arch/hardware.h: No
> such file or directory
> Kbuild:64: recipe for target 'arch/arm/lib/asm-offsets.s' failed
> make[1]: *** [arch/arm/lib/asm-offsets.s] Error 2
> make[1]: *** 正在等待未完成的任务....
> CHK include/config.h
> Makefile:1340: recipe for target 'prepare0' failed
>
> Thanks,
> - Kever
>
> On 06/01/2018 05:59 PM, Kever Yang wrote:
>
> Hi Guys,
>
> I met below error from time to time when build U-Boot project.
>
> fixdep: error opening config file: arch/arm/include/asm/arch/hardware.h: No
> such file or directory
>
> The folder 'arch/arm/include/asm/arch' is a link for
> 'arch/arm/include/asm/arch-rockchip',
>
> which is dynamic generate by build system, I thinks there should be some
> dependency issue?
>
> How to fix this kind of issue?
>
> I am not sure what is going on there. I don't see this.
>
> Are you using 'make distclean' or 'make mrproper' on your object tree
> every now and then?
>
>
> This is happen sometimes in our Jenkins verify, It will gone when I
> rebase the patch(re-build without any change),
> we do 'make distclean' every time before a new build.
>
> Thanks,
> - Kever
>
> Regards,
> Simon
>
>
^ permalink raw reply [flat|nested] 10+ messages in thread
* [U-Boot] build fail due to dependence error
2018-07-09 2:39 ` Simon Glass
@ 2018-07-09 5:26 ` Masahiro Yamada
2018-07-09 7:18 ` Patrick DELAUNAY
0 siblings, 1 reply; 10+ messages in thread
From: Masahiro Yamada @ 2018-07-09 5:26 UTC (permalink / raw)
To: u-boot
Hi.
2018-07-09 11:39 GMT+09:00 Simon Glass <sjg@chromium.org>:
> +Masahiro who might know
>
> On 2 July 2018 at 01:23, Dr. Philipp Tomsich
> <philipp.tomsich@theobroma-systems.com> wrote:
>> Kever,
>>
>> Could you check the build artifacts in Jenkins to see whether after
>> the ‘make [configname]_defconfig’, the link for asm/arch is correctly
>> set up?
>>
>> Thanks,
>> Philipp.
>>
>> On 2 Jul 2018, at 09:54, Kever Yang <kever.yang@rock-chips.com> wrote:
>>
>> Hi Simon,
>>
>>
>> On 06/30/2018 12:19 PM, Simon Glass wrote:
>>
>> Hi,
>>
>> On 28 June 2018 at 01:41, Dr. Philipp Tomsich
>> <philipp.tomsich@theobroma-systems.com> wrote:
>>
>> Kever,
>>
>> is the link for ‘asm’ set up correctly?
>>
>> Thanks,
>> Philipp.
>>
>> On 28 Jun 2018, at 10:38, Kever Yang <kever.yang@rock-chips.com> wrote:
>>
>> Hi Simon,
>>
>> Do you have any idea about this error?
>>
>>
>> CC lib/asm-offsets.s
>> CC arch/arm/lib/asm-offsets.s
>> fixdep: error opening config file: arch/arm/include/asm/arch/hardware.h: No
>> such file or directory
>> Kbuild:64: recipe for target 'arch/arm/lib/asm-offsets.s' failed
>> make[1]: *** [arch/arm/lib/asm-offsets.s] Error 2
>> make[1]: *** 正在等待未完成的任务....
>> CHK include/config.h
>> Makefile:1340: recipe for target 'prepare0' failed
>>
>> Thanks,
>> - Kever
>>
>> On 06/01/2018 05:59 PM, Kever Yang wrote:
>>
>> Hi Guys,
>>
>> I met below error from time to time when build U-Boot project.
>>
>> fixdep: error opening config file: arch/arm/include/asm/arch/hardware.h: No
>> such file or directory
>>
>> The folder 'arch/arm/include/asm/arch' is a link for
>> 'arch/arm/include/asm/arch-rockchip',
>>
>> which is dynamic generate by build system, I thinks there should be some
>> dependency issue?
>>
>> How to fix this kind of issue?
>>
>> I am not sure what is going on there. I don't see this.
>>
>> Are you using 'make distclean' or 'make mrproper' on your object tree
>> every now and then?
>>
>>
>> This is happen sometimes in our Jenkins verify, It will gone when I
>> rebase the patch(re-build without any change),
>> we do 'make distclean' every time before a new build.
Hmm, I cannot reproduce this error.
I have no clue about this.
--
Best Regards
Masahiro Yamada
^ permalink raw reply [flat|nested] 10+ messages in thread
* [U-Boot] build fail due to dependence error
2018-07-09 5:26 ` Masahiro Yamada
@ 2018-07-09 7:18 ` Patrick DELAUNAY
2018-07-09 8:36 ` Dr. Philipp Tomsich
0 siblings, 1 reply; 10+ messages in thread
From: Patrick DELAUNAY @ 2018-07-09 7:18 UTC (permalink / raw)
To: u-boot
> From: U-Boot <u-boot-bounces@lists.denx.de> On Behalf Of Masahiro Yamada
> Sent: lundi 9 juillet 2018 07:27
> Subject: Re: [U-Boot] build fail due to dependence error
>
> Hi.
>
>
> 2018-07-09 11:39 GMT+09:00 Simon Glass <sjg@chromium.org>:
> > +Masahiro who might know
> >
> > On 2 July 2018 at 01:23, Dr. Philipp Tomsich
> > <philipp.tomsich@theobroma-systems.com> wrote:
> >> Kever,
> >>
> >> Could you check the build artifacts in Jenkins to see whether after
> >> the ‘make [configname]_defconfig’, the link for asm/arch is correctly
> >> set up?
> >>
> >> Thanks,
> >> Philipp.
> >>
> >> On 2 Jul 2018, at 09:54, Kever Yang <kever.yang@rock-chips.com> wrote:
> >>
> >> Hi Simon,
> >>
> >>
> >> On 06/30/2018 12:19 PM, Simon Glass wrote:
> >>
> >> Hi,
> >>
> >> On 28 June 2018 at 01:41, Dr. Philipp Tomsich
> >> <philipp.tomsich@theobroma-systems.com> wrote:
> >>
> >> Kever,
> >>
> >> is the link for ‘asm’ set up correctly?
> >>
> >> Thanks,
> >> Philipp.
> >>
> >> On 28 Jun 2018, at 10:38, Kever Yang <kever.yang@rock-chips.com> wrote:
> >>
> >> Hi Simon,
> >>
> >> Do you have any idea about this error?
> >>
> >>
> >> CC lib/asm-offsets.s
> >> CC arch/arm/lib/asm-offsets.s
> >> fixdep: error opening config file:
> >> arch/arm/include/asm/arch/hardware.h: No such file or directory
> >> Kbuild:64: recipe for target 'arch/arm/lib/asm-offsets.s' failed
> >> make[1]: *** [arch/arm/lib/asm-offsets.s] Error 2
> >> make[1]: *** 正在等待未完成的任务....
> >> CHK include/config.h
> >> Makefile:1340: recipe for target 'prepare0' failed
> >>
> >> Thanks,
> >> - Kever
> >>
> >> On 06/01/2018 05:59 PM, Kever Yang wrote:
> >>
> >> Hi Guys,
> >>
> >> I met below error from time to time when build U-Boot project.
> >>
> >> fixdep: error opening config file:
> >> arch/arm/include/asm/arch/hardware.h: No such file or directory
> >>
> >> The folder 'arch/arm/include/asm/arch' is a link for
> >> 'arch/arm/include/asm/arch-rockchip',
> >>
> >> which is dynamic generate by build system, I thinks there should be
> >> some dependency issue?
> >>
> >> How to fix this kind of issue?
> >>
> >> I am not sure what is going on there. I don't see this.
> >>
> >> Are you using 'make distclean' or 'make mrproper' on your object tree
> >> every now and then?
> >>
> >>
> >> This is happen sometimes in our Jenkins verify, It will gone when I
> >> rebase the patch(re-build without any change), we do 'make distclean'
> >> every time before a new build.
>
>
> Hmm, I cannot reproduce this error.
>
>
> I have no clue about this.
Just for information, I have also the same issue sometime in the same context (Jenkins build) for stm32mp1 board.
The error is : "Missing stm32.h file in the directory include/asm/arch/"
I try to understood the dependency issue, but I don't found any issue:
the needed symbolic link is done just before in the trace of the artifact...
2018-03-03-17-00-02] | if [ -d /opt/STM/workspace/workdir/rdk/build-stm32mp1/tmp-glibc/work/stm32mp1-stm32mpvalid-linux-gnueabi/u-boot-basic-stm32mp/2018.01-git-AUTOINC+d741b91b3c.r0/git/arch/arm/mach-stm32mp/include/mach ]; then \
[2018-03-03-17-00-02] | dest=arch/arm/mach-stm32mp/include/mach; \
[2018-03-03-17-00-02] | else \
[2018-03-03-17-00-02] | dest=arch/arm/include/asm/arch-stm32mp; \
[2018-03-03-17-00-02] | fi; \
[2018-03-03-17-00-02] | ln -fsn /opt/STM/workspace/workdir/rdk/build-stm32mp1/tmp-glibc/work/stm32mp1-stm32mpvalid-linux-gnueabi/u-boot-basic-stm32mp/2018.01-git-AUTOINC+d741b91b3c.r0/git/$dest include/asm/arch
[2018-03-03-17-00-02] | fixdep: error opening config file: include/asm/arch/stm32.h: No such file or directory
I don't understood why the dependency failed....
Perhaps it is because in our Jenkins task the parallel compilation is requested with high value... (-J 8)
and the dependency check is done in parallel of the link creation....
The dependancy are :
./arch/arm/lib/asm-offsets.c => Kbuild
with:
lib/asm-offsets.s: lib/asm-offsets.c FORCE
but the link on the directory is requested only by the rules about config.h not for stm32.h (or hardware.h in your case):
./scripts/Makefile.autoconf:115:include/config.h: scripts/Makefile.autoconf create_symlink FORCE
Perhaps add a simple rule in some makefile can solve the issue....
For me
include/asm/arch/stm32.h: create_symlink
or for you :
include/asm/arch/hardware.h: create_symlink
or it is better to add generic dependancy in ./scripts/Makefile.autoconf ?
include/asm/arch/*.h: create_symlink
> --
> Best Regards
> Masahiro Yamada
Regards
Patrick.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [U-Boot] build fail due to dependence error
2018-07-09 7:18 ` Patrick DELAUNAY
@ 2018-07-09 8:36 ` Dr. Philipp Tomsich
0 siblings, 0 replies; 10+ messages in thread
From: Dr. Philipp Tomsich @ 2018-07-09 8:36 UTC (permalink / raw)
To: u-boot
> On 9 Jul 2018, at 09:18, Patrick DELAUNAY <patrick.delaunay@st.com> wrote:
>
>> From: U-Boot <u-boot-bounces@lists.denx.de> On Behalf Of Masahiro Yamada
>> Sent: lundi 9 juillet 2018 07:27
>> Subject: Re: [U-Boot] build fail due to dependence error
>>
>> Hi.
>>
>>
>> 2018-07-09 11:39 GMT+09:00 Simon Glass <sjg@chromium.org>:
>>> +Masahiro who might know
>>>
>>> On 2 July 2018 at 01:23, Dr. Philipp Tomsich
>>> <philipp.tomsich@theobroma-systems.com> wrote:
>>>> Kever,
>>>>
>>>> Could you check the build artifacts in Jenkins to see whether after
>>>> the ‘make [configname]_defconfig’, the link for asm/arch is correctly
>>>> set up?
>>>>
>>>> Thanks,
>>>> Philipp.
>>>>
>>>> On 2 Jul 2018, at 09:54, Kever Yang <kever.yang@rock-chips.com> wrote:
>>>>
>>>> Hi Simon,
>>>>
>>>>
>>>> On 06/30/2018 12:19 PM, Simon Glass wrote:
>>>>
>>>> Hi,
>>>>
>>>> On 28 June 2018 at 01:41, Dr. Philipp Tomsich
>>>> <philipp.tomsich@theobroma-systems.com> wrote:
>>>>
>>>> Kever,
>>>>
>>>> is the link for ‘asm’ set up correctly?
>>>>
>>>> Thanks,
>>>> Philipp.
>>>>
>>>> On 28 Jun 2018, at 10:38, Kever Yang <kever.yang@rock-chips.com> wrote:
>>>>
>>>> Hi Simon,
>>>>
>>>> Do you have any idea about this error?
>>>>
>>>>
>>>> CC lib/asm-offsets.s
>>>> CC arch/arm/lib/asm-offsets.s
>>>> fixdep: error opening config file:
>>>> arch/arm/include/asm/arch/hardware.h: No such file or directory
>>>> Kbuild:64: recipe for target 'arch/arm/lib/asm-offsets.s' failed
>>>> make[1]: *** [arch/arm/lib/asm-offsets.s] Error 2
>>>> make[1]: *** 正在等待未完成的任务....
>>>> CHK include/config.h
>>>> Makefile:1340: recipe for target 'prepare0' failed
>>>>
>>>> Thanks,
>>>> - Kever
>>>>
>>>> On 06/01/2018 05:59 PM, Kever Yang wrote:
>>>>
>>>> Hi Guys,
>>>>
>>>> I met below error from time to time when build U-Boot project.
>>>>
>>>> fixdep: error opening config file:
>>>> arch/arm/include/asm/arch/hardware.h: No such file or directory
>>>>
>>>> The folder 'arch/arm/include/asm/arch' is a link for
>>>> 'arch/arm/include/asm/arch-rockchip',
>>>>
>>>> which is dynamic generate by build system, I thinks there should be
>>>> some dependency issue?
>>>>
>>>> How to fix this kind of issue?
>>>>
>>>> I am not sure what is going on there. I don't see this.
>>>>
>>>> Are you using 'make distclean' or 'make mrproper' on your object tree
>>>> every now and then?
>>>>
>>>>
>>>> This is happen sometimes in our Jenkins verify, It will gone when I
>>>> rebase the patch(re-build without any change), we do 'make distclean'
>>>> every time before a new build.
>>
>>
>> Hmm, I cannot reproduce this error.
>>
>>
>> I have no clue about this.
>
> Just for information, I have also the same issue sometime in the same context (Jenkins build) for stm32mp1 board.
>
> The error is : "Missing stm32.h file in the directory include/asm/arch/"
>
> I try to understood the dependency issue, but I don't found any issue:
> the needed symbolic link is done just before in the trace of the artifact...
>
> 2018-03-03-17-00-02] | if [ -d /opt/STM/workspace/workdir/rdk/build-stm32mp1/tmp-glibc/work/stm32mp1-stm32mpvalid-linux-gnueabi/u-boot-basic-stm32mp/2018.01-git-AUTOINC+d741b91b3c.r0/git/arch/arm/mach-stm32mp/include/mach ]; then \
> [2018-03-03-17-00-02] | dest=arch/arm/mach-stm32mp/include/mach; \
> [2018-03-03-17-00-02] | else \
> [2018-03-03-17-00-02] | dest=arch/arm/include/asm/arch-stm32mp; \
> [2018-03-03-17-00-02] | fi; \
> [2018-03-03-17-00-02] | ln -fsn /opt/STM/workspace/workdir/rdk/build-stm32mp1/tmp-glibc/work/stm32mp1-stm32mpvalid-linux-gnueabi/u-boot-basic-stm32mp/2018.01-git-AUTOINC+d741b91b3c.r0/git/$dest include/asm/arch
> [2018-03-03-17-00-02] | fixdep: error opening config file: include/asm/arch/stm32.h: No such file or directory
>
> I don't understood why the dependency failed....
>
> Perhaps it is because in our Jenkins task the parallel compilation is requested with high value... (-J 8)
> and the dependency check is done in parallel of the link creation….
For what it’s worth: I always build with -j8 on my main development system and have
never (my expectation would be that it should have cropped up at least a few times
over the years) encountered this.
> The dependancy are :
> ./arch/arm/lib/asm-offsets.c => Kbuild
>
> with:
> lib/asm-offsets.s: lib/asm-offsets.c FORCE
>
>
> but the link on the directory is requested only by the rules about config.h not for stm32.h (or hardware.h in your case):
> ./scripts/Makefile.autoconf:115:include/config.h: scripts/Makefile.autoconf create_symlink FORCE
>
> Perhaps add a simple rule in some makefile can solve the issue....
>
> For me
>
> include/asm/arch/stm32.h: create_symlink
>
> or for you :
>
> include/asm/arch/hardware.h: create_symlink
>
>
> or it is better to add generic dependancy in ./scripts/Makefile.autoconf ?
>
> include/asm/arch/*.h: create_symlink
>
>
>> --
>> Best Regards
>> Masahiro Yamada
>
> Regards
>
> Patrick.
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> https://lists.denx.de/listinfo/u-boot
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2018-07-09 8:36 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-01 9:59 [U-Boot] build fail due to dependence error Kever Yang
2018-06-28 8:38 ` Kever Yang
2018-06-28 8:41 ` Dr. Philipp Tomsich
2018-06-30 4:19 ` Simon Glass
2018-07-02 7:54 ` Kever Yang
2018-07-02 8:23 ` Dr. Philipp Tomsich
2018-07-09 2:39 ` Simon Glass
2018-07-09 5:26 ` Masahiro Yamada
2018-07-09 7:18 ` Patrick DELAUNAY
2018-07-09 8:36 ` Dr. Philipp Tomsich
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.