Bug#1145118: adios4dolfinx: FTBFS for a different reason

2026-09-12 Thread Margarita Manterola

Hi,

On 2026-09-12 15:18, Santiago Vila wrote:

I confirm that the package fails to build for a different reason now.
I've put a recent build log in the same directory as before:
https://people.debian.org/~sanvila/build-logs/202608/


Right, those were the same errors that were seen in the Python 3.15 
rebuild in debusine.


However, I've noticed that Francesco has uploaded a new version of 
adios4dolfinx today and it failed to build with the same error as 
reported in this bug:


https://buildd.debian.org/status/fetch.php?pkg=adios4dolfinx&arch=all&ver=0.11.0-2&stamp=1789226652&raw=0

@contextmanager
def ADIOSFile(
adios: adios2.ADIOS,
filename: Union[Path, str],
engine: str,
mode: adios2.Mode,
io_name: str,
comm: MPI.Intracomm | None = None,
):
io = adios.DeclareIO(io_name)
io.SetEngine(engine)
# ADIOS2 sometimes struggles with existing files/folders it 
should overwrite

if mode == adios2.Mode.Write:
filename = Path(filename)
if filename.exists() and comm is not None and comm.rank == 
0:

if filename.is_dir():
shutil.rmtree(filename)
else:
filename.unlink()
if comm is not None:
comm.Barrier()


  file = io.Open(str(filename), mode)

   
E   ValueError: [Sat Sep 12 15:23:54 2026] [ADIOS2 
EXCEPTION]: A serial HDF5 engine 
cannot be used with a communicator that is MPI-based.


So, it seems that this error is still present, only somewhat flaky?

--
Regards,
Marga



Bug#1145118: adios4dolfinx: FTBFS for a different reason

2026-09-12 Thread Santiago Vila
On Sat, Sep 12, 2026 at 03:18:05PM +0200, Santiago Vila wrote:

> Sorry, I did not verify that the failure reason was the same (this is
> why I just said "it still FTBFS").

Note: I also said "unfortunately this one was not in the set of
packages that fixed themselves". I just meant that the package did not
magically start building ok again, but in retrospective I see that
saying that could have been a little bit misleading (sorry).

The reason for the original failure (the hdf5 thing) was probably
fixed (in another package).

Thanks.



Bug#1145118: adios4dolfinx: FTBFS for a different reason

2026-09-12 Thread Santiago Vila
On Sat, Sep 12, 2026 at 02:48:55PM +0200, Margarita Manterola wrote:

> I think that what may have happened here is that the failure that Santiago
> identified in his first message on August 22nd did actually go away with the
> rebuild, but then a second, unrelated failure started happening so that the
> rebuild on August 30th also failed.  Santiago, please correct me if that's
> not the case and you actually verified that the failure reason was the same.

I confirm that the package fails to build for a different reason now.

I've put a recent build log in the same directory as before:

https://people.debian.org/~sanvila/build-logs/202608/

Sorry, I did not verify that the failure reason was the same (this is
why I just said "it still FTBFS").

In cases like this one there are two options. Option A is to close the
bug and open a new one. Option B is to retitle the bug to the new mode
of failure. I prefer option B but will not object if you decide to go
for option A.

Thanks.



Bug#1145118: adios4dolfinx: FTBFS for a different reason

2026-09-12 Thread Margarita Manterola

Hi,

I think that what may have happened here is that the failure that 
Santiago identified in his first message on August 22nd did actually go 
away with the rebuild, but then a second, unrelated failure started 
happening so that the rebuild on August 30th also failed.  Santiago, 
please correct me if that's not the case and you actually verified that 
the failure reason was the same.


The reason I'm saying this is that adios4dolfinx is failing to build in 
the reproducible builds infrastructure [1], but the log looks very 
different. There are tons of errors, one example:


def test_read_write_P_2D(
read_comm, family, degree, is_complex, mesh_2D, get_dtype, 
write_function, read_function

):
mesh = mesh_2D
f_dtype = get_dtype(mesh.geometry.x.dtype, is_complex)

el = basix.ufl.element(
family,

  mesh.ufl_cell().cellname(),

^^
degree,
basix.LagrangeVariant.gll_warped,
shape=(mesh.geometry.dim,),
dtype=mesh.geometry.x.dtype,
)
E   TypeError: 'str' object is not callable

Looking at the list of tests done by the reproducible builds 
infrastructure [2], we can see this successes and failures.


For experimental:
2026-08-16 06:17:00 0.11.0-1exp1experimentalamd64   FTBFS
2026-08-05 02:18:00 0.11.0-1exp1experimentalamd64   reproducible

For unstable:
2026-08-30 02:43:00 0.10.0.post1-3  unstableamd64   FTBFS
2026-07-31 03:44:00 0.10.0.post1-3  unstablearm64   reproducible

For forky:
2026-08-31 13:39:00 0.10.0.post1-3  forky   amd64   FTBFS
2026-08-03 17:18:00 0.10.0.post1-3  forky   arm64   reproducible

So, we don't know exactly when things broke, but some time in August 
there must have been a change that caused adios4dolfinx to stop 
building.


I suspected that this might be caused by fenics-dolphinx uploads, as the 
new 0.11 version was being uploaded to experimental during the window 
and to unstable also inside that window, but the failure in forky seems 
to disprove that, as the last migration to testing for fenics-dolphinx 
happened on 2026-07-29. Unless that failure is due to a different thing?


Indeed, the error seen forky (on August 31st) is the error that titles 
this bug [3]. So, perhaps it is the fact that the new fenics-dolphinx 
breaks adios4dolfinx, which requires a new upload, while something else 
broke something related to HDF5 temporarily, and while that's gone from 
unstable now, it's still happening in forky.


Regards,
Marga

[1]: 
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/adios4dolfinx.html
[2]: 
https://tests.reproducible-builds.org/debian/history/adios4dolfinx.html
[3]: 
https://tests.reproducible-builds.org/debian/rb-pkg/forky/amd64/adios4dolfinx.html


--
Regards,
Marga