[Bug 280042] sysutils/iocage-devel: missing dependency py311-six

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 28 Jun 2024 21:34:02 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280042

            Bug ID: 280042
           Summary: sysutils/iocage-devel: missing dependency py311-six
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: nc@FreeBSD.org
          Reporter: zero1@zaclys.net
          Assignee: nc@FreeBSD.org
             Flags: maintainer-feedback?(nc@FreeBSD.org)

py311-iocage-devel on a fresh installed FreeBSD fails on its first run because
of a missing module(py311-six), once the missing module installed iocage works
normally.

Tested on 14.1-RELEASE-p1
iocage version: 1.6.20240531,1


root@fbsd:~ #
root@fbsd:~ # iocage fetch
Traceback (most recent call last):
  File "/usr/local/bin/iocage", line 6, in <module>
    from iocage_cli import cli
  File "/usr/local/lib/python3.11/site-packages/iocage_cli/__init__.py", line
38, in <module>
    import iocage_lib.ioc_check as ioc_check
  File "/usr/local/lib/python3.11/site-packages/iocage_lib/ioc_check.py", line
30, in <module>
    import iocage_lib.ioc_common
  File "/usr/local/lib/python3.11/site-packages/iocage_lib/ioc_common.py", line
47, in <module>
    import iocage_lib.ioc_exec
  File "/usr/local/lib/python3.11/site-packages/iocage_lib/ioc_exec.py", line
28, in <module>
    import iocage_lib.ioc_json
  File "/usr/local/lib/python3.11/site-packages/iocage_lib/ioc_json.py", line
39, in <module>
    import iocage_lib.ioc_create
  File "/usr/local/lib/python3.11/site-packages/iocage_lib/ioc_create.py", line
35, in <module>
    import iocage_lib.ioc_fstab
  File "/usr/local/lib/python3.11/site-packages/iocage_lib/ioc_fstab.py", line
41, in <module>
    from iocage_lib.utils import load_ctypes_library, ensure_unicode_str
  File "/usr/local/lib/python3.11/site-packages/iocage_lib/utils.py", line 1,
in <module>
    import six
ModuleNotFoundError: No module named 'six'
root@fbsd:~ #
root@fbsd:~ #
root@fbsd:~ # pkg install py311-six
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
The following 1 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
        py311-six: 1.16.0

Number of packages to be installed: 1

26 KiB to be downloaded.

Proceed with this action? [y/N]: y
[1/1] Fetching py311-six-1.16.0.pkg: 100%   26 KiB  27.1kB/s    00:01
Checking integrity... done (0 conflicting)
[1/1] Installing py311-six-1.16.0...
[1/1] Extracting py311-six-1.16.0: 100%
root@fbsd:~ #
root@fbsd:~ #
root@fbsd:~ # iocage fetch
********************************************************************************
fdescfs(5) is not mounted, performance may suffer. Please run:
mount -t fdescfs null /dev/fd
You can also permanently mount it in /etc/fstab with the following entry:
fdescfs /dev/fd  fdescfs  rw  0  0
********************************************************************************

[0] 12.4-RELEASE (EOL)
[1] 13.2-RELEASE
[2] 13.3-RELEASE
[3] 14.0-RELEASE
[4] 14.1-RELEASE

Type the number of the desired RELEASE
Press [Enter] to fetch the default selection: (14.1)
Type EXIT to quit: ^C
Aborted!
root@fbsd:~ #
root@fbsd:~ #
root@fbsd:~ # pkg info py311-iocage-devel | grep Version
Version        : 1.6.20240531,1
root@fbsd:~ #
root@fbsd:~ #
root@fbsd:~ # freebsd-version ; uname -rms
14.1-RELEASE-p1
FreeBSD 14.1-RELEASE amd64
root@fbsd:~ #
root@fbsd:~ #

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