Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 915645 - net-analyzer/scapy-2.5.0 fails test - ImportError: Cannot execute crypto-related method! Please install python-cryptography v1.7 or later.
Summary: net-analyzer/scapy-2.5.0 fails test - ImportError: Cannot execute crypto-rela...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Sam James
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2023-10-12 17:28 UTC by Toralf Förster
Modified: 2023-10-12 17:28 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,16.92 KB, text/plain)
2023-10-12 17:28 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,52.57 KB, text/plain)
2023-10-12 17:28 UTC, Toralf Förster
Details
environment (environment,153.48 KB, text/plain)
2023-10-12 17:28 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,31.62 KB, application/x-xz)
2023-10-12 17:28 UTC, Toralf Förster
Details
net-analyzer:scapy-2.5.0:20231012-041347.log (net-analyzer:scapy-2.5.0:20231012-041347.log,119.13 KB, text/plain)
2023-10-12 17:28 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,51.93 KB, application/x-xz)
2023-10-12 17:28 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2023-10-12 17:28:27 UTC
  File "/var/tmp/portage/net-analyzer/scapy-2.5.0/work/scapy-2.5.0/scapy/layers/tls/cert.py", line 219, in __call__
    obj.import_from_asn1pkt(pubkey)
  File "/var/tmp/portage/net-analyzer/scapy-2.5.0/work/scapy-2.5.0/scapy/layers/tls/cert.py", line 302, in import_from_asn1pkt
    self.fill_and_store(modulus=modulus, pubExp=pubExp)
  File "/var/tmp/portage/net-analyzer/scapy-2.5.0/work/scapy-2.5.0/scapy/config.py", line 951, in func_in
    raise ImportError("Cannot execute crypto-related method! "
ImportError: Cannot execute crypto-related method! Please install python-cryptography v1.7 or later.

During handling of the above exception, another exception occurred:

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib_hardened_test-20231010-123509

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
/usr/lib/llvm/17
17.0.2
Python 3.11.6
Available Rust versions:
  [1]   rust-bin-1.73.0 *
php cli (if any):
go version go1.21.1 linux/amd64

  HEAD of ::gentoo
commit fcb234ce455c5d652e87ac69407d4b6446fa00be
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Oct 12 00:17:03 2023 +0000

    2023-10-12 00:17:03 UTC

emerge -qpvO net-analyzer/scapy
[ebuild  N    ] net-analyzer/scapy-2.5.0  USE="test" PYTHON_TARGETS="python3_11 -python3_10"
Comment 1 Toralf Förster gentoo-dev 2023-10-12 17:28:29 UTC
Created attachment 872634 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-10-12 17:28:30 UTC
Created attachment 872635 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-10-12 17:28:31 UTC
Created attachment 872636 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-10-12 17:28:32 UTC
Created attachment 872637 [details]
etc.portage.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-10-12 17:28:34 UTC
Created attachment 872638 [details]
net-analyzer:scapy-2.5.0:20231012-041347.log
Comment 6 Toralf Förster gentoo-dev 2023-10-12 17:28:35 UTC
Created attachment 872639 [details]
temp.tar.xz