Build problems

Want to share your OpenWrt / Gargoyle knowledge? Implemented a new feature? Let us know here.

Moderator: Moderators

Post Reply
ispyisail
Moderator
Posts: 5180
Joined: Mon Apr 06, 2009 3:15 am
Location: New Zealand

Build problems

Post by ispyisail »

Hi all

Is anybody else having and build problems or is it just me

Code: Select all

make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/home/user/gargoyle/brcm47xx-src/build_dir/host/util-macros-1.11.0'
touch /home/user/gargoyle/brcm47xx-src/build_dir/host/util-macros-1.11.0/.built
make[4]: Leaving directory `/home/user/gargoyle/brcm47xx-src/tools/xorg-macros'
make[4]: Entering directory `/home/user/gargoyle/brcm47xx-src/tools/xorg-macros'
install -d -m0755 /home/user/gargoyle/brcm47xx-src/staging_dir/host/share/aclocal
install -m0644 /home/user/gargoyle/brcm47xx-src/build_dir/host/util-macros-1.11.0/xorg-macros.m4 /home/user/gargoyle/brcm47xx-src/staging_dir/host/share/aclocal/
mkdir -p /home/user/gargoyle/brcm47xx-src/staging_dir/host/stamp
touch /home/user/gargoyle/brcm47xx-src/staging_dir/host/stamp/.xorg-macros_installed
make[4]: Leaving directory `/home/user/gargoyle/brcm47xx-src/tools/xorg-macros'
make[4]: Entering directory `/home/user/gargoyle/brcm47xx-src/tools/xfce-macros'
. /home/user/gargoyle/brcm47xx-src/include/shell.sh; bzcat /home/user/gargoyle/brcm47xx-src/dl/xfce4-dev-tools-4.8.0.tar.bz2 | /bin/tar -C /home/user/gargoyle/brcm47xx-src/build_dir/host/xfce4-dev-tools-4.8.0/.. -xf -
touch /home/user/gargoyle/brcm47xx-src/build_dir/host/xfce4-dev-tools-4.8.0/.prepared69d2efff4dcbe17798bcba9381d8aa61
touch /home/user/gargoyle/brcm47xx-src/build_dir/host/xfce4-dev-tools-4.8.0/.configured
touch /home/user/gargoyle/brcm47xx-src/build_dir/host/xfce4-dev-tools-4.8.0/.built
make[4]: Leaving directory `/home/user/gargoyle/brcm47xx-src/tools/xfce-macros'
make[4]: Entering directory `/home/user/gargoyle/brcm47xx-src/tools/xfce-macros'
install -d -m0755 /home/user/gargoyle/brcm47xx-src/staging_dir/host/share/aclocal
install -m0644 /home/user/gargoyle/brcm47xx-src/build_dir/host/xfce4-dev-tools-4.8.0/m4macros/*.m4 /home/user/gargoyle/brcm47xx-src/staging_dir/host/share/aclocal/
mkdir -p /home/user/gargoyle/brcm47xx-src/staging_dir/host/stamp
touch /home/user/gargoyle/brcm47xx-src/staging_dir/host/stamp/.xfce-macros_installed
make[4]: Leaving directory `/home/user/gargoyle/brcm47xx-src/tools/xfce-macros'
make[4]: Entering directory `/home/user/gargoyle/brcm47xx-src/tools/missing-macros'
touch /home/user/gargoyle/brcm47xx-src/build_dir/host/missing-macros-10/.prepared5a75897bacecfb1ce15f42c158361a9c
touch /home/user/gargoyle/brcm47xx-src/build_dir/host/missing-macros-10/.configured
touch /home/user/gargoyle/brcm47xx-src/build_dir/host/missing-macros-10/.built
make[4]: Leaving directory `/home/user/gargoyle/brcm47xx-src/tools/missing-macros'
make[4]: Entering directory `/home/user/gargoyle/brcm47xx-src/tools/missing-macros'
install -d -m0755 /home/user/gargoyle/brcm47xx-src/staging_dir/host/share/aclocal
install -m0644 ./src/m4/*.m4 /home/user/gargoyle/brcm47xx-src/staging_dir/host/share/aclocal/
mkdir -p /home/user/gargoyle/brcm47xx-src/staging_dir/host/stamp
touch /home/user/gargoyle/brcm47xx-src/staging_dir/host/stamp/.missing-macros_installed
make[4]: Leaving directory `/home/user/gargoyle/brcm47xx-src/tools/missing-macros'
make[4]: Entering directory `/home/user/gargoyle/brcm47xx-src/tools/cmake'
mkdir -p /home/user/gargoyle/brcm47xx-src/dl
/home/user/gargoyle/brcm47xx-src/scripts/download.pl "/home/user/gargoyle/brcm47xx-src/dl" "cmake-2.8.12.2.tar.gz" "17c6513483d23590cbce6957ec6d1e66" "http://www.cmake.org/files/v2.8/"
--2015-05-12 11:54:58--  http://www.cmake.org/files/v2.8/cmake-2.8.12.2.tar.gz
Resolving www.cmake.org (www.cmake.org)... 66.194.253.19
Connecting to www.cmake.org (www.cmake.org)|66.194.253.19|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 29586432 (28M) [application/x-gzip]
Saving to: 'STDOUT'

100%[============================================================================================================>] 29,586,432   160KB/s   in 2m 50s

2015-05-12 11:57:50 (170 KB/s) - written to stdout [29586432/29586432]

MD5 sum of the downloaded file does not match (file: bbfae00f5043a336720994cade170d30, requested: 17c6513483d23590cbce6957ec6d1e66) - deleting download.
--2015-05-12 11:57:50--  http://mirror2.openwrt.org/sources/cmake-2.8.12.2.tar.gz
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-05-12 11:57:51 ERROR 404: Not Found.

Download failed.
--2015-05-12 11:57:51--  http://downloads.openwrt.org/sources/cmake-2.8.12.2.tar.gz
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-05-12 11:57:52 ERROR 404: Not Found.

Download failed.
No more mirrors to try - giving up.
make[4]: *** [/home/user/gargoyle/brcm47xx-src/dl/cmake-2.8.12.2.tar.gz] Error 2
make[4]: Leaving directory `/home/user/gargoyle/brcm47xx-src/tools/cmake'
make[3]: *** [tools/cmake/compile] Error 2
make[3]: Leaving directory `/home/user/gargoyle/brcm47xx-src'
make[2]: *** [/home/user/gargoyle/brcm47xx-src/staging_dir/target-mipsel_mips32_uClibc-0.9.33.2/stamp/.tools_install_yyyyynynynyyyyyyyyyynyyyyyyyynyyyynnyyynnyynnnyyyy] Error 2
make[2]: Leaving directory `/home/user/gargoyle/brcm47xx-src'
make[1]: *** [world] Error 2
make[1]: Leaving directory `/home/user/gargoyle/brcm47xx-src'
find: `bin': No such file or directory
find: `bin': No such file or directory
ls: cannot access bin: No such file or directory

User avatar
djt_nz
Posts: 26
Joined: Mon May 07, 2012 1:00 am
Location: New Zealand

Re: Build problems

Post by djt_nz »

I'll kick off a full build and let you know in 10 - 12 hours ;)

I did ar71xx.usb build yesterday and that was fine.
TL-WR1043ND V1.8 (Gargoyle 1.7.X git@701d7f5) djt build

User avatar
djt_nz
Posts: 26
Joined: Mon May 07, 2012 1:00 am
Location: New Zealand

Re: Build problems

Post by djt_nz »

Just had a look at the output you posted, it is failing to download cmake-2.8.12.2.tar.gz Or more to the point what it is downloading doesn't match its md5 sum.
I have had this error before.
Download it manually (using a browser) from http://www.cmake.org/files/v2.8/cmake-2.8.12.2.tar.gz and put in the downloaded folder. Then try building again.
TL-WR1043ND V1.8 (Gargoyle 1.7.X git@701d7f5) djt build

User avatar
djt_nz
Posts: 26
Joined: Mon May 07, 2012 1:00 am
Location: New Zealand

Re: Build problems

Post by djt_nz »

My build took longer than expected, but it did build with out error.

For those who are interested, 7z file of all images and individual images can be downloaded from http://goo.gl/zHV8ww

For those who like torrents, gargoyle-djt-2015-May-12.7z.torrent http://goo.gl/Zj59rl

Gargoyle version 1.7.x
Git Revision d6748a3
OpenWrt revision r45620
Last edited by djt_nz on Tue May 12, 2015 10:51 pm, edited 1 time in total.
TL-WR1043ND V1.8 (Gargoyle 1.7.X git@701d7f5) djt build

ispyisail
Moderator
Posts: 5180
Joined: Mon Apr 06, 2009 3:15 am
Location: New Zealand

Re: Build problems

Post by ispyisail »

RPM hell

I've had this problem before

Manually fix one then find another

Code: Select all

if [ -f /home/user/gargoyle/brcm47xx-src/staging_dir/target-mipsel_mips32_uClibc-0.9.33.2/packages/libnfnetlink.list ]; then /home/user/gargoyle/brcm47xx-src/scripts/clean-package.sh "/home/user/gargoyle/brcm47xx-src/staging_dir/target-mipsel_mips32_uClibc-0.9.33.2/packages/libnfnetlink.list" "/home/user/gargoyle/brcm47xx-src/staging_dir/target-mipsel_mips32_uClibc-0.9.33.2"; fi
if [ -d /home/user/gargoyle/brcm47xx-src/tmp/stage-libnfnetlink ]; then (cd /home/user/gargoyle/brcm47xx-src/tmp/stage-libnfnetlink; find ./ > /home/user/gargoyle/brcm47xx-src/tmp/stage-libnfnetlink.files);        SHELL= /home/user/gargoyle/brcm47xx-src/staging_dir/host/bin/flock /home/user/gargoyle/brcm47xx-src/tmp/.staging-dir.flock -c ' mv /home/user/gargoyle/brcm47xx-src/tmp/stage-libnfnetlink.files /home/user/gargoyle/brcm47xx-src/staging_dir/target-mipsel_mips32_uClibc-0.9.33.2/packages/libnfnetlink.list && cp -fpR /home/user/gargoyle/brcm47xx-src/tmp/stage-libnfnetlink/* /home/user/gargoyle/brcm47xx-src/staging_dir/target-mipsel_mips32_uClibc-0.9.33.2/; '; fi
rm -rf /home/user/gargoyle/brcm47xx-src/tmp/stage-libnfnetlink
touch /home/user/gargoyle/brcm47xx-src/staging_dir/target-mipsel_mips32_uClibc-0.9.33.2/stamp/.libnfnetlink_installed
make[4]: Leaving directory `/home/user/gargoyle/brcm47xx-src/package/libnfnetlink'
make[4]: Entering directory `/home/user/gargoyle/brcm47xx-src/package/miniupnpd'
mkdir -p /home/user/gargoyle/brcm47xx-src/dl
/home/user/gargoyle/brcm47xx-src/scripts/download.pl "/home/user/gargoyle/brcm47xx-src/dl" "miniupnpd-1.9.20141209.tar.gz" "e9e53869bb725e931cae74b20d4a39be" "http://miniupnp.free.fr/files"
--2015-05-13 14:08:26--  http://miniupnp.free.fr/files/miniupnpd-1.9.20141209.tar.gz
Resolving miniupnp.free.fr (miniupnp.free.fr)... 212.27.63.162
Connecting to miniupnp.free.fr (miniupnp.free.fr)|212.27.63.162|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 901120 (880K) [application/x-gzip]
Saving to: 'STDOUT'

100%[============================================================================================================>] 901,120      173KB/s   in 5.7s

2015-05-13 14:08:34 (154 KB/s) - written to stdout [901120/901120]

MD5 sum of the downloaded file does not match (file: ccc8b5bbeda234a2ffa374615ab09060, requested: e9e53869bb725e931cae74b20d4a39be) - deleting download.
--2015-05-13 14:08:34--  http://mirror2.openwrt.org/sources/miniupnpd-1.9.20141209.tar.gz
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-05-13 14:08:36 ERROR 404: Not Found.

Download failed.
--2015-05-13 14:08:36--  http://downloads.openwrt.org/sources/miniupnpd-1.9.20141209.tar.gz
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-05-13 14:08:37 ERROR 404: Not Found.

Download failed.
No more mirrors to try - giving up.
make[4]: *** [/home/user/gargoyle/brcm47xx-src/dl/miniupnpd-1.9.20141209.tar.gz] Error 2
make[4]: Leaving directory `/home/user/gargoyle/brcm47xx-src/package/miniupnpd'
make[3]: *** [package/miniupnpd/compile] Error 2
make[3]: Leaving directory `/home/user/gargoyle/brcm47xx-src'
make[2]: *** [/home/user/gargoyle/brcm47xx-src/staging_dir/target-mipsel_mips32_uClibc-0.9.33.2/stamp/.package_compile] Error 2
make[2]: Leaving directory `/home/user/gargoyle/brcm47xx-src'
make[1]: *** [world] Error 2
make[1]: Leaving directory `/home/user/gargoyle/brcm47xx-src'

7-Zip (A) [64] 9.20  Copyright (c) 1999-2010 Igor Pavlov  2010-11-18
p7zip Version 9.20 (locale=en_NZ.UTF-8,Utf16=on,HugeFiles=on,1 CPU)
Scanning

marrco
Posts: 47
Joined: Fri Dec 26, 2014 1:00 pm

Re: Build problems

Post by marrco »

I just compiled it on debian jessie, no problems here too.

ispyisail
Moderator
Posts: 5180
Joined: Mon Apr 06, 2009 3:15 am
Location: New Zealand

Re: Build problems

Post by ispyisail »

marrco wrote:I just compiled it on debian jessie, no problems here too.
Thanks

Post Reply