Opened 5 years ago
Closed 5 years ago
#12557 closed defect (worksforme)
Buildbots fail all targets at the install stage of binutils
Reported by: | hnyman <hannu.nyman@…> | Owned by: | developers |
---|---|---|---|
Priority: | normal | Milestone: | Chaos Calmer 15.05 |
Component: | toolchain | Version: | Trunk |
Keywords: | Cc: |
Description
Buildbots fail with all targets at compile_9 stage since r34432. With r34429 there still were successful builds.
Looking at the trunk changelog between those revisions reveals only a few changes:
https://dev.openwrt.org/changeset?new=34432%40trunk&old=34427%40trunk
My suspect for the culprit is r34432, which effectively left two default versions for the binutils package:
https://dev.openwrt.org/changeset/34432/#file1
Index: trunk/toolchain/binutils/Config.in =================================================================== --- a/trunk/toolchain/binutils/Config.in +++ b/trunk/toolchain/binutils/Config.in @@ -3,5 +3,5 @@ choice prompt "Binutils Version" if TOOLCHAINOPTS - default BINUTILS_VERSION_2_19_1 if ubicom32 + default BINUTILS_VERSION_2_19_1 default BINUTILS_VERSION_2_20_1 if avr32 default BINUTILS_VERSION_2_22
2.22 has been the default for 10 months, but as far as I understand, this change left 2.19.1 as the first default be removing the ubicom related conditional from the line. At least if I go now into menuconfig toolchain options, 2.19.1 is offered to be selected by default.
Attachments (0)
Change History (4)
comment:1 Changed 5 years ago by hnyman <hannu.nyman@…>
comment:2 Changed 5 years ago by jow
- Resolution set to fixed
- Status changed from new to closed
comment:3 Changed 5 years ago by edsalsen@…
- Resolution fixed deleted
- Status changed from closed to reopened
Hi guys,
I just found that the same issue is happening to me with revision 35840 and cannot compile!
Thanks.
make[4]: Leaving directory `/home/me/src/openwrt/trunk/build_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/binutils-2.22' if [ -d /home/me/src/openwrt/trunk/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/initial/lib64 -a \! -L /home/me/src/openwrt/trunk/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/initial/lib64 ]; then mkdir -p /home/me/src/openwrt/trunk/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/initial/lib; mv /home/me/src/openwrt/trunk/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/initial/lib64/* /home/me/src/openwrt/trunk/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/initial/lib/; rm -rf /home/me/src/openwrt/trunk/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/initial/lib64; fi ln -sf lib /home/me/src/openwrt/trunk/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/initial/lib64 cp -fpR /home/me/src/openwrt/trunk/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/initial/. /home/me/src/openwrt/trunk/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/ cp: cannot overwrite non-directory `/home/me/src/openwrt/trunk/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/./mips-openwrt-linux-uclibc/lib' with directory `/home/me/src/openwrt/trunk/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/initial/./mips-openwrt-linux-uclibc/lib' make[3]: *** [/home/me/src/openwrt/trunk/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/stamp/.binutils_installed] Error 1 make[3]: Leaving directory `/home/me/src/openwrt/trunk/toolchain/binutils' make[2]: *** [toolchain/binutils/install] Error 2 make[2]: Leaving directory `/home/me/src/openwrt/trunk' make[1]: *** [/home/me/src/openwrt/trunk/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/stamp/.toolchain_install] Error 2 make[1]: Leaving directory `/home/me/src/openwrt/trunk' make: *** [world] Error 2
comment:4 Changed 5 years ago by jow
- Resolution set to worksforme
- Status changed from reopened to closed
Unclean build tree.
The actual error from buildbots, probably triggered by the line 89 in the Makefile
https://dev.openwrt.org/browser/trunk/toolchain/binutils/Makefile#L89