From nobody Fri Jan 21 23:11:05 2022 X-Original-To: python@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 F40D71961E86 for ; Fri, 21 Jan 2022 23:11:05 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JgZqs4gBGz4jq0 for ; Fri, 21 Jan 2022 23:11:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 71E4F242F3 for ; Fri, 21 Jan 2022 23:11:05 +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 20LNB57j076240 for ; Fri, 21 Jan 2022 23:11:05 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 20LNB5h0076239 for python@FreeBSD.org; Fri, 21 Jan 2022 23:11:05 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: python@FreeBSD.org Subject: [Bug 261388] sysutils/uefi-edk2-qemu: Fix build with Python 3.9 Date: Fri, 21 Jan 2022 23:11:05 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: needs-patch, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: eric@camachat.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bcran@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? merge-quarterly? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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: FreeBSD-specific Python issues List-Archive: https://lists.freebsd.org/archives/freebsd-python List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-python@freebsd.org X-BeenThere: freebsd-python@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1642806665; 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: in-reply-to:in-reply-to:references:references; bh=U9mGMdDRgXMSG5dqJcnKUAv7wZzDfuSEEUp0wROq04s=; b=Vi54CFjV1T9ftYEJwAMBAr2sQK2L2Pn/901rBQTps+rTklpcbiJ4o05cwtiwpa1F3ma7vy Pkm1Epoi09XZhvcPsP6xCVZ9vzZhT9CoAfN4hWfvX87+5qjYqL9MkO+uc+V8JtfrUU9Dg3 WG5hk8d6FCRgs72s/dd9IGlzv2y9CnohZKJ/KQPqQM5BrTs1HJZqdilioyvHbK3IVqBOeO XKqTMtmcyGNvtbAb8OJ62bqOySbWnmQVIUOUcuE12SNKmfse3nok0vAwsAb8PLM9r+9FWL Rf3B7Y3OV5OLw7nMu7TQAnhyLMO2jrL5nJt6uMDVd1HjFiyb7qOTTTS3BR14xg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1642806665; a=rsa-sha256; cv=none; b=w5lYgLmjlttKOgw2Y2KkgFE3OPrI5fDLuwAd+v3rp1QvzZXTc1D2N/XCxlCQyCew+GbPNT FDPsTDc1VucCu0+lCtfUjIdPpAfD3DgMkKhWbM4TEIamDNjEOXfTYn8d+rilYfbhr3OKtL frtwa6jgUIIYwcIM3IbHcnEiQo8BGhlvnqUbtWcB31CkLPhVfJhIf5p3mGN17APAKmjHtw h8UaZLATZ3m1hoTAnGLieSVr59CkuoZQOqGbyI/E545a+v2YbKXS3xmEMtQdblsTz4qV9c 6eSeT8q8mUuEHkM0l703pYlwLr+jVAZea+65KaDdaS6X6HQSrUyuV4kbtOnp1w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261388 --- Comment #3 from Eric Camachat --- BaseTools/Source/Python/AutoGen/UniClassObject.py: codecs.lookup('ucs-2') --> LookupError: unknown encoding: ucs-2 So, change to codecs.lookup('utf-16') BaseTools/Source/Python/Common/Misc.py: array.tostring() has been renamed to array.tobytes() ref. https://docs.python.org/3/library/array.html#array.array.tobytes Note, the document says "New in version 3.2: tostring() is renamed to tobyt= es() for clarity.", but seems pkg.freebsd.org can build it with Python 3.8. --=20 You are receiving this mail because: You are on the CC list for the bug.=