[Bug 277180] emulators/qemu: Building guestagent Flavor Fails at mkvenv

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 20 Feb 2024 02:09:27 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277180

            Bug ID: 277180
           Summary: emulators/qemu: Building guestagent Flavor Fails at
                    mkvenv
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: bofh@freebsd.org
          Reporter: ek@purplehat.org
             Flags: maintainer-feedback?(bofh@freebsd.org)
          Assignee: bofh@freebsd.org

Created attachment 248621
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=248621&action=edit
List of installed packages.

Upon building the "guestagent" flavor of this port, I get the below output
pretty immediately.

...
===>  Configuring for qemu-guest-agent-8.2.1
Using './build' as the directory for build output
python determined to be '/usr/local/bin/python3.9'
python version: Python 3.9.18
mkvenv: Creating non-isolated virtual environment at 'pyvenv'
mkvenv did not complete successfully:
Traceback (most recent call last):
  File
"/usr/ports/emulators/qemu/work-guestagent/qemu-8.2.1/python/scripts/mkvenv.py",
line 959, in main
    post_venv_setup()
  File
"/usr/ports/emulators/qemu/work-guestagent/qemu-8.2.1/python/scripts/mkvenv.py",
line 843, in post_venv_setup
    generate_console_scripts(["pip"])
  File
"/usr/ports/emulators/qemu/work-guestagent/qemu-8.2.1/python/scripts/mkvenv.py",
line 475, in generate_console_scripts
    maker = distlib.scripts.ScriptMaker(None, bin_path)
AttributeError: module 'pip._vendor.distlib' has no attribute 'scripts'
mkvenv subprocess failed:
cmd:
['/usr/ports/emulators/qemu/work-guestagent/qemu-8.2.1/build/pyvenv/bin/python3.9',
'/usr/ports/emulators/qemu/work-guestagent/qemu-8.2.1/python/scripts/mkvenv.py',
'post_init']
returncode: 2

*** Ouch! ***

VENV creation subprocess failed.



ERROR: python venv creation failed

===>  Script "configure" failed unexpectedly.
Please report the problem to bofh@FreeBSD.org [maintainer] and attach the
"/usr/ports/emulators/qemu/work-guestagent/qemu-8.2.1/config.log" including
the output of the failure of your make command. Also, it might be a good idea
to provide an overview of all packages installed on your system (e.g. a
/usr/local/sbin/pkg-static info -g -Ea).
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/emulators/qemu
*** Error code 1

Stop.
make: stopped in /usr/ports/emulators/qemu
...

I would provide the
"/usr/ports/emulators/qemu/work-guestagent/qemu-8.2.1/config.log" file here but
it doesn't exist. I did attach the suggested installed packages list.

Regards,
Janky Jay, III

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