during emerge of dev-embedded/u-boot-tools-2022.07: make -f ./scripts/Makefile.build obj=scripts/dtc/pylibfdt cat scripts/dtc/pylibfdt/libfdt.i_shipped > scripts/dtc/pylibfdt/libfdt.i unset CROSS_COMPILE; unset CFLAGS; CC="aarch64-unknown-linux-gnu-gcc" LDSHARED="aarch64-unknown-linux-gnu-gcc -shared " LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--hash-style=gnu -Wl,--as-needed" VERSION="u-boot-2022.07" CPPFLAGS="-O2 -pip e -march=native -mtune=native -I/var/tmp/portage/dev-embedded/u-boot-tools-2022.07/work/u-boot-2022.07/scripts/dtc/libfdt" OBJDIR=scripts/dtc/pylibfdt SOURCES="/var/tmp/portage/dev-embedded/u-boot-tools-2022.07/work/u-boot-2022.07/scrip ts/dtc/libfdt/fdt.c /var/tmp/portage/dev-embedded/u-boot-tools-2022.07/work/u-boot-2022.07/scripts/dtc/libfdt/fdt_ro.c /var/tmp/portage/dev-embedded/u-boot-tools-2022.07/work/u-boot-2022.07/scripts/dtc/libfdt/fdt_wip.c /var/tmp/portage/de v-embedded/u-boot-tools-2022.07/work/u-boot-2022.07/scripts/dtc/libfdt/fdt_sw.c /var/tmp/portage/dev-embedded/u-boot-tools-2022.07/work/u-boot-2022.07/scripts/dtc/libfdt/fdt_rw.c /var/tmp/portage/dev-embedded/u-boot-tools-2022.07/work/u-b oot-2022.07/scripts/dtc/libfdt/fdt_strerror.c /var/tmp/portage/dev-embedded/u-boot-tools-2022.07/work/u-boot-2022.07/scripts/dtc/libfdt/fdt_empty_tree.c /var/tmp/portage/dev-embedded/u-boot-tools-2022.07/work/u-boot-2022.07/scripts/dtc/li bfdt/fdt_addresses.c /var/tmp/portage/dev-embedded/u-boot-tools-2022.07/work/u-boot-2022.07/scripts/dtc/libfdt/fdt_overlay.c scripts/dtc/pylibfdt/libfdt.i" SWIG_OPTS="-I/var/tmp/portage/dev-embedded/u-boot-tools-2022.07/work/u-boot-2022.0 7/scripts/dtc/libfdt -I/var/tmp/portage/dev-embedded/u-boot-tools-2022.07/work/u-boot-2022.07/scripts/dtc/libfdt/.." python3 scripts/dtc/pylibfdt/setup.py --quiet build_ext --inplace /usr/lib/python3.10/site-packages/setuptools/dist.py:544: UserWarning: The version specified ('u-boot-2022.07') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details. warnings.warn( error: command 'swig' failed: No such file or directory make[2]: *** [scripts/dtc/pylibfdt/Makefile:30: rebuild] Error 1 make[1]: *** [scripts/Makefile.build:398: scripts/dtc/pylibfdt] Error 2 make: *** [Makefile:2066: scripts_dtc] Error 2 .[31;01m*.[0m ERROR: dev-embedded/u-boot-tools-2022.07::gentoo failed (compile phase): .[31;01m*.[0m emake failed .[31;01m*.[0m .[31;01m*.[0m If you need support, post the output of `emerge --info '=dev-embedded/u-boot-tools-2022.07::gentoo'`, .[31;01m*.[0m the complete build log and the output of `emerge -pqv '=dev-embedded/u-boot-tools-2022.07::gentoo'`. .[31;01m*.[0m The complete build log is located at '/var/tmp/portage/dev-embedded/u-boot-tools-2022.07/temp/build.log'. .[31;01m*.[0m The ebuild environment file is located at '/var/tmp/portage/dev-embedded/u-boot-tools-2022.07/temp/environment'. .[31;01m*.[0m Working directory: '/var/tmp/portage/dev-embedded/u-boot-tools-2022.07/work/u-boot-2022.07' .[31;01m*.[0m S: '/var/tmp/portage/dev-embedded/u-boot-tools-2022.07/work/u-boot-2022.07' Reproducible: Always
Created attachment 793526 [details] build log
Created attachment 793529 [details] emerge --info
compiles file if swig is installed
I get the same here
Upgrade was seemingly now stabilized... [ebuild U ] dev-embedded/u-boot-tools-2022.07::gentoo [2022.04::gentoo] USE="-envtools" 0 KiB ...but yes, fails with this error (on aarch64) :-/
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04be449b9866811c61af44ca66e23ae8bdfb559d commit 04be449b9866811c61af44ca66e23ae8bdfb559d Author: Jakov Smolić <jsmolic@gentoo.org> AuthorDate: 2022-08-29 07:38:23 +0000 Commit: Jakov Smolić <jsmolic@gentoo.org> CommitDate: 2022-08-29 07:38:23 +0000 dev-embedded/u-boot-tools: Add dev-lang/swig to BDEPEND Closes: https://bugs.gentoo.org/860294 Signed-off-by: Jakov Smolić <jsmolic@gentoo.org> dev-embedded/u-boot-tools/u-boot-tools-2022.07.ebuild | 1 + 1 file changed, 1 insertion(+)