[Bug 272189] databases/py-mysqlclient fails to build after update to 2.2.0

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 24 Jun 2023 16:42:02 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272189

            Bug ID: 272189
           Summary: databases/py-mysqlclient fails to build after update
                    to 2.2.0
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: fluffy@FreeBSD.org
          Reporter: lysfjord.daniel@smokepit.net
          Assignee: fluffy@FreeBSD.org
             Flags: maintainer-feedback?(fluffy@FreeBSD.org)
 Attachment #242972 text/plain
         mime type:

Created attachment 242972
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=242972&action=edit
Poudriere build log

After update to version 2.2.0, py39-mysqlclient fails to build with the
following error:

=======================<phase: build          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Building for py39-mysqlclient-2.2.0
* Getting build dependencies for wheel...
Trying pkg-config --exists mysqlclient
Command 'pkg-config --exists mysqlclient' returned non-zero exit status 1.
Trying pkg-config --exists mariadb
Command 'pkg-config --exists mariadb' returned non-zero exit status 1.
Traceback (most recent call last):
  File
"/usr/local/lib/python3.9/site-packages/pyproject_hooks/_in_process/_in_process.py",
line 353, in <module>
    main()
  File
"/usr/local/lib/python3.9/site-packages/pyproject_hooks/_in_process/_in_process.py",
line 335, in main
    json_out['return_val'] = hook(**hook_input['kwargs'])
  File
"/usr/local/lib/python3.9/site-packages/pyproject_hooks/_in_process/_in_process.py",
line 118, in get_requires_for_build_wheel
    return hook(config_settings)
  File "/usr/local/lib/python3.9/site-packages/setuptools/build_meta.py", line
177, in get_requires_for_build_wheel
    return self._get_build_requires(
  File "/usr/local/lib/python3.9/site-packages/setuptools/build_meta.py", line
159, in _get_build_requires
    self.run_setup()
  File "/usr/local/lib/python3.9/site-packages/setuptools/build_meta.py", line
174, in run_setup
    exec(compile(code, __file__, 'exec'), locals())
  File "setup.py", line 154, in <module>
    ext_options = get_config_posix(get_options())
  File "setup.py", line 48, in get_config_posix
    pkg_name = find_package_name()
  File "setup.py", line 27, in find_package_name
    raise Exception(
Exception: Can not find valid pkg-config name.
Specify MYSQLCLIENT_CFLAGS and MYSQLCLIENT_LDFLAGS env vars manually

ERROR Backend subprocess exited when trying to invoke
get_requires_for_build_wheel
*** Error code 1

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