cpcitor / cpc-dev-tool-chain

A development toolchain to compile your modern C or assembly projects on a modern OS and run on an Amstrad CPC or emulator.
45 stars 5 forks source link

Extracting rar archive for cpcrslib sometimes fails. #2

Closed cpcitor closed 9 years ago

cpcitor commented 9 years ago

On Ubuntu 14.04 AMD64, programs needing cpcrslib sometimes fail to compile.

mkdir -p cpcrslib_SDCC ; cd cpcrslib_SDCC ; unrar -x ../cpcrslib_SDCC_11.03.2012.rar

unrar 0.0.1  Copyright (C) 2004  Ben Asselstine, Jeroen Dekkers

Extracting from /org/gourichon/n55s494G/SG/projects/findyway/2015/2015-02-26/cpc-dev-tool-chain/cpclib/cpcrslib/cpcrslib_SDCC_11.03.2012.rar

Extracting  sdcc_samples.dsk                                          Failed    
Extracting  examples/001 - 8x8 Chars & Small Scroll/code.bin          Failed    
Extracting  examples/001 - 8x8 Chars & Small Scroll/code.c            Failed    
Extracting  examples/001 - 8x8 Chars & Small Scroll/make.bat          Failed    
Extracting  examples/001 - 8x8 Chars & Small Scroll/putchar_cpc.rel   Failed    
Extracting  examples/003 - Small Sprite Demo (Tile Map)/code.bin      Failed    
Extracting  examples/003 - Small Sprite Demo (Tile Map)/code.c        Failed    
Extracting  examples/003 - Small Sprite Demo (Tile Map)/crt0_cpc.rel  Failed    
Extracting  examples/003 - Small Sprite Demo (Tile Map)/make.bat      Failed    
Extracting  examples/003 - Small Sprite Demo (Tile Map)/putchar_cpc.rel Failed    
Extracting  examples/004 - Music, SFX & Keyboard/code.bin             Failed    
Extracting  examples/004 - Music, SFX & Keyboard/code.c               Failed    
Extracting  examples/004 - Music, SFX & Keyboard/cpcrslib.lib         Failed    
Extracting  examples/004 - Music, SFX & Keyboard/cpcwyzlib.lib        Failed    
Extracting  examples/004 - Music, SFX & Keyboard/crt0_cpc y putchar_cpc.bat OK        
Extracting  examples/004 - Music, SFX & Keyboard/crt0_cpc.rel         Failed    
Extracting  examples/004 - Music, SFX & Keyboard/crt0_cpc.s           Failed    
Extracting  examples/004 - Music, SFX & Keyboard/datos.h              Failed    
Extracting  examples/004 - Music, SFX & Keyboard/make.bat             Failed    
Extracting  examples/004 - Music, SFX & Keyboard/putchar_cpc.rel      Failed    
Extracting  examples/004 - Music, SFX & Keyboard/putchar_cpc.s        Failed    
Extracting  examples/006 - UnExo/crt0_cpc.rel                         Failed    
Extracting  examples/006 - UnExo/data_exo.h                           Failed    
Extracting  examples/006 - UnExo/make.bat                             Failed    
Extracting  examples/006 - UnExo/putchar_cpc.rel                      Failed    
Extracting  examples/006 - UnExo/tonteria.exp                         OK        
Extracting  examples/006 - UnExo/tonteria.h                           Failed    
Extracting  examples/006 - UnExo/UnExo.bin                            Failed    
Extracting  examples/006 - UnExo/UnExo.c                              Failed    
Extracting  examples/007 - Uncrunch/data_pu.h                         Failed    
Extracting  examples/007 - Uncrunch/make.bat                          Failed    
Extracting  examples/007 - Uncrunch/tonteria.h                        Failed    
Extracting  examples/007 - Uncrunch/tonteria.pu                       OK        
Extracting  examples/007 - Uncrunch/Uncrunch.bin                      Failed    
Extracting  examples/007 - Uncrunch/Uncrunch.c                        Failed    
Extracting  examples/009 - Keyboard/code.bin                          Failed    
Extracting  examples/009 - Keyboard/code.c                            Failed    
Extracting  examples/009 - Keyboard/crt0_cpc.rel                      Failed    
Extracting  examples/009 - Keyboard/make.bat                          Failed    
Extracting  examples/009 - Keyboard/putchar_cpc.rel                   Failed    
Extracting  examples/010 - Sprites/code.bin                           Failed    
Extracting  examples/010 - Sprites/code.c                             Failed    
Extracting  examples/010 - Sprites/crt0_cpc.rel                       Failed    
Extracting  examples/010 - Sprites/make.bat                           Failed    
Extracting  examples/010 - Sprites/putchar_cpc.rel                    Failed    
Extracting  SDCC/cpcrslib.h                                           Failed    
Extracting  SDCC/cpcrslib.lib                                         Failed    
Extracting  SDCC/cpcrslib.s                                           Failed    
Extracting  SDCC/cpcwyzlib.h                                          Failed    
Extracting  SDCC/cpcwyzlib.lib                                        Failed    
Extracting  SDCC/GphStr.s                                             Failed    
Extracting  SDCC/GphStrStd.s                                          Failed    
Extracting  SDCC/Keyboard.s                                           Failed    
Extracting  SDCC/make.bat                                             Failed    
Extracting  SDCC/Sprites.s                                            Failed    
Extracting  SDCC/TileMap.s                                            Failed    
Extracting  SDCC/Uncrunch.s                                           Failed    
Extracting  SDCC/UnExoOpt.s                                           Failed    
Extracting  SDCC/Wyz.s                                                Failed    
Extracting  SDCC/TileMap.h                                            Failed    
57 Failed

Indeed the files are not created.

The md5sum is ok. fe3af0534d4208cd5dac7d626e2a544e cpcrslib_SDCC_11.03.2012.rar

cpcitor commented 9 years ago

Issue avoided by using https://cpcrslib.googlecode.com/files/cpcrslib%20SDCC%2012.08.2013.zip instead.