Skip Menu |

This queue is for tickets about the Carrot CPAN distribution.

Report information
The Basics
Id: 98095
Status: open
Priority: 0/
Queue: Carrot

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 1.1.308
Fixed in: (no value)



Subject: Tarball cannot be extracted with Archive::Tar
It seems that the tarball cannot be extracted with Archive::Tar. Doing so results in a lot of checksum errors, see below. Note that CPAN.pm may be configured to use Archive::Tar instead of the external tar (e.g. for systems without a native tar like Windows). Checksum for /home/cpansand/.cpan/sources/authors/id/W/WI/WINTRU/Carrot-1.1.308.tar.gz ok CPAN: Archive::Tar loaded ok (v2.00) 129 path=Carrot-1.1.308/lib/Carrot/Individuality/Controlled/Localized_Messages/Universal./localized_: checksum error at /usr/perl5.20.0/lib/5.20.0/CPAN/Tarzip.pm line 377. While removing the file '[=void.file_name=]' with unlink() the following error was encountered: [: checksum error at /usr/perl5.20.0/lib/5.20.0/CPAN/Tarzip.pm line 377. 145 path=Carrot-1.1.308/lib/Carrot/Individuality/Controlled/Localized_Messages/Universal./localized_: checksum error at /usr/perl5.20.0/lib/5.20.0/CPAN/Tarzip.pm line 377. The value '[=void.package=]' isn't a valid Perl package name. Example of a valid name: Fully::Qu: checksum error at /usr/perl5.20.0/lib/5.20.0/CPAN/Tarzip.pm line 377. 137 path=Carrot-1.1.308/lib/Carrot/Individuality/Controlled/Localized_Messages/Universal./localized_: checksum error at /usr/perl5.20.0/lib/5.20.0/CPAN/Tarzip.pm line 377. The OS signal '[=void.name=]' is not known to Perl.: checksum error at /usr/perl5.20.0/lib/5.20.0/CPAN/Tarzip.pm line 377. 135 path=Carrot-1.1.308/lib/Carrot/Individuality/Controlled/Localized_Messages/Universal./localized_: checksum error at /usr/perl5.20.0/lib/5.20.0/CPAN/Tarzip.pm line 377. [=void.subject=]: [=void.syscall=]: [=void.os_error=]: checksum error at /usr/perl5.20.0/lib/5.20.0/CPAN/Tarzip.pm line 377. The array index [=void.index=] is beyond the size of the array ([=void.size=]).: checksum error at /usr/perl5.20.0/lib/5.20.0/CPAN/Tarzip.pm line 377. The directory name '[=void.directory_name=]' was not found.: checksum error at /usr/perl5.20.0/lib/5.20.0/CPAN/Tarzip.pm line 377. 137 path=Carrot-1.1.308/lib/Carrot/Individuality/Controlled/Localized_Messages/Universal./localized_: checksum error at /usr/perl5.20.0/lib/5.20.0/CPAN/Tarzip.pm line 377. The package '%s' requests a message named '%s' but that could not be foundin the language(s) '%s': checksum error at /usr/perl5.20.0/lib/5.20.0/CPAN/Tarzip.pm line 377. ...
Subject: Re: [rt.cpan.org #98095] Tarball cannot be extracted with Archive::Tar
Date: Sun, 17 Aug 2014 14:58:08 +0200
To: bug-Carrot [...] rt.cpan.org
From: Winfried Trumper <wintru [...] cpan.org>
Thank you for your interest in Carrot and your effort to report a bug. I was able to reproduce the problem using a small script. As a consequence I used bsdtar to pack 1.1.309. Bsdtar is compatible with Archive::Tar. However, in case you are running Perl under Windows, take note that Carrot hasn't been tested on anything but Linux x86, yet. It depends on $ENV{'HOME'} and / as a file name separator. The global constant OS_FS_PATH_DELIMITER has been introduced some time ago, but isn't used in all places where file names are processed. Chances are that the current release of Carrot won't work under anything but Linux or Unix. The 1.1 series consists of alpha releases only. Regards -W.