Skip Menu |

This queue is for tickets about the Archive-Tar CPAN distribution.

Report information
The Basics
Id: 101642
Status: new
Priority: 0/
Queue: Archive-Tar

Owner: Nobody in particular
Requestors: buttafoo [...]

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

X-Originalarrivaltime: 20 Jan 2015 22:58:21.0041 (UTC) FILETIME=[963C2610:01D03504]
MIME-Version: 1.0
X-Spam-Status: No, score=0.791 tagged_above=-99.9 required=10 tests=[BAYES_00=-1.9, DNS_FROM_AHBL_RHSBL=2.699, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, T_RP_MATCHES_RCVD=-0.01] autolearn=no
X-Spam-Flag: NO
X-Virus-Checked: Checked
Importance: Normal
Content-Type: multipart/mixed; boundary="_52ae547a-54ef-4a74-a4cf-713dd05a3712_"
Message-ID: <SNT151-W3E9E45647F9BC596C6235DF4B0 [...] phx.gbl>
X-Virus-Scanned: Debian amavisd-new at
X-Spam-Score: 0.791
Received: from localhost (localhost []) by (Postfix) with ESMTP id 81DB82404AD for <cpan-bug+archive-tar [...]>; Tue, 20 Jan 2015 17:58:32 -0500 (EST)
Received: from ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id CWM757IMAKrp for <cpan-bug+archive-tar [...]>; Tue, 20 Jan 2015 17:58:27 -0500 (EST)
Received: from ( []) by (Postfix) with SMTP id 64059240493 for <bug-archive-tar [...]>; Tue, 20 Jan 2015 17:58:27 -0500 (EST)
Received: (qmail 4095 invoked by alias); 20 Jan 2015 22:58:27 -0000
Received: from (HELO ( by (qpsmtpd/0.28) with ESMTP; Tue, 20 Jan 2015 14:58:25 -0800
Received: from SNT151-W3 ([]) by over TLS secured channel with Microsoft SMTPSVC(7.5.7601.22751); Tue, 20 Jan 2015 14:58:21 -0800
Delivered-To: cpan-bug+archive-tar [...]
Subject: Hardlink creation called with relative path
Return-Path: <buttafoo [...]>
X-RT-Mail-Extension: archive-tar
X-Original-To: cpan-bug+archive-tar [...]
X-Originating-Email: [buttafoo [...]]
Date: Tue, 20 Jan 2015 22:58:20 +0000
X-TMN: [pSvseLik2xMyaDPOAmBZ1tbPnwk/At7r]
To: "bug-Archive-Tar [...]" <bug-archive-tar [...]>
From: Robert Powers <buttafoo [...]>
X-RT-Interface: Email
Content-Length: 0
Content-Type: multipart/alternative; boundary="_2762b559-1c75-468f-8e38-868042988794_"
Content-Length: 0
content-type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
X-RT-Original-Encoding: iso-8859-1
Content-Length: 1624
Download (untitled) / with headers
text/plain 1.5k
Archive::Tar version: 2.04 Perl version: v5.18.2 - built for darwin-thread-multi-2level (Mac OS 10.10) When creating a hardlink and setting $tar->setcwd() but staying in the current working directory, hardlinks fail to be created. I've attached a script to illustrate ( I added a few print statements to Archive::Tar and it's calling link() like this (note the relative directory in the first argument): link("untar_bug2/my/path/file.txt", "/tmp/untar_dir2/untar_bug2/my/path/OneMoreSub/file.txt") in the invoking directory (~/src), not the tar directory (/tmp/untar_bug2) if I print $! I get: No such file or directory. ERROR: Making hard link from 'untar_bug2/my/path/file.txt' to '/tmp/untar_dir2/untar_bug2/my/path/OneMoreSub/file.txt' failed at /Library/Perl/5.18/Archive/ line 953. Archive::Tar::_make_special_file(Archive::Tar=HASH(0x7f94488060e8), Archive::Tar::File=HASH(0x7f9449a57498), "/tmp/untar_dir2/untar_bug2/my/path/OneMoreSub/file.txt") called at /Library/Perl/5.18/Archive/ line 871 Archive::Tar::_extract_file(Archive::Tar=HASH(0x7f94488060e8), Archive::Tar::File=HASH(0x7f9449a57498)) called at /Library/Perl/5.18/Archive/ line 535 Archive::Tar::_read_tar(Archive::Tar=HASH(0x7f94488060e8), IO::Zlib=GLOB(0x7f9449345b58), HASH(0x7f9449345690)) called at /Library/Perl/5.18/Archive/ line 217 Archive::Tar::read(Archive::Tar=HASH(0x7f94488060e8), "/tmp/untar_bug2.tar.gz", 1, HASH(0x7f9449345690)) called at /Users/ropo/src/ line 28 main::untar_tar() called at /Users/ropo/src/ line 15
content-type: text/html; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
X-RT-Original-Encoding: iso-8859-1
Content-Length: 2022
content-type: text/plain; charset="utf-8"
Content-Disposition: attachment; filename=""
Content-Transfer-Encoding: base64
X-RT-Original-Encoding: ascii
Content-Length: 1158
text/x-perl 1.1k

Message body is not shown because sender requested not to inline it.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to