Re: git: a13ec21cd733 - main - textproc/libxml2: Update to 2.9.13 and migrate to CMake

From: Po-Chuan Hsieh <sunpoet_at_freebsd.org>
Date: Fri, 25 Mar 2022 18:57:32 UTC
On Sat, Mar 26, 2022 at 1:15 AM Daniel Engberg <diizzy@freebsd.org> wrote:

> The branch main has been updated by diizzy:
>
> URL:
> https://cgit.FreeBSD.org/ports/commit/?id=a13ec21cd733f67a9fc0dc00ab45268bdc236246
>
> commit a13ec21cd733f67a9fc0dc00ab45268bdc236246
> Author:     Daniel Engberg <diizzy@FreeBSD.org>
> AuthorDate: 2022-03-25 16:51:30 +0000
> Commit:     Daniel Engberg <diizzy@FreeBSD.org>
> CommitDate: 2022-03-25 17:14:39 +0000
>
>     textproc/libxml2: Update to 2.9.13 and migrate to CMake
>
>     Depend on ICU and (lib)readline to follow other distros
>
>     Changelog: https://gitlab.gnome.org/GNOME/libxml2/-/tags/v2.9.13
>
>     I'd like to thank both tcberner and mandree for reviewing,
>     suggesting improvements and helping out in general. I'd also like
>     thank antoine for doing exp-runs.
>
>     PR:             262288
>     Reviewed by:    tcberner, mandree
>     Approved by:    desktop (tcberner)
>     Differential Revision:  https://reviews.freebsd.org/D34338
>     Exp-run by:     antoine
> ---
>  textproc/libxml2/Makefile                          |  83 +++---
>  textproc/libxml2/distinfo                          |   6 +-
>  textproc/libxml2/files/LICENSE.TRIO                |  12 -
>  textproc/libxml2/files/extra-patch-docs            |  11 +
>  textproc/libxml2/files/patch-CMakeLists.txt        |  29 ++
>  textproc/libxml2/files/patch-Makefile.in           |  47 ----
>  textproc/libxml2/files/patch-config.h.in           |  11 -
>  textproc/libxml2/files/patch-configure             |  11 -
>  ...git-01-85b1792e37b131e7a51af98a37f92472e8de5f3f | 211 ---------------
>  ...git-01-b66ce0bba83febe2f4d119097a0391f5d886c3b4 |  86 ++++++
>  ...git-02-13ad8736d294536da4cbcd70a96b0a2fbf47070c |  46 ----
>  ...git-03-3e1aad4fe584747fd7d17cc7b2863a78e2d21a77 |  31 ---
>  ...git-04-92d9ab4c28842a09ca2b76d3ff2f933e01b6cd6f |  43 ---
>  .../files/patch-libxml-2.0-uninstalled.pc.in       |   9 -
>  textproc/libxml2/files/patch-libxml-2.0.pc.in      |  10 +-
>  textproc/libxml2/files/patch-python_Makefile.in    |  20 --
>  .../libxml2/files/patch-python_tests_Makefile.in   |  11 -
>  textproc/libxml2/files/patch-xml2Conf.sh.in        |  15 --
>  textproc/libxml2/pkg-plist                         | 296
> ++++++++++++++++++++-
>  textproc/py-libxml2/Makefile                       |  42 +--
>

Hi Daniel,

Regarding textproc/py-libxml2, please compile the installed .py files and
include those .pyc files in the package.
Otherwise it causes build_fs_violation while running "poudriere bulk" with
-t flag.
Thanks.

e.g.
% poudriere bulk -j foo -r -t textproc/itstool
...
[00:01:20] [01] [00:00:14] Finished textproc/itstool | itstool-2.0.7:
Failed: build_fs_violation

from log:
=>> Checking for filesystem violations... done
=>> Error: Filesystem touched during build:
extra: usr/local/lib/python3.8/site-packages/__pycache__
=>> Cleaning up wrkdir

Regards,
sunpoet