Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 07 Mar 2025 09:40:20 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 285219] category/port:py-Automat - fix build error because of casing
Message-ID:  <bug-285219-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 285219
           Summary: category/port:py-Automat - fix build error because of
                    casing
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: lim@slimadvies.com

I've submitted a PR:
https://github.com/freebsd/freebsd-ports/pull/356

Use lowercase 'automat' name according to
https://wiki.freebsd.org/Python/PortsPolicy#Naming

This PR fixes the build error (look at lowercase wheel name and Uppercase
FileNotFoundError path):

Successfully built automat-24.8.1-py3-none-any.whl
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<phase=
: run-depends >=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: USE_PACKAGE_DEPENDS_ONLY=3D1 USER=3Droot UID=3D0 GID=3D0
=3D=3D=3D> py311-Automat-24.8.1 depends on file: /usr/local/bin/python3.11 =
- found
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<phase=
: stage >=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=3Dnobody UID=3D65534 GID=3D65534
=3D=3D=3D> Staging for py311-Automat-24.8.1
=3D=3D=3D> Generating temporary packing list
Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in _run_code
File "/usr/local/lib/python3.11/site-packages/installer/main.py", line 98, =
in
_main(sys.argv[1:], "python -m installer")
File "/usr/local/lib/python3.11/site-packages/installer/main.py", line 86, =
in
_main
with WheelFile.open(args.wheel) as source:
File "/usr/local/lib/python3.11/contextlib.py", line 137, in enter
return next(self.gen)
^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/installer/sources.py", line 1=
62,
in open
with zipfile.ZipFile(path) as f:
^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/zipfile.py", line 1295, in init
self.fp =3D io.open(file, filemode)
^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory:
'/wrkdirs/usr/ports/devel/py-Automat/work-py311/automat-24.8.1/dist/Automat=
-24.8.1*.whl'

--=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-285219-7788>