[gtk-osx-users] Can't Unpack Dependency



        I have a dependency here:

   <repository type="tarball" name="libsdl"
       href="https://www.libsdl.org/projects/SDL_mixer/release/SDL2_mixer-2.0.1.tar.gz”/>

        It’s getting downloaded, but then the unpack process chokes:

*** Checking out mixer *** [2/3]
curl --continue-at - -L https://www.libsdl.org/projects/SDL_mixer/release/mixer/SDL2_mixer-2.0.1.tar.gz -o 
/Users/gtk/gtk/source/pkgs/SDL2_mixer-2.0.1.tar.gz
 % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                Dload  Upload   Total   Spent    Left  Speed
100  2610  100  2610    0     0   6596      0 --:--:-- --:--:-- --:--:--  6607
gzip -dc "/Users/gtk/gtk/source/pkgs/SDL2_mixer-2.0.1.tar.gz" | tar xf -
gzip: /Users/gtk/gtk/source/pkgs/SDL2_mixer-2.0.1.tar.gz: not in gzip format
*** Error during phase checkout of mixer: could not unpack tarball (expected SDL2_mixer-2.0.1 dir) *** [2/3]

        They also offer that source in the older format, but jhbuild didn’t like it either:

*** Checking out mixer *** [2/3]
curl --continue-at - -L https://www.libsdl.org/projects/SDL_mixer/release/mixer/SDL2_mixer-2.0.1.zip -o 
/Users/gtk/gtk/source/pkgs/SDL2_mixer-2.0.1.zip
 % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                Dload  Upload   Total   Spent    Left  Speed
100  2610  100  2610    0     0  10280      0 --:--:-- --:--:-- --:--:-- 10316
unzip "/Users/gtk/gtk/source/pkgs/SDL2_mixer-2.0.1.zip"
Archive:  /Users/gtk/gtk/source/pkgs/SDL2_mixer-2.0.1.zip
 End-of-central-directory signature not found.  Either this file is not
 a zipfile, or it constitutes one disk of a multi-part archive.  In the
 latter case the central directory and zipfile comment will be found on
 the last disk(s) of this archive.
unzip:  cannot find zipfile directory in one of /Users/gtk/gtk/source/pkgs/SDL2_mixer-2.0.1.zip or
       /Users/gtk/gtk/source/pkgs/SDL2_mixer-2.0.1.zip.zip, and cannot find 
/Users/gtk/gtk/source/pkgs/SDL2_mixer-2.0.1.zip.ZIP, period.
jhbuild build: failed to unpack /Users/gtk/gtk/source/pkgs/SDL2_mixer-2.0.1.zip

        At the very least, i know the .tar.gz file is not corrupted, as i can double-click it to unpack it.  
The wiki doesn’t get into the specifics of unpacking.  How do i get past this?


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]