[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

            Bug ID: 271758
           Summary: devel/gobject-introspection: /meson.build:2049:2:
                    ERROR: Dependency "iconv" not found
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: desktop@FreeBSD.org
          Reporter: henri.de.veer@gmail.com
          Assignee: desktop@FreeBSD.org
             Flags: maintainer-feedback?(desktop@FreeBSD.org)

Created attachment 242526
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=242526&action=edit
Meson log of  the failure.

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

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

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

You are receiving this mail because:
You are the assignee for the bug.