Page 2 of 5

Re: Gargoyle-ispy 2013-May-02.7z

Posted: Fri May 03, 2013 1:30 pm
by db90h
Thanks Eric, I didn't even realize you had a repository set up - I figured you surely did, but hadn't seen the link.

Re: Gargoyle-ispy 2013-May-02.7z

Posted: Fri May 03, 2013 4:36 pm
by ispyisail
still the same problem

Code: Select all

Scanning dependencies of target runcompilecommands
make[7]: Leaving directory `/home/user/gargoyle/ar71xx-src/build_dir/host/cmake-2.8.9'
make[7]: Entering directory `/home/user/gargoyle/ar71xx-src/build_dir/host/cmake-2.8.9'
[100%] Building CXX object Tests/CMakeLib/CMakeFiles/runcompilecommands.dir/run_compile_commands.cxx.o
Linking CXX executable runcompilecommands
make[7]: Leaving directory `/home/user/gargoyle/ar71xx-src/build_dir/host/cmake-2.8.9'
[100%] Built target runcompilecommands
make[7]: Entering directory `/home/user/gargoyle/ar71xx-src/build_dir/host/cmake-2.8.9'
Scanning dependencies of target foo
make[7]: Leaving directory `/home/user/gargoyle/ar71xx-src/build_dir/host/cmake-2.8.9'
make[7]: Entering directory `/home/user/gargoyle/ar71xx-src/build_dir/host/cmake-2.8.9'
[100%] Building CXX object Tests/FindPackageModeMakefileTest/CMakeFiles/foo.dir/foo.cpp.o
Linking CXX static library libfoo.a
make[7]: Leaving directory `/home/user/gargoyle/ar71xx-src/build_dir/host/cmake-2.8.9'
[100%] Built target foo
make[6]: Leaving directory `/home/user/gargoyle/ar71xx-src/build_dir/host/cmake-2.8.9'
make[5]: Leaving directory `/home/user/gargoyle/ar71xx-src/build_dir/host/cmake-2.8.9'
touch /home/user/gargoyle/ar71xx-src/build_dir/host/cmake-2.8.9/.built
make[4]: Leaving directory `/home/user/gargoyle/ar71xx-src/tools/cmake'
make[3]: Leaving directory `/home/user/gargoyle/ar71xx-src'
make[2]: *** [/home/user/gargoyle/ar71xx-src/staging_dir/target-mips_r2_uClibc-0.9.33.2/stamp/.tools_install_nnnnn] Error 2
make[2]: Leaving directory `/home/user/gargoyle/ar71xx-src'
make[1]: *** [world] Error 2
make[1]: Leaving directory `/home/user/gargoyle/ar71xx-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@ubuntu:~/gargoyle$

Re: Gargoyle-ispy 2013-May-02.7z

Posted: Fri May 03, 2013 8:26 pm
by Eric
Hmm... it's still building fine for me (I tried again to be sure).

One potential issue is that builds are enabled with multiple threads if multiple cores are available (to increase build speed), but sometimes this causes the error code printed to not reflect the real problem/reason the build crashed. Can you switch to your build directory where the error occured (/home/user/gargoyle/ar71xx-src from your log), and then run "make V=99" ? That will build it single threaded since it isn't passing the -j argument the build script uses, and any errors displayed will indicate where the build actually crashed.

Re: Gargoyle-ispy 2013-May-02.7z

Posted: Fri May 03, 2013 10:47 pm
by ispyisail
Thanks

A bit of background, I've got a dedicated build machine running ubuntu server 12.10 64 bit. The machine is about 6 or so years old and had a 40 gig hard drive.

The hard drive filled up and I had to stop doing builds. I finally changed the drive to a 500 gig and re-install Ubuntu. For some reason since the change it hasn't built properly?

Currently building as instructed

Re: Gargoyle-ispy 2013-May-02.7z

Posted: Sat May 04, 2013 1:36 am
by ispyisail

Code: Select all

make V=ss  -j1 clean-staging
make[4]: Entering directory `/home/user/gargoyle/ar71xx-src/package/ntfs-3g'
rm -f /home/user/gargoyle/ar71xx-src/staging_dir/target-mips_r2_uClibc-0.9.33.2/stamp/.ntfs-3g_installed
make[4]: Leaving directory `/home/user/gargoyle/ar71xx-src/package/ntfs-3g'
rm -rf /home/user/gargoyle/ar71xx-src/tmp/stage-ntfs-3g
mkdir -p /home/user/gargoyle/ar71xx-src/tmp/stage-ntfs-3g/host /home/user/gargoyle/ar71xx-src/staging_dir/target-mips_r2_uClibc-0.9.33.2/packages /home/user/gargoyle/ar71xx-src/staging_dir/host/packages
install -d -m0755 /home/user/gargoyle/ar71xx-src/tmp/stage-ntfs-3g/usr/include
cp -fpR /home/user/gargoyle/ar71xx-src/build_dir/target-mips_r2_uClibc-0.9.33.2/ntfs-3g-2011.4.12-1-fuseint/ipkg-install/usr/include/ntfs-3g /home/user/gargoyle/ar71xx-src/tmp/stage-ntfs-3g/usr/include/
install -d -m0755 /home/user/gargoyle/ar71xx-src/tmp/stage-ntfs-3g/usr/lib
cp -fpR /home/user/gargoyle/ar71xx-src/build_dir/target-mips_r2_uClibc-0.9.33.2/ntfs-3g-2011.4.12-1-fuseint/ipkg-install/usr/lib/libntfs-3g.{la,a,so*} /home/user/gargoyle/ar71xx-src/tmp/stage-ntfs-3g/usr/lib/
find /home/user/gargoyle/ar71xx-src/tmp/stage-ntfs-3g -name '*.la' | xargs -r rm -f;
if [ -d /home/user/gargoyle/ar71xx-src/tmp/stage-ntfs-3g ]; then (cd /home/user/gargoyle/ar71xx-src/tmp/stage-ntfs-3g; find ./ > /home/user/gargoyle/ar71xx-src/tmp/stage-ntfs-3g.files);    SHELL= /home/user/gargoyle/ar71xx-src/staging_dir/host/bin/flock /home/user/gargoyle/ar71xx-src/tmp/.staging-dir.flock -c ' mv /home/user/gargoyle/ar71xx-src/tmp/stage-ntfs-3g.files /home/user/gargoyle/ar71xx-src/staging_dir/target-mips_r2_uClibc-0.9.33.2/packages/ntfs-3g.list && cp -fpR /home/user/gargoyle/ar71xx-src/tmp/stage-ntfs-3g/* /home/user/gargoyle/ar71xx-src/staging_dir/target-mips_r2_uClibc-0.9.33.2/; '; fi
rm -rf /home/user/gargoyle/ar71xx-src/tmp/stage-ntfs-3g
touch /home/user/gargoyle/ar71xx-src/staging_dir/target-mips_r2_uClibc-0.9.33.2/stamp/.ntfs-3g_installed
WARNING: skipping ntfs-3g-low -- package not selected
WARNING: skipping ntfs-3g-utils -- package not selected
make[3]: Leaving directory `/home/user/gargoyle/ar71xx-src/package/ntfs-3g'
make[3]: Entering directory `/home/user/gargoyle/ar71xx-src/package/obfsproxy'
mkdir -p /home/user/gargoyle/ar71xx-src/dl
echo "Checking out files from the git repository..."; mkdir -p /home/user/gargoyle/ar71xx-src/tmp/dl && cd /home/user/gargoyle/ar71xx-src/tmp/dl && rm -rf obfsproxy && [ \! -d obfsproxy ] && git clone git://gitweb.torproject.org/obfsproxy.git obfsproxy --recursive && (cd obfsproxy && git checkout obfsproxy-0.1.4) && echo "Packing checkout..." && rm -rf obfsproxy/.git &&  /bin/tar cfz /home/user/gargoyle/ar71xx-src/tmp/dl/obfsproxy-0.1.4.tar.gz obfsproxy && mv /home/user/gargoyle/ar71xx-src/tmp/dl/obfsproxy-0.1.4.tar.gz /home/user/gargoyle/ar71xx-src/dl/ && rm -rf obfsproxy;
Checking out files from the git repository...
Cloning into 'obfsproxy'...
fatal: remote error: access denied or repository not exported: /obfsproxy.git
make[3]: *** [/home/user/gargoyle/ar71xx-src/dl/obfsproxy-0.1.4.tar.gz] Error 128
make[3]: Leaving directory `/home/user/gargoyle/ar71xx-src/package/obfsproxy'
make[2]: *** [package/obfsproxy/compile] Error 2
make[2]: Leaving directory `/home/user/gargoyle/ar71xx-src'
make[1]: *** [/home/user/gargoyle/ar71xx-src/staging_dir/target-mips_r2_uClibc-0.9.33.2/stamp/.package_compile] Error 2
make[1]: Leaving directory `/home/user/gargoyle/ar71xx-src'
make: *** [world] Error 2
user@ubuntu:~/gargoyle/ar71xx-src$

Re: Gargoyle-ispy 2013-May-02.7z

Posted: Sat May 04, 2013 12:15 pm
by Slacker
Same issue as ispyisail
Running

Code: Select all

git clone https://git.torproject.org/obfsproxy.git
gets me this:

Re: Gargoyle-ispy 2013-May-02.7z

Posted: Sat May 04, 2013 12:40 pm
by Slacker
Looks like the git repo changed locations...
https://www.torproject.org/projects/obf ... ns.html.en shows https://gitweb.torproject.org/pluggable ... sproxy.git as the address, if that's what Gargoyle uses.

Some info: https://lists.torproject.org/pipermail/ ... 04614.html

Re: Gargoyle-ispy 2013-May-02.7z

Posted: Sat May 04, 2013 2:02 pm
by Eric
Yep, it's an issue with obfsproxy repo, should be fixed now. The last error you posted shows what happened (the repo moved).

The thing is that the code of obfsproxy switched to using python... which is too big to really include on all but the largest routers running openwrt. We have to stick with the old C repo which is obfsproxy-legacy.

Re: Gargoyle-ispy 2013-May-02.7z

Posted: Sat May 04, 2013 3:44 pm
by ispyisail
Why was your build working?

Re: Gargoyle-ispy 2013-May-02.7z

Posted: Sat May 04, 2013 4:28 pm
by RomanHK
Hello,
I have a tl-wr741nd v4 router, I uploaded your firmware, web interface do not work (you can not log in).

Regards
Roman