system
June 27, 2014, 4:19pm
1
I've been trying to build and am chewing up errors. I finally am stuck on one. I am posting here per the instructions of the gihub repo. I have attached the output of nohup.out with the j flag set to one. help!! thanks!!
I'm on 64-bit Wheexy:
3.2.0-4-amd64 GNU/Linux
Distributor ID: Debian
Release: 7.5
Codename: wheezy
Here is a preview of the error:
mkdir -p /home/tyler/yun/openwrt-yun/staging_dir/target-mips_r2_uClibc-0.9.33.2/root-ar71xx/stamp /home/tyler/yun/openwrt-yun/staging_dir/target-mips_r2_uClibc-0.9.33.2/root-ar71xx/tmp-php5-mod-xmlwriter
install -d -m0755 /home/tyler/yun/openwrt-yun/staging_dir/target-mips_r2_uClibc-0.9.33.2/root-ar71xx/tmp-php5-mod-xmlwriter/usr/lib/php
install -m0755 /home/tyler/yun/openwrt-yun/build_dir/target-mips_r2_uClibc-0.9.33.2/php-5.4.5/modules/xmlwriter.so /home/tyler/yun/openwrt-yun/staging_dir/target-mips_r2_uClibc-0.9.33.2/root-ar71xx/tmp-php5-mod-xmlwriter/usr/lib/php/
install -d -m0755 /home/tyler/yun/openwrt-yun/staging_dir/target-mips_r2_uClibc-0.9.33.2/root-ar71xx/tmp-php5-mod-xmlwriter/etc/php5
echo "extension=xmlwriter.so" > /home/tyler/yun/openwrt-yun/staging_dir/target-mips_r2_uClibc-0.9.33.2/root-ar71xx/tmp-php5-mod-xmlwriter/etc/php5/xmlwriter.ini
SHELL= /home/tyler/yun/openwrt-yun/staging_dir/host/bin/flock /home/tyler/yun/openwrt-yun/tmp/.root-copy.flock -c 'cp -fpR /home/tyler/yun/openwrt-yun/staging_dir/target-mips_r2_uClibc-0.9.33.2/root-ar71xx/tmp-php5-mod-xmlwriter/. /home/tyler/yun/openwrt-yun/staging_dir/target-mips_r2_uClibc-0.9.33.2/root-ar71xx/'
rm -rf /home/tyler/yun/openwrt-yun/staging_dir/target-mips_r2_uClibc-0.9.33.2/root-ar71xx/tmp-php5-mod-xmlwriter
touch /home/tyler/yun/openwrt-yun/staging_dir/target-mips_r2_uClibc-0.9.33.2/root-ar71xx/stamp/.php5-mod-xmlwriter_installed
mkdir -p /home/tyler/yun/openwrt-yun/bin/ar71xx/packages /home/tyler/yun/openwrt-yun/build_dir/target-mips_r2_uClibc-0.9.33.2/php-5.4.5/ipkg-ar71xx/php5-mod-zip/CONTROL /home/tyler/yun/openwrt-yun/staging_dir/target-mips_r2_uClibc-0.9.33.2/pkginfo
install -d -m0755 /home/tyler/yun/openwrt-yun/build_dir/target-mips_r2_uClibc-0.9.33.2/php-5.4.5/ipkg-ar71xx/php5-mod-zip/usr/lib/php
install -m0755 /home/tyler/yun/openwrt-yun/build_dir/target-mips_r2_uClibc-0.9.33.2/php-5.4.5/modules/zip.so /home/tyler/yun/openwrt-yun/build_dir/target-mips_r2_uClibc-0.9.33.2/php-5.4.5/ipkg-ar71xx/php5-mod-zip/usr/lib/php/
install -d -m0755 /home/tyler/yun/openwrt-yun/build_dir/target-mips_r2_uClibc-0.9.33.2/php-5.4.5/ipkg-ar71xx/php5-mod-zip/etc/php5
echo "extension=zip.so" > /home/tyler/yun/openwrt-yun/build_dir/target-mips_r2_uClibc-0.9.33.2/php-5.4.5/ipkg-ar71xx/php5-mod-zip/etc/php5/zip.ini
find /home/tyler/yun/openwrt-yun/build_dir/target-mips_r2_uClibc-0.9.33.2/php-5.4.5/ipkg-ar71xx/php5-mod-zip -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/tyler/yun/openwrt-yun/staging_dir/host/bin/sstrip" STRIP_KMOD="/home/tyler/yun/openwrt-yun/scripts/strip-kmod.sh" /home/tyler/yun/openwrt-yun/scripts/rstrip.sh /home/tyler/yun/openwrt-yun/build_dir/target-mips_r2_uClibc-0.9.33.2/php-5.4.5/ipkg-ar71xx/php5-mod-zip
rstrip.sh: /home/tyler/yun/openwrt-yun/build_dir/target-mips_r2_uClibc-0.9.33.2/php-5.4.5/ipkg-ar71xx/php5-mod-zip/usr/lib/php/zip.so:shared object
( echo "Package: php5-mod-zip"; echo "Version: 5.4.5-3"; DEPENDS=''; for depend in libc php5 zlib; do DEPENDS=${DEPENDS:+$DEPENDS, }${depend##+}; done; echo "Depends: $DEPENDS"; echo "Provides: "; echo "Source: feeds/packages/lang/php5"; echo "Section: lang"; echo "Status: unknown ok not-installed"; echo "Essential: no"; echo "Priority: optional"; echo "Maintainer: Michael Heimpold <mhei@heimpold.de>"; echo "Architecture: ar71xx"; echo "Installed-Size: 0"; echo -n "Description: "; . /home/tyler/yun/openwrt-yun/include/shell.sh; getvar V_Package_php5_mod_zip_description | sed -e 's,^[[:space:]]*, ,g'; ) > /home/tyler/yun/openwrt-yun/build_dir/target-mips_r2_uClibc-0.9.33.2/php-5.4.5/ipkg-ar71xx/php5-mod-zip/CONTROL/control
chmod 644 /home/tyler/yun/openwrt-yun/build_dir/target-mips_r2_uClibc-0.9.33.2/php-5.4.5/ipkg-ar71xx/php5-mod-zip/CONTROL/control
. /home/tyler/yun/openwrt-yun/include/shell.sh; (cd /home/tyler/yun/openwrt-yun/build_dir/target-mips_r2_uClibc-0.9.33.2/php-5.4.5/ipkg-ar71xx/php5-mod-zip/CONTROL; )
ipkg-build -c -o 0 -g 0 /home/tyler/yun/openwrt-yun/build_dir/target-mips_r2_uClibc-0.9.33.2/php-5.4.5/ipkg-ar71xx/php5-mod-zip /home/tyler/yun/openwrt-yun/bin/ar71xx/packages
Packaged contents of /home/tyler/yun/openwrt-yun/build_dir/target-mips_r2_uClibc-0.9.33.2/php-5.4.5/ipkg-ar71xx/php5-mod-zip into /home/tyler/yun/openwrt-yun/bin/ar71xx/packages/php5-mod-zip_5.4.5-3_ar71xx.ipk
rm -rf /home/tyler/yun/openwrt-yun/staging_dir/target-mips_r2_uClibc-0.9.33.2/root-ar71xx/tmp-php5-mod-zip
mkdir -p /home/tyler/yun/openwrt-yun/staging_dir/target-mips_r2_uClibc-0.9.33.2/root-ar71xx/stamp /home/tyler/yun/openwrt-yun/staging_dir/target-mips_r2_uClibc-0.9.33.2/root-ar71xx/tmp-php5-mod-zip
install -d -m0755 /home/tyler/yun/openwrt-yun/staging_dir/target-mips_r2_uClibc-0.9.33.2/root-ar71xx/tmp-php5-mod-zip/usr/lib/php
install -m0755 /home/tyler/yun/openwrt-yun/build_dir/target-mips_r2_uClibc-0.9.33.2/php-5.4.5/modules/zip.so /home/tyler/yun/openwrt-yun/staging_dir/target-mips_r2_uClibc-0.9.33.2/root-ar71xx/tmp-php5-mod-zip/usr/lib/php/
install -d -m0755 /home/tyler/yun/openwrt-yun/staging_dir/target-mips_r2_uClibc-0.9.33.2/root-ar71xx/tmp-php5-mod-zip/etc/php5
echo "extension=zip.so" > /home/tyler/yun/openwrt-yun/staging_dir/target-mips_r2_uClibc-0.9.33.2/root-ar71xx/tmp-php5-mod-zip/etc/php5/zip.ini
SHELL= /home/tyler/yun/openwrt-yun/staging_dir/host/bin/flock /home/tyler/yun/openwrt-yun/tmp/.root-copy.flock -c 'cp -fpR /home/tyler/yun/openwrt-yun/staging_dir/target-mips_r2_uClibc-0.9.33.2/root-ar71xx/tmp-php5-mod-zip/. /home/tyler/yun/openwrt-yun/staging_dir/target-mips_r2_uClibc-0.9.33.2/root-ar71xx/'
rm -rf /home/tyler/yun/openwrt-yun/staging_dir/target-mips_r2_uClibc-0.9.33.2/root-ar71xx/tmp-php5-mod-zip
touch /home/tyler/yun/openwrt-yun/staging_dir/target-mips_r2_uClibc-0.9.33.2/root-ar71xx/stamp/.php5-mod-zip_installed
make[3]: Leaving directory `/home/tyler/yun/openwrt-yun/feeds/packages/lang/php5'
make[2]: Leaving directory `/home/tyler/yun/openwrt-yun'
make[1]: *** [/home/tyler/yun/openwrt-yun/staging_dir/target-mips_r2_uClibc-0.9.33.2/stamp/.package_compile] Error 2
make[1]: Leaving directory `/home/tyler/yun/openwrt-yun'
make: *** [world] Error 2
nohup.zip (563 KB)
It looks like some packages failed to be downloaded
make[3]: *** [/home/tyler/yun/openwrt-yun/dl/snort-2.9.2.2.tar.gz] Error 2
make[3]: Leaving directory `/home/tyler/yun/openwrt-yun/feeds/packages/net/snort'
make[2]: *** [package/feeds/packages/snort/compile] Error 2
make[2]: *** Waiting for unfinished jobs....
make[3]: *** [/home/tyler/yun/openwrt-yun/dl/strongswan-5.1.3.tar.bz2] Error 2
make[3]: Leaving directory `/home/tyler/yun/openwrt-yun/feeds/packages/net/strongswan'
make[2]: *** [package/feeds/packages/strongswan/compile] Error 2
The standard suggestion is to retry. Keep your DOWNLOAD folder safe, it's quite common to have some download errors the first times
system
June 27, 2014, 4:28pm
3
I've had other download error that I've managed to fix but I've gotten this one about 7-8 times now. Should I keep retrying?
system
June 27, 2014, 4:32pm
4
Ok so I didn't see this before. I'm thinking (hoping) it's the same issue?
http://forum.arduino.cc/index.php?topic=236093.0
Should I change
src-git routing git://github.com/openwrt-routing/packages.git;for-12.09.x
to
src-git routing https://github.com/openwrt-routing/packages.git;for-12.09.x
in feeds.conf.default?
system
June 27, 2014, 5:13pm
5
I changed it, ran it again, and got the same error. Out of luck... ;-(
tslater:
...
I'm on 64-bit Wheexy:
3.2.0-4-amd64 GNU/Linux
Distributor ID: Debian
Release: 7.5
Codename: wheezy
...
64-bit Wheexy , use 64 bits host OS cross compile 32 bits mips OS ( Yun OS) is doable. but you might need install additional 32 bit class and package. It is challenge!
tslater:
Ok so I didn't see this before. I'm thinking (hoping) it's the same issue?
Error building new OpenWRT-yun image - Arduino Yún - Arduino Forum
Should I change
src-git routing git://github.com/openwrt-routing/packages.git;for-12.09.x
to
src-git routing https://github.com/openwrt-routing/packages.git;for-12.09.x
in feeds.conf.default?
Wrong package feeds, start over please.
http://forum.arduino.cc/index.php?topic=235489.msg1699935#msg1699935
nano ~/OpenWrt-yun/feeds.conf.default
#src-git packages git@github.com:arduino/openwrt-packages-yun.git
src-git packages https://github.com/arduino/openwrt-packages-yun.git
Latest image uses svn to download from github, so that particular issue has already been solved. Your issue is with this openwrt-yun/feeds.conf.default at master · arduino/openwrt-yun · GitHub it has always worked AFAIK
If you dont' have errors while updating the feeds than that is NOT the issue
Try manually download the missing package (tar.gz, zip, whatever it is) and manually put it into DOWNLOAD folder and re-run
system
June 28, 2014, 6:22am
9
Ok...! I Started over with 32-bit Wheezy and added an ssh key to git on the vbox before getting started...I think/hope I'm done?
This is what I saw at the end....
...
Generating index for package ./znc-mod-perform_0.206-2_ar71xx.ipk
Generating index for package ./znc-mod-q_0.206-2_ar71xx.ipk
Generating index for package ./znc-mod-raw_0.206-2_ar71xx.ipk
Generating index for package ./znc-mod-route-replies_0.206-2_ar71xx.ipk
Generating index for package ./znc-mod-savebuff_0.206-2_ar71xx.ipk
Generating index for package ./znc-mod-schat_0.206-2_ar71xx.ipk
Generating index for package ./znc-mod-send-raw_0.206-2_ar71xx.ipk
Generating index for package ./znc-mod-shell_0.206-2_ar71xx.ipk
Generating index for package ./znc-mod-simple-away_0.206-2_ar71xx.ipk
Generating index for package ./znc-mod-stickychan_0.206-2_ar71xx.ipk
Generating index for package ./znc-mod-watch_0.206-2_ar71xx.ipk
Generating index for package ./znc-mod-webadmin_0.206-2_ar71xx.ipk
Generating index for package ./znc-webskin-dark-clouds_0.206-2_ar71xx.ipk
Generating index for package ./znc-webskin-forest_0.206-2_ar71xx.ipk
Generating index for package ./znc-webskin-ice_0.206-2_ar71xx.ipk
Generating index for package ./znc_0.206-2_ar71xx.ipk
Generating index for package ./zoneinfo-africa_2011n-1_ar71xx.ipk
Generating index for package ./zoneinfo-asia_2011n-1_ar71xx.ipk
Generating index for package ./zoneinfo-atlantic_2011n-1_ar71xx.ipk
Generating index for package ./zoneinfo-australia-nz_2011n-1_ar71xx.ipk
Generating index for package ./zoneinfo-core_2011n-1_ar71xx.ipk
Generating index for package ./zoneinfo-europe_2011n-1_ar71xx.ipk
Generating index for package ./zoneinfo-india_2011n-1_ar71xx.ipk
Generating index for package ./zoneinfo-middleeast_2011n-1_ar71xx.ipk
Generating index for package ./zoneinfo-northamerica_2011n-1_ar71xx.ipk
Generating index for package ./zoneinfo-pacific_2011n-1_ar71xx.ipk
Generating index for package ./zoneinfo-poles_2011n-1_ar71xx.ipk
Generating index for package ./zoneinfo-simple_2011n-1_ar71xx.ipk
Generating index for package ./zoneinfo-southamerica_2011n-1_ar71xx.ipk
Generating index for package ./zope-interface_2.5.0-1_ar71xx.ipk
make[2]: Leaving directory `/home/tyler/yun/openwrt-yun'
make[1]: Leaving directory `/home/tyler/yun/openwrt-yun'
There is no success message...am i done?
The Buildroot is done, check "bin/ar71xx/" and "bin/ar71xx/packages/" you should have what you need.
Yes tslater, that's the end of the build! Congrats!
system
June 30, 2014, 3:56pm
12
Thanks you guys! You're the best! I really appreciate it!
Can you edit the topic title to [solved] or something? It's pretty scary atm
Hi everyone .
I still get this error :
make[1]: *** [/home/mmkh/openwrt-yun/staging_dir/target-mips_r2_uClibc-0.9.33.2/stamp/.package_compile] Error 2
I tasted it on : KaliLinux (VMWare) - CentOS (Both on VMWare and Server) - Debian 8 64bit (VMWare) - Debian Wheezy 32-bit (VMWare)
I also added git ssh key .
But it doesnt work.
What can i do now ?!
i am just wanted to have yum-gcc on my linux . (it is reason for why i am trying to build the source)
Sorry for my bad English.
See next page for complete errorlog .
sonnyyu
September 8, 2015, 12:14am
15
Your error log is incomplete. attached nohup.out.zip file please.
Here is my Error log attached .
nohup.out.zip (3.65 KB)
sonnyyu
September 9, 2015, 12:44am
17
grep "Error 2" nohup.out
make[5]: *** [CMakeFiles/netifd.dir/all] Error 2
make[4]: *** [all] Error 2
make[3]: *** [/home/mmkh/openwrt-yun/build_dir/target-mips_r2_uClibc-0.9.33.2/netifd-2013-07-16/.built] Error 2
make[2]: *** [package/netifd/compile] Error 2
make[1]: *** [/home/mmkh/openwrt-yun/staging_dir/target-mips_r2_uClibc-0.9.33.2/stamp/.package_compile] Error 2
make: *** [world] Error 2
cd /home/mmkh/openwrt-yun
make package/netifd/{clean,compile} V=s
This just compiles netifd for me !
I want to compile OpenWRT-yun bin file to get installed on my yun .
sonnyyu
September 9, 2015, 10:37am
19
make package/netifd/{clean,compile} V=s
The output of it?
sonnyyu:
make package/netifd/{clean,compile} V=s
The output of it?
I attached whole of output to Output.txt .
Output.txt (40.7 KB)