I always get "Main packet not found" when trying to
verify par2 data using the command line. Even the
testdata fails.This happens on a linux distributions
on powerpcs (G4). I tried both gentoo 2006.0 with gcc
3.4.5 and kubuntu.
This is the output during "make check":
SKIP: pretest
----------------------------
Verifying using PAR 1.0 data
----------------------------
PASS: test1
----------------------------
Verifying using PAR 2.0 data
----------------------------
Main packet not found.
ERROR: Initial PAR 2.0 verification failed
FAIL: test2
--------------------------------------
Repairing two files using PAR 1.0 data
--------------------------------------
PASS: test3
--------------------------------------
Repairing two files using PAR 2.0 data
--------------------------------------
Main packet not found.
ERROR: Reconstruction of two files using PAR 2.0
failed
FAIL: test4
-----------------------------------
Creating 100% PAR 2.0 recovery data
-----------------------------------
PASS: test5
--------------------------------------
Repairing 100% loss using PAR 2.0 data
--------------------------------------
ERROR: Repaired files do not match originals
FAIL: test6
SKIP: posttest
=====================================================
3 of 6 tests failed
(2 tests were not run)
Please report to peterbclements@users.sourceforge.net
=====================================================
make[1]: *** [check-TESTS] Fehler 1
make[1]: Leaving directory
`/home/sinsch/src/par2cmdline-0.4'
make: *** [check-am] Fehler 2
Logged In: NO
I found out that if I take the par2fileformat.cpp and
par2fileformat.h files from version 0.1 it works fine.
Looks like some compilers have problems with the warnings
displayed during compiling. Due to the replace of the old
version the warnings are now gone (at least for
par2fileformat). I would recommend to undo these changes
from 0.1 to 0.2.
par1fileformat.h:39: Warnung: »gepackt«-Attribut für
ungepacktes nicht-POD-Feld
»leu32 PAR1FILEHEADER::fileversion« wird ignoriert
par1fileformat.h:40: Warnung: »gepackt«-Attribut für
ungepacktes nicht-POD-Feld
»leu32 PAR1FILEHEADER::programversion« wird ignoriert
par1fileformat.h:41: Warnung: »gepackt«-Attribut für
ungepacktes nicht-POD-Feld
»MD5Hash PAR1FILEHEADER::controlhash« wird ignoriert
par1fileformat.h:42: Warnung: »gepackt«-Attribut für
ungepacktes nicht-POD-Feld
»MD5Hash PAR1FILEHEADER::sethash« wird ignoriert
par1fileformat.h:43: Warnung: »gepackt«-Attribut für
ungepacktes nicht-POD-Feld
»leu64 PAR1FILEHEADER::volumenumber« wird ignoriert
par1fileformat.h:44: Warnung: »gepackt«-Attribut für
ungepacktes nicht-POD-Feld
»leu64 PAR1FILEHEADER::numberoffiles« wird ignoriert
par1fileformat.h:45: Warnung: »gepackt«-Attribut für
ungepacktes nicht-POD-Feld
»leu64 PAR1FILEHEADER::filelistoffset« wird ignoriert
par1fileformat.h:46: Warnung: »gepackt«-Attribut für
ungepacktes nicht-POD-Feld
»leu64 PAR1FILEHEADER::filelistsize« wird ignoriert
par1fileformat.h:47: Warnung: »gepackt«-Attribut für
ungepacktes nicht-POD-Feld
»leu64 PAR1FILEHEADER::dataoffset« wird ignoriert
par1fileformat.h:48: Warnung: »gepackt«-Attribut für
ungepacktes nicht-POD-Feld
»leu64 PAR1FILEHEADER::datasize« wird ignoriert
par1fileformat.h:53: Warnung: »gepackt«-Attribut für
ungepacktes nicht-POD-Feld
»leu64 PAR1FILEENTRY::entrysize« wird ignoriert
par1fileformat.h:54: Warnung: »gepackt«-Attribut für
ungepacktes nicht-POD-Feld
»leu64 PAR1FILEENTRY::status« wird ignoriert
par1fileformat.h:55: Warnung: »gepackt«-Attribut für
ungepacktes nicht-POD-Feld
»leu64 PAR1FILEENTRY::filesize« wird ignoriert
par1fileformat.h:56: Warnung: »gepackt«-Attribut für
ungepacktes nicht-POD-Feld
»MD5Hash PAR1FILEENTRY::hashfull« wird ignoriert
par1fileformat.h:57: Warnung: »gepackt«-Attribut für
ungepacktes nicht-POD-Feld
»MD5Hash PAR1FILEENTRY::hash16k« wird ignoriert
par1fileformat.h:58: Warnung: »gepackt«-Attribut für
ungepacktes nicht-POD-Feld
»leu16 PAR1FILEENTRY::name[0u]« wird ignoriert