• Bug#1061313: macaulay2 ftbfs with Python 3.12 as the default

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

    with python3-defaults from experimental:

    [...]
    gcc -std=gnu11 -g -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security
    -fcf-protection -fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/macaulay2-1.22+ds-5build1
    -g3 -O2 -Wno-unused -pipe -Wall -Wno-shadow -Wcast-qual
    -Wno-sign-conversion -Wno-sign-compare -Wno-parentheses
    -Wno-sign-compare -Wuninitialized -Wframe-address -Wstrict-aliasing -Wfatal-errors -Wimplicit-function-declaration -Wno-unused-label
    -Wreturn-type -Wunused-function -Wfatal-errors -I. -I. -I./../e
    -I./../system -I./../../include -I./../c -I/<<PKGBUILDDIR>>/M2/include -I/<<PKGBUILDDIR>>/M2/include -I/<<PKGBUILDDIR>>/M2/usr-host/include -I/<<PKGBUILDDIR>>/M2/include -I/<<PKGBUILDDIR>>/M2/include -I/<<PKGBUILDDIR>>/M2/usr-host/include -I/<<PKGBUILDDIR>>/M2/include -I/<<PKGBUILDDIR>>/M2/include -I/<<PKGBUILDDIR>>/M2/usr-host/include -Wdate-time -D_FORTIFY_SOURCE=3 -isystem /usr/include/libxml2 -I/usr/include/x86_64-linux-gnu/singular -I/usr/include/singular
    -DSING_NDEBUG -DOM_NDEBUG -I/usr/src/gtest -Wdate-time
    -D_FORTIFY_SOURCE=3 -DNDEBUG -I/usr/include/cddlib -I/usr/include/cdd -I/usr/include/eigen3 -I/usr/include/python3.12 -I/usr/include -DBOOST_STACKTRACE_LINK -isystem /usr/include/libxml2 -I/usr/include/x86_64-linux-gnu/singular -I/usr/include/singular
    -DSING_NDEBUG -DOM_NDEBUG -I/usr/src/gtest -Wdate-time
    -D_FORTIFY_SOURCE=3 -DNDEBUG -I/usr/include/cddlib -I/usr/include/cdd -I/usr/include/eigen3 -I/usr/include/python3.12 -I/usr/include -DBOOST_STACKTRACE_LINK -isystem /usr/include/libxml2 -I/usr/include/x86_64-linux-gnu/singular -I/usr/include/singular
    -DSING_NDEBUG -DOM_NDEBUG -I/usr/src/gtest -Wdate-time
    -D_FORTIFY_SOURCE=3 -DNDEBUG -I/usr/include/cddlib -I/usr/include/cdd -I/usr/include/eigen3 -I/usr/include/python3.12 -I/usr/include -DBOOST_STACKTRACE_LINK -DNDEBUG -Wno-unknown-pragmas -c
    -Wno-unused-value -Wno-unused-but-set-variable -Wno-maybe-uninitialized util-tmp.c -o util.o
    util.d: In function ‘util_getSequenceOfPairsOfSmallIntegers_1’: util.d:52:12: warning: array subscript ‘struct M2_arrayint_struct[0]’ is partly outside array bounds of ‘unsigned char[4]’ [-Warray-bounds=]
    52 | is x:Sequence do getSequenceOfPairsOfSmallIntegers(x)
    | ^~
    In file included from ./../../include/M2/gc-include.h:44,
    from util-exports.h:6,
    from util-tmp.c:1:
    util.d:52:29: note: object of size 4 allocated by ‘GC_malloc_atomic’
    52 | is x:Sequence do getSequenceOfPairsOfSmallIntegers(x)
    | ^~~~~~~~~~~~~~~~
    util.d: In function ‘util_getSequenceOfSmallIntegers_1’:
    util.d:102:19: warning: array subscript ‘struct M2_arrayint_struct[0]’
    is partly outside array bounds of ‘unsigned char[4]’ [-Warray-bounds=]
    102 | anywhereAbort("internal error: getSequenceOfSmallIntegers.");
    | ^~
    util.d:102:36: note: object of size 4 allocated by ‘GC_malloc_atomic’
    102 | anywhereAbort("internal error: getSequenceOfSmallIntegers.");
    | ^~~~~~~~~~~~~~~~
    util.d: In function ‘util_getNullOrSequenceOfSmallIntegers’:
    util.d:110:19: warning: array subscript ‘struct M2_arrayint_struct[0]’
    is partly outside array bounds of ‘unsigned char[4]’ [-Warray-bounds=]
    110 | anywhereAbort("internal error: getSequenceOfSmallIntegers.");
    | ^~
    util.d:110:36: note: object of size 4 allocated by ‘GC_malloc_atomic’
    110 | anywhereAbort("internal error: getSequenceOfSmallIntegers.");
    | ^~~~~~~~~~~~~~~~
    util.d: In function ‘util_getSequenceOfStrings’:
    util.d:120:12: warning: array subscript ‘struct
    M2_ArrayString_struct[0]’ is partly outside array bounds of ‘unsigned char[8]’ [-Warray-bounds=]
    120 | new array(string) len length(s) do (
    | ^~
    util.d:120:32: note: object of size 8 allocated by ‘GC_malloc’
    120 | new array(string) len length(s) do (
    | ^~~~~~~~~
    util.d: In function ‘util_getSequenceOfRingElements’:
    util.d:151:12: warning: array subscript ‘struct engine_RawRingElementArray_struct[0]’ is partly outside array bounds of ‘unsigned char[8]’ [-Warray-bounds=]
    151 | is a:RawRingElementCell do RawRingElementArray(a.p)
    | ^~
    util.d:151:44: note: object of size 8 allocated by ‘GC_malloc’
    151 | is a:RawRingElementCell do RawRingElementArray(a.p)
    | ^~~~~~~~~
    util.d: In function ‘util_getSequenceOfMatrices’:
    util.d:170:13: warning: array subscript ‘struct engine_RawMatrixArray_struct[0]’ is partly outside array bounds of ‘unsigned char[8]’ [-Warray-bounds=]
    170 | is a:RawMatrixCell do RawMatrixArray(a.p)
    | ^~
    util.d:170:40: note: object of size 8 allocated by ‘GC_malloc’
    170 | is a:RawMatrixCell do RawMatrixArray(a.p)
    | ^~~~~~~
    util.d: In function ‘util_getSequenceOfMutableMatrices’:
    util.d:187:13: warning: array subscript ‘struct engine_RawMutableMatrixArray_struct[0]’ is partly outside array bounds
    of ‘unsigned char[8]’ [-Warray-bounds=]
    187 | is a:RawMutableMatrixCell do RawMutableMatrixArray(a.p)
    | ^~
    util.d:187:47: note: object of size 8 allocated by ‘GC_malloc’
    187 | is a:RawMutableMatrixCell do RawMutableMatrixArray(a.p)
    | ^~~~~~~~~ /<<PKGBUILDDIR>>/M2/Macaulay2/c/scc1 -O struct.d
    test -e struct-exports.h && cmp -s struct-exports.h.tmp struct-exports.h
    || cp struct-exports.h.tmp struct-exports.h
    test -e struct-exports.h && cmp -s struct-exports.h.tmp struct-exports.h
    || cp struct-exports.h.tmp struct-exports.h
    gcc -std=gnu11 -g -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security
    -fcf-protection -fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/macaulay2-1.22+ds-5build1
    -g3 -O2 -Wno-unused -pipe -Wall -Wno-shadow -Wcast-qual
    -Wno-sign-conversion -Wno-sign-compare -Wno-parentheses
    -Wno-sign-compare -Wuninitialized -Wframe-address -Wstrict-aliasing -Wfatal-errors -Wimplicit-function-declaration -Wno-unused-label
    -Wreturn-type -Wunused-function -Wfatal-errors -I. -I. -I./../e
    -I./../system -I./../../include -I./../c -I/<<PKGBUILDDIR>>/M2/include -I/<<PKGBUILDDIR>>/M2/include -I/<<PKGBUILDDIR>>/M2/usr-host/include -I/<<PKGBUILDDIR>>/M2/include -I/<<PKGBUILDDIR>>/M2/include -I/<<PKGBUILDDIR>>/M2/usr-host/include -I/<<PKGBUILDDIR>>/M2/include -I/<<PKGBUILDDIR>>/M2/include -I/<<PKGBUILDDIR>>/M2/usr-host/include -Wdate-time -D_FORTIFY_SOURCE=3 -isystem /usr/include/libxml2 -I/usr/include/x86_64-linux-gnu/singular -I/usr/include/singular
    -DSING_NDEBUG -DOM_NDEBUG -I/usr/src/gtest -Wdate-time
    -D_FORTIFY_SOURCE=3 -DNDEBUG -I/usr/include/cddlib -I/usr/include/cdd -I/usr/include/eigen3 -I/usr/include/python3.12 -I/usr/include -DBOOST_STACKTRACE_LINK -isystem /usr/include/libxml2 -I/usr/include/x86_64-linux-gnu/singular -I/usr/include/singular
    -DSING_NDEBUG -DOM_NDEBUG -I/usr/src/gtest -Wdate-time
    -D_FORTIFY_SOURCE=3 -DNDEBUG -I/usr/include/cddlib -I/usr/include/cdd -I/usr/include/eigen3 -I/usr/include/python3.12 -I/usr/include -DBOOST_STACKTRACE_LINK -isystem /usr/include/libxml2 -I/usr/include/x86_64-linux-gnu/singular -I/usr/include/singular
    -DSING_NDEBUG -DOM_NDEBUG -I/usr/src/gtest -Wdate-time
    -D_FORTIFY_SOURCE=3 -DNDEBUG -I/usr/include/cddlib -I/usr/include/cdd -I/usr/include/eigen3 -I/usr/include/python3.12 -I/usr/include -DBOOST_STACKTRACE_LINK -DNDEBUG -Wno-unknown-pragmas -c
    -Wno-unused-value -Wno-unused-but-set-variable -Wno-maybe-uninitialized struct-tmp.c -o struct.o
    struct.d: In function ‘struct_toIntArray_1’:
    struct.d:102:19: warning: array subscript ‘struct M2_arrayint_struct[0]’
    is partly outside array bounds of ‘unsigned char[4]’ [-Warray-bounds=]
    102 | fatal("internal error: toIntArray expected an array
    of ints");
    | ^~
    In file included from ./../../include/M2/gc-include.h:44,
    from struct-exports.h:6,
    from struct-tmp.c:1:
    struct.d:102:36: note: object of size 4 allocated by ‘GC_malloc_atomic’
    102 | fatal("internal error: toIntArray expected an array
    of ints");
    | ^~~~~~~~~~~~~~~~

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to All on Mon Jan 22 16:10:01 2024
    Processing control commands:

    tags -1 confirmed
    Bug #1061313 [src:macaulay2] macaulay2 ftbfs with Python 3.12 as the default Added tag(s) confirmed.

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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to All on Mon Jan 22 17:10:01 2024
    This is a multi-part message in MIME format...

    Your message dated Mon, 22 Jan 2024 16:07:18 +0000
    with message-id <E1rRwpS-006cLB-0K@fasolo.debian.org>
    and subject line Bug#1061313: fixed in macaulay2 1.22+ds-6
    has caused the Debian Bug report #1061313,
    regarding macaulay2 ftbfs with Python 3.12 as the 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.)


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

    Received: (at submit) by bugs.debian.org; 22 Jan 2024 14:22:52 +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,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, 65; hammy, 150; neutral, 140; spammy,
    0. spammytokens: hammytokens:0.000-+--pkgbuilddir,
    0.000-+--PKGBUILDDIR, 0.000-+--H*F:U*doko, 0.000-+--trixie,
    0.000-+--H*RU:sk:einhorn
    Return-path: <doko@debian.org>
    Received: from einhorn.in-berlin.de ([192.109.42.8]:52755 helo=einhorn-mail-out.in-berlin.de)
    by buxtehude.debian.org w