[Bug 273724] archivers/py-brotli: build fail

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 11 Sep 2023 16:39:40 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273724

            Bug ID: 273724
           Summary: archivers/py-brotli: build fail
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: sunpoet@FreeBSD.org
          Reporter: rozhuk.im@gmail.com
             Flags: maintainer-feedback?(sunpoet@FreeBSD.org)
          Assignee: sunpoet@FreeBSD.org

===>  Building for py39-brotli-1.1.0
* Getting build dependencies for wheel...
running egg_info
writing python/Brotli.egg-info/PKG-INFO
writing dependency_links to python/Brotli.egg-info/dependency_links.txt
writing top-level names to python/Brotli.egg-info/top_level.txt
listing git files failed - pretending there aren't any
reading manifest file 'python/Brotli.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching 'python/_brotli.cc'
adding license file 'LICENSE'
writing manifest file 'python/Brotli.egg-info/SOURCES.txt'
* Building wheel...
running bdist_wheel
running build
running build_py
creating bin
creating bin/lib.freebsd-13.2-STABLE-amd64-cpython-39
copying python/brotli.py -> bin/lib.freebsd-13.2-STABLE-amd64-cpython-39
running build_ext
building '_brotli' extension
creating bin/temp.freebsd-13.2-STABLE-amd64-cpython-39
creating bin/temp.freebsd-13.2-STABLE-amd64-cpython-39/python
cc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -O2 -pipe -O3
-pipe -funroll-loops -mretpoline -fno-delete-null-pointer-checks
-fstack-protector-strong -fno-strict-aliasing
-fdebug-prefix-map=/tmp/ports/usr/ports/lang/python39/work/Python-3.9.18=. -O2
-pipe -O3 -pipe -funroll-loops -mretpoline -fno-delete-null-pointer-checks
-fstack-protector-strong -fno-strict-aliasing
-fdebug-prefix-map=/tmp/ports/usr/ports/archivers/py-brotli/work-py39/Brotli-1.1.0=.
-fPIC -I/usr/local/include -I/usr/local/include/python3.9 -c python/_brotli.c
-o bin/temp.freebsd-13.2-STABLE-amd64-cpython-39/python/_brotli.o
cc -shared -Wl,-rpath=/usr/local/lib -L/usr/local/lib -Wl,-rpath,/usr/local/lib
-fstack-protector-strong -fstack-protector-strong -O2 -pipe -O3 -pipe
-funroll-loops -mretpoline -fno-delete-null-pointer-checks
-fstack-protector-strong -fno-strict-aliasing
-fdebug-prefix-map=/tmp/ports/usr/ports/archivers/py-brotli/work-py39/Brotli-1.1.0=.
bin/temp.freebsd-13.2-STABLE-amd64-cpython-39/python/_brotli.o -L/usr/local/lib
-L/usr/local/lib -lbrotlicommon -lbrotlidec -lbrotlienc -o
bin/lib.freebsd-13.2-STABLE-amd64-cpython-39/_brotli.cpython-39.so
installing to bin/bdist.freebsd-13.2-STABLE-amd64/wheel
running install
running install_lib
creating bin/bdist.freebsd-13.2-STABLE-amd64
creating bin/bdist.freebsd-13.2-STABLE-amd64/wheel
copying bin/lib.freebsd-13.2-STABLE-amd64-cpython-39/_brotli.cpython-39.so ->
bin/bdist.freebsd-13.2-STABLE-amd64/wheel
copying bin/lib.freebsd-13.2-STABLE-amd64-cpython-39/brotli.py ->
bin/bdist.freebsd-13.2-STABLE-amd64/wheel
running install_egg_info
running egg_info
writing python/Brotli.egg-info/PKG-INFO
writing dependency_links to python/Brotli.egg-info/dependency_links.txt
writing top-level names to python/Brotli.egg-info/top_level.txt
listing git files failed - pretending there aren't any
reading manifest file 'python/Brotli.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching 'python/_brotli.cc'
adding license file 'LICENSE'
writing manifest file 'python/Brotli.egg-info/SOURCES.txt'
Copying python/Brotli.egg-info to
bin/bdist.freebsd-13.2-STABLE-amd64/wheel/Brotli-1.1.0-py3.9.egg-info
running install_scripts
creating bin/bdist.freebsd-13.2-STABLE-amd64/wheel/Brotli-1.1.0.dist-info/WHEEL
creating
'/tmp/ports/usr/ports/archivers/py-brotli/work-py39/Brotli-1.1.0/dist/tmphv3wtz_w/Brotli-1.1.0-cp39-cp39-freebsd_13_2_stable_amd64.whl'
and adding 'bin/bdist.freebsd-13.2-STABLE-amd64/wheel' to it
adding '_brotli.cpython-39.so'
adding 'brotli.py'
adding 'Brotli-1.1.0.dist-info/LICENSE'
adding 'Brotli-1.1.0.dist-info/METADATA'
adding 'Brotli-1.1.0.dist-info/WHEEL'
adding 'Brotli-1.1.0.dist-info/top_level.txt'
adding 'Brotli-1.1.0.dist-info/RECORD'
removing bin/bdist.freebsd-13.2-STABLE-amd64/wheel
Successfully built Brotli-1.1.0-cp39-cp39-freebsd_13_2_stable_amd64.whl
===>>> Building the port required 2 seconds
===>  Staging for py39-brotli-1.1.0
===>   Generating temporary packing list
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.9/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/usr/local/lib/python3.9/site-packages/installer/__main__.py", line 98,
in <module>
    _main(sys.argv[1:], "python -m installer")
  File "/usr/local/lib/python3.9/site-packages/installer/__main__.py", line 86,
in _main
    with WheelFile.open(args.wheel) as source:
  File "/usr/local/lib/python3.9/contextlib.py", line 119, in __enter__
    return next(self.gen)
  File "/usr/local/lib/python3.9/site-packages/installer/sources.py", line 162,
in open
    with zipfile.ZipFile(path) as f:
  File "/usr/local/lib/python3.9/zipfile.py", line 1248, in __init__
    self.fp = io.open(file, filemode)
FileNotFoundError: [Errno 2] No such file or directory:
'/tmp/ports/usr/ports/archivers/py-brotli/work-py39/Brotli-1.1.0/dist/brotli-1.1.0*.whl'
*** Error code 1

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