[Buildroot] [git commit] package/setools: host variant needs host-python-enum34

Peter Korsgaard peter at korsgaard.com
Tue Oct 23 22:50:26 UTC 2018


>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni at bootlin.com> writes:

 > commit: https://git.buildroot.net/buildroot/commit/?id=a5e4eddb84d11ad0e4ee5c7d5298f6267e0e7f87
 > branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

 > The enum34 dependency is required for python2.7 for both the host and
 > target builds.  This patch adds the host dependency to match what is
 > already in place for the target.

 > The host build is used by the setools package seinfo tool offline for
 > host based policy analysis. The analysis is easiest performed offline
 > as the policy is checked for path/reachability, which is something
 > that occurs by taking the policy file and using debug libraries to
 > perform test cases.

 > Fixes the following runtime error:

 > $ ./output/host/bin/sesearch
 > Traceback (most recent call last):
 > [...]
 >   File "/home/test/buildroot/output/host/lib/python2.7/site-packages/setools-4.1.1-py2.7-linux-x86_64.egg/setools/policyrep/util.py", line 21, in <module>
 >     from enum import Enum
 > ImportError: No module named enum

 > Signed-off-by: Matthew Weber <matthew.weber at rockwellcollins.com>
 > Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>

Committed to 2018.02.x and 2018.08.x, thanks.

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list