OpenWrt Forum Archive

Topic: cannot build latest trunk

The content of this topic has been archived on 18 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

The build process breaks only on the first stage. It seems to happen because the package versions in the latest trunk branch are too new and have not been updated on the mirrors used by the openwrt buildroot system.

--2017-09-27 20:32:56--  http://mirror2.openwrt.org/sources/expat-2.2.0.tar.bz2
Resolving mirror2.openwrt.org (mirror2.openwrt.org)... 46.4.11.11
Connecting to mirror2.openwrt.org (mirror2.openwrt.org)|46.4.11.11|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2017-09-27 20:33:01 ERROR 404: Not Found.

Download failed.
--2017-09-27 20:33:01--  http://downloads.openwrt.org/sources/expat-2.2.0.tar.bz2
Resolving downloads.openwrt.org (downloads.openwrt.org)... 78.24.191.177
Connecting to downloads.openwrt.org (downloads.openwrt.org)|78.24.191.177|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2017-09-27 20:33:01 ERROR 404: Not Found.

Download failed.
No more mirrors to try - giving up.
make[3]: *** [/home/dir2cas/openwrt/trunk_branch/dl/expat-2.2.0.tar.bz2] Error 2
make[3]: Leaving directory `/home/dir2cas/openwrt/trunk_branch/tools/expat'
make[2]: *** [tools/expat/compile] Error 2
make[2]: Leaving directory `/home/dir2cas/openwrt/trunk_branch'
make[1]: *** [/home/dir2cas/openwrt/trunk_branch/staging_dir/target-mips_34kc_musl-1.1.16/stamp/.tools_install_yynyynynynyyyyyyynyyyyyyyyyyyyynyyyyynnyynynyyyynnnyy] Error 2
make[1]: Leaving directory `/home/dir2cas/openwrt/trunk_branch'
make: *** [world] Error 2

The same happens with

make[3]: *** [/home/dir2cas/openwrt/trunk_branch/dl/xz-5.2.2.tar.bz2] Error 2
make[2]: *** [tools/xz/compile] Error 2
make[1]: *** [/home/dir2cas/openwrt/trunk_branch/staging_dir/target-mips_34kc_musl-1.1.16/stamp/.tools_install_yynyynynynyyyyyyynyyyyyyyyyyyyynyyyyynnyynynyyyynnnyy] Error 2
make: *** [world] Error 2

make[3]: *** [/home/dir2cas/openwrt/trunk_branch/dl/e2fsprogs-1.43.1.tar.gz] Error 2
make[2]: *** [tools/e2fsprogs/compile] Error 2
make[1]: *** [/home/dir2cas/openwrt/trunk_branch/staging_dir/target-mips_34kc_musl-1.1.16/stamp/.tools_install_yynyynynynyyyyyyynyyyyyyyyyyyyynyyyyynnyynynyyyynnnyy] Error 2
make: *** [world] Error 2

make[3]: *** [/home/dir2cas/openwrt/trunk_branch/dl/scons-2.5.0.tar.gz] Error 2
make[2]: *** [tools/scons/compile] Error 2
make[1]: *** [/home/dir2cas/openwrt/trunk_branch/staging_dir/target-mips_34kc_musl-1.1.16/stamp/.tools_install_yynyynynynyyyyyyynyyyyyyyyyyyyynyyyyynnyynynyyyynnnyy] Error 2
make: *** [world] Error 2

etc.

Somebody can fix that.


p.s. just to mention that the above tools have been added manually by me in the dl dir in order to proceed with the build process, but seems that they are too much and this is not applicable.

(Last edited by dir2cas on 27 Sep 2017, 22:00)

Same issue with dir2cas, on the exact same error.

converted 'hxxp://mirror2.openwrt.org/sources/expat-2.2.0.tar.bz2' (ANSI_X3.4-1968) -> 'hxxp://mirror2.openwrt.org/sources/expat-2.2.0.tar.bz2' (UTF-8)
--2017-11-17 05:13:31--  hxxp://mirror2.openwrt.org/sources/expat-2.2.0.tar.bz2
Resolving mirror2.openwrt.org (mirror2.openwrt.org)... 46.4.11.11
Connecting to mirror2.openwrt.org (mirror2.openwrt.org)|46.4.11.11|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2017-11-17 05:13:33 ERROR 404: Not Found.

Download failed.
converted 'hxxp://downloads.openwrt.org/sources/expat-2.2.0.tar.bz2' (ANSI_X3.4-1968) -> 'hxxp://downloads.openwrt.org/sources/expat-2.2.0.tar.bz2' (UTF-8)
--2017-11-17 05:13:34--  hxxp://downloads.openwrt.org/sources/expat-2.2.0.tar.bz2
Resolving downloads.openwrt.org (downloads.openwrt.org)... 78.24.191.177
Connecting to downloads.openwrt.org (downloads.openwrt.org)|78.24.191.177|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2017-11-17 05:13:39 ERROR 404: Not Found.

Download failed.
No more mirrors to try - giving up.
Makefile:25: recipe for target '/home/pi/openwrt/openwrt-archer-c2/dl/expat-2.2.0.tar.bz2' failed
make[3]: *** [/home/pi/openwrt/openwrt-archer-c2/dl/expat-2.2.0.tar.bz2] Error 2
make[3]: Leaving directory '/home/pi/openwrt/openwrt-archer-c2/tools/expat'
tools/Makefile:134: recipe for target 'tools/expat/compile' failed
make[2]: *** [tools/expat/compile] Error 2
make[2]: Leaving directory '/home/pi/openwrt/openwrt-archer-c2'
tools/Makefile:133: recipe for target '/home/pi/openwrt/openwrt-archer-c2/staging_dir/target-mipsel_24kec+dsp_musl-1.1.16/stamp/.tools_install_yynyynynynyyyyyyynyyynyyyyyyyyynyyyyynnyynynnyyynnnyy' failed
make[1]: *** [/home/pi/openwrt/openwrt-archer-c2/staging_dir/target-mipsel_24kec+dsp_musl-1.1.16/stamp/.tools_install_yynyynynynyyyyyyynyyynyyyyyyyyynyyyyynnyynynnyyynnnyy] Error 2
make[1]: Leaving directory '/home/pi/openwrt/openwrt-archer-c2'
/home/pi/openwrt/openwrt-archer-c2/include/toplevel.mk:192: recipe for target 'world' failed
make: *** [world] Error 2
pi@huawei:~/openwrt/openwrt-archer-c2 $

(Changed links to "hxxp://" since I'm not allowed to post links apparently.

tmo26 wrote:

Use LEDE instead.

Unfortunately, the last time I tried LEDE (using a random build I found online), it bricked my C2. Had to SPI flash the thing.

Perhaps you have a working image/build?

The discussion might have continued from here.