[Bug 239681] net/py-pcap: Cannot import module with python 3

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Aug 6 20:14:05 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239681

            Bug ID: 239681
           Summary: net/py-pcap: Cannot import module with python 3
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: bofh at freebsd.org
          Reporter: leres at freebsd.org
             Flags: maintainer-feedback?(bofh at freebsd.org)
          Assignee: bofh at freebsd.org

Created attachment 206313
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=206313&action=edit
poudriere jail build/install capture

I was surprised to find that py-pcap does not work with python 3. For example
in a poudriere jail running 11.2-RELEASE-p10 if I build and install py36-pcap,
attempting to import it results in a stack trace ending with:

    ModuleNotFoundError: No module named '_pcap'

This seems to be related to swig and might well be an upstream problem.

I'll attach a log that shows my test.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list