Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Jan 2008 14:40:14 GMT
From:      Åke Wallebom <ake@ake.nu>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/119860: archivers/par2cmdline gives "Main packet not found" - with fix
Message-ID:  <200801211440.m0LEeEIK034780@www.freebsd.org>
Resent-Message-ID: <200801211450.m0LEo2U0068033@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         119860
>Category:       ports
>Synopsis:       archivers/par2cmdline gives "Main packet not found" - with fix
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 21 14:50:02 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Åke Wallebom
>Release:        STABLE
>Organization:
>Environment:
FreeBSD dunder 7.0-PRERELEASE FreeBSD 7.0-PRERELEASE #3: Mon Jan 14 21:11:46 CET 2008     me@dunder:/usr/obj/usr/src/sys/GENERIC  amd64

>Description:
Installing news/hellanzb also installed archivers/par2cmdline for checking downloaded files against PAR2-archives.

However, the par2cmdline gives "Main packet not found" error when checking par2-files.

There is a 'linux-par2cmdline' which is to be used when par2cmdline gives the "Main packet not found" error - but it seems as it is not necessary, since the version i compiled from the sourceforge-sources works just fine.
>How-To-Repeat:
Install hellanzb from ports and enable par2-checking - par2 checking will fail. Running par2 from the command line will reveal the error "Main packet not found".
>Fix:
The sources available at sourceforge work:

http://sourceforge.net/project/showfiles.php?group_id=30568&package_id=82331

They compile fine after applying the patch found in the ports tree at 

archivers/par2cmdline/files/patch-reedsolomon.cpp

This only builds a 'par2' binary - not the par2verify and par2repair that build when you install from ports - but hellanzb works with only the 'par2' binary as well.

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200801211440.m0LEeEIK034780>