maintainer-feedback requested: [Bug 271758] devel/gobject-introspection: /meson.build:2049:2: ERROR: Dependency "iconv" not found

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 31 May 2023 20:04:20 UTC
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-desktop (Team)
<desktop@FreeBSD.org> for maintainer-feedback:
Bug 271758: devel/gobject-introspection: /meson.build:2049:2: ERROR: Dependency
"iconv" not found
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271758



--- Description ---
When building devel/gobject-introspection I get the next error:

glib| Run-time dependency iconv found: NO (tried builtin and system)

subprojects/glib/meson.build:2049:2: ERROR: Dependency "iconv" not found, tried
builtin and system


OS version:
FreeBSD xxxxx 12.4-RELEASE-p1 FreeBSD 12.4-RELEASE-p1 GENERIC  amd64

Trying to hack the meson.build failed. I have no experience with this build
system so I have no clue how to solve this in a way it should be fixed.
But when I modified the meson.build to get around 'iconv' I ran into this
problem:

ERROR: Problem encountered: No getxattr implementation found in C library or
libxattr

And xattr seems to be very 'linux' and not BSD friendly.

Also the python version detected or used was 3 and I had to make a symlink
python3 to python3.9 in /usr/local/bin to get any further (or hack the
meson_options.txt and replace python3 with python3.9 ?).

I need this package as a dependency somewhere down the tree to build
dns/bind918.