<html dir="ltr"><head></head><body style="text-align:left; direction:ltr;" bgcolor="#ffffff" text="#2e3436" link="#1b6acb" vlink="#2e3436"><div>Hi Michalis,</div><div><br></div><div><span><pre><pre>On Mon, 2021-04-12 at 02:16 +0200, Michalis Kamburelis wrote:</pre></pre></span></div><pre>...</pre><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><pre><br></pre><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><pre>However a new error spotted. There is a ./tests/code/common/castleconsoletestrunner.pas but it does not find it.</pre></blockquote><pre>...</pre><pre>Although I would suggest to go with more involved, but more "reliable"</pre><pre>in long-term fix: instead of hardcoding the FPC call in Debian script,</pre><pre>just compile the test suite in the same way that CGE developers (and</pre><pre>Jenkins) do it. To do this, you first need to have our "build tool"</pre><pre>(binary "castle-engine") compiled and then you can compile the</pre><pre>testsuite simply by:</pre><pre><br></pre><pre> cd tests/ && castle-engine --mode=debug compile</pre><pre><br></pre><pre>The advantage of this method is that I guarantee it will work more</pre><pre>long-term, as the build tool will use search paths from</pre><pre>tests/CastleEngineManifest.xml , and generally this is the way</pre><pre>testsuite is compiled by CGE developers manually or by our Jenkins.</pre></blockquote><div>...</div><div>I've tried this in <a href="https://salsa.debian.org/pascal-team/castle-game-engine/-/commit/adddb35a3fb735426cea931b053a0037c0f72e9f">https://salsa.debian.org/pascal-team/castle-game-engine/-/commit/adddb35a3fb735426cea931b053a0037c0f72e9f</a></div><div>However I still have some issues.</div><div><br></div><pre> debian/rules override_dh_compress-indep</pre><pre>make[1]: Entering directory '/build/castle-game-engine-7.0-alpha.1'</pre><pre>dh_compress -X.pdf</pre><pre>make[1]: Leaving directory '/build/castle-game-engine-7.0-alpha.1'</pre><pre> dh_compress -Ncastle-game-engine-doc -Ncastle-game-engine-src</pre><pre> dh_fixperms</pre><pre> dh_missing</pre><pre> dh_dwz -a</pre><pre>dwz: debian/fp-units-castle-game-engine/usr/bin/castle-curves: .debug_info section not present</pre><pre>dwz: debian/fp-units-castle-game-engine/usr/bin/castle-engine: .debug_info section not present</pre><pre>dwz: debian/fp-units-castle-game-engine/usr/bin/image-to-pascal: .debug_info section not present</pre><pre>dwz: debian/fp-units-castle-game-engine/usr/bin/texture-font-to-pascal: .debug_info section not present</pre><pre>dwz: debian/fp-units-castle-game-engine/usr/bin/to-data-uri: .debug_info section not present</pre><pre>dwz: debian/fp-units-castle-game-engine/usr/share/castle-engine/android/integrated-services/freetype/app/src/main/jni/arm64-v8a/libfreetype.so: .debug_info section not present</pre><pre>dwz: debian/fp-units-castle-game-engine/usr/share/castle-engine/android/integrated-services/freetype/app/src/main/jni/armeabi-v7a/libfreetype.so: .debug_info section not present</pre><pre>dwz: Too few files for multifile optimization</pre><pre>dh_dwz: warning: No dwz multifile created, but not explicitly requested either so ignoring it.</pre><pre>dh_dwz: warning: Common issues include no debug information at all (missing -g) and</pre><pre>dh_dwz: warning: compressed debug information (#931891).</pre><pre> dh_strip -a</pre><pre><font color="#ff0000">strip: Unable to recognise the format of the input file `debian/fp-units-castle-game-engine/usr/share/castle-engine/android/integrated-services/freetype/app/src/main/jni/armeabi-v7a/libfreetype.so'</font></pre><pre>dh_strip: error: strip --remove-section=.comment --remove-section=.note --strip-unneeded debian/fp-units-castle-game-engine/usr/share/castle-engine/android/integrated-services/freetype/app/src/main/jni/armeabi-v7a/libfreetype.so returned exit code 1</pre><pre>dh_strip: error: Aborting due to earlier error</pre><pre>make: *** [debian/rules:52: binary] Error 25</pre><pre>dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2</pre><pre>I: copying local configuration</pre><pre>E: Failed autobuilding of package</pre><div></div><pre><br></pre><div>Can you please advise if I can strip this from sources?</div><pre><div class="-x-evo-signature-wrapper" style="font-family: Cantarell; white-space: normal;"><span class="-x-evo-signature" id="1423923852.20958.6@karim"><pre><pre>-- <br></pre>Cheers,
Abou Al Montacir</pre></span></div></pre></body></html>