Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Jun 2023 16:42:02 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 272189] databases/py-mysqlclient fails to build after update to 2.2.0
Message-ID:  <bug-272189-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272189

            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=3D242972&action=
=3Dedit
Poudriere build log

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

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<phase=
: build          >=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D
=3D=3D=3D=3D=3D env: NO_DEPENDS=3Dyes USER=3Droot UID=3D0 GID=3D0
=3D=3D=3D>  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_pro=
cess.py",
line 353, in <module>
    main()
  File
"/usr/local/lib/python3.9/site-packages/pyproject_hooks/_in_process/_in_pro=
cess.py",
line 335, in main
    json_out['return_val'] =3D hook(**hook_input['kwargs'])
  File
"/usr/local/lib/python3.9/site-packages/pyproject_hooks/_in_process/_in_pro=
cess.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", l=
ine
177, in get_requires_for_build_wheel
    return self._get_build_requires(
  File "/usr/local/lib/python3.9/site-packages/setuptools/build_meta.py", l=
ine
159, in _get_build_requires
    self.run_setup()
  File "/usr/local/lib/python3.9/site-packages/setuptools/build_meta.py", l=
ine
174, in run_setup
    exec(compile(code, __file__, 'exec'), locals())
  File "setup.py", line 154, in <module>
    ext_options =3D get_config_posix(get_options())
  File "setup.py", line 48, in get_config_posix
    pkg_name =3D 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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-272189-7788>