libvips / build-win64

build libvips for 64-bit windows
28 stars 14 forks source link

freetype-2.10.1.tar.gz failed to unpack #39

Closed GrandArth closed 4 years ago

GrandArth commented 4 years ago

Main

I run proxychains ./build.sh 8.9 all on my Manjaro 20.0.1 Lysia with docker Server Version: 19.03.12-ce installed. I modified the build.sh adding --net=host option to the docker so that i can use proxy.

in*** Checking out freetype *** [17/37] section i saw the following error output.

curl --continue-at - -L http://download.savannah.nongnu.org/releases/freetype/freetype-2.10.1.tar.gz -o /data/.cache/jhbuild/downloads/freetype-2.10.1.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0
100  1630    0  1630    0     0    379      0 --:--:--  0:00:04 --:--:--   598
gzip -dc "/data/.cache/jhbuild/downloads/freetype-2.10.1.tar.gz" | tar xf -

gzip: /data/.cache/jhbuild/downloads/freetype-2.10.1.tar.gz: not in gzip format
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors
jhbuild build: failed to unpack /data/.cache/jhbuild/downloads/freetype-2.10.1.tar.gz

This problem occured twice on my local machine and once on my remote server running Ubuntu 18 LTS.

Anything i should do to address that or provide more information?

Dockerinfo:

Client:
 Debug Mode: false

Server:
 Containers: 2
  Running: 1
  Paused: 0
  Stopped: 1
 Images: 13
 Server Version: 19.03.12-ce
 Storage Driver: overlay2
  Backing Filesystem: extfs
  Supports d_type: true
  Native Overlay Diff: false
 Logging Driver: json-file
 Cgroup Driver: cgroupfs
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
 Swarm: inactive
 Runtimes: runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: d76c121f76a5fc8a462dc64594aea72fe18e1178.m
 runc version: 24a3cf88a7ae5f4995f6750654c0e2ca61ef4bb2
 init version: fec3683
 Security Options:
  seccomp
   Profile: default
 Kernel Version: 5.6.11-1-MANJARO
 Operating System: Manjaro Linux
 OSType: linux
 Architecture: x86_64
 CPUs: 12
 Total Memory: 15.56GiB
 Name: risi-i3
 ID: Q4AR:7GAI:GVHK:4DSO:HSJ5:7TOI:OIEY:J435:LIIC:PI3S:WVGL:VACI
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false

Other Worrisome Outputs:

libtool:   error: Could not determine the host path corresponding to
libtool:   error:   '/data/build/expat-2.2.9/lib/.libs'
libtool:   error: Continuing, but uninstalled executables may not work.
libtool:   error: Could not determine the host path corresponding to
libtool:   error:   '/data/inst/lib:/data/inst/bin:/usr/local/lib:/usr/local/bin:/data/build/expat-2.2.9/lib/.libs'
libtool:   error: Continuing, but uninstalled executables may not work.

Above output occurred frequently, is it something i should be worried about?

GrandArth commented 4 years ago

It seems that Proxychains is the one causing the problem. Use --net=host is fine.