radicallyopensecurity / netaidkit-legacy

Standalone VPN/Tor WiFi router for journalists and activists
GNU General Public License v2.0
47 stars 12 forks source link

Build fails trying to download gdb-linaro #62

Closed hjwp closed 8 years ago

hjwp commented 8 years ago

Looks like the build script is looking for a release of a thing called gdb-linaro at version 7.6 / 2013-05, which is not available from the places it's looking...

mkdir -p /tmp/nak/netaidkit3/openwrt/dl
/tmp/nak/netaidkit3/openwrt/scripts/download.pl "/tmp/nak/netaidkit3/openwrt/dl" "gdb-linaro-7.6-2013.05.tar.bz2" "816290b91cff03912320089d353e8a12" "https://releases.linaro.org/13.05/components/toolchain/gdb-linaro/"
--2015-10-24 18:41:55--  https://releases.linaro.org/13.05/components/toolchain/gdb-linaro/gdb-linaro-7.6-2013.05.tar.bz2
Resolving releases.linaro.org (releases.linaro.org)... 54.225.141.114
Connecting to releases.linaro.org (releases.linaro.org)|54.225.141.114|:443... connected.
HTTP request sent, awaiting response... 404 NOT FOUND
2015-10-24 18:41:56 ERROR 404: NOT FOUND.

Download failed.
--2015-10-24 18:41:56--  http://mirror2.openwrt.org/sources/gdb-linaro-7.6-2013.05.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
2015-10-24 18:41:56 ERROR 404: Not Found.

Download failed.
--2015-10-24 18:41:56--  http://downloads.openwrt.org/sources/gdb-linaro-7.6-2013.05.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
2015-10-24 18:41:56 ERROR 404: Not Found.

Download failed.
No more mirrors to try - giving up.
Makefile:53: recipe for target '/tmp/nak/netaidkit3/openwrt/dl/gdb-linaro-7.6-2013.05.tar.bz2' failed
make[3]: *** [/tmp/nak/netaidkit3/openwrt/dl/gdb-linaro-7.6-2013.05.tar.bz2] Error 2
make[3]: Leaving directory '/tmp/nak/netaidkit3/openwrt/toolchain/gdb'
toolchain/Makefile:81: recipe for target 'toolchain/gdb/prepare' failed
make[2]: *** [toolchain/gdb/prepare] Error 2
make[2]: Leaving directory '/tmp/nak/netaidkit3/openwrt'
toolchain/Makefile:80: recipe for target '/tmp/nak/netaidkit3/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/stamp/.toolchain_install' failed
make[1]: *** [/tmp/nak/netaidkit3/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/stamp/.toolchain_install] Error 2
make[1]: Leaving directory '/tmp/nak/netaidkit3/openwrt'
/tmp/nak/netaidkit3/openwrt/include/toplevel.mk:181: recipe for target 'world' failed
make: *** [world] Error 2
cp: cannot stat ‘bin/ar71xx/openwrt-ar71xx-generic-gl-inet-6416A-v1-squashfs-factory.bin’: No such file or directory
cp: cannot stat ‘bin/ar71xx/openwrt-ar71xx-generic-gl-inet-6416A-v1-squashfs-sysupgrade.bin’: No such file or directory
hjwp commented 8 years ago

Am attempting a fix by hacking openwrt/toolchain/gdb/Makefile and replacing the pkg url with https://launchpad.net/gdb-linaro/7.6/7.6-2013.05/+download/gdb-linaro-7.6-2013.05.tar.bz2

mensoh commented 8 years ago

Am closing this since we cannot reproduce.