From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id yPCGFdis6l9KcQAA0tVLHw (envelope-from ) for ; Tue, 29 Dec 2020 04:13:12 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id iFdfEdis6l/UQgAAbx9fmQ (envelope-from ) for ; Tue, 29 Dec 2020 04:13:12 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 84ED994014B for ; Tue, 29 Dec 2020 04:13:11 +0000 (UTC) Received: from localhost ([::1]:50724 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ku6Nh-0000Jw-7W for larch@yhetil.org; Mon, 28 Dec 2020 23:13:09 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:36296) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ku6Nb-0000Jp-3O for bug-guix@gnu.org; Mon, 28 Dec 2020 23:13:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:54053) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ku6Na-00084M-6X for bug-guix@gnu.org; Mon, 28 Dec 2020 23:13:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ku6NZ-0008PM-Va for bug-guix@gnu.org; Mon, 28 Dec 2020 23:13:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#44782: Python and Gajim-OMEMO Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 29 Dec 2020 04:13:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44782 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Raghav Gururajan Received: via spool by 44782-submit@debbugs.gnu.org id=B44782.160921514732271 (code B ref 44782); Tue, 29 Dec 2020 04:13:01 +0000 Received: (at 44782) by debbugs.gnu.org; 29 Dec 2020 04:12:27 +0000 Received: from localhost ([127.0.0.1]:37366 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ku6N0-0008OR-Vi for submit@debbugs.gnu.org; Mon, 28 Dec 2020 23:12:27 -0500 Received: from mail-qk1-f180.google.com ([209.85.222.180]:41043) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ku6My-0008OA-0h for 44782@debbugs.gnu.org; Mon, 28 Dec 2020 23:12:25 -0500 Received: by mail-qk1-f180.google.com with SMTP id 19so10562612qkm.8 for <44782@debbugs.gnu.org>; Mon, 28 Dec 2020 20:12:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=e8Au98uiWY4XkgZd1Fb3l8reVWqbAocCJ0lDio0X+OE=; b=YHPmVuUxHpyR567sBkPcAtn+oANw3K24hc133ynSTkkrkSyGcq/hI8x+UGsokJ/0cT QTG7orxgxUSU1HCYWpSvX2EnFOdOJUGSbMjAsG94w0sPZkroWNhJKKIaxb+vDZEQsf6c cs1dpCh9ZB+LrJMkGNdBZNx6CyWe51Pq/4VMFzF8Zv6rDBJwANw1SZACyADRBrkWm4Kv PlUOopw43xFbrgM4sZMcAaT9PU9ZYjuVtlMopGJSsXLvJzVky8EqXFtsk6nLZwpqHCm/ wApDLWwlRxN8Su8cSkZChWwjI2ye0NBIqDpP/hIyUb8l3RRVSMKwQV/ACHOs/azXCssQ A3XA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=e8Au98uiWY4XkgZd1Fb3l8reVWqbAocCJ0lDio0X+OE=; b=q9Va3QIFSzy4NgAztYrl7xncx+pL7/wllTQbxpoKkAnuoJ9QNY8zlv3DTgGYuEV26A CrDqzXwAcyKad42J3pbniD13OH/ZTVpH1xLr4H3uruybLHiGYayLpM5d3zMaDEgeHt6T 5jgNGS0DHTwItwPvtckXaGet2ddJNXzh8ZLEvOFOdF5iXjCgK9jGOdVloyRKq/u7+qgb HIGwfU5XZAdaRTQoaB29JhtXRMwRE94FvJYLWGxCSP2JIVBzhd4R+I9Vmyt9FfADtQue PARHjSHDJ4l7/VPQ/CPquB6Y8fs/BZMwyoTRbMFEmS2PjmvAjtzPggl5LrGW9rKCJsi8 qoRA== X-Gm-Message-State: AOAM531q0r/hbRf4HpfNzNt6fOSDcPidzgymd/G0fOMeIfcaQpqHJ14K SEn9oF71DqdFwr4RF9m0124ZiRYkvZ0= X-Google-Smtp-Source: ABdhPJytx66yHTrx6L92VNcGXGmZBguhnUiWLSMDtXUC9bGgCVFZp7aX5TcnQnWWv+2vlPhR7aDDkA== X-Received: by 2002:a37:9583:: with SMTP id x125mr13665853qkd.75.1609215138550; Mon, 28 Dec 2020 20:12:18 -0800 (PST) Received: from hurd (dsl-10-148-132.b2b2c.ca. [72.10.148.132]) by smtp.gmail.com with ESMTPSA id o5sm24805726qti.47.2020.12.28.20.12.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Dec 2020 20:12:17 -0800 (PST) From: Maxim Cournoyer References: Date: Mon, 28 Dec 2020 23:12:17 -0500 In-Reply-To: (Raghav Gururajan's message of "Sat, 21 Nov 2020 13:55:59 -0500") Message-ID: <87wnx1uu72.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 44782@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -1.23 Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=gmail.com header.s=20161025 header.b=YHPmVuUx; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 84ED994014B X-Spam-Score: -1.23 X-Migadu-Scanner: scn0.migadu.com X-TUID: 6CQO696UA6TA Hello Raghav, Raghav Gururajan writes: > Hello Guix! > > It appears that our python is incorrectly compiled or compiled with > missing component. Due to this, OMEMO plugin in gajim does not work. > > Here is the output for `gajim -l gajim.p.omemo=DEBUG`: > > *** START *** > Traceback (most recent call last): > File > "/gnu/store/5h0xfqysfddzc4283wcyr0j8jj2zaz9c-gajim-1.2.2/bin/..gajim-real-real", > line 4, in > import re > File > "/gnu/store/09a5iq080g9b641jyl363dr5jkkvnhcn-python-3.8.2/lib/python3.8/re.py", > line 143, in > class RegexFlag(enum.IntFlag): > AttributeError: module 'enum' has no attribute 'IntFlag' > *** END *** > > Also, I am flagging this issue as 'important' as it affects > security/privacy of messaging in gajim application. > > Regards, > RG. It's not a problem with Python but with Gaijim or one of its dependency: --8<---------------cut here---------------start------------->8--- $ guix environment --pure --ad-hoc python -- python3 -c 'import enum;print(enum.IntFlag)' --8<---------------cut here---------------end--------------->8--- Summarily searching on the interwebs it seems that python-enum34 may be at cause. You should look if it's being propagated by any of the dependencies of gajim or gajim-omemo, and probably get rid of those as this package exists for backward compatibility for Python versions older than our 3.8.2 on master. Maxim