#18941: Can not compile trunk.
------------------------------+----------------------------------
Reporter: Halry | Owner: developers
Type: defect | Status: new
Priority: response-needed | Milestone: Chaos Calmer (trunk)
Component: packages | Version: Trunk
Resolution: | Keywords:
------------------------------+----------------------------------
Comment (by Halry):
Replying to [comment:4 jow]:
> Neither of these two logs shows any actual error. Did you really build
without "-j" ?
The first output is do as you said "make -j1 tools/compile V=s".
The last output is add "-j 4"so I can use all my CPUs.Still build on my
VM.
There is an output from my VPS(Vultr JP Node),no -j add.just"make
V=s",here is output(still error.Seems it is downloads.openwrt.org fault):
{{{
if [ -d /home/halry/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2
/luci-theme-bootstrap/luasrc ]; then install -d -m0755
/home/halry/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/luci-theme-
bootstrap/ipkg-all/luci-theme-bootstrap/usr/lib/lua/luci; cp -pR
/home/halry/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/luci-theme-
bootstrap/luasrc/* /home/halry/openwrt/build_dir/target-
mips_34kc_uClibc-0.9.33.2/luci-theme-bootstrap/ipkg-all/luci-theme-
bootstrap/usr/lib/lua/luci/; find /home/halry/openwrt/build_dir/target-
mips_34kc_uClibc-0.9.33.2/luci-theme-bootstrap/ipkg-all/luci-theme-
bootstrap/usr/lib/lua/luci/ -type f -name '*.luadoc' | xargs -r rm; true;
else true; fi
if [ -d /home/halry/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2
/luci-theme-bootstrap/htdocs ]; then install -d -m0755
/home/halry/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/luci-theme-
bootstrap/ipkg-all/luci-theme-bootstrap/www; cp -pR
/home/halry/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/luci-theme-
bootstrap/htdocs/* /home/halry/openwrt/build_dir/target-
mips_34kc_uClibc-0.9.33.2/luci-theme-bootstrap/ipkg-all/luci-theme-
bootstrap/www/; else true; fi
if [ -d /home/halry/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2
/luci-theme-bootstrap/root ]; then install -d -m0755
/home/halry/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/luci-theme-
bootstrap/ipkg-all/luci-theme-bootstrap/; cp -pR
/home/halry/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/luci-theme-
bootstrap/root/* /home/halry/openwrt/build_dir/target-
mips_34kc_uClibc-0.9.33.2/luci-theme-bootstrap/ipkg-all/luci-theme-
bootstrap/; else true; fi
if [ -d /home/halry/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2
/luci-theme-bootstrap/src ]; then CFLAGS="-Os -pipe -mno-branch-
likely -mips32r2 -mtune=34kc -fno-caller-saves -fhonour-copts -Wno-error
=unused-but-set-variable -msoft-float -mips16 -minterlink-mips16
-I/home/halry/openwrt/staging_dir/target-
mips_34kc_uClibc-0.9.33.2/usr/include -I/home/halry/openwrt/staging_dir
/target-mips_34kc_uClibc-0.9.33.2/include
-I/home/halry/openwrt/staging_dir/toolchain-
mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/usr/include
-I/home/halry/openwrt/staging_dir/toolchain-
mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/include " CXXFLAGS="-Os -pipe
-mno-branch-likely -mips32r2 -mtune=34kc -fno-caller-saves -fhonour-copts
-Wno-error=unused-but-set-variable -msoft-float -mips16 -minterlink-mips16
-I/home/halry/openwrt/staging_dir/target-
mips_34kc_uClibc-0.9.33.2/usr/include -I/home/halry/openwrt/staging_dir
/target-mips_34kc_uClibc-0.9.33.2/include
-I/home/halry/openwrt/staging_dir/toolchain-
mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/usr/include
-I/home/halry/openwrt/staging_dir/toolchain-
mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/include "
LDFLAGS="-L/home/halry/openwrt/staging_dir/target-
mips_34kc_uClibc-0.9.33.2/usr/lib -L/home/halry/openwrt/staging_dir
/target-mips_34kc_uClibc-0.9.33.2/lib -L/home/halry/openwrt/staging_dir
/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/usr/lib
-L/home/halry/openwrt/staging_dir/toolchain-
mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/lib " make -C
/home/halry/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/luci-theme-
bootstrap/. AR="mips-openwrt-linux-uclibc-gcc-ar" AS="mips-openwrt-linux-
uclibc-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=34kc -fno-
caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-
float" LD=mips-openwrt-linux-uclibc-ld NM="mips-openwrt-linux-uclibc-gcc-
nm" CC="mips-openwrt-linux-uclibc-gcc" GCC="mips-openwrt-linux-uclibc-gcc"
CXX="mips-openwrt-linux-uclibc-g++" RANLIB="mips-openwrt-linux-uclibc-gcc-
ranlib" STRIP=mips-openwrt-linux-uclibc-strip OBJCOPY=mips-openwrt-linux-
uclibc-objcopy OBJDUMP=mips-openwrt-linux-uclibc-objdump SIZE=mips-
openwrt-linux-uclibc-size CROSS="mips-openwrt-linux-uclibc-" ARCH="mips"
DESTDIR="/home/halry/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2
/luci-theme-bootstrap/ipkg-install" install; cp -fpR
/home/halry/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/luci-theme-
bootstrap/ipkg-install/* /home/halry/openwrt/build_dir/target-
mips_34kc_uClibc-0.9.33.2/luci-theme-bootstrap/ipkg-all/luci-theme-
bootstrap/; else true; fi
find /home/halry/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/luci-
theme-bootstrap/ipkg-all/luci-theme-bootstrap -name 'CVS' -o -name '.svn'
-o -name '.#*' -o -name '*~'| xargs -r rm -rf
export CROSS="mips-openwrt-linux-uclibc-" NO_RENAME=1 ; NM="mips-openwrt-
linux-uclibc-nm" STRIP="/home/halry/openwrt/staging_dir/host/bin/sstrip"
STRIP_KMOD="/home/halry/openwrt/scripts/strip-kmod.sh"
/home/halry/openwrt/scripts/rstrip.sh /home/halry/openwrt/build_dir
/target-mips_34kc_uClibc-0.9.33.2/luci-theme-bootstrap/ipkg-all/luci-
theme-bootstrap
(cd /home/halry/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/luci-
theme-bootstrap/ipkg-all/luci-theme-bootstrap/CONTROL; ( echo "$CONTROL";
printf "Description: "; echo "$DESCRIPTION" | sed -e 's,^[[:space:]]*,
,g'; ) > control; chmod 644 control; ( echo "#!/bin/sh"; echo "[
\"\${IPKG_NO_SCRIPT}\" = \"1\" ] && exit 0"; echo ".
\${IPKG_INSTROOT}/lib/functions.sh"; echo "default_postinst \$0 \$@"; ) >
postinst; ( echo "#!/bin/sh"; echo ". \${IPKG_INSTROOT}/lib/functions.sh";
echo "default_prerm \$0 \$@"; ) > prerm; chmod 0755 prerm; echo
"$V_Package_luci_theme_bootstrap_postinst" > postinst-pkg; )
install -d -m0755 /home/halry/openwrt/bin/ar71xx/packages/luci
/home/halry/openwrt/staging_dir/host/bin/ipkg-build -c -o 0 -g 0
/home/halry/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/luci-theme-
bootstrap/ipkg-all/luci-theme-bootstrap
/home/halry/openwrt/bin/ar71xx/packages/luci
Packaged contents of /home/halry/openwrt/build_dir/target-
mips_34kc_uClibc-0.9.33.2/luci-theme-bootstrap/ipkg-all/luci-theme-
bootstrap into /home/halry/openwrt/bin/ar71xx/packages/luci/luci-theme-
bootstrap_git-15.040.43424-ec90cd6-1_all.ipk
rm -rf /home/halry/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2
/root-ar71xx/tmp-luci-theme-bootstrap
mkdir -p /home/halry/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2
/root-ar71xx/stamp /home/halry/openwrt/staging_dir/target-
mips_34kc_uClibc-0.9.33.2/root-ar71xx/tmp-luci-theme-bootstrap
if [ -d /home/halry/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2
/luci-theme-bootstrap/luasrc ]; then install -d -m0755
/home/halry/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2/root-
ar71xx/tmp-luci-theme-bootstrap/usr/lib/lua/luci; cp -pR
/home/halry/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/luci-theme-
bootstrap/luasrc/* /home/halry/openwrt/staging_dir/target-
mips_34kc_uClibc-0.9.33.2/root-ar71xx/tmp-luci-theme-
bootstrap/usr/lib/lua/luci/; find /home/halry/openwrt/staging_dir/target-
mips_34kc_uClibc-0.9.33.2/root-ar71xx/tmp-luci-theme-
bootstrap/usr/lib/lua/luci/ -type f -name '*.luadoc' | xargs -r rm; true;
else true; fi
if [ -d /home/halry/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2
/luci-theme-bootstrap/htdocs ]; then install -d -m0755
/home/halry/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2/root-
ar71xx/tmp-luci-theme-bootstrap/www; cp -pR /home/halry/openwrt/build_dir
/target-mips_34kc_uClibc-0.9.33.2/luci-theme-bootstrap/htdocs/*
/home/halry/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2/root-
ar71xx/tmp-luci-theme-bootstrap/www/; else true; fi
if [ -d /home/halry/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2
/luci-theme-bootstrap/root ]; then install -d -m0755
/home/halry/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2/root-
ar71xx/tmp-luci-theme-bootstrap/; cp -pR /home/halry/openwrt/build_dir
/target-mips_34kc_uClibc-0.9.33.2/luci-theme-bootstrap/root/*
/home/halry/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2/root-
ar71xx/tmp-luci-theme-bootstrap/; else true; fi
if [ -d /home/halry/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2
/luci-theme-bootstrap/src ]; then CFLAGS="-Os -pipe -mno-branch-
likely -mips32r2 -mtune=34kc -fno-caller-saves -fhonour-copts -Wno-error
=unused-but-set-variable -msoft-float -mips16 -minterlink-mips16
-I/home/halry/openwrt/staging_dir/target-
mips_34kc_uClibc-0.9.33.2/usr/include -I/home/halry/openwrt/staging_dir
/target-mips_34kc_uClibc-0.9.33.2/include
-I/home/halry/openwrt/staging_dir/toolchain-
mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/usr/include
-I/home/halry/openwrt/staging_dir/toolchain-
mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/include " CXXFLAGS="-Os -pipe
-mno-branch-likely -mips32r2 -mtune=34kc -fno-caller-saves -fhonour-copts
-Wno-error=unused-but-set-variable -msoft-float -mips16 -minterlink-mips16
-I/home/halry/openwrt/staging_dir/target-
mips_34kc_uClibc-0.9.33.2/usr/include -I/home/halry/openwrt/staging_dir
/target-mips_34kc_uClibc-0.9.33.2/include
-I/home/halry/openwrt/staging_dir/toolchain-
mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/usr/include
-I/home/halry/openwrt/staging_dir/toolchain-
mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/include "
LDFLAGS="-L/home/halry/openwrt/staging_dir/target-
mips_34kc_uClibc-0.9.33.2/usr/lib -L/home/halry/openwrt/staging_dir
/target-mips_34kc_uClibc-0.9.33.2/lib -L/home/halry/openwrt/staging_dir
/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/usr/lib
-L/home/halry/openwrt/staging_dir/toolchain-
mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/lib " make -C
/home/halry/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/luci-theme-
bootstrap/. AR="mips-openwrt-linux-uclibc-gcc-ar" AS="mips-openwrt-linux-
uclibc-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=34kc -fno-
caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-
float" LD=mips-openwrt-linux-uclibc-ld NM="mips-openwrt-linux-uclibc-gcc-
nm" CC="mips-openwrt-linux-uclibc-gcc" GCC="mips-openwrt-linux-uclibc-gcc"
CXX="mips-openwrt-linux-uclibc-g++" RANLIB="mips-openwrt-linux-uclibc-gcc-
ranlib" STRIP=mips-openwrt-linux-uclibc-strip OBJCOPY=mips-openwrt-linux-
uclibc-objcopy OBJDUMP=mips-openwrt-linux-uclibc-objdump SIZE=mips-
openwrt-linux-uclibc-size CROSS="mips-openwrt-linux-uclibc-" ARCH="mips"
DESTDIR="/home/halry/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2
/luci-theme-bootstrap/ipkg-install" install; cp -fpR
/home/halry/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/luci-theme-
bootstrap/ipkg-install/* /home/halry/openwrt/staging_dir/target-
mips_34kc_uClibc-0.9.33.2/root-ar71xx/tmp-luci-theme-bootstrap/; else
true; fi
SHELL= /home/halry/openwrt/staging_dir/host/bin/flock
/home/halry/openwrt/tmp/.root-copy.flock -c 'cp -fpR
/home/halry/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2/root-
ar71xx/tmp-luci-theme-bootstrap/. /home/halry/openwrt/staging_dir/target-
mips_34kc_uClibc-0.9.33.2/root-ar71xx/'
rm -rf /home/halry/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2
/root-ar71xx/tmp-luci-theme-bootstrap
touch /home/halry/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2
/root-ar71xx/stamp/.luci-theme-bootstrap_installed
if [ -f /home/halry/openwrt/staging_dir/target-
mips_34kc_uClibc-0.9.33.2/pkginfo/luci-theme-
bootstrap.default.install.clean ]; then rm -f
/home/halry/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2/pkginfo
/luci-theme-bootstrap.default.install /home/halry/openwrt/staging_dir
/target-mips_34kc_uClibc-0.9.33.2/pkginfo/luci-theme-
bootstrap.default.install.clean; fi; echo "luci-theme-bootstrap" >>
/home/halry/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2/pkginfo
/luci-theme-bootstrap.default.install
make[3]: Leaving directory `/home/halry/openwrt/feeds/luci/themes/luci-
theme-bootstrap'
make[3]: Entering directory `/home/halry/openwrt/package/libs/polarssl'
mkdir -p /home/halry/openwrt/dl
/home/halry/openwrt/scripts/download.pl "/home/halry/openwrt/dl"
"mbedtls-1.3.10-gpl.tgz" "4b55fc9ad3da65a43addefa8b74fef13"
"https://polarssl.org/download/"
--2015-02-10 00:17:08--
https://polarssl.org/download/mbedtls-1.3.10-gpl.tgz
Resolving polarssl.org (polarssl.org)... 79.170.91.36
Connecting to polarssl.org (polarssl.org)|79.170.91.36|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1709797 (1.6M) [application/x-gzip]
Saving to: 'STDOUT'
86% [================================> ] 1,473,360 60.9KB/s in
12s
2015-02-10 00:17:22 (119 KB/s) - Connection closed at byte 1473360.
Retrying.
--2015-02-10 00:17:23-- (try: 2)
https://polarssl.org/download/mbedtls-1.3.10-gpl.tgz
Connecting to polarssl.org (polarssl.org)|79.170.91.36|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1709797 (1.6M) [application/x-gzip]
Saving to: 'STDOUT'
0% [ ] 0 --.-K/s in
0.3s
Cannot write to '-' (Success).
Download failed.
--2015-02-10 00:17:25--
http://mirror2.openwrt.org/sources/mbedtls-1.3.10-gpl.tgz
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-02-10 00:17:26 ERROR 404: Not Found.
Download failed.
--2015-02-10 00:17:26--
http://downloads.openwrt.org/sources/mbedtls-1.3.10-gpl.tgz
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-02-10 00:17:27 ERROR 404: Not Found.
Download failed.
No more mirrors to try - giving up.
make[3]: *** [/home/halry/openwrt/dl/mbedtls-1.3.10-gpl.tgz] Error 2
make[3]: Leaving directory `/home/halry/openwrt/package/libs/polarssl'
make[2]: *** [package/libs/polarssl/compile] Error 2
make[2]: Leaving directory `/home/halry/openwrt'
make[1]: *** [/home/halry/openwrt/staging_dir/target-
mips_34kc_uClibc-0.9.33.2/stamp/.package_compile] Error 2
make[1]: Leaving directory `/home/halry/openwrt'
make: *** [world] Error 2
}}}
--
Ticket URL: <https://dev.openwrt.org/ticket/18941#comment:5>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets