Your message dated Wed, 21 Aug 2024 23:11:09 +0000
with message-id <[email protected]>
and subject line Bug#1075380: fixed in petsc 3.20.6+dfsg1-2
has caused the Debian Bug report #1075380,
regarding petsc: ftbfs with GCC-14
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.)


-- 
1075380: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1075380
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:petsc
Version: 3.20.6+dfsg1-1
Severity: important
Tags: sid trixie
User: [email protected]
Usertags: ftbfs-gcc-14

[This bug is targeted to the upcoming trixie release]

Please keep this issue open in the bug tracker for the package it
was filed for.  If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.

The package fails to build in a test rebuild on at least amd64 with
gcc-14/g++-14, but succeeds to build with gcc-13/g++-13. The
severity of this report will be raised before the trixie release.

The full build log can be found at:
http://qa-logs.debian.net/2024/07/01/petsc_3.20.6+dfsg1-1_unstable_gccexp.log
The last lines of the build log are at the end of this report.

To build with GCC 14, either set CC=gcc-14 CXX=g++-14 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t=experimental install g++ 

Common build failures are new warnings resulting in build failures with
-Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-14/porting_to.html

[...]
  144 | int                         SCOTCH_dgraphBuild  (SCOTCH_Dgraph * const, 
const SCOTCH_Num, const SCOTCH_Num, const SCOTCH_Num, SCOTCH_Num * const, 
SCOTCH_Num * const, SCOTCH_Num * const, SCOTCH_Num * const, const SCOTCH_Num, 
const SCOTCH_Num, SCOTCH_Num * const, SCOTCH_Num * const, SCOTCH_Num * const);
      |                                                                         
                                                                                
                                                                                
          ^~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/mat/partition/impls/scotch/scotch.c:388:72: error: passing 
argument 4 of ‘SCOTCH_graphBuild’ from incompatible pointer type 
[-Wincompatible-pointer-types]
  388 |       PetscCallExternal(SCOTCH_graphBuild, &grafdat, 0, vertlocnbr, 
adj->i, adj->i + 1, veloloctab, NULL, edgelocnbr, adj->j, edloloctab);
      |                                                                     
~~~^~~
      |                                                                        |
      |                                                                        
PetscInt * {aka long int *}
/<<PKGBUILDDIR>>/include/petscerror.h:1770:44: note: in definition of macro 
‘PetscCallExternal’
 1770 |       int ierr_petsc_call_external_ = func(__VA_ARGS__); \
      |                                            ^~~~~~~~~~~
In file included from /usr/include/scotch/ptscotch.h:73:
/usr/include/scotch/scotch.h:258:108: note: expected ‘const SCOTCH_Num * const’ 
{aka ‘const int * const’} but argument is of type ‘PetscInt *’ {aka ‘long int 
*’}
  258 | int                         SCOTCH_graphBuild   (SCOTCH_Graph * const, 
const SCOTCH_Num, const SCOTCH_Num, const SCOTCH_Num * const, const SCOTCH_Num 
* const, const SCOTCH_Num * const, const SCOTCH_Num * const, const SCOTCH_Num, 
const SCOTCH_Num * const, const SCOTCH_Num * const);
      |                                                                         
                                   ^~~~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/mat/partition/impls/scotch/scotch.c:388:84: error: passing 
argument 5 of ‘SCOTCH_graphBuild’ from incompatible pointer type 
[-Wincompatible-pointer-types]
  388 |       PetscCallExternal(SCOTCH_graphBuild, &grafdat, 0, vertlocnbr, 
adj->i, adj->i + 1, veloloctab, NULL, edgelocnbr, adj->j, edloloctab);
      |                                                                         
    ~~~~~~~^~~
      |                                                                         
           |
      |                                                                         
           PetscInt * {aka long int *}
/<<PKGBUILDDIR>>/include/petscerror.h:1770:44: note: in definition of macro 
‘PetscCallExternal’
 1770 |       int ierr_petsc_call_external_ = func(__VA_ARGS__); \
      |                                            ^~~~~~~~~~~
/usr/include/scotch/scotch.h:258:134: note: expected ‘const SCOTCH_Num * const’ 
{aka ‘const int * const’} but argument is of type ‘PetscInt *’ {aka ‘long int 
*’}
  258 | int                         SCOTCH_graphBuild   (SCOTCH_Graph * const, 
const SCOTCH_Num, const SCOTCH_Num, const SCOTCH_Num * const, const SCOTCH_Num 
* const, const SCOTCH_Num * const, const SCOTCH_Num * const, const SCOTCH_Num, 
const SCOTCH_Num * const, const SCOTCH_Num * const);
      |                                                                         
                                                             
^~~~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/mat/partition/impls/scotch/scotch.c:388:122: error: 
passing argument 9 of ‘SCOTCH_graphBuild’ from incompatible pointer type 
[-Wincompatible-pointer-types]
  388 |       PetscCallExternal(SCOTCH_graphBuild, &grafdat, 0, vertlocnbr, 
adj->i, adj->i + 1, veloloctab, NULL, edgelocnbr, adj->j, edloloctab);
      |                                                                         
                                              ~~~^~~
      |                                                                         
                                                 |
      |                                                                         
                                                 PetscInt * {aka long int *}
/<<PKGBUILDDIR>>/include/petscerror.h:1770:44: note: in definition of macro 
‘PetscCallExternal’
 1770 |       int ierr_petsc_call_external_ = func(__VA_ARGS__); \
      |                                            ^~~~~~~~~~~
/usr/include/scotch/scotch.h:258:230: note: expected ‘const SCOTCH_Num * const’ 
{aka ‘const int * const’} but argument is of type ‘PetscInt *’ {aka ‘long int 
*’}
  258 | int                         SCOTCH_graphBuild   (SCOTCH_Graph * const, 
const SCOTCH_Num, const SCOTCH_Num, const SCOTCH_Num * const, const SCOTCH_Num 
* const, const SCOTCH_Num * const, const SCOTCH_Num * const, const SCOTCH_Num, 
const SCOTCH_Num * const, const SCOTCH_Num * const);
      |                                                                         
                                                                                
                                                                             
^~~~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/mat/partition/impls/scotch/scotch.c:418:52: error: passing 
argument 3 of ‘ISCreateGeneral’ from incompatible pointer type 
[-Wincompatible-pointer-types]
  418 |     PetscCall(ISCreateGeneral(pcomm, mat->rmap->n, locals, 
PETSC_OWN_POINTER, partitioning));
      |                                                    ^~~~~~
      |                                                    |
      |                                                    SCOTCH_Num * {aka 
int *}
/<<PKGBUILDDIR>>/include/petscerror.h:465:28: note: in definition of macro 
‘PetscCall’
  465 |       ierr_petsc_call_q_ = __VA_ARGS__; \
      |                            ^~~~~~~~~~~
In file included from /<<PKGBUILDDIR>>/include/petscvec.h:10:
/<<PKGBUILDDIR>>/include/petscis.h:131:65: note: expected ‘const PetscInt *’ 
{aka ‘const long int *’} but argument is of type ‘SCOTCH_Num *’ {aka ‘int *’}
  131 | PETSC_EXTERN PetscErrorCode ISCreateGeneral(MPI_Comm, PetscInt, const 
PetscInt[], PetscCopyMode, IS *);
      |                                                                 
^~~~~~~~~~~~~~~~
gmake[5]: *** [gmakefile:197: 
x86_64-linux-gnu-real-debug-64/obj/src/mat/partition/impls/scotch/scotch.o] 
Error 1
gmake[5]: *** Waiting for unfinished jobs....
mpicc -c -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC 
 -I/<<PKGBUILDDIR>>/include 
-I/<<PKGBUILDDIR>>/x86_64-linux-gnu-real-debug-64/include 
-I/usr/include/hypre64m -I/usr/include/suitesparse -I/usr/include/trilinos 
-I/usr/include/scotch -I/usr/include/hdf5/openmpi  -Wdate-time 
-D_FORTIFY_SOURCE=2  -MMD -MP 
/<<PKGBUILDDIR>>/src/mat/partition/impls/scotch/ftn-auto/scotchf.c -o 
x86_64-linux-gnu-real-debug-64/obj/src/mat/partition/impls/scotch/ftn-auto/scotchf.o
mpicc -c -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC 
 -I/<<PKGBUILDDIR>>/include 
-I/<<PKGBUILDDIR>>/x86_64-linux-gnu-real-debug-64/include 
-I/usr/include/hypre64m -I/usr/include/suitesparse -I/usr/include/trilinos 
-I/usr/include/scotch -I/usr/include/hdf5/openmpi  -Wdate-time 
-D_FORTIFY_SOURCE=2  -MMD -MP /<<PKGBUILDDIR>>/src/mat/partition/partition.c -o 
x86_64-linux-gnu-real-debug-64/obj/src/mat/partition/partition.o
mpicc -c -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC 
 -I/<<PKGBUILDDIR>>/include 
-I/<<PKGBUILDDIR>>/x86_64-linux-gnu-real-debug-64/include 
-I/usr/include/hypre64m -I/usr/include/suitesparse -I/usr/include/trilinos 
-I/usr/include/scotch -I/usr/include/hdf5/openmpi  -Wdate-time 
-D_FORTIFY_SOURCE=2  -MMD -MP /<<PKGBUILDDIR>>/src/mat/impls/aij/mpi/mpiptap.c 
-o x86_64-linux-gnu-real-debug-64/obj/src/mat/impls/aij/mpi/mpiptap.o
mpicc -c -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC 
 -I/<<PKGBUILDDIR>>/include 
-I/<<PKGBUILDDIR>>/x86_64-linux-gnu-real-debug-64/include 
-I/usr/include/hypre64m -I/usr/include/suitesparse -I/usr/include/trilinos 
-I/usr/include/scotch -I/usr/include/hdf5/openmpi  -Wdate-time 
-D_FORTIFY_SOURCE=2  -MMD -MP 
/<<PKGBUILDDIR>>/src/mat/impls/aij/mpi/mpimatmatmult.c -o 
x86_64-linux-gnu-real-debug-64/obj/src/mat/impls/aij/mpi/mpimatmatmult.o
mpicc -c -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC 
 -I/<<PKGBUILDDIR>>/include 
-I/<<PKGBUILDDIR>>/x86_64-linux-gnu-real-debug-64/include 
-I/usr/include/hypre64m -I/usr/include/suitesparse -I/usr/include/trilinos 
-I/usr/include/scotch -I/usr/include/hdf5/openmpi  -Wdate-time 
-D_FORTIFY_SOURCE=2  -MMD -MP /<<PKGBUILDDIR>>/src/mat/impls/aij/mpi/mpiov.c -o 
x86_64-linux-gnu-real-debug-64/obj/src/mat/impls/aij/mpi/mpiov.o
mpicc -c -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC 
 -I/<<PKGBUILDDIR>>/include 
-I/<<PKGBUILDDIR>>/x86_64-linux-gnu-real-debug-64/include 
-I/usr/include/hypre64m -I/usr/include/suitesparse -I/usr/include/trilinos 
-I/usr/include/scotch -I/usr/include/hdf5/openmpi  -Wdate-time 
-D_FORTIFY_SOURCE=2  -MMD -MP 
/<<PKGBUILDDIR>>/src/mat/impls/aij/mpi/mumps/mumps.c -o 
x86_64-linux-gnu-real-debug-64/obj/src/mat/impls/aij/mpi/mumps/mumps.o
mpicc -c -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC 
 -I/<<PKGBUILDDIR>>/include 
-I/<<PKGBUILDDIR>>/x86_64-linux-gnu-real-debug-64/include 
-I/usr/include/hypre64m -I/usr/include/suitesparse -I/usr/include/trilinos 
-I/usr/include/scotch -I/usr/include/hdf5/openmpi  -Wdate-time 
-D_FORTIFY_SOURCE=2  -MMD -MP /<<PKGBUILDDIR>>/src/mat/impls/aij/mpi/mpiaij.c 
-o x86_64-linux-gnu-real-debug-64/obj/src/mat/impls/aij/mpi/mpiaij.o
gmake[4]: *** [/<<PKGBUILDDIR>>/lib/petsc/conf/rules.doc:28: libs] Error 2
**************************ERROR*************************************
  Error during compile, check 
x86_64-linux-gnu-real-debug-64/lib/petsc/conf/make.log
  Send it and x86_64-linux-gnu-real-debug-64/lib/petsc/conf/configure.log to 
[email protected]
********************************************************************
gmake[3]: *** [makefile:45: all] Error 1
make[2]: *** [GNUmakefile:9: all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j8 V=1 PETSC_DIR=/<<BUILDDIR>>/petsc-3.20.6\+dfsg1 
PETSC_ARCH=x86_64-linux-gnu-real-debug-64 CFLAGS= CXXFLAGS= FCFLAGS= FFLAGS= 
returned exit code 2
make[1]: *** [debian/rules:449: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:223: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2

--- End Message ---
--- Begin Message ---
Source: petsc
Source-Version: 3.20.6+dfsg1-2
Done: Drew Parsons <[email protected]>

We believe that the bug you reported is fixed in the latest version of
petsc, 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.
Drew Parsons <[email protected]> (supplier of updated petsc 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: SHA256

Format: 1.8
Date: Wed, 21 Aug 2024 20:09:11 +0200
Source: petsc
Architecture: source
Version: 3.20.6+dfsg1-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers 
<[email protected]>
Changed-By: Drew Parsons <[email protected]>
Closes: 1075380
Changes:
 petsc (3.20.6+dfsg1-2) unstable; urgency=medium
 .
   * configure 64-bit petsc to build against 64-bit (long) scotch.
     - required for building with gcc-14, for which pointers to standard
       SCOTCH_Num (int) are incompatible with pointers to 64-bit
       PetscInt (declared as long int, not int64).
     - provide lib path /usr/lib/$(DEB_HOST_MULTIARCH)/scotch-long as
       explicit RUNPATH (-rpath) in the petsc64*.so shared libraries to
       ensure the standard libptscotch.so build is not used at runtime.
     - add lintian overrides (custom-library-search-path)
       to acknowledge the intended explicit RUNPATHs
     - Closes: #1075380.
Checksums-Sha1:
 195b76ad0d2f5a7d8909fa1bd134f0a582432570 4583 petsc_3.20.6+dfsg1-2.dsc
 19d5c478cad2dfcc2f32b4ca9ffd7b32a13f9169 113036 
petsc_3.20.6+dfsg1-2.debian.tar.xz
Checksums-Sha256:
 a365e944774886136ed3e7dbcd0ded99fde51e4c8cee5fb5c44ef2d879515cbb 4583 
petsc_3.20.6+dfsg1-2.dsc
 cdf8d1dcda93ae90979ed9056812661312f941e04a0af2e44290f3a91f2d5975 113036 
petsc_3.20.6+dfsg1-2.debian.tar.xz
Files:
 63bd72388772ece20767f505ab0e1a42 4583 devel optional petsc_3.20.6+dfsg1-2.dsc
 3509518a61e1b1defeb95939ed68fafa 113036 devel optional 
petsc_3.20.6+dfsg1-2.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEI8mpPlhYGekSbQo2Vz7x5L1aAfoFAmbGbkgACgkQVz7x5L1a
Afrwzg//VYH0VxThHrK3goa9kALHFiXPVvAQuQOxAWjQPmNhQibhRUcLW9yfoMqP
gQxf7VM3pm1cbNCkrSvWHem1OsBMdkgLVkLJoKcDNbBke+Ti0w5tP9ycEFKca8rm
EmQxVGbbugNAnba8Yi5kduT4XeDO7KPXRtrIDf2/C2txFtdBVGe/xVJF65f7P3i+
/QKadMHBTtLR7wTJCu+lsHoJUWAE6D0Gki+BJz0f33JPJ5u5P0hM/KsXWOidTEGN
N+c717nV/LMku27UF8Bu2JQKuwV9+61JRArTKDP2ztmY4/FBBYWeQFAx5t/t7sW6
OO414JHqXvGEc74/VSjE0h/BSSECsJf0sFqomq6+6vQUsH1fYSE4EP88Bqlx/Ijt
mkLgwABrE4MR9S+KNzKEQ2nTy1Ck4iU8pwB1rXk/kubCs3G71ezyMFC8GTrhHdD9
yLgeZ/i1yOuXV1KscXbzYtRDc5pimN1gMcvRm7GM+nBwTu+rZ1tdWrI65F7kYnVt
RWW6KGTpqYfrSBvv/UoyWEkRRM2uFgbohXYb3vpfwqbgVwNJstXcM/UWBC/M0h0R
b76lbHJbzKwAEkngTRLlPB8S+Wo0LmwwwgUwjYjfvmv8W53Y1zXdshgr9Ii7+t+H
qe7crZHyAhjL0kK65Rzl2qI9KFalP/2WKj/1T9AUGapfaZqHa3I=
=lrcj
-----END PGP SIGNATURE-----

Attachment: pgpPAkb6PoUzK.pgp
Description: PGP signature


--- End Message ---

Reply via email to