<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 19, 2017 at 7:41 AM, Alexander Pyhalov <span dir="ltr"><<a href="mailto:alp@rsu.ru" target="_blank">alp@rsu.ru</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="gmail-">On 10/19/17 05:07 PM, Prakash Surya wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
​Hi,<br>
<br>
I'm trying to build illumos-gate on an OI system, but I'm seeing a couple<br>
odd things..<br>
<br>
First, I see the following when setting up the build environment, and prior<br>
to actually executing the nightly build:<br>
<br>
​pkg: http protocol error: Unknown error code: 404 reason: Not Found<br>
URL: '<br>
<a href="http://pkg.openindiana.org/hipster/openindiana.org/manifest/0/SUNWcs@0.5.11%2C5.11-2017.0.0.16364%3A20170426T062352Z" rel="noreferrer" target="_blank">http://pkg.openindiana.org/hip<wbr>ster/openindiana.org/manifest/<wbr>0/SUNWcs@0.5.11%2C5.11-2017.0.<wbr>0.16364%3A20170426T062352Z</a>'<br>
(happened 4 times)<br>
<br>
Second, I later see the following as part of the nightly build's output:<br>
<br>
dmake: Warning: Command failed for target<br>
`packages.i386/system-library-<wbr>math-header-math.dep'<br>
dmake: Warning: Target `install' not remade because of errors<br>
<br>
Here's a link to an example of this:<br>
<a href="http://jenkins.open-zfs.org/blue/rest/organizations/jenkins/pipelines/openzfs/openzfs/branches/PR-480/runs/1/nodes/102/log/" rel="noreferrer" target="_blank">http://jenkins.open-zfs.org/bl<wbr>ue/rest/organizations/jenkins/<wbr>pipelines/openzfs/openzfs/<wbr>branches/PR-480/runs/1/nodes/<wbr>102/log/</a><br>
<br>
Does anybody know what might be going on? I haven't spent any time trying<br>
to root cause this yet, but before I did, I wanted to see if somebody could<br>
give me some pointers first.<br>
</blockquote>
<br>
<br></span>
Hi.<br>
What is your instance setup script?<br></blockquote><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">​</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">The script used to do the build is here:<br><br><a href="https://github.com/openzfs/openzfs/blob/master/jenkins/sh/nightly-build/nightly-build.sh">https://github.com/openzfs/openzfs/blob/master/jenkins/sh/nightly-build/nightly-build.sh</a><br><br>It mostly a wrapper to configure the illumos.sh environment file, prior to starting the build.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">​</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
A lot of old packages were wiped out from repository recently, so you'd likely want to do pkg refresh && pkg update && reboot before installing new packages. At least pkg refresh.<br>
Really, there'll likely be 2 issues:<br>
1) repository index on the instance is outdated,<br>
2) older packages are not in the repo.</blockquote><div><br></div><div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">​Thanks, you're probably right.<br><br>This was hit when running on an EC2 AMI created about 6-9 months ago, and I ​don't think we do a "pkg refresh" nor "update" prior to installing "build-essential" and doing the build.</div></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">I'll try out your suggestions and report back.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Thanks for the help!</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><span style="font-family:arial,sans-serif"> </span><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="gmail-HOEnZb"><font color="#888888"><br>
-- <br>
Best regards,<br>
Alexander Pyhalov,<br>
system administrator of Southern Federal University IT department<br>
</font></span></blockquote></div><br></div></div>