Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Issues with Freescale defconfigs
@ 2018-11-22  9:45 Thomas Petazzoni
  2018-11-22 11:05 ` Fabio Estevam
  0 siblings, 1 reply; 4+ messages in thread
From: Thomas Petazzoni @ 2018-11-22  9:45 UTC (permalink / raw)
  To: buildroot

Hello Fabio,

We have a similar issue with several Freescale defconfigs in Buildroot.
The U-Boot build fails with:

  CFGS    board/freescale/mx6qsabreauto/mx6dl.cfg.cfgtmp
  CFGS    board/freescale/mx6qsabreauto/mx6dl.cfg.cfgtmp
mv: cannot stat 'board/freescale/mx6qsabreauto/.mx6dl.cfg.cfgtmp.tmp': No such file or directory
arch/arm/imx-common/Makefile:75: recipe for target 'board/freescale/mx6qsabreauto/mx6dl.cfg.cfgtmp' failed
make[2]: *** [board/freescale/mx6qsabreauto/mx6dl.cfg.cfgtmp] Error 1

See:

  https://gitlab.com/buildroot.org/buildroot/-/jobs/123771053
  https://gitlab.com/buildroot.org/buildroot/-/jobs/123771054
  https://gitlab.com/buildroot.org/buildroot/-/jobs/123771055

I started looking into this, but the problem is not really obvious.
Apparently, the if_changed_dep function does a mv:

if_changed_dep = $(if $(strip $(any-prereq) $(arg-check) ),                  \
        @set -e;                                                             \
        $(echo-cmd) $(cmd_$(1));                                             \
        scripts/basic/fixdep $(depfile) $@ '$(make-cmd)' > $(dot-target).tmp;\
        rm -f $(depfile);                                                    \
        mv -f $(dot-target).tmp $(dot-target).cmd)

And this final mv fails because the file $(dot-target).tmp has not been
created. Indeed, the command creates mx6dl.cfg.cfgtmp, but the mv
expects .mx6dl.cfg.cfgtmp

Are you aware of this issue ? Any solution ?

Thanks a lot,

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-11-22 18:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-11-22  9:45 [Buildroot] Issues with Freescale defconfigs Thomas Petazzoni
2018-11-22 11:05 ` Fabio Estevam
2018-11-22 12:43   ` Thomas Petazzoni
2018-11-22 18:57     ` Fabio Estevam

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox