Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Feb 2024 02:09:27 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 277180] emulators/qemu: Building guestagent Flavor Fails at mkvenv
Message-ID:  <bug-277180-7788@https.bugs.freebsd.org/bugzilla/>

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

            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=3D248621&action=
=3Dedit
List of installed packages.

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

...
=3D=3D=3D>  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 =3D 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/pyt=
hon3.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

=3D=3D=3D>  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 id=
ea
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

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