• Bug#1061317: gemrb ftbfs with Python 3.12 as default

    From Matthias Klose@21:1/5 to All on Mon Jan 22 15:40:01 2024
    Package: src:gemrb
    Version: 0.9.0+dfsg-1
    Severity: serious
    Tags: sid trixie ftbfs
    User: debian-python@lists.debian.org
    Usertags: python3.12

    with python3-defaults from experimental:

    [...]
    [ 83%] Building CXX object gemrb/plugins/MVEPlayer/CMakeFiles/MVEPlayer.dir/mve_player.cpp.o
    cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/gemrb/plugins/MVEPlayer && /usr/bin/c++ -DHAVE_CONFIG_H -DMVEPlayer_EXPORTS -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu
    -I/<<PKGBUILDDIR>>/gemrb/includes -I/<<PKGBUILDDIR>>/gemrb/core -g -O2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/gemrb-0.9.0+dfsg-1build3 -Wdate-time -D_FORTIFY_SOURCE=3 -Wall -W -Wpointer-arith -pedantic -Wno-format-y2k -Wno-long-long -fsigned-char -fvisibility=hidden -Wimplicit-fallthrough=2 -std=gnu++11 -fPIC -MD -MT gemrb/plugins/MVEPlayer/CMakeFiles/MVEPlayer.dir/mve_player.cpp.o -MF CMakeFiles/MVEPlayer.dir/mve_player.cpp.o.d -o CMakeFiles/MVEPlayer.dir/mve_player.cpp.o -c /<<PKGBUILDDIR>>/gemrb/plugins/MVEPlayer/mve_player.cpp
    In file included from /<<PKGBUILDDIR>>/gemrb/core/System/VFS.h:33,
    from /<<PKGBUILDDIR>>/gemrb/core/Interface.h:46,
    from /<<PKGBUILDDIR>>/gemrb/plugins/GUIScript/PythonConversions.cpp:23: /<<PKGBUILDDIR>>/gemrb/includes/Predicates.h:36:25: warning:
    ‘template<class _Arg, class _Result> struct std::unary_function’ is deprecated [-Wdeprecated-declarations]
    36 | struct Predicate : std::unary_function<PT, bool> {
    | ^~~~~~~~~~~~~~
    In file included from /usr/include/c++/13/bits/refwrap.h:39,
    from /usr/include/c++/13/bits/shared_ptr_base.h:57,
    from /usr/include/c++/13/bits/shared_ptr.h:53,
    from /usr/include/c++/13/condition_variable:45,
    from /<<PKGBUILDDIR>>/gemrb/core/System/Logger.h:31,
    from /<<PKGBUILDDIR>>/gemrb/core/System/Logging.h:31,
    from /<<PKGBUILDDIR>>/gemrb/includes/Platform.h:56,
    from /<<PKGBUILDDIR>>/gemrb/includes/ie_types.h:31,
    from /<<PKGBUILDDIR>>/gemrb/core/System/String.h:23,
    from /<<PKGBUILDDIR>>/gemrb/core/Resource.h:31,
    from /<<PKGBUILDDIR>>/gemrb/core/ScriptEngine.h:25,
    from
    /<<PKGBUILDDIR>>/gemrb/plugins/GUIScript/GUIScript.h:43,
    from /<<PKGBUILDDIR>>/gemrb/plugins/GUIScript/PythonConversions.h:23,
    from /<<PKGBUILDDIR>>/gemrb/plugins/GUIScript/PythonConversions.cpp:19: /usr/include/c++/13/bits/stl_function.h:117:12: note: declared here
    117 | struct unary_function
    | ^~~~~~~~~~~~~~ /<<PKGBUILDDIR>>/gemrb/plugins/GUIScript/PythonConversions.cpp: In
    function ‘GemRB::PyStringWrapper GemRB::PyString_AsString(PyObject*)’: /<<PKGBUILDDIR>>/gemrb/plugins/GUIScript/PythonConversions.cpp:141:36:
    error: ‘PyUnicode_AS_DATA’ was not declared in this scope; did you mean ‘PyUnicode_DATA’?
    141 | wrap.str = PyUnicode_AS_DATA(obj);
    | ^~~~~~~~~~~~~~~~~
    | PyUnicode_DATA
    make[3]: ***
    [gemrb/plugins/GUIScript/CMakeFiles/GUIScript.dir/build.make:107: gemrb/plugins/GUIScript/CMakeFiles/GUIScript.dir/PythonConversions.cpp.o]
    Error 1

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to All on Thu Feb 22 08:40:02 2024
    Processing control commands:

    tag -1 pending
    Bug #1061317 [src:gemrb] gemrb ftbfs with Python 3.12 as default
    Added tag(s) pending.

    --
    1061317: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1061317
    Debian Bug Tracking System
    Contact owner@bugs.debian.org with problems

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Stephen Kitt@21:1/5 to All on Thu Feb 22 08:40:02 2024
    Control: tag -1 pending

    Hello,

    Bug #1061317 in gemrb reported by you has been fixed in the
    Git repository and is awaiting an upload. You can see the commit
    message below and you can check the diff of the fix at:

    https://salsa.debian.org/games-team/gemrb/-/commit/4948cd7d830c4d63f3df6a8b780c8702c3f0b44b

    ------------------------------------------------------------------------
    New upstream release

    Supports Python 3.12; closes: #1061317. ------------------------------------------------------------------------

    (this message was generated automatically)
    --
    Greetings

    https://bugs.debian.org/1061317

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to All on Wed Feb 28 13:30:02 2024
    This is a multi-part message in MIME format...

    Your message dated Wed, 28 Feb 2024 12:19:54 +0000
    with message-id <E1rfIug-005vlw-BF@fasolo.debian.org>
    and subject line Bug#1061317: fixed in gemrb 0.9.2+dfsg-1
    has caused the Debian Bug report #1061317,
    regarding gemrb ftbfs with Python 3.12 as default
    to be marked as done.

    This means that you claim that the problem has been dealt with.
    If this is not the case it is now your responsibility to reopen the
    Bug report if necessary, and/or fix the problem forthwith.

    (NB: If you are a system administrator and have no idea what this
    message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org
    immediately.)


    --
    1061317: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1061317
    Debian Bug Tracking System
    Contact owner@bugs.debian.org with problems

    Received: (at submit) by bugs.debian.org; 22 Jan 2024 14:30:56 +0000 X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
    (2021-04-09) on buxtehude.debian.org
    X-Spam-Level:
    X-Spam-Status: No, score=-12.8 required=4.0 tests=BAYES_00,
    BODY_INCLUDES_PACKAGE,FORGED_SPF_HELO,FROMDEVELOPER,FVGT_m_MULTI_ODD,
    HAS_PACKAGE,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,
    SPF_HELO_PASS,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham
    autolearn_force=no version=3.4.6-bugs.debian.org_2005_01_02 X-Spam-Bayes: score:0.0000 Tokens: new, 91; hammy, 150; neutral, 134; spammy,
    0. spammytokens: hammytokens:0.000-+--pkgbuilddir,
    0.000-+--PKGBUILDDIR, 0.000-+--H*F:U*doko, 0.000-+--trixie,
    0.000-+--fPIC
    Return-path: <doko@debian.org>
    Received: from einhorn.in-berlin.de ([192.109.42.8]:34845 helo=einhorn-mail-out.in-berlin.de)
    by buxtehude.debian