>>> setools 4.1.1 Downloading converted 'https://github.com/TresysTechnology/setools/archive/4.1.1/setools-4.1.1.tar.gz' (ANSI_X3.4-1968) -> 'https://github.com/TresysTechnology/setools/archive/4.1.1/setools-4.1.1.tar.gz' (UTF-8) --2017-10-21 05:45:13-- https://github.com/TresysTechnology/setools/archive/4.1.1/setools-4.1.1.tar.gz Resolving github.com (github.com)... 192.30.253.113, 192.30.253.112 Connecting to github.com (github.com)|192.30.253.113|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://codeload.github.com/TresysTechnology/setools/tar.gz/4.1.1 [following] converted 'https://codeload.github.com/TresysTechnology/setools/tar.gz/4.1.1' (ANSI_X3.4-1968) -> 'https://codeload.github.com/TresysTechnology/setools/tar.gz/4.1.1' (UTF-8) --2017-10-21 05:45:13-- https://codeload.github.com/TresysTechnology/setools/tar.gz/4.1.1 Resolving codeload.github.com (codeload.github.com)... 192.30.253.120, 192.30.253.121 Connecting to codeload.github.com (codeload.github.com)|192.30.253.120|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 461649 (451K) [application/x-gzip] Saving to: '/home/buildroot/build/instance-0/output/build/.setools-4.1.1.tar.gz.M00CMF/output' 0K .......... .......... .......... .......... .......... 11% 311K 1s 50K .......... .......... .......... .......... .......... 22% 625K 1s 100K .......... .......... .......... .......... .......... 33% 75.4M 0s 150K .......... .......... .......... .......... .......... 44% 98.8M 0s 200K .......... .......... .......... .......... .......... 55% 628K 0s 250K .......... .......... .......... .......... .......... 66% 120M 0s 300K .......... .......... .......... .......... .......... 77% 122M 0s 350K .......... .......... .......... .......... .......... 88% 633K 0s 400K .......... .......... .......... .......... .......... 99% 126M 0s 450K 100% 73.3M=0.4s 2017-10-21 05:45:14 (1.10 MB/s) - '/home/buildroot/build/instance-0/output/build/.setools-4.1.1.tar.gz.M00CMF/output' saved [461649/461649] setools-4.1.1.tar.gz: OK (sha256: 46a927ea2b163cbe1d35cc35da43e45853e13720c7e02d4cf75a498783c19610) >>> setools 4.1.1 Extracting gzip -d -c /home/buildroot/build/instance-0/dl/setools-4.1.1.tar.gz | tar --strip-components=1 -C /home/buildroot/build/instance-0/output/build/setools-4.1.1 -xf - >>> setools 4.1.1 Patching Applying 0001-remove-werror-flag-from-setup.patch using patch: patching file setup.py Applying 0002-Do-not-export-use-setools.InfoFlowAnalysis-and-setoo.patch using patch: patching file sedta patching file seinfoflow patching file setools/__init__.py patching file setoolsgui/apol/dta.py patching file setoolsgui/apol/infoflow.py patching file tests/dta.py patching file tests/infoflow.py # By default, setup.py will look for libsepol.a in the host machines # /usr/lib directory. This needs to be changed to the staging directory. /bin/sed -i -e "s@base_lib_dirs =.*@base_lib_dirs = ['/home/buildroot/build/instance-0/output/host/sparc64-buildroot-linux-gnu/sysroot/lib']@g" /home/buildroot/build/instance-0/output/build/setools-4.1.1/setup.py >>> setools 4.1.1 Configuring >>> setools 4.1.1 Building (cd /home/buildroot/build/instance-0/output/build/setools-4.1.1//; _PYTHON_SYSCONFIGDATA_NAME="" PATH="/home/buildroot/build/instance-0/output/host/bin:/home/buildroot/build/instance-0/output/host/sbin:/sbin:/usr/sbin:/bin:/usr/bin" PYTHONPATH="/home/buildroot/build/instance-0/output/target/usr/lib/python2.7/sysconfigdata/" PYTHONNOUSERSITE=1 _python_sysroot=/home/buildroot/build/instance-0/output/host/sparc64-buildroot-linux-gnu/sysroot _python_prefix=/usr _python_exec_prefix=/usr /home/buildroot/build/instance-0/output/host/bin/python setup.py build ) Unable to find a libsepol.so on your system! Looked in the following directories: /home/buildroot/build/instance-0/output/host/sparc64-buildroot-linux-gnu/sysroot/lib Please set the SEPOL or SEPOL_SRC environment variables. Exiting. package/pkg-generic.mk:234: recipe for target '/home/buildroot/build/instance-0/output/build/setools-4.1.1/.stamp_built' failed make: *** [/home/buildroot/build/instance-0/output/build/setools-4.1.1/.stamp_built] Error 1 make: Leaving directory '/home/buildroot/build/instance-0/buildroot'