Comments (5)
Hi Vitaliy,
Can you give me the line above what you posted that shows where you are getting the file? Is it sourceforge or the github mirror?
from opennetworklinux.
Well,
Originally build system tried to download it from sourceforge.net:
--2016-02-01 15:56:01-- http://buildroot.hw.bigswitch.com/dl/squashfs4.2.tar.gz
Resolving buildroot.hw.bigswitch.com (buildroot.hw.bigswitch.com)... failed: Name or service not known.
wget: unable to resolve host address `buildroot.hw.bigswitch.com'
--2016-02-01 15:56:01-- http://downloads.sourceforge.net/projct/squashfs/squashfs/squashfs4.2/squashfs4.2.tar.gz
Resolving downloads.sourceforge.net (downloads.sourceforge.net)... 216.34.181.59
Connecting to downloads.sourceforge.net (downloads.sourceforge.net)|216.34.181.59|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://sourceforge.net/downloads [following]
--2016-02-01 15:56:06-- http://sourceforge.net/downloads
Resolving sourceforge.net (sourceforge.net)... 216.34.181.60
Connecting to sourceforge.net (sourceforge.net)|216.34.181.60|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://sourceforge.net/publish [following]
--2016-02-01 15:56:12-- http://sourceforge.net/publish
Connecting to sourceforge.net (sourceforge.net)|216.34.181.60|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://sourceforge.net/publish/ [following]
--2016-02-01 15:56:12-- http://sourceforge.net/publish/
Connecting to sourceforge.net (sourceforge.net)|216.34.181.60|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 16116 (16K) [text/html]
Saving to: `/home/vitaliy/GITHUB/OpenNetworkLinux/packages/base/any/initrds/buildroot/builds/buildroot-mirror/dl/squashfs4.2.tar.gz.tmp'
100%[================================================================================================================================================================================================================>] 16,116 62.8K/s in 0.3s
2016-02-01 15:56:12 (62.8 KB/s) - `/home/vitaliy/GITHUB/OpenNetworkLinux/packages/base/any/initrds/buildroot/builds/buildroot-mirror/dl/squashfs4.2.tar.gz.tmp' saved [16116/16116]
>>> squashfs 4.2 Extracting
gzip -d -c /home/vitaliy/GITHUB/OpenNetworkLinux/packages/base/any/initrds/buildroot/builds/buildroot-mirror/dl/squashfs4.2.tar.gz | tar --strip-components=1 -C /home/vitaliy/GITHUB/OpenNetworkLinux/packages/base/any/initrds/buildroot/builds/buildroot-x86_64/build/squashfs-4.2 -xf -
gzip: /home/vitaliy/GITHUB/OpenNetworkLinux/packages/base/any/initrds/buildroot/builds/buildroot-mirror/dl/squashfs4.2.tar.gz: not in gzip format
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors
make[4]: *** [/home/vitaliy/GITHUB/OpenNetworkLinux/packages/base/any/initrds/buildroot/builds/buildroot-x86_64/build/squashfs-4.2/.stamp_extracted] Error 2
make[4]: Leaving directory `/home/vitaliy/GITHUB/OpenNetworkLinux/packages/base/any/initrds/buildroot/builds/buildroot-mirror'
make[3]: *** [buildroot-x86_64] Error 2
make[3]: Leaving directory `/home/vitaliy/GITHUB/OpenNetworkLinux/packages/base/any/initrds/buildroot/builds'
make[2]: *** [buildroot-initrd-amd64.cpio.gz] Error 2
make[2]: Leaving directory `/home/vitaliy/GITHUB/OpenNetworkLinux/packages/base/amd64/initrds/buildroot/builds'
ERROR:onlpm:'Build failed.'
/tmp/tmp7HDuit/tmp/tmplHknja/tmp/tmpfKmdRQ/tmp/tmpBHlUi9/tmp/tmpnU3e_1/tmp/tmpYkqFpFmake[1]: *** [pkgall] Error 1
make[1]: Leaving directory `/home/vitaliy/GITHUB/OpenNetworkLinux/packages/base'
make: *** [amd64] Error 2
vitaliy@onlbuilder7:~$
But I also tried the link you provided:
[vitaliy@vitaliy-Inspiron-7520 OpenNetworkLinux]$ wget https://github.com/opennetworklinux/buildroot-download-cache/blob/master/dl/squashfs4.2.tar.gz
--2016-02-01 20:36:41-- https://github.com/opennetworklinux/buildroot-download-cache/blob/master/dl/squashfs4.2.tar.gz
Resolving github.com (github.com)... 192.30.252.131
Connecting to github.com (github.com)|192.30.252.131|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: `squashfs4.2.tar.gz'
[ <=> ] 32,532 31.1K/s in 1.0s
2016-02-01 20:36:43 (31.1 KB/s) - `squashfs4.2.tar.gz' saved [32532]
Mon Feb 01 20:36:43
[vitaliy@vitaliy-Inspiron-7520 OpenNetworkLinux]$ tar xvfz squashfs4.2.tar.gz
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
from opennetworklinux.
Hi Vitaliy,
For whatever reason, you have to use the raw github link:
that will download the proper file, or you can download it via web browser. I think both github and sourceforge have modified their sites to rely so heavily on scripts that wget can't handle it and ends up getting a http file.
I am going to work with buildroot and see if I can figure out how to get it to use the backup link that I have in the configuration and download from our mirror.
BR2_BACKUP_SITE="https://raw.githubusercontent.com/opennetworklinux/buildroot-do
wnload-cache/master/dl"
from opennetworklinux.
This is fixed by #30 which should be merged shortly unless I did something terribly wrong :)
from opennetworklinux.
Closing as the issue has not cropped up again in > 2 weeks.
from opennetworklinux.
Related Issues (20)
- Gap between onlp_led_caps_e and onlp_led_mode_e in led.h HOT 2
- edge-core as6701-32x support? HOT 5
- Build Issue for fetch jessie binary-amd64 packages HOT 2
- CRITICAL:docker_shell:The binfmt_misc system could not be mounted. HOT 1
- 'cat etc/onl/platform' is unknown HOT 1
- Facing below failure when build the ONL "ERROR:onlrfs:Exception 'Could not mount proc in rfs.' in OnlRfsContext::__enter__" HOT 2
- OpenNetworkLinux - Change user login credentials as "admin/onl" instead of default login as "root/onl" in Source code
- systemd-udevd[643]: Process '/sbin/initblockdev xxx add' failed with exit code 1. HOT 2
- Is building from non-Ubuntu possible at all ? HOT 1
- hello
- No module named x86_64_delta_dds64c8_r0
- Looking to build this to support cel_redstone-powerpc
- Specify onie img file HOT 5
- Specify onie img file
- Specify onie img file
- Specify onie img file
- How to make `onlpdusmp -S ` support OSFP HOT 2
- [ONL Arm64] ONL-BOOT partition size cannot be customized HOT 6
- Checksums for latest Stretch build
- Migration plan HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from opennetworklinux.