Bug#1067367: mathgl: FTBFS: debian/tests/run-tests: 37: python3.12: not found

2024-04-11 Thread Emanuele Rocca
Control: tags -1 + patch

Hi,

On 2024-03-20 09:46, Lucas Nussbaum wrote:
> > debian/tests/run-tests: 37: python3.12: not found

This is because debian/tests/run-tests iterates over all supported
python versions (py3versions -s), but only python3.11 is installed.

Please consider build-depending on python3-all (see attached patch) to
ensure all supported python runtimes are installed.
diff -Nru mathgl-8.0.1/debian/changelog mathgl-8.0.1/debian/changelog
--- mathgl-8.0.1/debian/changelog	2024-02-15 07:53:06.0 +0100
+++ mathgl-8.0.1/debian/changelog	2024-04-11 15:00:39.0 +0200
@@ -1,3 +1,10 @@
+mathgl (8.0.1-8) unstable; urgency=medium
+
+  * Build-depend on python3-all to ensure all supported python versions are
+installed when running debian/tests/run-tests. (Closes: #1067367)
+
+ -- Emanuele Rocca   Thu, 11 Apr 2024 15:00:39 +0200
+
 mathgl (8.0.1-7) unstable; urgency=medium
 
   * Team upload.
diff -Nru mathgl-8.0.1/debian/control mathgl-8.0.1/debian/control
--- mathgl-8.0.1/debian/control	2024-02-15 07:53:06.0 +0100
+++ mathgl-8.0.1/debian/control	2024-04-11 15:00:13.0 +0200
@@ -38,6 +38,7 @@
  mpi-default-dev,
  python3-dev,
  python3-numpy,
+ python3-all , 
  qtwebengine5-dev [amd64 arm64 armhf i386],
  swig,
  texinfo,


Bug#1067367: mathgl: FTBFS: debian/tests/run-tests: 37: python3.12: not found

2024-03-20 Thread Lucas Nussbaum
Source: mathgl
Version: 8.0.1-7.1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20240319 ftbfs-trixie

Hi,

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


Relevant part (hopefully):
> make[4]: Entering directory '/<>/obj-x86_64-linux-gnu'
> make[4]: Nothing to be done for 
> 'examples/CMakeFiles/mgl_mpi_example.dir/build'.
> make[4]: Leaving directory '/<>/obj-x86_64-linux-gnu'
> [100%] Built target mgl_mpi_example
> make[3]: Leaving directory '/<>/obj-x86_64-linux-gnu'
> /usr/bin/cmake -E cmake_progress_start 
> /<>/obj-x86_64-linux-gnu/CMakeFiles 0
> make[2]: Leaving directory '/<>/obj-x86_64-linux-gnu/examples'
> 3wave.png: ok
> alpha.png: ok
> apde.png: ok
> area.png: ok
> aspect.png: ok
> axial.png: ok
> axis.png: ok
> background.png: ok
> barh.png: ok
> bars.png: ok
> belt.png: ok
> beltc.png: ok
> bifurcation.png: ok
> box.png: ok
> boxplot.png: ok
> boxs.png: ok
> candle.png: ok
> chart.png: ok
> cloud.png: ok
> colorbar.png: ok
> combined.png: ok
> cones.png: ok
> cont.png: ok
> cont3.png: ok
> cont_xyz.png: ok
> contd.png: ok
> contf.png: ok
> contf3.png: ok
> contf_xyz.png: ok
> conts.png: ok
> contv.png: ok
> correl.png: ok
> curvcoor.png: ok
> cut.png: ok
> daisy.png: ok
> dat_diff.png: ok
> dat_extra.png: ok
> data1.png: ok
> data2.png: ok
> dcont.png: ok
> dens.png: ok
> dens3.png: ok
> dens_xyz.png: ok
> detect.png: ok
> dew.png: ok
> diffract.png: ok
> dilate.png: ok
> dots.png: ok
> earth.png: ok
> error.png: ok
> error2.png: ok
> export.png: ok
> fall.png: ok
> fexport.png: ok
> fit.png: ok
> flame2d.png: ok
> flow.png: ok
> flow3.png: ok
> fog.png: ok
> fonts.png: ok
> grad.png: ok
> hist.png: ok
> ifs2d.png: ok
> ifs3d.png: ok
> indirect.png: ok
> inplot.png: ok
> iris.png: ok
> keep.png: ok
> label.png: ok
> lamerey.png: ok
> legend.png: ok
> light.png: ok
> lines.png: ok
> loglog.png: ok
> map.png: ok
> mark.png: ok
> mask.png: ok
> mesh.png: ok
> minmax.png: ok
> mirror.png: ok
> molecule.png: ok
> ode.png: ok
> ohlc.png: ok
> param1.png: ok
> param2.png: ok
> param3.png: ok
> paramv.png: ok
> parser.png: ok
> pde.png: ok
> pendelta.png: ok
> pipe.png: ok
> plot.png: ok
> pmap.png: ok
> primitives.png: ok
> projection.png: ok
> projection5.png: ok
> pulse.png: ok
> qo2d.png: ok
> quality0.png: ok
> quality1.png: ok
> quality2.png: ok
> quality4.png: ok
> quality5.png: ok
> quality6.png: ok
> quality8.png: ok
> radar.png: ok
> refill.png: ok
> region.png: ok
> scanfile.png: ok
> schemes.png: ok
> section.png: ok
> several_light.png: ok
> solve.png: ok
> stem.png: ok
> step.png: ok
> stereo.png: ok
> stfa.png: ok
> style.png: ok
> surf.png: ok
> surf3.png: ok
> surf3a.png: ok
> surf3c.png: ok
> surf3ca.png: ok
> surfa.png: ok
> surfc.png: ok
> surfca.png: ok
> table.png: ok
> tape.png: ok
> tens.png: ok
> ternary.png: ok
> text.png: ok
> text2.png: ok
> textmark.png: ok
> ticks.png: ok
> tile.png: ok
> tiles.png: ok
> torus.png: ok
> traj.png: ok
> triangulation.png: ok
> triplot.png: ok
> tube.png: ok
> type0.png: ok
> type1.png: ok
> type2.png: ok
> vect.png: ok
> vect3.png: ok
> venn.png: ok
> debian/tests/run-tests: 37: python3.12: not found
> make[1]: *** [debian/rules:54: override_dh_auto_test] Error 127


The full build log is available from:
http://qa-logs.debian.net/2024/03/19/mathgl_8.0.1-7.1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240319;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na=ign=7=7=only=ftbfs-20240319=lu...@debian.org=1=1=1=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.