Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Oct 2015 16:34:41 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 203774] security/binwalk: fails with Signature Exception: 'freebsd10'
Message-ID:  <bug-203774-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203774

            Bug ID: 203774
           Summary: security/binwalk: fails with Signature Exception:
                    'freebsd10'
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: pi@FreeBSD.org
          Reporter: emaste@freebsd.org
             Flags: maintainer-feedback?(pi@FreeBSD.org)
          Assignee: pi@FreeBSD.org

I installed the binwalk package and it failed as mentioned in the Summary.
(Upstream binwalk from git HEAD works fine, and reports itself as v2.1.0.)
Host is stable/10 from a month or so ago.

% binwalk freebsd-ubiquiti-edgerouter-lite                    

WARNING: Failed to load plugin module 'zlibvalid': 'freebsd10'

WARNING: Failed to load plugin module 'compressd': 'freebsd10'

WARNING: Failed to load plugin module 'zlibvalid': 'freebsd10'

WARNING: Failed to load plugin module 'compressd': 'freebsd10'

Signature Exception: 'freebsd10'
----------------------------------------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/site-packages/binwalk/core/module.py", line
481, in main
    self.init()
  File "/usr/local/lib/python2.7/site-packages/binwalk/modules/signature.py",
line 85, in init
    self.magic = binwalk.core.magic.Magic(self.mfile)
  File "/usr/local/lib/python2.7/site-packages/binwalk/core/magic.py", line 43,
in __init__
    self.libmagic = binwalk.core.C.Library(self.LIBRARY,
self.LIBMAGIC_FUNCTIONS)
  File "/usr/local/lib/python2.7/site-packages/binwalk/core/C.py", line 100, in
__init__
    self.library = ctypes.cdll.LoadLibrary(self.find_library(library))
  File "/usr/local/lib/python2.7/site-packages/binwalk/core/C.py", line 140, in
find_library
    for path in system_paths[sys.platform]:
KeyError: 'freebsd10'
----------------------------------------------------------------------------------------------------

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-203774-13>