<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;
        font-weight:normal;
        font-style:normal;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:12.0pt">Hello,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt">I am using the new version Shipwright (2.4.40) on CentOS 6.5 with a GIT repository as my back end store. I am using the following commands to export the repository:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt">RT_VERSION="4.2.9"<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt">export SHIP_BASE="/opt/rt_build/rt${RT_VERSION}_vessel/shipwright/"<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt">export REPO=/opt/rt_build/rt${RT_VERSION}_vessel/shipwright/repo/rt${RT_VERSION}.git<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt">cd $REPO<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt">git archive --format=tar --prefix=yard/ HEAD | (cd $SHIP_BASE && tar xf -)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt">This creates a shipwright area at /opt/rt_build/rt4.2.9_vessel/shipwright/yard  with no issues. However, when I attempt to issue the shipwright builder command I get the following errors:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt">+ RT_VERSION=4.2.9<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt">+ rm -Rf /opt/rt_build/rt4.2.9_vessel/shipwright/vessel<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt">+ mkdir /opt/rt_build/rt4.2.9_vessel/shipwright/vessel<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt">+ cd /opt/rt_build/rt4.2.9_vessel/shipwright/yard<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt">+ ./bin/shipwright-builder --verbose --flags mysql --install-base ../vessel<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt">Unknown PerlIO layer "encoding" at inc/YAML/Tiny.pm line 184.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt">flock() on closed filehandle $fh at inc/YAML/Tiny.pm line 191.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt">Couldn't lock 'shipwright/order.yml' for reading: Bad file descriptor at inc/YAML/Tiny.pm line 191.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt">readline() on closed filehandle $fh at inc/YAML/Tiny.pm line 199.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt">I would appreciate any help or direction on this issue, thanks in advance, Sam<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt"><o:p> </o:p></span></p>
</div>
</body>
</html>