<html><head></head><body bgcolor="#ffffff" text="#2e3436" link="#2a76c6" vlink="#2e3436"><div>Hi Graham,</div><div><br></div><div>On Thu, 2018-08-23 at 15:33 +0200, Graham Inggs wrote:</div><blockquote type="cite"><pre>Hi Abou

On 17/08/2018 18:37, Graham Inggs wrote:
<blockquote type="cite">
Abou, do you have an opinion on whether this is a bug in lazarus, or
does the doublecmd packaging need to be fixed?
</blockquote></pre></blockquote><div>I just returned back from vacation, let me check this.</div><blockquote type="cite"><pre>

The same problem occurs in ddrescueview, reported in #906458.
</pre></blockquote><div>Seems strange</div><blockquote type="cite"><pre>
I found it was introduced by the changes to debian/rules in this commit 
'Stop adding manually compiled flag from packages' [1].
</pre></blockquote><div>That one was proposed to solve a lazarus IDE rebuild issue. I don't like it as I tend to think that units shall be compiled only once and not every time. However the way upstream sees Lazarus distribution is  the opposite. I don't see a better way to fix it.</div><blockquote type="cite"><pre>
Both doublecmd and ddrescueview build successfully if lazarus-src is 
added as a build-dependency.</pre></blockquote><div>This means that we are missing some PPU/LPK files to be distributed or maybe we are trying to recompile some units and missing some include files.</div><div>One needs to add -va and look carefully to the log file.</div><blockquote type="cite"><pre>  Is this change in behaviour intentional? 
</pre></blockquote><div>Somewhat as it was fixing bug#<span style="color: rgb(112, 112, 112); font-family: Menlo, "DejaVu Sans Mono", "Liberation Mono", Consolas, "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-size: 13px; -webkit-tap-highlight-color: rgba(0, 0, 0, 0);">898</span><span style="color: rgb(112, 112, 112); font-family: Menlo, "DejaVu Sans Mono", "Liberation Mono", Consolas, "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-size: 13px; -webkit-tap-highlight-color: rgba(0, 0, 0, 0);">310</span></div><blockquote type="cite"><pre>Should I make these changes to doublecmd and ddrescueview, or is this a 
bug in lazarus?
</pre></blockquote><div>Maybe we shall think more about this change. Removing the manually flag leads to a deeper question: Do we need to distribute LCL units in binary form if they will get recompiled anyway?</div><blockquote type="cite"><pre>
Regards
Graham


[1] 
<a href="https://salsa.debian.org/pascal-team/lazarus/commit/eb89bf37af1b42215811c132fdfc919f19126952">https://salsa.debian.org/pascal-team/lazarus/commit/eb89bf37af1b42215811c132fdfc919f19126952</a><br></pre></blockquote><div><br></div><div><pre><pre>-- <br></pre>Cheers,
Abou Al Montacir</pre></div></body></html>