Bug 280042 - sysutils/iocage-devel: missing dependency py311-six
Summary: sysutils/iocage-devel: missing dependency py311-six
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Many People
Assignee: Neel Chauhan
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-28 21:34 UTC by gotnull
Modified: 2024-06-28 23:36 UTC (History)
0 users

See Also:
nc: maintainer-feedback+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description gotnull 2024-06-28 21:34:02 UTC
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:~ #
Comment 1 Neel Chauhan freebsd_committer freebsd_triage 2024-06-28 23:35:19 UTC
Committed!
Comment 2 commit-hook freebsd_committer freebsd_triage 2024-06-28 23:36:04 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=989e10cebaa5f2d3cf03e68e4c6a84ac1d665f07

commit 989e10cebaa5f2d3cf03e68e4c6a84ac1d665f07
Author:     Neel Chauhan <nc@FreeBSD.org>
AuthorDate: 2024-06-28 23:34:07 +0000
Commit:     Neel Chauhan <nc@FreeBSD.org>
CommitDate: 2024-06-28 23:35:09 +0000

    sysutils/iocage-devel: Require devel/py-six

    This fixes runtime issues with the latest iocage versions.

    PR:             280042
    Reported by:    gotnull <zero1@zaclys.net>

 sysutils/iocage-devel/Makefile | 2 ++
 1 file changed, 2 insertions(+)