Discussion:
dce bake download errors
Trish Deutsch
2017-10-18 22:18:09 UTC
Permalink
I am having issues with installing dce 1.9 on Ubuntu 14.04, specifically
the un-tar for thttpd, iperf and ccnx are all failing. See below for
details.
Any suggestions?

Regards,
Trish

1. Installed bake per instructions
2. create dce directory
3. in the dce directory, do bake.py configure -e dce-ns3-1.9
4. run bake.py check and all looks good:

~/dce$ bake.py check
Python - OK
GNU C++ compiler - OK
Mercurial - OK
CVS - OK
GIT - OK
Bazaar - OK
Tar tool - OK
Unzip tool - OK
Unrar tool - OK
7z data compression utility - OK
XZ data compression utility - OK
Make - OK
cMake - OK
patch tool - OK
autoreconf tool - OK
Path searched for tools: /usr/local/sbin /usr/local/bin /usr/sbin
/usr/bin /sbin /bin /usr/games /usr/local/games /home/vam/bake bin
/home/vam/bake


5. run bake.py download -vvv
Downloading thttpd - ()
tar zxf /home/vam/dce/source/thttpd-2.25b.tar.gz
dir=/home/vam/dce/source/tmpccRZjv

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
()
Download thttpd - Problem
Subprocess failed with error 2: ['tar', 'zxf',
'/home/vam/dce/source/thttpd-2.25b.tar.gz']
Downloading iperf - ()
tar zxf /home/vam/dce/source/iperf-2.0.5.tar.gz
dir=/home/vam/dce/source/tmpVhsCIp

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
()
Download iperf - Problem
Subprocess failed with error 2: ['tar', 'zxf',
'/home/vam/dce/source/iperf-2.0.5.tar.gz']
Downloading ccnx - ()
tar zxf /home/vam/dce/source/ccnx-0.6.2.tar.gz
dir=/home/vam/dce/source/tmpYjjKwK

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
()
Download ccnx - Problem
Subprocess failed with error 2: ['tar', 'zxf',
'/home/vam/dce/source/ccnx-0.6.2.tar.gz']


6. When I do "file" on each of these they do not appear to be zipped tar
files. As a comparison, I did file on the bash and wget files which were
also downloaded and were successfully un-tar'd

~/dce/source$ file bash-4.1.tar.gz
bash-4.1.tar.gz: gzip compressed data, was "bash-4.1.tar", from Unix, last
modified: Thu Dec 31 21:36:31 2009
~/dce/source$ file wget-1.15.tar.gz
wget-1.15.tar.gz: gzip compressed data, from Unix, max compression
~/dce/source$ file thttpd-2.25b.tar.gz
thttpd-2.25b.tar.gz: HTML document, ASCII text, with very long lines
~/dce/source$ file iperf-2.0.5.tar.gz
iperf-2.0.5.tar.gz: HTML document, ASCII text
~/dce/source$ file ccnx-0.6.2.tar.gz
ccnx-0.6.2.tar.gz: HTML document, ASCII text
--
Posting to this group should follow these guidelines https://www.nsnam.org/wiki/Ns-3-users-guidelines-for-posting
---
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-3-users+***@googlegroups.com.
To post to this group, send email to ns-3-***@googlegroups.com.
Visit this group at https://groups.google.com/group/ns-3-users.
For more options, visit https://groups.google.com/d/optout.
Tom Henderson
2017-10-19 23:26:41 UTC
Permalink
Post by Trish Deutsch
I am having issues with installing dce 1.9 on Ubuntu 14.04,
specifically the un-tar for thttpd, iperf and ccnx are all failing. 
See below for details.
Any suggestions?
Regards,
Trish
1. Installed bake per instructions
2. create dce directory
3. in the dce directory, do bake.py configure -e dce-ns3-1.9
~/dce$ bake.py check
 > Python - OK
 > GNU C++ compiler - OK
 > Mercurial - OK
 > CVS - OK
 > GIT - OK
 > Bazaar - OK
 > Tar tool - OK
 > Unzip tool - OK
 > Unrar tool - OK
 > 7z  data compression utility - OK
 > XZ data compression utility - OK
 > Make - OK
 > cMake - OK
 > patch tool - OK
 > autoreconf tool - OK
 > Path searched for tools: /usr/local/sbin /usr/local/bin
/usr/sbin /usr/bin /sbin /bin /usr/games /usr/local/games
/home/vam/bake bin /home/vam/bake
5. run bake.py download -vvv
 >> Downloading thttpd - ()
 tar zxf /home/vam/dce/source/thttpd-2.25b.tar.gz
dir=/home/vam/dce/source/tmpccRZjv
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
()
 >> Download thttpd - Problem
Subprocess failed with error 2: ['tar', 'zxf',
'/home/vam/dce/source/thttpd-2.25b.tar.gz']
 >> Downloading iperf - ()
 tar zxf /home/vam/dce/source/iperf-2.0.5.tar.gz
dir=/home/vam/dce/source/tmpVhsCIp
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
()
 >> Download iperf - Problem
Subprocess failed with error 2: ['tar', 'zxf',
'/home/vam/dce/source/iperf-2.0.5.tar.gz']
 >> Downloading ccnx - ()
 tar zxf /home/vam/dce/source/ccnx-0.6.2.tar.gz
dir=/home/vam/dce/source/tmpYjjKwK
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
()
 >> Download ccnx - Problem
Subprocess failed with error 2: ['tar', 'zxf',
'/home/vam/dce/source/ccnx-0.6.2.tar.gz']
6. When I do "file" on each of these they do not appear to be zipped
tar files. As a comparison, I did file on the bash and wget files
which were also downloaded and were successfully un-tar'd
~/dce/source$ file bash-4.1.tar.gz
bash-4.1.tar.gz: gzip compressed data, was "bash-4.1.tar", from
Unix, last modified: Thu Dec 31 21:36:31 2009
~/dce/source$ file wget-1.15.tar.gz
wget-1.15.tar.gz: gzip compressed data, from Unix, max compression
~/dce/source$ file thttpd-2.25b.tar.gz
thttpd-2.25b.tar.gz: HTML document, ASCII text, with very long lines
~/dce/source$ file iperf-2.0.5.tar.gz
iperf-2.0.5.tar.gz: HTML document, ASCII text
~/dce/source$ file ccnx-0.6.2.tar.gz
ccnx-0.6.2.tar.gz: HTML document, ASCII text
Trish,

I only get that problem with ccnx.  In looking further, it appears that

the archive has moved; the link is no longer valid.



http://www.ccnx.org/releases/ccnx-0.6.2.tar.gz   <--- redirects to

https://wiki.fd.io/view/Cicn



I did not find thttpd or iperf to be bad links, but perhaps there is

something in your proxy configuration that doesn't properly resolve.  It

is probably the same issue (non-working URL).



I will add an issue in the tracker that we should make bake smarter to

check the file type in case archive links go away.



- Tom
--
Posting to this group should follow these guidelines https://www.nsnam.org/wiki/Ns-3-users-guidelines-for-posting
---
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-3-users+***@googlegroups.com.
To post to this group, send email to ns-3-***@googlegroups.com.
Visit this group at https://groups.google.com/group/ns-3-users.
For more options, visit https://groups.google.com/d/optout.
Trish Deutsch
2017-10-20 13:01:13 UTC
Permalink
Thanks Tom!

I was able to get the thttpd to work but not iperf. thttpd tar file
eventually downloaded correctly.
For iperf, I decided to do a "brute force" method and manually downloaded
the iperf tar file (using the URL in the bake config file) and then
untarred it (essentially bypassing the bake download) but it still does not
build when I do the bake.py build.
For ccnx, do you have a new URL for the tar file? I can't find it on the
redirected site.

That's a great idea to add error checking in the bake file.

- Trish
Post by Trish Deutsch
I am having issues with installing dce 1.9 on Ubuntu 14.04, specifically
the un-tar for thttpd, iperf and ccnx are all failing. See below for
details.
Any suggestions?
Regards,
Trish
1. Installed bake per instructions
2. create dce directory
3. in the dce directory, do bake.py configure -e dce-ns3-1.9
~/dce$ bake.py check
Python - OK
GNU C++ compiler - OK
Mercurial - OK
CVS - OK
GIT - OK
Bazaar - OK
Tar tool - OK
Unzip tool - OK
Unrar tool - OK
7z data compression utility - OK
XZ data compression utility - OK
Make - OK
cMake - OK
patch tool - OK
autoreconf tool - OK
Path searched for tools: /usr/local/sbin /usr/local/bin /usr/sbin
/usr/bin /sbin /bin /usr/games /usr/local/games /home/vam/bake bin
/home/vam/bake
5. run bake.py download -vvv
Downloading thttpd - ()
tar zxf /home/vam/dce/source/thttpd-2.25b.tar.gz
dir=/home/vam/dce/source/tmpccRZjv
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
()
Download thttpd - Problem
Subprocess failed with error 2: ['tar', 'zxf',
'/home/vam/dce/source/thttpd-2.25b.tar.gz']
Downloading iperf - ()
tar zxf /home/vam/dce/source/iperf-2.0.5.tar.gz
dir=/home/vam/dce/source/tmpVhsCIp
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
()
Download iperf - Problem
Subprocess failed with error 2: ['tar', 'zxf',
'/home/vam/dce/source/iperf-2.0.5.tar.gz']
Downloading ccnx - ()
tar zxf /home/vam/dce/source/ccnx-0.6.2.tar.gz
dir=/home/vam/dce/source/tmpYjjKwK
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
()
Download ccnx - Problem
Subprocess failed with error 2: ['tar', 'zxf',
'/home/vam/dce/source/ccnx-0.6.2.tar.gz']
6. When I do "file" on each of these they do not appear to be zipped tar
files. As a comparison, I did file on the bash and wget files which were
also downloaded and were successfully un-tar'd
~/dce/source$ file bash-4.1.tar.gz
bash-4.1.tar.gz: gzip compressed data, was "bash-4.1.tar", from Unix, last
modified: Thu Dec 31 21:36:31 2009
~/dce/source$ file wget-1.15.tar.gz
wget-1.15.tar.gz: gzip compressed data, from Unix, max compression
~/dce/source$ file thttpd-2.25b.tar.gz
thttpd-2.25b.tar.gz: HTML document, ASCII text, with very long lines
~/dce/source$ file iperf-2.0.5.tar.gz
iperf-2.0.5.tar.gz: HTML document, ASCII text
~/dce/source$ file ccnx-0.6.2.tar.gz
ccnx-0.6.2.tar.gz: HTML document, ASCII text
Trish,
I only get that problem with ccnx. In looking further, it appears that
the archive has moved; the link is no longer valid.
http://www.ccnx.org/releases/ccnx-0.6.2.tar.gz <--- redirects to
https://wiki.fd.io/view/Cicn
I did not find thttpd or iperf to be bad links, but perhaps there is
something in your proxy configuration that doesn't properly resolve. It is
probably the same issue (non-working URL).
I will add an issue in the tracker that we should make bake smarter to
check the file type in case archive links go away.
- Tom
--
Posting to this group should follow these guidelines https://www.nsnam.org/wiki/Ns-3-users-guidelines-for-posting
---
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-3-users+***@googlegroups.com.
To post to this group, send email to ns-3-***@googlegroups.com.
Visit this group at https://groups.google.com/group/ns-3-users.
For more options, visit https://groups.google.com/d/optout.
Tom Henderson
2017-10-20 13:24:43 UTC
Permalink
Post by Trish Deutsch
Thanks Tom!
I was able to get the thttpd to work but not iperf. thttpd tar file
eventually downloaded correctly.
For iperf, I decided to do a "brute force" method and manually
downloaded the iperf tar file (using the URL in the bake config file)
and then untarred it (essentially bypassing the bake download) but it
still does not build when I do the bake.py build.
For ccnx, do you have a new URL for the tar file? I can't find it on the
redirected site.
I think you can find it here:

https://github.com/ProjectCCNx/ccnx/releases/tag/ccnx-0.6.2

- Tom
--
Posting to this group should follow these guidelines https://www.nsnam.org/wiki/Ns-3-users-guidelines-for-posting
---
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-3-users+***@googlegroups.com.
To post to this group, send email to ns-3-***@googlegroups.com.
Visit this group at https://groups.google.com/group/ns-3-users.
For more options, visit https://groups.google.com/d/optout.
Trish Deutsch
2018-12-10 21:27:19 UTC
Permalink
This post is 1+ year old, but wanted to report a similar issue in regards
to using dce with quagga.
It appears the URL in the bakefile.xml file does does not work, but does
work when changed to:

http://download.savannah.gnu.org/releases/quagga/quagga-0.99.20.tar.gz
--
Posting to this group should follow these guidelines https://www.nsnam.org/wiki/Ns-3-users-guidelines-for-posting
---
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-3-users+***@googlegroups.com.
To post to this group, send email to ns-3-***@googlegroups.com.
Visit this group at https://groups.google.com/group/ns-3-users.
For more options, visit https://groups.google.com/d/optout.
Tom Henderson
2018-12-10 22:10:22 UTC
Permalink
Post by Trish Deutsch
This post is 1+ year old, but wanted to report a similar issue in
regards to using dce with quagga.
It appears the URL in the bakefile.xml file does does not work, but does
http://download.savannah.gnu.org/releases/quagga/quagga-0.99.20.tar.gz
Thanks Trish, I will fix this.

I don't have an answer to your other question about the status of quagga
support. I assume the current versions found in bakeconf.xml would
still work but I haven't been in the loop on regression testing of DCE
lately.

- Tom
--
Posting to this group should follow these guidelines https://www.nsnam.org/wiki/Ns-3-users-guidelines-for-posting
---
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-3-users+***@googlegroups.com.
To post to this group, send email to ns-3-***@googlegroups.com.
Visit this group at https://groups.google.com/group/ns-3-users.
For more options, visit https://groups.google.com/d/optout.
Loading...