[Pkg-pascal-devel] Castle Game Engine 7.0-alpha.1 release, view3dscene 4.0.0

Michalis Kamburelis michalis.kambi at gmail.com
Sat May 1 20:52:09 BST 2021


Hm, looks like something tries to process

    debian/fp-units-castle-game-engine/usr/share/castle-engine/android/integrated-services/freetype/app/src/main/jni/arm64-v8a/libfreetype.so

    debian/fp-units-castle-game-engine/usr/share/castle-engine/android/integrated-services/freetype/app/src/main/jni/armeabi-v7a/libfreetype.so

which are binary files, dynamic libraries for Arm 64-bit and Arm
32-bit, distributed to make it easy to build Android applications with
freetype with CGE.

I don't think Debian processing should touch these so files at all.
They should not require stripping or any other processing, they are
ready for distribution on Android. When building for non-Android, they
don't matter at all.

Regards,
Michalis

sob., 1 maj 2021 o 19:48 Abou Al Montacir <abou.almontacir at sfr.fr> napisał(a):
>
> Hi Michalis,
>
> On Mon, 2021-04-12 at 02:16 +0200, Michalis Kamburelis wrote:
>
> ...
>
>
> However a new error spotted. There is a ./tests/code/common/castleconsoletestrunner.pas but it does not find it.
>
> ...
>
> Although I would suggest to go with more involved, but more "reliable"
>
> in long-term fix: instead of hardcoding the FPC call in Debian script,
>
> just compile the test suite in the same way that CGE developers (and
>
> Jenkins) do it. To do this, you first need to have our "build tool"
>
> (binary "castle-engine") compiled and then you can compile the
>
> testsuite simply by:
>
>
>     cd tests/ && castle-engine --mode=debug compile
>
>
> The advantage of this method is that I guarantee it will work more
>
> long-term, as the build tool will use search paths from
>
> tests/CastleEngineManifest.xml , and generally this is the way
>
> testsuite is compiled by CGE developers manually or by our Jenkins.
>
> ...
> I've tried this in https://salsa.debian.org/pascal-team/castle-game-engine/-/commit/adddb35a3fb735426cea931b053a0037c0f72e9f
> However I still have some issues.
>
>    debian/rules override_dh_compress-indep
>
> make[1]: Entering directory '/build/castle-game-engine-7.0-alpha.1'
>
> dh_compress -X.pdf
>
> make[1]: Leaving directory '/build/castle-game-engine-7.0-alpha.1'
>
>    dh_compress -Ncastle-game-engine-doc -Ncastle-game-engine-src
>
>    dh_fixperms
>
>    dh_missing
>
>    dh_dwz -a
>
> dwz: debian/fp-units-castle-game-engine/usr/bin/castle-curves: .debug_info section not present
>
> dwz: debian/fp-units-castle-game-engine/usr/bin/castle-engine: .debug_info section not present
>
> dwz: debian/fp-units-castle-game-engine/usr/bin/image-to-pascal: .debug_info section not present
>
> dwz: debian/fp-units-castle-game-engine/usr/bin/texture-font-to-pascal: .debug_info section not present
>
> dwz: debian/fp-units-castle-game-engine/usr/bin/to-data-uri: .debug_info section not present
>
> 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
>
> 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
>
> dwz: Too few files for multifile optimization
>
> dh_dwz: warning: No dwz multifile created, but not explicitly requested either so ignoring it.
>
> dh_dwz: warning: Common issues include no debug information at all (missing -g) and
>
> dh_dwz: warning: compressed debug information (#931891).
>
>    dh_strip -a
>
> 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'
>
> 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
>
> dh_strip: error: Aborting due to earlier error
>
> make: *** [debian/rules:52: binary] Error 25
>
> dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
>
> I: copying local configuration
>
> E: Failed autobuilding of package
>
>
> Can you please advise if I can strip this from sources?
>
> --
>
> Cheers,
> Abou Al Montacir
>
> _______________________________________________
> Pkg-pascal-devel mailing list
> Pkg-pascal-devel at alioth-lists.debian.net
> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-pascal-devel



More information about the Pkg-pascal-devel mailing list