Skip to content

Build failure: mat2 #546115

Closed
Closed

Description

@ETCaton

Nixpkgs version

  • Unstable (26.11)

Steps to reproduce

No particular steps to reproduce, has been failing regularly in CI since 2026-07-08

Can Hydra reproduce this build failure?

Yes, Hydra can reproduce this build failure.

Link to Hydra build job

https://hydra.nixos.org/build/338711351

Relevant log output

Finished versionCheckPhase
no Makefile or custom installCheckPhase, doing nothing
Running phase: pythonCatchConflictsPhase
Running phase: pythonRemoveBinBytecodePhase
Running phase: pythonImportsCheckPhase
Executing pythonImportsCheckPhase
Running phase: pytestCheckPhase
Executing pytestCheckPhase
pytest flags: -m pytest
�[1m============================= test session starts ==============================�[0m
platform darwin -- Python 3.14.6, pytest-9.1.1, pluggy-1.6.0
rootdir: /nix/var/nix/builds/nix-53911-268276467/source
configfile: pyproject.toml
collected 124 items                                                            �[0m

tests/test_climat2.py �[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[33m                          [ 20%]�[0m
tests/test_corrupted_files.py �[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[33m [ 54%]
�[0m�[33m                                                                         [ 54%]�[0m
tests/test_deep_cleaning.py �[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[33m                                        [ 58%]�[0m
tests/test_libmat2.py �[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0m�[32m.�[0mFatal Python error: Aborted

Current thread 0x00000001f35d18c0 (most recent call first):
  File "/nix/var/nix/builds/nix-53911-268276467/source/libmat2/pdf.py", line 63 in __remove_all_lightweight
  File "/nix/var/nix/builds/nix-53911-268276467/source/libmat2/pdf.py", line 40 in remove_all
  File "/nix/var/nix/builds/nix-53911-268276467/source/tests/test_libmat2.py", line 604 in test_all_parametred
  File "/nix/store/0788rbnl2p558jnyjlm2s2f9r5sxpq3h-python3-3.14.6/lib/python3.14/unittest/case.py", line 615 in _callTestMethod
  File "/nix/store/0788rbnl2p558jnyjlm2s2f9r5sxpq3h-python3-3.14.6/lib/python3.14/unittest/case.py", line 669 in run
  File "/nix/store/0788rbnl2p558jnyjlm2s2f9r5sxpq3h-python3-3.14.6/lib/python3.14/unittest/case.py", line 725 in __call__
  File "/nix/store/7g7j1rsp7w15yzbcsk75x9y58vfhr4fw-python3.14-pytest-9.1.1/lib/python3.14/site-packages/_pytest/unittest.py", line 410 in runtest
  File "/nix/store/7g7j1rsp7w15yzbcsk75x9y58vfhr4fw-python3.14-pytest-9.1.1/lib/python3.14/site-packages/_pytest/runner.py", line 184 in pytest_runtest_call
  File "/nix/store/5jsbnsjrvfwabm3yrapn5w0pq4yyl28b-python3.14-pluggy-1.6.0/lib/python3.14/site-packages/pluggy/_callers.py", line 121 in _multicall
  File "/nix/store/5jsbnsjrvfwabm3yrapn5w0pq4yyl28b-python3.14-pluggy-1.6.0/lib/python3.14/site-packages/pluggy/_manager.py", line 120 in _hookexec
  File "/nix/store/5jsbnsjrvfwabm3yrapn5w0pq4yyl28b-python3.14-pluggy-1.6.0/lib/python3.14/site-packages/pluggy/_hooks.py", line 512 in __call__
  File "/nix/store/7g7j1rsp7w15yzbcsk75x9y58vfhr4fw-python3.14-pytest-9.1.1/lib/python3.14/site-packages/_pytest/runner.py", line 250 in <lambda>
  File "/nix/store/7g7j1rsp7w15yzbcsk75x9y58vfhr4fw-python3.14-pytest-9.1.1/lib/python3.14/site-packages/_pytest/runner.py", line 361 in from_call
  File "/nix/store/7g7j1rsp7w15yzbcsk75x9y58vfhr4fw-python3.14-pytest-9.1.1/lib/python3.14/site-packages/_pytest/runner.py", line 249 in call_and_report
  File "/nix/store/7g7j1rsp7w15yzbcsk75x9y58vfhr4fw-python3.14-pytest-9.1.1/lib/python3.14/site-packages/_pytest/runner.py", line 139 in runtestprotocol
  File "/nix/store/7g7j1rsp7w15yzbcsk75x9y58vfhr4fw-python3.14-pytest-9.1.1/lib/python3.14/site-packages/_pytest/runner.py", line 118 in pytest_runtest_protocol
  File "/nix/store/5jsbnsjrvfwabm3yrapn5w0pq4yyl28b-python3.14-pluggy-1.6.0/lib/python3.14/site-packages/pluggy/_callers.py", line 121 in _multicall
  File "/nix/store/5jsbnsjrvfwabm3yrapn5w0pq4yyl28b-python3.14-pluggy-1.6.0/lib/python3.14/site-packages/pluggy/_manager.py", line 120 in _hookexec
  File "/nix/store/5jsbnsjrvfwabm3yrapn5w0pq4yyl28b-python3.14-pluggy-1.6.0/lib/python3.14/site-packages/pluggy/_hooks.py", line 512 in __call__
  File "/nix/store/7g7j1rsp7w15yzbcsk75x9y58vfhr4fw-python3.14-pytest-9.1.1/lib/python3.14/site-packages/_pytest/main.py", line 408 in pytest_runtestloop
  File "/nix/store/5jsbnsjrvfwabm3yrapn5w0pq4yyl28b-python3.14-pluggy-1.6.0/lib/python3.14/site-packages/pluggy/_callers.py", line 121 in _multicall
  File "/nix/store/5jsbnsjrvfwabm3yrapn5w0pq4yyl28b-python3.14-pluggy-1.6.0/lib/python3.14/site-packages/pluggy/_manager.py", line 120 in _hookexec
  File "/nix/store/5jsbnsjrvfwabm3yrapn5w0pq4yyl28b-python3.14-pluggy-1.6.0/lib/python3.14/site-packages/pluggy/_hooks.py", line 512 in __call__
  File "/nix/store/7g7j1rsp7w15yzbcsk75x9y58vfhr4fw-python3.14-pytest-9.1.1/lib/python3.14/site-packages/_pytest/main.py", line 384 in _main
  File "/nix/store/7g7j1rsp7w15yzbcsk75x9y58vfhr4fw-python3.14-pytest-9.1.1/lib/python3.14/site-packages/_pytest/main.py", line 330 in wrap_session
  File "/nix/store/7g7j1rsp7w15yzbcsk75x9y58vfhr4fw-python3.14-pytest-9.1.1/lib/python3.14/site-packages/_pytest/main.py", line 377 in pytest_cmdline_main
  File "/nix/store/5jsbnsjrvfwabm3yrapn5w0pq4yyl28b-python3.14-pluggy-1.6.0/lib/python3.14/site-packages/pluggy/_callers.py", line 121 in _multicall
  File "/nix/store/5jsbnsjrvfwabm3yrapn5w0pq4yyl28b-python3.14-pluggy-1.6.0/lib/python3.14/site-packages/pluggy/_manager.py", line 120 in _hookexec
  File "/nix/store/5jsbnsjrvfwabm3yrapn5w0pq4yyl28b-python3.14-pluggy-1.6.0/lib/python3.14/site-packages/pluggy/_hooks.py", line 512 in __call__
  File "/nix/store/7g7j1rsp7w15yzbcsk75x9y58vfhr4fw-python3.14-pytest-9.1.1/lib/python3.14/site-packages/_pytest/config/__init__.py", line 229 in _main
  File "/nix/store/7g7j1rsp7w15yzbcsk75x9y58vfhr4fw-python3.14-pytest-9.1.1/lib/python3.14/site-packages/_pytest/config/__init__.py", line 253 in _console_main
  File "/nix/store/7g7j1rsp7w15yzbcsk75x9y58vfhr4fw-python3.14-pytest-9.1.1/lib/python3.14/site-packages/pytest/__main__.py", line 9 in <module>
  File "<frozen runpy>", line 88 in _run_code
  File "<frozen runpy>", line 203 in _run_module_as_main

Current thread's C stack trace (most recent call first):
  Binary file "/nix/store/0788rbnl2p558jnyjlm2s2f9r5sxpq3h-python3-3.14.6/lib/libpython3.14.dylib", at _Py_DumpStack+0x74 [0x105457850]
  Binary file "/nix/store/0788rbnl2p558jnyjlm2s2f9r5sxpq3h-python3-3.14.6/lib/libpython3.14.dylib", at faulthandler_fatal_error+0x3e4 [0x105471ce0]
  Binary file "/usr/lib/system/libsystem_platform.dylib", at _sigtramp+0x38 [0x1877d17a4]
  Binary file "/usr/lib/system/libsystem_pthread.dylib", at pthread_kill+0x128 [0x1877c78d8]
  Binary file "/usr/lib/system/libsystem_c.dylib", at abort+0x94 [0x1876ce790]
  Binary file "/usr/lib/libc++abi.dylib", at _ZN10__cxxabiv116__shim_type_infoD1Ev+0x0 [0x18777e72c]
  Binary file "/usr/lib/libc++abi.dylib", at _ZL28demangling_terminate_handlerv+0x110 [0x18776b570]
  Binary file "/usr/lib/libobjc.A.dylib", at _ZL15_objc_terminatev+0xac [0x1873888a4]
  Binary file "/usr/lib/libc++abi.dylib", at _ZSt11__terminatePFvvE+0x10 [0x18777b75c]
  Binary file "/usr/lib/libc++abi.dylib", at __cxa_get_exception_ptr+0x0 [0x18777dbe4]
  Binary file "/usr/lib/libc++abi.dylib", at __cxa_get_globals+0x0 [0x18776a09c]
  Binary file "/usr/lib/libc++.1.dylib", at _ZNSt3__120__throw_system_errorB9nqe210106ENS_10error_codeEPKc+0x5c [0x1876fd0a4]
  Binary file "/usr/lib/libc++.1.dylib", at _ZNSt3__120__throw_system_errorB9nqe210106ENS_10error_codeEPKc+0x0 [0x1876fd048]
  Binary file "/usr/lib/libc++.1.dylib", at _ZNSt3__15mutex6unlockEv+0x0 [0x1876da028]
  Binary file "/nix/store/s6yzwff90dj80dnhqb05aiyn2jdw0n68-poppler-glib-26.06.0/lib/libpoppler-glib.8.31.0.dylib", at poppler_page_render_full+0xa8 [0x10cacac68]
  Binary file "/nix/store/i6rcckia39whsa66q0wmkal1vwpqig7c-libffi-40/lib/libffi.7.dylib", at ffi_call_SYSV+0x4c [0x10b39804c]
  Binary file "/nix/store/i6rcckia39whsa66q0wmkal1vwpqig7c-libffi-40/lib/libffi.7.dylib", at ffi_call_int+0x538 [0x10b395c64]
  Binary file "/nix/store/4slc1q7lmhpq2lvd6kivibv4jrjxf57k-python3.14-pygobject-3.56.3/lib/python3.14/site-packages/gi/_gi.cpython-314-darwin.so", at pygi_invoke_c_callable+0xccc [0x10b5792e0]
  Binary file "/nix/store/4slc1q7lmhpq2lvd6kivibv4jrjxf57k-python3.14-pygobject-3.56.3/lib/python3.14/site-packages/gi/_gi.cpython-314-darwin.so", at pygi_function_cache_invoke+0x44 [0x10b57a4c8]
  Binary file "/nix/store/0788rbnl2p558jnyjlm2s2f9r5sxpq3h-python3-3.14.6/lib/libpython3.14.dylib", at PyObject_Vectorcall+0x58 [0x1051f35b0]
  Binary file "/nix/store/0788rbnl2p558jnyjlm2s2f9r5sxpq3h-python3-3.14.6/lib/libpython3.14.dylib", at _PyEval_EvalFrameDefault+0x20b8 [0x105387d68]
  Binary file "/nix/store/0788rbnl2p558jnyjlm2s2f9r5sxpq3h-python3-3.14.6/lib/libpython3.14.dylib", at _PyEval_Vector+0x2d4 [0x1053859b8]
  Binary file "/nix/store/0788rbnl2p558jnyjlm2s2f9r5sxpq3h-python3-3.14.6/lib/libpython3.14.dylib", at _PyObject_VectorcallPrepend+0xa8 [0x1051f4f00]
  Binary file "/nix/store/0788rbnl2p558jnyjlm2s2f9r5sxpq3h-python3-3.14.6/lib/libpython3.14.dylib", at _PyVectorcall_Call+0x84 [0x1051f3404]
  Binary file "/nix/store/0788rbnl2p558jnyjlm2s2f9r5sxpq3h-python3-3.14.6/lib/libpython3.14.dylib", at _PyEval_EvalFrameDefault+0x36b0 [0x105389360]
  Binary file "/nix/store/0788rbnl2p558jnyjlm2s2f9r5sxpq3h-python3-3.14.6/lib/libpython3.14.dylib", at _PyEval_Vector+0x2d4 [0x1053859b8]
  Binary file "/nix/store/0788rbnl2p558jnyjlm2s2f9r5sxpq3h-python3-3.14.6/lib/libpython3.14.dylib", at _PyObject_VectorcallDictTstate+0xa0 [0x1051f2680]
  Binary file "/nix/store/0788rbnl2p558jnyjlm2s2f9r5sxpq3h-python3-3.14.6/lib/libpython3.14.dylib", at slot_tp_call+0xe0 [0x1052b8150]
  Binary file "/nix/store/0788rbnl2p558jnyjlm2s2f9r5sxpq3h-python3-3.14.6/lib/libpython3.14.dylib", at _PyObject_MakeTpCall+0x168 [0x1051f299c]
  Binary file "/nix/store/0788rbnl2p558jnyjlm2s2f9r5sxpq3h-python3-3.14.6/lib/libpython3.14.dylib", at _PyEval_EvalFrameDefault+0x4720 [0x10538a3d0]
  Binary file "/nix/store/0788rbnl2p558jnyjlm2s2f9r5sxpq3h-python3-3.14.6/lib/libpython3.14.dylib", at _PyEval_Vector+0x2d4 [0x1053859b8]
  Binary file "/nix/store/0788rbnl2p558jnyjlm2s2f9r5sxpq3h-python3-3.14.6/lib/libpython3.14.dylib", at _PyObject_VectorcallDictTstate+0xa0 [0x1051f2680]
  <truncated rest of calls>

Extension modules: cairo._cairo, gi._gi, gi._gi_cairo (total: 3)
/nix/store/cgm4icp3ckzs8i7zj7y1sq3pp2fvrrp6-pytest-check-hook/nix-support/setup-hook: line 23: 59841 Abort trap: 6              /nix/store/0788rbnl2p558jnyjlm2s2f9r5sxpq3h-python3-3.14.6/bin/python3.14 "${flagsArray[@]}"

Additional context

I've traced the problem to Poppler, but upgrading that breaks Inkscape which seems to need regular patching. This is catcheable in tests only if GTK3 is available to Poppler; Nix doesn't provide that so these tests have been being silently skipped

System metadata

fetching path input 'path:/nix/store/swsq9fz5xzbzqd2864z9k0xkq009cpg6-source'
 - system: `"aarch64-darwin"`
 - host os: `Darwin 25.5.0, macOS 26.5.2`
 - multi-user?: `yes`
 - sandbox: `no`
 - version: `nix-env (Lix, like Nix) 2.95.2
System type: aarch64-darwin
Additional system types: x86_64-darwin
Features: gc, signed-caches
System configuration file: /etc/nix/nix.conf
User configuration files: /Users/etcaton/.config/nix/nix.conf:/Users/etcaton/.nix-profile/etc/xdg/nix/nix.conf:/run/current-system/sw/etc/xdg/nix/nix.conf:/nix/var/nix/profiles/default/etc/xdg/nix/nix.conf
Store directory: /nix/store
State directory: /nix/var/nix
Data directory: /nix/store/4dw2mganmnsxy31wyjll1vrn3gp5x345-lix-2.95.2/share`
 - nixpkgs: `/nix/store/swsq9fz5xzbzqd2864z9k0xkq009cpg6-source`

Notify maintainers

@dotlambda [mat2]

poppler appears to not have a dedicated maintainer and IIRC I can't ping teams


Note for maintainers: Please tag this issue in your pull request description. (i.e. Resolves #ISSUE.)

I assert that this issue is relevant for Nixpkgs

Is this issue important to you?

Add a 👍 reaction to issues you find important.

Activity

  1. added
    0.kind: build failure
    on Jul 26, 2026
  2. added
    6.topic: darwin
    on Jul 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    0.kind: build failure6.topic: darwin

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions