Hello community of Seekers. I have here not so much a question as an alert about a problem I found when trying to use perlbrew on a cygwin system. Sorry for cross-posting, but after about a week there's been no action on this issue discussion I started at GitHub and anyway I thought it a good idea to get this information into Perlmonks database for later searchers.

In brief this is an issue with Gnu tar. This otherwise excellent workhorse for developers and users has a *nix-oriented "feature" wherein it takes a colon as in C: in a pathname on cygwin (yes, cygwin uses Windows paths interchangably with native cygwin paths rooted at /) ... tar takes it to mean an external tape drive or similar device, not a local path, and dies.

Those who developed tar foresaw the issue and provided the switch --force-local to alter tar's behavior, and the patch I submitted at GitHub uses this to work around the issue.

Hey, Merry Happy to all, thanks for reading.

Dec 25, 2024 at 20:16 UTC

A just machine to make big decisions
Programmed by fellows (and gals) with compassion and vision
We'll be clean when their work is done
We'll be eternally free yes, and eternally young
Donald Fagen -> I.G.Y.
(Slightly modified for inclusiveness)


In reply to perlbrew, gnu tar, and Cygwin: sometimes breaks by Intrepid

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.