#1139554 xmds2: FTBFS against HDF5 2.1.0 - The waf toolchain has to be adapted

Package:
src:xmds2
Source:
src:xmds2
Submitter:
Gilles Filippini
Date:
2026-06-23 13:37:01 UTC
Severity:
normal
Tags:
#1139554#5
Date:
2026-06-09 12:57:04 UTC
From:
To:
Hi,

During a test rebuild of HDF5's reverse dependcies against HDF5 2.1.0
currently in experimental, xmds2 FTBFS with:

Checking for program 'h5cc'                           : /usr/bin/h5cc
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/bin-test/xmds2", line 4, in <module>
    sys.exit(parser2.main())
             ~~~~~~~~~~~~^^
  File "/<<PKGBUILDDIR>>/xpdeint/parser2.py", line 219, in main
    return Configuration.run_reconfig(includePaths, libPaths)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
  File "/<<PKGBUILDDIR>>/xpdeint/Configuration.py", line 145, in run_reconfig
    return run_config(includePaths = includePaths, libPaths = libPaths)
  File "/<<PKGBUILDDIR>>/xpdeint/Configuration.py", line 119, in run_config
    ret = ctx.execute()
  File "/<<PKGBUILDDIR>>/xpdeint/waf/waflib/Configure.py", line 159, in execute
    super(ConfigurationContext, self).execute()
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/<<PKGBUILDDIR>>/xpdeint/waf/waflib/Context.py", line 204, in execute
    self.recurse([os.path.dirname(g_module.root_path)])
    ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/<<PKGBUILDDIR>>/xpdeint/Configuration.py", line 56, in <lambda>
    lambda x, y: getattr(Context.g_module, x.cmd or x.fun, Utils.nada)(x)
                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^
  File "/<<PKGBUILDDIR>>/xpdeint/Configuration.py", line 85, in _
    return f(ctx, *args, **kw)
  File "/<<PKGBUILDDIR>>/xpdeint/support/wscript", line 754, in configure
    configure_compiler()
    ~~~~~~~~~~~~~~~~~~^^
  File "/<<PKGBUILDDIR>>/xpdeint/support/wscript", line 411, in configure_compiler
    hdf5_libpath = re.search(r'\s-L(\S+)', h5cc_shared_flags).group(1)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'group'

I tried to poke into the xpdeint/support/wscript file; but while xmds2 seems
to build successfully many tests fail then. So I let it to the maintainer of
the package :)

Don't hesitate to reach if needed, as I am in touch with HDF5 devs and
they are willing to help.

Best,
_g.

- -- System Information:
Debian Release: 12.0
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-44-amd64 (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEoJObzArDE05WtIyR7+hsbH/+z4MFAmooDZgACgkQ7+hsbH/+
z4OVagf/WS1Ms6g3LmIqrnu5sUZ6Wb+eFb8BomhmRB2YWPhpAjhRhoSkQaEbAO21
TsQ8vHx0Z8RQxkCBxJwt9+tjSvXEX7NCWMJ5lkh7nkOJY/eW2EUgtf5zG2tod02R
040ZwegD83SYlL0+d4yBfF7cnMEk9H0541aZKXKqymSf0At5wnPrrsUoIWxnO5g+
PXZdbXyyMmER3Okrnzn6hEdWsjpFhfnuAdsSa0mlxTPn5MezO1OllqvWKlU999O+
rbCD2UHw3zTf8g4c1Hu/BQ6YN3SNGJ/uQ0Gmk7sQEGJnwRIEa+NJZ0axul6/MWK3
gsXbwMUHMzVRL2KWPR0cTFTjxwk5Hw==
=nljZ
-----END PGP SIGNATURE-----

#1139554#10
Date:
2026-06-22 14:58:53 UTC
From:
To:
Hi,

Gilles Filippini a écrit le 09/06/2026 à 14:57 :
Please review the attached patch. I've tested it with both HDF5 1.14.6
in unstable and HDF5 2.1.0 in experimental.

Best,
_g.

#1139554#17
Date:
2026-06-23 11:43:22 UTC
From:
To:
Salut Gilles,

Thanks for the bug report and for the patch.

Which build-dependencies do you use to build the xmds2 package, in order to reproduce the FTBFS issue?  The package builds fine against the libhdf5-dev and libhdf5-mpi-dev packages currently in experimental.

Best,

Rafael

* Gilles Filippini <pini@debian.org> [2026-06-22 16:58]:

#1139554#22
Date:
2026-06-23 13:34:52 UTC
From:
To:
Hi Rafaël,

Le 2026-06-23 13:43, Rafael Laboissière a écrit :

I use a local repo for the rebuilt reverse-depedencies.
Plus a dedicated sbuild chroot with unstable + experimental + local
repo, and HDF5 packages in experimental Priority-Pined, as well as all
the packages in the local repo.

I rebuild all the reverse dependencies in the order given by the ben
file and upload them into the local repo. So xmds2 is rebuilt against:
* hdf5 2.1.0 in experimental
* h5py rebuilt against hdf5 2.1.0
* octave rebuilt against hdf5 2.1.0

Best,
_g.