<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On 13 March 2015 at 18:54, Anthony Walter <span dir="ltr"><<a href="mailto:sysrpl@gmail.com" target="_blank">sysrpl@gmail.com</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"><div dir="ltr"><div class="gmail_extra">Okay, here is what was happening and I apologize for the confusion. </div><div class="gmail_extra"><br></div><div class="gmail_extra">Before the source files are updated each night, my script applies "changes.diff" the uploads the sources to an amazon s3 bucket (I pay for the bandwidth and avoid leaching from other peoples servers). Next the Linux install script downloads this file archive from an my amazon bucket, extracts it, and attempts to run "patch changes.diff". The problem being that the patch was already been applied the night before and as a consequence it fails. The install should still work same as normal, but the patch wouldn't have done anything.</div><div class="gmail_extra"><br></div><div class="gmail_extra">The fix, which has already been applied to the Linux setup script, is to not run patch on the extracted archive. You can validate this by re-running:</div><div class="gmail_extra"><br></div><div class="gmail_extra">curl -L <a href="http://www.getlazarus.org/download/?platform=linux" target="_blank">http://www.getlazarus.org/download/?platform=linux</a> -o setup.sh<br></div><div class="gmail_extra"><br></div><div class="gmail_extra">And examining the commented out patch command at line:</div><div class="gmail_extra"><br></div><div class="gmail_extra"><a href="https://github.com/sysrpl/Codebot.Setup/blob/master/linux/install.fpc-3.0.linux.sh#L251" target="_blank">https://github.com/sysrpl/Codebot.Setup/blob/master/linux/install.fpc-3.0.linux.sh#L251</a><br></div><div class="gmail_extra"><br></div><div class="gmail_extra">I believe this fixes the problem. Let me know if you have any further questions.</div></div>
<br clear="all"></blockquote><div><br></div><div>Bypassing the  patch commands enabled it to succeed.<br><br></div><div></div></div><br></div><div class="gmail_extra">The earlier success was on an x86_64  system and I am trying it now on a 32bit i686 system. The fpc-2.6.4.i386-linux.7z doesn't contain the ppc386 executable. It is actually a symlink to an executable in /home/delluser/fpctest/fpc-2.6.4/lib/fpc/2.6.4/ppc386. I replaced the whole package with an existing fpc 2.6.4 on my system before it was able to proceed. There are still some failures but I am looking into it.<br></div><div class="gmail_extra"><br>-- <br><div class="gmail_signature">Frank Church<br><br>=======================<br><a href="http://devblog.brahmancreations.com">http://devblog.brahmancreations.com</a></div>
</div></div>