From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id cIaWGKkMJWF52wAAgWs5BA (envelope-from ) for ; Tue, 24 Aug 2021 17:13:45 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id yHE5FKkMJWE0aAAAB5/wlQ (envelope-from ) for ; Tue, 24 Aug 2021 15:13:45 +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 AFA5CB82C for ; Tue, 24 Aug 2021 17:13:44 +0200 (CEST) Received: from localhost ([::1]:34588 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mIY7T-0004Xd-LR for larch@yhetil.org; Tue, 24 Aug 2021 11:13:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56360) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mIVYf-0001Wx-PH for help-guix@gnu.org; Tue, 24 Aug 2021 08:29:40 -0400 Received: from mail-ed1-x536.google.com ([2a00:1450:4864:20::536]:45992) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mIVYd-00005n-9a for help-guix@gnu.org; Tue, 24 Aug 2021 08:29:37 -0400 Received: by mail-ed1-x536.google.com with SMTP id g22so989814edy.12 for ; Tue, 24 Aug 2021 05:29:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=blIoAavH8FGXMtGdlWLpz4Gr7DIFGxf8kVu5QKHxBxs=; b=o3jnqZ3i92MKkZBovTv2qx7IKcP7DikJVC4ynOcho6lnkUvpPbuRxtsJKUfisrv9pr +D6sS0mfUzFggH91c6430vhJ6YuAzuQ8luiBW5cCUnHiODk/Vgs9GAbZxGU7l4EBFcMy 3HyoHnkpfy8h7wNYqWvPFHGngMTrW5Hl9xIGKH2F9L2iyd2EugUVDhFkn8QqDMkB0pcY +tlBf3iVU85GEB3IVPgOHM/3JD9Gtsg1aKNsimXuSRedMZozJpBUibzDPAHM35hUT7Ok L3dnKaw84Nz+3DCWFKBVvQXg3B2B1IOVukVyfDo32soSPI81KnQzRF13O16T4+sTk4DU GJPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=blIoAavH8FGXMtGdlWLpz4Gr7DIFGxf8kVu5QKHxBxs=; b=odI+ujnh5blm7z7Y1JDIo/SEpgfVG5M3ote8UMgaMEpmrAf+y8vD13epVcunLibJ7h 0+TCOO5e8xphp1M3vD3+jVuf3XGyIXXOBwzRef2HOQr/FbTR3fCmzmmShlW2nOAgDJTG RyRskN8XybVfUAXzEN3altz3UAp/XwKqW5OImAQY+/KRjwMOiu9EJrivGhkTg6LXLQQG KkBMx0F23c1Xq13MYPIFTk3D4fPpT1fPIID3iUNPyeywm5/hOUSczvJUBV+jZdxJFttv 5eK6v7m0wq2GVa8ndkxv5LTlZjqD/xVGZpM6XkcmSlZK6jpGOSCJFLRBSRsDxCojYT6B UBYg== X-Gm-Message-State: AOAM530v/enu3mTH6EqzN4f0wA0brcsl0lkfTrFbyDNP+U1tHh4nKAL+ c1alPeuPkgB9sqo6L4XeQ6JA0kakRtgNYDfPwK7z5PDvqsDyZA== X-Google-Smtp-Source: ABdhPJxxDf1akmddRngu3Ql5StioBEmmQYH8brGAdCbJC3EzCZTjQuOYCyumRgtW2dnKTgP6ZLLEXlZr77Wq/aTUx7o= X-Received: by 2002:a50:9b52:: with SMTP id a18mr42763860edj.165.1629808171665; Tue, 24 Aug 2021 05:29:31 -0700 (PDT) MIME-Version: 1.0 From: Antwane Mason Date: Tue, 24 Aug 2021 08:29:20 -0400 Message-ID: Subject: Python Package Build Issue To: help-guix@gnu.org Received-SPF: pass client-ip=2a00:1450:4864:20::536; envelope-from=ad.mason1413@gmail.com; helo=mail-ed1-x536.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Tue, 24 Aug 2021 11:13:32 -0400 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1629818024; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=Fy8EXKWpy92Uf52qkZWa7ygEw0ifrFjRE7FKh5Ho5jY=; b=twk5nSdOEUT8Of3XJIVKHWoLsbFwLTS7veK1ucULK2u0aE4QgzB3JJwBzYJre3r6XRHXe3 0rYYUNCNPHpQHzxD95ge7+3PFsruEWoDo6PVhWZI6RiWgRLYAnQ2q04v7/adxassJsFHGe o4Ff9QesTCp8jOf2iXDoBCQU3FlwGWeM3K1iHxdbmBehbZnoCyg7I7f9qRqCH5yVKvVN+R 2IPhhja7ugYa+ttvUiydOkjBtNryP/5Eq2QBlmungu/DnVoO22CTtlSm43ku2F+s9AfqE2 xtAevKyWpDQmf6O0XgmUn6LIIv2lYht4PIrkaxTvkLQa14dlWeZ5M/Uzj926+w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1629818024; a=rsa-sha256; cv=none; b=LksF/H2siz5GjDiOw6vguaNwVeOLk3SQtwxVrPQOCjnUOTz/lcDp1B9uAESh0mOGWXDcjl J7MMX3DnafPJXW9nbfy03wzreQz9NRFuveZcFmaNaSbbE9S9Why18zDfO3i6K0+6dANn8f 1dEj6tj3Ip+F5wONQDbXBBB5D1qQeWiCgR5Ct/qkRhz+nktaJdkn1ZqM93V8R5WAOPETIk MsReepkkgJKfhBk3+ECgbhUHWfDoVdNssSl48u1E3+gSd7lVe4zrEBI91wEnAICNJ1Npx0 3TG9fPCDgz+HHiCa4mDNULwVQu/rK5CklfH0TGIn33XNrdfbT0d+sK8wpcxplg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20161025 header.b=o3jnqZ3i; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Spam-Score: -1.32 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20161025 header.b=o3jnqZ3i; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: AFA5CB82C X-Spam-Score: -1.32 X-Migadu-Scanner: scn0.migadu.com X-TUID: +wydeSYrn6KG I am trying to package a fido2 python library with the ultimate goal of packaging the cli for a hardware password manager, 2FA authenticator, and private key store called onlykey. While building the package definition obtained from guix importer, I get the following stacktrace. From googling it seems as though this is due to trying to use windows types on a linux machine but I'm not sure how to fix or correct this as I'm not sure why this test wasn't filtered out. Any guidance would be appreciated. ------------------------------------------------------------------------- Traceback (most recent call last): File "", line 1, in File "setup.py", line 46, in setup( File "/gnu/store/9w9jvy3bgjg4qaqmrij01nbppiccqr7c-python-3.8.2/lib/python3.8/site-packages/setuptools/__init__.py", line 145, in setup return distutils.core.setup(**attrs) File "/gnu/store/9w9jvy3bgjg4qaqmrij01nbppiccqr7c-python-3.8.2/lib/python3.8/distutils/core.py", line 148, in setup dist.run_commands() File "/gnu/store/9w9jvy3bgjg4qaqmrij01nbppiccqr7c-python-3.8.2/lib/python3.8/distutils/dist.py", line 966, in run_commands self.run_command(cmd) File "/gnu/store/9w9jvy3bgjg4qaqmrij01nbppiccqr7c-python-3.8.2/lib/python3.8/distutils/dist.py", line 985, in run_command cmd_obj.run() File "/gnu/store/9w9jvy3bgjg4qaqmrij01nbppiccqr7c-python-3.8.2/lib/python3.8/site-packages/setuptools/command/test.py", line 229, in run self.run_tests() File "/gnu/store/9w9jvy3bgjg4qaqmrij01nbppiccqr7c-python-3.8.2/lib/python3.8/site-packages/setuptools/command/test.py", line 247, in run_tests test = unittest.main( File "/gnu/store/9w9jvy3bgjg4qaqmrij01nbppiccqr7c-python-3.8.2/lib/python3.8/unittest/main.py", line 100, in __init__ self.parseArgs(argv) File "/gnu/store/9w9jvy3bgjg4qaqmrij01nbppiccqr7c-python-3.8.2/lib/python3.8/unittest/main.py", line 124, in parseArgs self._do_discovery(argv[2:]) File "/gnu/store/9w9jvy3bgjg4qaqmrij01nbppiccqr7c-python-3.8.2/lib/python3.8/unittest/main.py", line 244, in _do_discovery self.createTests(from_discovery=True, Loader=Loader) File "/gnu/store/9w9jvy3bgjg4qaqmrij01nbppiccqr7c-python-3.8.2/lib/python3.8/unittest/main.py", line 154, in createTests self.test = loader.discover(self.start, self.pattern, self.top) File "/gnu/store/9w9jvy3bgjg4qaqmrij01nbppiccqr7c-python-3.8.2/lib/python3.8/unittest/loader.py", line 349, in discover tests = list(self._find_tests(start_dir, pattern)) File "/gnu/store/9w9jvy3bgjg4qaqmrij01nbppiccqr7c-python-3.8.2/lib/python3.8/unittest/loader.py", line 405, in _find_tests tests, should_recurse = self._find_test_path( File "/gnu/store/9w9jvy3bgjg4qaqmrij01nbppiccqr7c-python-3.8.2/lib/python3.8/unittest/loader.py", line 483, in _find_test_path tests = self.loadTestsFromModule(package, pattern=pattern) File "/gnu/store/9w9jvy3bgjg4qaqmrij01nbppiccqr7c-python-3.8.2/lib/python3.8/site-packages/setuptools/command/test.py", line 55, in loadTestsFromModule tests.append(self.loadTestsFromName(submodule)) File "/gnu/store/9w9jvy3bgjg4qaqmrij01nbppiccqr7c-python-3.8.2/lib/python3.8/unittest/loader.py", line 154, in loadTestsFromName module = __import__(module_name) File "/tmp/guix-build-python-fido2-0.9.1.drv-0/fido2-0.9.1/fido2/win_api.py", line 43, in from ctypes.wintypes import BOOL, DWORD, LONG, LPCWSTR, HWND File "/gnu/store/9w9jvy3bgjg4qaqmrij01nbppiccqr7c-python-3.8.2/lib/python3.8/ctypes/wintypes.py", line 20, in class VARIANT_BOOL(ctypes._SimpleCData): ValueError: _type_ 'v' not supported ------------------------------------------------------------------------- Here is the package definition in case it is useful. ------------------------------------------------------------------------- (define-public python-fido2 (package (name "python-fido2") (version "0.9.1") (source (origin (method url-fetch) (uri (pypi-uri "fido2" version)) (sha256 (base32 "0vpyknka7wa4jl1xhvhli48wk70dih7hm45kdrchf8wf4cjyx046")))) (build-system python-build-system) (propagated-inputs `(("python-cryptography" ,python-cryptography) ("python-six" ,python-six))) (home-page "https://github.com/Yubico/python-fido2") (synopsis "Python based FIDO 2.0 library") (description "Python based FIDO 2.0 library") ; temporarily false. it's mixed license with bsd, apache, and mit (license #f))) ------------------------------------------------------------------------- Regards, Antwane