Control: tags -1 confirmed

On Mon 22 Jan 2024 09:22:49 AM -05, Matthias Klose <d...@debian.org> wrote:
Package: src:macaulay2
Version: 1.22+ds-5
Severity: serious
Tags: sid trixie ftbfs
User: debian-pyt...@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");
      |                                    ^~~~~~~~~~~~~~~~

Thanks for the report!

This was fixed upstream a while back [1].  Since the next release isn't 
expected for a month or so, I'll backport the fix soon.

Doug

[1] https://github.com/Macaulay2/M2/pull/2979

Attachment: signature.asc
Description: PGP signature

Reply via email to