Debian Patches

Status for watchman/4.9.0-9

Patch Description Author Forwarded Bugs Origin Last update
000_bug_546 fix art.t test failure on alpine linux
Summary:
Looks like we end up with root_ holding a nullptr after
the associated test is finished. This only seems to be a problem
in practice on Alpine linux's musl libc based environment, and
only when built with `-O2`. Not sure if this is a c++ standard
library implementation issue or a compiler optimization, or a
combination of both of those things.

Guard against that with a simple nullptr check.

Refs https://github.com/facebook/watchman/issues/546

Reviewed By: simpkins

Differential Revision: D6681244

(cherry picked from commit e77eb9597c4c094a0b0bbeef0b957b49b40b87eb)
Wez Furlong <wez@fb.com> yes upstream upstream v2020.05.11.00 2018-01-08
python3a.patch Have bin scripts use iter() method for python3
Summary:
Iterable dict items should use iteritems in python 2 and items in python 3.
The change was made in a way to not require any additional package
dependencies.

Reviewed By: wez

Differential Revision: D5740400

(cherry picked from commit 17958f7da287e8d0f977693f4ef4f0973a17069b)
Eamonn Kent <ekent@fb.com> no upstream, v2020.05.11.00 2017-08-31
python3b.patch fixup py2 vs py3 compat issue with watchman-make
Summary:
Copied and pasted our logic from WatchmanTestCase.py


Reviewed By: chadaustin

Differential Revision: D9330044

(cherry picked from commit e48f0298e888817c6cc1ee27876b34358428de2a)
Wez Furlong <wez@fb.com> no upstream, v2020.05.11.00 2018-08-15
002_disable_autoconf_warnings Fix FTBFS with autoconf 2.71
autogen.sh was incorrectly identifying pkg-config as
missing due to warnings of unused variables by autoconf.
Anuradha Weeraman <anuradha@debian.org> not-needed 2021-08-24
003_support_python_310 fix Python deprecation warnings about PY_SSIZE_T_CLEAN
Summary:
Update pywatchman/bser.c to define `PY_SSIZE_T_CLEAN` before including
`Python.h` and then receive parsed string lenghts as `Py_ssize_t` rather than
`int`. This eliminates some runtime Python warnings about the old `int`
behavior being deprecated.

Reviewed By: chadaustin

Differential Revision: D25294778

(cherry picked from commit 6813a948fee72a15acf4120262d37c9c8dc3f16b)
Adam Simpkins <simpkins@fb.com> no upstream, v2020.12.07.00 2020-12-03
pcre-move-to-pcre2.patch pcre: move to pcre2
Summary:
The pcre API is no longer maintained. According to pcre.org:

. The older, but still widely deployed PCRE library, originally released in
. 1997, is at version 8.45. This version of PCRE is now at end of life, and is no
. longer being actively maintained. Version 8.45 is expected to be the final
. release of the older PCRE library, and new projects should use PCRE2 instead.

Let's thus migrate to pcre2.

Reviewed By: chadaustin

Differential Revision: D38134776
Xavier Deguillard <xavierd@fb.com> no 2022-07-26

All known versions for source package 'watchman'

Links