From nobody Wed Jul 10 17:31:01 2024 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4WK4df116Tz5QqjM for ; Wed, 10 Jul 2024 17:31:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WK4dd704yz4py9 for ; Wed, 10 Jul 2024 17:31:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1720632662; a=rsa-sha256; cv=none; b=Qo/2LbuZwHi3GDm6T21PKd1+fWEYfa5lZOXWOGWq4xA10QwAY6XksE2TjumLxY4rjfS/vW 4yW+UCi7GZkUsKzZZ2+i1+6A3qn0to+yZ+xGDTmg51EDLTKw4Wc6G86jFlH0L5jjGIVD55 HURNoWOEEAE8csngTbzaULnxUMYGpTfFf26ybaB7n8hEjd4xY79fsULbEIJAQxsJd0U4DY WXiik6TRU0ZBlnlX2S2lnTzG7Tzhcs3a42GLsMCzc+i2e7+RAziYZBR0a/QSbIStavEaJ3 Xqyv3R8N9y3FV6ReLCTUFraW5j6dl+gb+R2uLgfCicoKUjjoXOmyae54ehNnTQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1720632662; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Rb8rToliKg3jgRyAdZeKwgiGmGFrZHgqP3W3xtf2L3o=; b=REgw8u9ZwSGtmETKpOg5ss8zT3IbQK32xEi15SfGxq7rwUzVXOy2Pcf/hHv5O26CxASW07 rvmX/PZOxI64VyR6fufDkrw+EgJGJqWo9BCpCHM64WCcK7wwjG/PgnTRVAJ2Rq1GwnHVt9 4iMkwfY2+9W1N+7LvQ7f1NXNQ6Y2pzyVIbygoGee2zFGQyVAYUsKMz4Z2HlkPwjqZTNoXl zZqxgVuO89OmCOLCxsmBmEmVA5J3mRNJ6ruXEG9W8Lb/s6j/l1hV31t6Hw5aSXqkk0QF6s GBKk49EOIpMb2IOJuE1NA548bpDyw5qIY2FVPb1Cip+4KxrFXoVlflAnwdlG+Q== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4WK4dd6TcyzQv2 for ; Wed, 10 Jul 2024 17:31:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 46AHV1lB059723 for ; Wed, 10 Jul 2024 17:31:01 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 46AHV1gO059722 for ports-bugs@FreeBSD.org; Wed, 10 Jul 2024 17:31:01 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 280219] sysutils/iocage: "AttributeError: module 'collections' has no attribute 'Iterable'" Date: Wed, 10 Jul 2024 17:31:01 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: asomers@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: grembo@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports-bugs@freebsd.org Sender: owner-freebsd-ports-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D280219 Bug ID: 280219 Summary: sysutils/iocage: "AttributeError: module 'collections' has no attribute 'Iterable'" Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: grembo@FreeBSD.org Reporter: asomers@FreeBSD.org Assignee: grembo@FreeBSD.org Flags: maintainer-feedback?(grembo@FreeBSD.org) While running with Python 3.11, when reporting certain errors, iocage will crash like this: $ sudo iocage update JAIL ***************************************************************************= *****=20 fdescfs(5) is not mounted, performance may suffer. Please run:=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 mount -t fdescfs null /dev/fd=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20 You can also permanently mount it in /etc/fstab with the following entry:= =20=20=20=20=20=20=20 fdescfs /dev/fd fdescfs rw 0 0=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20 ***************************************************************************= *****=20 Snapshot: zroot/iocage/jails/JAIL@ioc_update_RELEASE_2024-07-10_17-11-26 created.=20 Updating jail...=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 * Updating JAIL to the latest patch level...=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20 tmp48o54bff: Cannot upgrade from a version that is not a release=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20 (including alpha, beta and release candidates)=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 using tmp48o54bff. Instead, FreeBSD can be directly=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 upgraded by source or upgraded to a RELEASE/RELENG version=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 prior to running tmp48o54bff. Currently running: RELEASE Traceback (most recent call last): File "/usr/local/bin/iocage", line 10, in sys.exit(cli()) ^^^^^=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20 File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1157, = in __call__ return self.main(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1078, = in main rv =3D self.invoke(ctx) ^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1688, = in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1434, = in invoke return ctx.invoke(self.callback, **ctx.params) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/click/core.py", line 783, in invoke return __callback(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/iocage_cli/update.py", line= 53, in cli ioc.IOCage(jail=3Djail, skip_jails=3Dskip_jails).update(**kwargs) File "/usr/local/lib/python3.11/site-packages/iocage_lib/iocage.py", line 2076, in update ioc_fetch.IOCFetch( File "/usr/local/lib/python3.11/site-packages/iocage_lib/ioc_fetch.py", l= ine 917, in fetch_update iocage_lib.ioc_common.consume_and_log( File "/usr/local/lib/python3.11/site-packages/iocage_lib/ioc_common.py", = line 904, in consume_and_log for output in filter(lambda o: any(v for v in o), exec_gen): File "/usr/local/lib/python3.11/site-packages/iocage_lib/ioc_exec.py", li= ne 259, in exec_jail raise iocage_lib.ioc_exceptions.CommandFailed( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/iocage_lib/ioc_exceptions.p= y", line 34, in __init__ collections.Iterable AttributeError: module 'collections' has no attribute 'Iterable' --=20 You are receiving this mail because: You are the assignee for the bug.=