cfillion / reapack-index

Package indexer for git-based ReaPack repositories
GNU General Public License v3.0
28 stars 1 forks source link

gem install reapack-index can't find mingw-w64-x86_64-libwinpthread-git-7.0.0.5447.a2d94c81-1-any.pkg.tar.xz #8

Closed MathieuCGit closed 2 years ago

MathieuCGit commented 2 years ago

Hello,

Got 404 error while trying to get some dependencies :

Temporarily enhancing PATH for MSYS/MINGW...
Installing required msys2 packages: mingw-w64-x86_64-libssh2 mingw-w64-x86_64-cmake
erreur : échec de récupération du fichier « mingw-w64-x86_64-libwinpthread-git-7.0.0.5447.a2d94c81-1-any.pkg.tar.xz » depuis repo.msys2.org : The requested URL returned error: 404
erreur : échec de récupération du fichier « mingw-w64-x86_64-libwinpthread-git-7.0.0.5447.a2d94c81-1-any.pkg.tar.xz » depuis sourceforge.net : Maximum file size exceeded
erreur : échec de récupération du fichier « mingw-w64-x86_64-libwinpthread-git-7.0.0.5447.a2d94c81-1-any.pkg.tar.xz » depuis www2.futureware.at : The requested URL returned error: 404
erreur : échec de récupération du fichier « mingw-w64-x86_64-libwinpthread-git-7.0.0.5447.a2d94c81-1-any.pkg.tar.xz » depuis mirror.yandex.ru : The requested URL returned error: 404
avertissement : erreur lors de la récupération de certains fichiers
erreur : échec de récupération du fichier « mingw-w64-x86_64-gcc-libs-8.3.0-2-any.pkg.tar.xz » depuis repo.msys2.org : The requested URL returned error: 404
assertion "httpc->drain_total >= data->state.drain" failed: file "http2.c", line 496, function: drain_this
      0 [main] pacman 1683 cygwin_exception::open_stackdumpfile: Dumping stack trace to pacman.exe.stackdump
Building native extensions. This could take a while...
ERROR:  Error installing reapack-index:
        ERROR: Failed to build gem native extension.

    current directory: C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/rugged-1.2.0/ext/rugged
C:/Ruby30-x64/bin/ruby.exe -I C:/Ruby30-x64/lib/ruby/3.0.0 -r ./siteconf20211118-9044-r8tj2w.rb extconf.rb
checking for make... no
ERROR: GNU make is required to build Rugged.
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers.  Check the mkmf.log file for more details.  You may
need configuration options.

Provided configuration options:
        --with-opt-dir
        --without-opt-dir
        --with-opt-include
        --without-opt-include=${opt-dir}/include
        --with-opt-lib
        --without-opt-lib=${opt-dir}/lib
        --with-make-prog
        --without-make-prog
        --srcdir=.
        --curdir
        --ruby=C:/Ruby30-x64/bin/$(RUBY_BASE_NAME)
        --with-sha1dc
        --without-sha1dc

To see why this extension failed to compile, please check the mkmf.log which can be found here:

  C:/Ruby30-x64/lib/ruby/gems/3.0.0/extensions/x64-mingw32/3.0.0/rugged-1.2.0/mkmf.log

extconf failed, exit code 1

Gem files will remain installed in C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/rugged-1.2.0 for inspection.
Results logged to C:/Ruby30-x64/lib/ruby/gems/3.0.0/extensions/x64-mingw32/3.0.0/rugged-1.2.0/gem_make.out
PS C:\Users\Mathieu\AppData\Roaming\Reaper\Scripts\reapack-index-1.2.3>

It seems manual built is needed : https://packages.msys2.org/base/mingw-w64-winpthreads-git

MathieuCGit commented 2 years ago

Got it, I had to install ruby with the dev kit....so 350Mo on my harddrive to generate a few Ko xml file.... :-/

cfillion commented 2 years ago

If your repository is hosted on GitHub, it can have reapack-index run automatically using GitHub Actions without having to install it locally. https://github.com/cfillion/reapack-repository-template

MathieuCGit commented 2 years ago

I got it, THAT is pure genius ! Thanks for all your hard work :)