Git Product home page Git Product logo

Comments (5)

sonoble avatar sonoble commented on August 18, 2024

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.

vitalivanov avatar vitalivanov commented on August 18, 2024

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.

sonoble avatar sonoble commented on August 18, 2024

Hi Vitaliy,

For whatever reason, you have to use the raw github link:

https://raw.githubusercontent.com/opennetworklinux/buildroot-download-cache/master/dl/squashfs4.2.tar.gz

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.

sonoble avatar sonoble commented on August 18, 2024

This is fixed by #30 which should be merged shortly unless I did something terribly wrong :)

from opennetworklinux.

sonoble avatar sonoble commented on August 18, 2024

Closing as the issue has not cropped up again in > 2 weeks.

from opennetworklinux.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.