[Bug 270788] devel/libgusb-0.3.10_1: Build failure on FreeBSD 13.2 - ModuleNotFoundError: No module named 'pkg_resources'

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 12 Apr 2023 14:22:40 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270788

            Bug ID: 270788
           Summary: devel/libgusb-0.3.10_1: Build failure on FreeBSD 13.2
                    - ModuleNotFoundError: No module named 'pkg_resources'
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: freebsd@wb9.se
 Attachment #241438 text/plain
         mime type:

Created attachment 241438
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=241438&action=edit
build log for libgusb-0.3.10_1

When i let poudriere build packages for 13.2 (amd64) the build for
devel/libgusb fails with the following message:

[ 52% 13/25] /usr/local/bin/python3.9
/wrkdirs/usr/ports/devel/libgusb/work/libgusb-0.3.10/contrib/generate-version-script.py
LIBGUSB gusb/GUsb-1.0.gir gusb/libgusb.ver
FAILED: gusb/libgusb.ver
/usr/local/bin/python3.9
/wrkdirs/usr/ports/devel/libgusb/work/libgusb-0.3.10/contrib/generate-version-script.py
LIBGUSB gusb/GUsb-1.0.gir gusb/libgusb.ver
Traceback (most recent call last):
  File
"/wrkdirs/usr/ports/devel/libgusb/work/libgusb-0.3.10/contrib/generate-version-script.py",
line 10, in <module>
    from pkg_resources import parse_version
ModuleNotFoundError: No module named 'pkg_resources'
ninja: build stopped: subcommand failed.
*** Error code 1

A quick search tells me pkg_resources is related to python setuptools, but I
don't know more than that. Other python packages seems to build fine.

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