[Debian-astro-maintainers] Bug#1080222: FTBFS: /usr/include/boost/mpi/config.hpp:22:10: fatal error: mpi.h: No such file or directory

Stefano Rivera stefanor at debian.org
Sat Aug 31 20:22:19 BST 2024


Source: gyoto
Version: 2.0.2-3
Severity: serious
Tags: ftbfs
Justification: FTBFS

Dear maintainer,

During a test rebuild for packages affected by setuptools 72, gyoto
failed to rebuild.

-------------------------------------------------------------------------------
[...]
/usr/bin/mkdir -p swig_output
/usr/bin/swig -I../include -I./../include -c++ -python -outdir swig_output -o std_wrap.cxx ./gyoto_std.i
../include/GyotoWorldline.h:856: Warning 325: Nested class not currently supported (IntegState ignored)
../include/GyotoScreen.h:0: Warning 314: 'print' is a python keyword, renaming to '_print'
../include/GyotoScreen.h:0: Warning 325: Nested class not currently supported (Coord1dSet ignored)
../include/GyotoScreen.h:0: Warning 325: Nested class not currently supported (Coord2dSet ignored)
../include/GyotoScreen.h:0: Warning 325: Nested class not currently supported (Grid ignored)
../include/GyotoScreen.h:0: Warning 325: Nested class not currently supported (Bucket ignored)
../include/GyotoScreen.h:0: Warning 325: Nested class not currently supported (Empty ignored)
../include/GyotoScreen.h:0: Warning 325: Nested class not currently supported (Range ignored)
../include/GyotoScreen.h:0: Warning 325: Nested class not currently supported (Indices ignored)
../include/GyotoScreen.h:0: Warning 325: Nested class not currently supported (Angles ignored)
../include/GyotoScreen.h:0: Warning 325: Nested class not currently supported (RepeatAngle ignored)
../include/GyotoAstrobj.h:0: Warning 302: Redefinition of identifier 'Generic' by %extend ignored,
gyoto.i:727: Warning 302: %extend definition of 'Generic'.
../include/GyotoComplexSpectrometer.h:0: Warning 389: operator[] ignored (consider using %extend)
../include/GyotoComplexSpectrometer.h:0: Warning 389: operator[] ignored (consider using %extend)
gyoto.i:843: Warning 389: operator[] ignored (consider using %extend)
../include/GyotoProperty.h:770: Warning 325: Nested union not currently supported (setter_t ignored)
../include/GyotoProperty.h:789: Warning 325: Nested union not currently supported (getter_t ignored)
../include/GyotoProperty.h:797: Warning 325: Nested union not currently supported (setter_unit_t ignored)
../include/GyotoProperty.h:802: Warning 325: Nested union not currently supported (getter_unit_t ignored)
./gyoto_std.i:32: Warning 302: Redefinition of identifier 'array_double' ignored,
gyoto.i:541: Warning 302: previous definition of 'array_double'.
./gyoto_std.i:33: Warning 302: Redefinition of identifier 'array_unsigned_long' ignored,
gyoto.i:543: Warning 302: previous definition of 'array_unsigned_long'.
./gyoto_std.i:34: Warning 302: Redefinition of identifier 'array_size_t' ignored,
gyoto.i:542: Warning 302: previous definition of 'array_size_t'.
../include/GyotoComplexAstrobj.h:0: Warning 389: operator[] ignored (consider using %extend)
../include/GyotoComplexAstrobj.h:0: Warning 389: operator[] ignored (consider using %extend)
../include/GyotoPolishDoughnut.h:0: Warning 314: 'lambda' is a python keyword, renaming to '_lambda'
../include/GyotoPolishDoughnut.h:0: Warning 314: 'lambda' is a python keyword, renaming to '_lambda'
../include/GyotoComplexMetric.h:0: Warning 319: No access specifier given for base class 'Gyoto::WIP' (ignored).
../include/GyotoComplexMetric.h:0: Warning 389: operator[] ignored (consider using %extend)
../include/GyotoComplexMetric.h:0: Warning 389: operator[] ignored (consider using %extend)
/usr/bin/mkdir -p `dirname gyoto/std.py`
cat headers/std swig_output/std.py > gyoto/std.py
/usr/bin/mkdir -p swig_output
/usr/bin/swig -I../include -I./../include -c++ -python -outdir swig_output -o lorene_wrap.cxx ./gyoto_lorene.i
../include/GyotoWorldline.h:856: Warning 325: Nested class not currently supported (IntegState ignored)
../include/GyotoScreen.h:0: Warning 314: 'print' is a python keyword, renaming to '_print'
../include/GyotoScreen.h:0: Warning 325: Nested class not currently supported (Coord1dSet ignored)
../include/GyotoScreen.h:0: Warning 325: Nested class not currently supported (Coord2dSet ignored)
../include/GyotoScreen.h:0: Warning 325: Nested class not currently supported (Grid ignored)
../include/GyotoScreen.h:0: Warning 325: Nested class not currently supported (Bucket ignored)
../include/GyotoScreen.h:0: Warning 325: Nested class not currently supported (Empty ignored)
../include/GyotoScreen.h:0: Warning 325: Nested class not currently supported (Range ignored)
../include/GyotoScreen.h:0: Warning 325: Nested class not currently supported (Indices ignored)
../include/GyotoScreen.h:0: Warning 325: Nested class not currently supported (Angles ignored)
../include/GyotoScreen.h:0: Warning 325: Nested class not currently supported (RepeatAngle ignored)
../include/GyotoAstrobj.h:0: Warning 302: Redefinition of identifier 'Generic' by %extend ignored,
gyoto.i:727: Warning 302: %extend definition of 'Generic'.
../include/GyotoComplexSpectrometer.h:0: Warning 389: operator[] ignored (consider using %extend)
../include/GyotoComplexSpectrometer.h:0: Warning 389: operator[] ignored (consider using %extend)
gyoto.i:843: Warning 389: operator[] ignored (consider using %extend)
../include/GyotoProperty.h:770: Warning 325: Nested union not currently supported (setter_t ignored)
../include/GyotoProperty.h:789: Warning 325: Nested union not currently supported (getter_t ignored)
../include/GyotoProperty.h:797: Warning 325: Nested union not currently supported (setter_unit_t ignored)
../include/GyotoProperty.h:802: Warning 325: Nested union not currently supported (getter_unit_t ignored)
./gyoto_lorene.i:38: Warning 302: Redefinition of identifier 'array_double' ignored,
gyoto.i:541: Warning 302: previous definition of 'array_double'.
./gyoto_lorene.i:39: Warning 302: Redefinition of identifier 'array_unsigned_long' ignored,
gyoto.i:543: Warning 302: previous definition of 'array_unsigned_long'.
./gyoto_lorene.i:40: Warning 302: Redefinition of identifier 'array_size_t' ignored,
gyoto.i:542: Warning 302: previous definition of 'array_size_t'.
../include/GyotoRotStar3_1.h:0: Warning 509: Overloaded method Gyoto::Metric::RotStar3_1::christoffel(double const [4],int const,int const,int const) const effectively ignored,
../include/GyotoRotStar3_1.h:0: Warning 509: as it is shadowed by Gyoto::Metric::RotStar3_1::christoffel(double const [8],int const,int const,int const) const.
/usr/bin/mkdir -p `dirname gyoto/lorene.py`
cat headers/lorene swig_output/lorene.py > gyoto/lorene.py
python3.12 setup.py build
/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:268: UserWarning: Unknown distribution option: 'test_suite'
  warnings.warn(msg)
running build
running build_py
creating build
creating build/lib.linux-x86_64-cpython-312
creating build/lib.linux-x86_64-cpython-312/gyoto
copying gyoto/__init__.py -> build/lib.linux-x86_64-cpython-312/gyoto
copying gyoto/core.py -> build/lib.linux-x86_64-cpython-312/gyoto
copying gyoto/std.py -> build/lib.linux-x86_64-cpython-312/gyoto
copying gyoto_std.py -> build/lib.linux-x86_64-cpython-312
copying gyoto/_namespaces.py -> build/lib.linux-x86_64-cpython-312/gyoto
copying gyoto/astrobj.py -> build/lib.linux-x86_64-cpython-312/gyoto
copying gyoto/metric.py -> build/lib.linux-x86_64-cpython-312/gyoto
copying gyoto/spectrum.py -> build/lib.linux-x86_64-cpython-312/gyoto
copying gyoto/spectrometer.py -> build/lib.linux-x86_64-cpython-312/gyoto
copying gyoto/animate.py -> build/lib.linux-x86_64-cpython-312/gyoto
copying gyoto/util.py -> build/lib.linux-x86_64-cpython-312/gyoto
copying gyoto/lorene.py -> build/lib.linux-x86_64-cpython-312/gyoto
copying gyoto_lorene.py -> build/lib.linux-x86_64-cpython-312
running build_ext
building 'gyoto/_core' extension
creating build/temp.linux-x86_64-cpython-312
x86_64-linux-gnu-g++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -I../include -fPIC -I/usr/lib/python3/dist-packages/numpy/core/include -I/<<PKGBUILDDIR>>/python -I/usr/include/python3.12 -c core_wrap.cxx -o build/temp.linux-x86_64-cpython-312/core_wrap.o
In file included from /usr/include/boost/mpi/environment.hpp:16,
                 from ../include/GyotoScenery.h:45,
                 from ../include/GyotoFactory.h:48,
                 from gyoto_swig.h:3,
                 from core_wrap.cxx:3437:
/usr/include/boost/mpi/config.hpp:22:10: fatal error: mpi.h: No such file or directory
   22 | #include <mpi.h>
      |          ^~~~~~~
compilation terminated.
error: command '/usr/bin/x86_64-linux-gnu-g++' failed with exit code 1
make[2]: *** [Makefile:128: gyoto/_core.cpython-312-x86_64-linux-gnu.so] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>/python'
make[1]: *** [debian/rules:63: override_dh_auto_build-arch] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:39: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2024-08-28T01:01:53Z

-------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here (for the next 30 days):
https://debusine.debian.net/artifact/552631/

About the archive rebuild: The build was made on debusine.debian.net,
using sbuild.

You can find the build task here:
https://debusine.debian.net/work-request/9694/

If this is really a bug in one of the build-depends, please use
reassign and affects, so that this is still visible in the BTS web
page for this package.

Thanks,

Stefano



More information about the Debian-astro-maintainers mailing list