Your message dated Wed, 28 Aug 2024 16:49:05 +0000
with message-id <[email protected]>
and subject line Bug#1077528: fixed in getfem 5.4.2+dfsg1-5
has caused the Debian Bug report #1077528,
regarding getfem: FTBFS: getfem_python_c.c:142:5: error: initialization of 
‘PyAsyncMethods *’ from incompatible pointer type ‘int (*)(PyGetfemObject *, 
PyGetfemObject *)’ [-Wincompatible-pointer-types]
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 [email protected]
immediately.)


-- 
1077528: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1077528
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: getfem
Version: 5.4.2+dfsg1-4
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: [email protected]
Usertags: ftbfs-20240728 ftbfs-trixie

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> make[5]: Entering directory '/<<PKGBUILDDIR>>/interface/src/python'
> cp ./getfem_python.c getfem_python_c.c
> ../../../bin/extract_doc ./.. python-com > getfem.py || ( rm getfem.py ; 
> /bin/false )
> touch _getfem.cpython-312-x86_64-linux-gnu.so && rm 
> _getfem.cpython-312-x86_64-linux-gnu.so
> ARCHFLAGS="" CC="gcc" CFLAGS="-Wall -g -O2 
> -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -fstack-clash-protection -Wformat 
> -Werror=format-security -fcf-protection -O3 -fPIC" /usr/bin/python3 setup.py 
> -v build  --build-temp . --build-base . --build-lib . --force
> getfem_python_c.c:142:5: error: initialization of ‘PyAsyncMethods *’ from 
> incompatible pointer type ‘int (*)(PyGetfemObject *, PyGetfemObject *)’ 
> [-Wincompatible-pointer-types]
>   142 |     GetfemObject_compare,              /* tp_compare, necessary for 
> dictionary*/
>       |     ^~~~~~~~~~~~~~~~~~~~
> getfem_python_c.c:142:5: note: (near initialization for 
> ‘PyGetfemObject_Type.tp_as_async’)
> getfem_python_c.c: In function ‘PyObject_to_gfi_array’:
> getfem_python_c.c:38:30: warning: initialization discards ‘const’ qualifier 
> from pointer target type [-Wdiscarded-qualifiers]
>    38 | #define PyString_AsString(o) PyUnicode_AsUTF8(o)
>       |                              ^~~~~~~~~~~~~~~~
> getfem_python_c.c:345:15: note: in expansion of macro ‘PyString_AsString’
>   345 |     char *s = PyString_AsString(o);
>       |               ^~~~~~~~~~~~~~~~~
> getfem_python_c.c:476:17: warning: comparison of integer expressions of 
> different signedness: ‘int’ and ‘u_int’ {aka ‘unsigned int’} [-Wsign-compare]
>   476 |     for (i=0; i < t->dim.dim_len; ++i)
>       |                 ^
> getfem_python_c.c:493:17: warning: comparison of integer expressions of 
> different signedness: ‘int’ and ‘u_int’ {aka ‘unsigned int’} [-Wsign-compare]
>   493 |     for (i=0; i < TGFISTORE(cell,len); ++i) {
>       |                 ^
> getfem_python_c.c: In function ‘PyGetfemObject_FromObjId’:
> getfem_python_c.c:535:5: warning: ‘PyEval_CallObjectWithKeywords’ is 
> deprecated [-Wdeprecated-declarations]
>   535 |     o = PyEval_CallObject(python_factory, arg);
>       |     ^
> In file included from /usr/include/python3.12/Python.h:95,
>                  from getfem_python_c.c:27:
> /usr/include/python3.12/ceval.h:27:43: note: declared here
>    27 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) 
> PyEval_CallObjectWithKeywords(
>       |                                           
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> getfem_python_c.c: In function ‘build_gfi_array_list’:
> getfem_python_c.c:554:19: warning: assignment discards ‘const’ qualifier from 
> pointer target type [-Wdiscarded-qualifiers]
>   554 |   *pfunction_name = PyString_AsString(PyTuple_GET_ITEM(tuple,0));
>       |                   ^
> getfem_python_c.c: In function ‘gfi_array_to_PyObject’:
> getfem_python_c.c:580:18: warning: comparison of integer expressions of 
> different signedness: ‘int’ and ‘u_int’ {aka ‘unsigned int’} [-Wsign-compare]
>   580 |       for(i=0; i < t->dim.dim_len; i++)
>       |                  ^
> getfem_python_c.c:599:19: warning: comparison of integer expressions of 
> different signedness: ‘int’ and ‘u_int’ {aka ‘unsigned int’} [-Wsign-compare]
>   599 |         for(i=0; i< t->dim.dim_len; i++)
>       |                   ^
> getfem_python_c.c:612:19: warning: comparison of integer expressions of 
> different signedness: ‘int’ and ‘u_int’ {aka ‘unsigned int’} [-Wsign-compare]
>   612 |         for(i=0; i< t->dim.dim_len; i++)
>       |                   ^
> error: command '/usr/bin/gcc' failed with exit code 1
> make[5]: *** [Makefile:677: _getfem.cpython-312-x86_64-linux-gnu.so] Error 1


The full build log is available from:
http://qa-logs.debian.net/2024/07/28/getfem_5.4.2+dfsg1-4_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240728;[email protected]
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240728&[email protected]&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

--- End Message ---
--- Begin Message ---
Source: getfem
Source-Version: 5.4.2+dfsg1-5
Done: Francesco Ballarin <[email protected]>

We believe that the bug you reported is fixed in the latest version of
getfem, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Francesco Ballarin <[email protected]> (supplier of updated getfem 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 28 Aug 2024 12:39:58 +0000
Source: getfem
Architecture: source
Version: 5.4.2+dfsg1-5
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Team 
<[email protected]>
Changed-By: Francesco Ballarin <[email protected]>
Closes: 1077528
Changes:
 getfem (5.4.2+dfsg1-5) unstable; urgency=medium
 .
   * Team upload.
   * Add 10_fix_getfem_python_for_gcc14.patch to fix FTBFS issue with GCC 14.
     The patch contains the diff for interface/src/python/getfem_python.c
     in several commits that have happened from the 5.4.2 release up to upstream
     commit b79b768052. Closes: #1077528.
   * Squash trailing whitespace in debian/changelog and debian/rules.
Checksums-Sha1:
 5d6b6de7d1af369e0453795bf5153f607be2dc39 2709 getfem_5.4.2+dfsg1-5.dsc
 5be86db084e4094c49ec4310d628c94c1a25eb57 16800 
getfem_5.4.2+dfsg1-5.debian.tar.xz
 f1d160f8422d774daa905a92ebcfdef5a36f13d1 9829 
getfem_5.4.2+dfsg1-5_source.buildinfo
Checksums-Sha256:
 e10e3ae3a63c38019aa22abdae0ee1052e89efbef3ba30a8f0f706960fc7db10 2709 
getfem_5.4.2+dfsg1-5.dsc
 95652990e5ff8827a59b5a4d466b8e899b55a141e27e25944d52e9ca39b45030 16800 
getfem_5.4.2+dfsg1-5.debian.tar.xz
 9e0a9536dd9dbcec1de4a7fa3ac6220b3cfdd56abacbac9c37f158d77c6c00c4 9829 
getfem_5.4.2+dfsg1-5_source.buildinfo
Files:
 476f416a084f7d9c6944626935b805bc 2709 libs optional getfem_5.4.2+dfsg1-5.dsc
 245204d2bf1be32004f61d8dc5b32f4b 16800 libs optional 
getfem_5.4.2+dfsg1-5.debian.tar.xz
 0c24d0831ee5cca7144ada6e43b9b2f8 9829 libs optional 
getfem_5.4.2+dfsg1-5_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEG10EseUHu/A2aeK4AfNfwz5zr4wFAmbPUSgACgkQAfNfwz5z
r4yhJRAAn50UNcLooXI3iWnV7Gr382hKjehN2UfIJqadRQTha1DsI9+t4JY++fB1
7fWEZTtUOFi2+cOQsSwQo5i8Knw02zwlco0fBmqNQeVhj8DKo0YUUzCu2oA0fdeN
BVQefvh9NI5+PABnSVWgkVh4rbg39SRXX4VVwOBjdatGpsiY6qu5yaETsEeuU5ab
b4GoTIrCYAEJTf8OadUoLYe2YCsjnCMOPBx709tcKhFCFflAPISuEEYG4h0Ol0zf
1NhzbctNm0NFaqpuKpdEwBEBHsAlFM5+pFXpTkiAFqPkb5qlmvEmqKYfKtSBXKYP
YRI5+mrblBCY1KWoceViaNMMJsFBhaxFbfmBWySLrJOuuCL7UD/C8EIf/6DcWO+P
aS4i31KkGksMchBmkoh+EnHGgP985zYbS0JEQzJVqqSA4NDlr9gstNBJu3SWaXWB
Y4E3ipp1KT5PdRzX+ivCYcPeigRtVyAWeO1LTBH2Ar9P4J9H0kTD0aO55ijSnEda
nmYpjYqJ1sBWegJ6OujzEwvVT/i8UiAUODDn/6o078d/Bpp4DJpqRf8c1tTAADHa
6IVrnsGjBI3D8gVXoseYqWUMccJ5wxlTQ4Vx/Q3wT7inh1q/PM9nlWJzwb3e6YcP
HiEwGVmnSUP2diz1r/o0EakD59DCEByABLHx6RzqN+zvn9V6sqI=
=0ly5
-----END PGP SIGNATURE-----

Attachment: pgpVGbPaQqnsN.pgp
Description: PGP signature


--- End Message ---

Reply via email to