Created attachment 245159 [details] poudriere build log Project name: at-spi2-core Project version: 2.48.4 C compiler for the host machine: cc (clang 14.0.5 "FreeBSD clang version 14.0.5 (https://github.com/llvm/llvm-project.git llvmorg-14.0.5-0-gc12386ae247c)") C linker for the host machine: cc ld.lld 14.0.5 Host machine cpu family: x86_64 Host machine cpu: x86_64 Compiler for C supports arguments -fvisibility=hidden: YES Checking for function "bind_textdomain_codeset" : NO Found pkg-config: /usr/local/bin/pkgconf (2.0.3) Run-time dependency dbus-1 found: YES 1.14.10 Run-time dependency glib-2.0 found: YES 2.78.0 Run-time dependency gobject-2.0 found: YES 2.78.0 Run-time dependency gio-2.0 found: YES 2.78.0 Checking for function "dlopen" : YES Run-time dependency gmodule-2.0 found: YES 2.78.0 Did not find CMake 'cmake' Found CMake: NO Run-time dependency libxml-2.0 found: NO (tried pkgconfig) meson.build:147:13: ERROR: Dependency "libxml-2.0" not found, tried pkgconfig A full log can be found at /wrkdirs/usr/ports/accessibility/at-spi2-core/work/at-spi2-core-2.48.4/_build/meson-logs/meson-log.txt WARNING: Running the setup command as `meson [options]` instead of `meson setup [options]` is ambiguous and deprecated. ===> Script "configure" failed unexpectedly.
Created attachment 245160 [details] unbreaking patch
Created attachment 245161 [details] poudriere build log with patch applied
(In reply to Anton Saietskii from comment #1) Note: I didn't touch PORTREVISION intentionally according to Porter's Handbook 5.2.3: > Build fixes which cause a package to become compilable where it was previously failing. As long as the changes do not introduce any functional change on any other platforms on which the port did previously build. Since PORTREVISION reflects the content of the package, if the package was not previously buildable then there is no need to increase PORTREVISION to mark a change.
It's not a regression but a regular bug. The spurious libxml2 dependency existed in 2.48.0 as well. According to my poudriere logs libxml2 is bootlegged via glib.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=b87eb7985bfeaac9c71e3c01826b585db7c9bad0 commit b87eb7985bfeaac9c71e3c01826b585db7c9bad0 Author: Jan Beich <jbeich@FreeBSD.org> AuthorDate: 2023-09-23 13:05:03 +0000 Commit: Jan Beich <jbeich@FreeBSD.org> CommitDate: 2023-09-23 13:17:43 +0000 accessibility/at-spi2-core: unbreak build with glib/MANPAGES=off meson.build:147:13: ERROR: Dependency "libxml-2.0" not found, tried pkgconfig libxml2 is only used by tests which cannot be disabled. devel/glib20 has it in LIB_DEPENDS due to USE_GNOME=libxslt:build -> libxslt_USE_GNOME_IMPL=libxml2 without specifying :build suffix. PR: 274045 Reported by: Anton Saietskii Submitted by: Olivier Duchateau (based on) accessibility/at-spi2-core/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
A commit in branch 2023Q3 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=d5790309c4a0c5fa52eab0033d28a4b5e4e9a236 commit d5790309c4a0c5fa52eab0033d28a4b5e4e9a236 Author: Jan Beich <jbeich@FreeBSD.org> AuthorDate: 2023-09-23 13:05:03 +0000 Commit: Jan Beich <jbeich@FreeBSD.org> CommitDate: 2023-09-23 13:18:31 +0000 accessibility/at-spi2-core: unbreak build with glib/MANPAGES=off meson.build:147:13: ERROR: Dependency "libxml-2.0" not found, tried pkgconfig libxml2 is only used by tests which cannot be disabled. devel/glib20 has it in LIB_DEPENDS due to USE_GNOME=libxslt:build -> libxslt_USE_GNOME_IMPL=libxml2 without specifying :build suffix. PR: 274045 Reported by: Anton Saietskii Submitted by: Olivier Duchateau (based on) (cherry picked from commit b87eb7985bfeaac9c71e3c01826b585db7c9bad0) accessibility/at-spi2-core/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)