Un-clean scripts/dtc causing buildman failure

Marcel Ziswiler marcel at ziswiler.com
Sat Jan 8 15:22:50 CET 2022


Hi Simon et al.

Somehow doing an mrproper does not seem to clean intermediate file in scripts/dtc:

⬢[zim at toolbox u-boot.git]$ make mrproper
⬢[zim at toolbox u-boot.git]$ git status --ignored scripts/dtc
On branch master
Your branch is up to date with 'origin/master'.

Ignored files:
  (use "git add -f <file>..." to include in what will be committed)
	scripts/dtc/dtc
	scripts/dtc/pylibfdt/libfdt.i
	scripts/dtc/pylibfdt/libfdt.py
	scripts/dtc/pylibfdt/libfdt_wrap.c

nothing to commit, working tree clean

Unfortunately later running buildman off such a tree than fails:

⬢[zim at toolbox u-boot.git]$ tools/buildman/buildman verdin-imx8mm
Building current source for 1 boards (1 thread, 16 jobs per thread)
   aarch64:  +   verdin-imx8mm              
+/usr/bin/which: no dtc in (./scripts/dtc)
+Unable to find file 'scripts/dtc/pylibfdt/libfdt.i'.
+error: command '/usr/bin/swig' failed with exit code 1
+make[3]: *** [scripts/dtc/pylibfdt/Makefile:30: rebuild] Error 1
+make[2]: *** [scripts/Makefile.build:394: scripts/dtc/pylibfdt] Error 2
+make[1]: *** [Makefile:1970: scripts_dtc] Error 2
+make: *** [Makefile:177: sub-make] Error 2
    0    0    1 /1              verdin-imx8mm
Completed: 1 total built, duration 0:00:05, rate 0.20

Is this a known issue? Shouldn't a mrproper also clean such intermediate files?

BTW: Any news on getting that libfdt stuff updated to work with latest tooling (e.g. as used in Fedora 35)?

Cheers

Marcel


More information about the U-Boot mailing list