Skip to content

vectorscan: drop pcre - #525974

Merged
mweinelt merged 1 commit into
NixOS:masterfrom
tnias:vectorscan-pcre
May 30, 2026
Merged

mweinelt merged 1 commit into
NixOS:masterfrom
tnias:vectorscan-pcre

Conversation

@tnias

@tnias tnias commented May 30, 2026 •

Copy link
Copy Markdown
Contributor

pcre is only required for building chimera. we were not building chimera anyway.

pcre is deprecated.
Relates to #356387.

Things done

CC maintainers: @vlaci

pcre is only required for building chimera
@nixpkgs-ci nixpkgs-ci Bot added 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 11.by: package-maintainer This PR was created by a maintainer of all the package it changes. labels May 30, 2026
@tnias

tnias commented May 30, 2026

Copy link
Copy Markdown
Contributor Author

The unblob test failure is already present on master without this patch.

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 525974
Commit: f4da1f458e15a76a3d8b8bf2a5c48ab5a7748a62


x86_64-linux

❌ 1 package failed to build:
  • unblob
✅ 11 packages built:
  • noseyparker
  • python313Packages.pyperscan
  • python314Packages.pyperscan
  • rimsort
  • rspamd
  • rspamd-trainer
  • secretscanner
  • solanum
  • suricata
  • todds
  • vectorscan

unblob
=================================== FAILURES ===================================
_________________ test_extractall_ignores_gnu_timestamp_prefix _________________

tmp_path = PosixPath('/build/pytest-of-nixbld/pytest-0/test_extractall_ignores_gnu_ti0')

def test_extractall_ignores_gnu_timestamp_prefix(tmp_path):
    tar_path = tmp_path / "broken-gnu.tar"
    tar_path.write_bytes(_build_gnu_tar_with_timestamp_prefix())

    extractor = SafeTarFile(tar_path)
    try:
        with warnings.catch_warnings(record=True) as caught:
            warnings.simplefilter("error", DeprecationWarning)
            extractor.extractall(tmp_path / "extract")  # noqa: S202
    finally:
        extractor.close()

    assert extractor.reports == []
    assert caught == []
  assert (tmp_path / "extract" / "Vagrantfile").is_file()

E AssertionError: assert False
E + where False = is_file()
E + where is_file = ((PosixPath('/build/pytest-of-nixbld/pytest-0/test_extractall_ignores_gnu_ti0') / 'extract') / 'Vagrantfile').is_file

tests/handlers/archive/test_tar.py:405: AssertionError
=============================== warnings summary ===============================
tests/test_handlers.py: 4092 warnings
/nix/store/60m4rxhg2fldqaak400c0lry96ijrzqn-python3-3.13.13/lib/python3.13/multiprocessing/popen_fork.py:67: DeprecationWarning: This process (pid=1512) is multi-threaded, use of fork() may lead to deadlocks in the child.
self.pid = os.fork()

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED tests/handlers/archive/test_tar.py::test_extractall_ignores_gnu_timestamp_prefix - AssertionError: assert False
=== 1 failed, 1039 passed, 1 skipped, 4 deselected, 4092 warnings in 59.85s ====

@tnias
tnias marked this pull request as ready for review May 30, 2026 17:06
@nixpkgs-ci
nixpkgs-ci Bot requested a review from vlaci May 30, 2026 17:35
@mweinelt
mweinelt added this pull request to the merge queue May 30, 2026
Merged via the queue into NixOS:master with commit b692cc2 May 30, 2026
32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux. 11.by: package-maintainer This PR was created by a maintainer of all the package it changes.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants