PerlGameDev / SDL

Rehashing the old perl SDL binding on cpan.org
http://search.cpan.org/dist/SDL
GNU General Public License v2.0
81 stars 29 forks source link

Build install fails due to incorrect checksum #301

Open sbiickert opened 2 years ago

sbiickert commented 2 years ago

When installing via cpanminus (cpanm install SDL), the installation fails.

==> Found dependencies: Alien::SDL
--> Working on Alien::SDL
Fetching http://www.cpan.org/authors/id/F/FR/FROGGS/Alien-SDL-1.446.tar.gz ... OK
Configuring Alien-SDL-1.446 ... OK
Building and testing Alien-SDL-1.446 ... FAIL
! Installing Alien::SDL failed. See /Users/sjb/.cpanm/work/1654956143.91383/build.log for details. Retry with --force to force install it.
! Installing the dependencies failed: Module 'Alien::SDL' is not installed
! Bailing out the installation for SDL-2.548.

In the log file (attached), additional details show that there is a checksum failure for jpegsrc.v8b.tar.gz:

Building and testing Alien-SDL-1.446
Build option used:
    Source code build
    z(v1.2.5) jpeg(v8b) tiff(v3.9.1) png(v1.4.1) freetype(v2.3.12) SDL_image(v1.2.11) ogg(v1.3.0) vorbis(v1.3.3) SDL_mixer(v1.2.12) SDL_ttf(v2.0.11) SDL_gfx(v2.0.25) 
Building Alien-SDL
Fetching 'http://froggs.de/libz/zlib-1.2.5.tar.gz'...
Checking checksum for 'download/zlib-1.2.5.tar.gz'...
Fetching 'http://www.ijg.org/files/jpegsrc.v8b.tar.gz'...
###WARN## checksum for file download/jpegsrc.v8b.tar.gz is 34e86575444c59bef6c4c65e14e7188defbc547a but we expect 15dc1939ea1a5b9d09baea11cceb13ca59e4f9df
###ERROR### Checksum failed 'download/jpegsrc.v8b.tar.gz' at inc/My/Builder.pm line 161.
Checking checksum for 'download/jpegsrc.v8b.tar.gz'...
-> FAIL Installing Alien::SDL failed. See /Users/sjb/.cpanm/work/1654956143.91383/build.log for details. Retry with --force to force install it.
-> FAIL Installing the dependencies failed: Module 'Alien::SDL' is not installed
-> FAIL Bailing out the installation for SDL-2.548.

Simon build.log

shamrice commented 1 year ago

I had the same exact issue trying to install. I ended up manually installing the jpeg library and was able to get the SDL module installed. Some more info can be found here: https://stackoverflow.com/questions/69586380/checksum-failed-download-jpegsrc-v8b-tar-gz-while-installing-sdl-how-to-resolv