Hello,
even though it looks as a bit different problem, can you try to install perl-XML-XPath? This is `make check` specific dependency.

Marek

On 07/18/2017 12:56 AM, Pravin Goyal wrote:
Hi All,

I get below errors on `make check`:


make[5]: Entering directory '/tmp/openscap-1.2.14/tests/API/SEAP'
FAIL: test_api_seap.sh
============================================================================
Testsuite summary for openscap 1.2.14
============================================================================
# TOTAL: 1
# PASS:  0
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0
============================================================================
See tests/API/SEAP/test-suite.log
Please report to open-scap-list@redhat.com
============================================================================
Makefile:1440: recipe for target 'test-suite.log' failed
make[5]: *** [test-suite.log] Error 1
make[5]: Leaving directory '/tmp/openscap-1.2.14/tests/API/SEAP'
Makefile:1546: recipe for target 'check-TESTS' failed
make[4]: *** [check-TESTS] Error 2
make[4]: Leaving directory '/tmp/openscap-1.2.14/tests/API/SEAP'
Makefile:1619: recipe for target 'check-am' failed
make[3]: *** [check-am] Error 2
make[3]: Leaving directory '/tmp/openscap-1.2.14/tests/API/SEAP'
Makefile:1006: recipe for target 'check-recursive' failed
make[2]: *** [check-recursive] Error 1
make[2]: Leaving directory '/tmp/openscap-1.2.14/tests/API'
Makefile:1015: recipe for target 'check-recursive' failed
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory '/tmp/openscap-1.2.14/tests'
Makefile:1283: recipe for target 'check-recursive' failed
make: *** [check-recursive] Error 1



I compiled OpenSCAP on Ubuntu 14.04 following the steps below:


sudo aptitude -y install build-essential \
                          gcc \
                          libcurl4-gnutls-dev \
                          libxml2-dev \
                          libxslt-dev \
                          libpcre++-dev \
                          libbz2-dev \
                          swig \
                          python-dev \
                          libcap-dev \
                          librpm-dev \
                          libapt-pkg-dev \
                          libblkid-dev \
                          libdbus-1-dev \
                          libgcrypt-dev \
                          libprocps-dev


sudo wget https://github.com/OpenSCAP/openscap/releases/download/1.2.14/openscap-1.2.14.tar.gz
sudo gunzip openscap-1.2.14.tar.gz
sudo tar -xvf openscap-1.2.14.tar
cd openscap-1.2.14
sudo ./configure --prefix=/usr
sudo make
sudo make install

Am I missing any library?


If I run process58_tests, I get below errors:


W: oscap:     Can't receive message: 103, Software caused connection abort.
OpenSCAP Error: Probe with PID=11899 has been killed with signal 11 [sch_pipe.c:173]
Probe with PID=11899 has core dumped. [sch_pipe.c:177]
Item corresponding to object 'oval:com.test.test:obj:1' from test 'oval:test.test:tst:9' has an unknown flag. This may indicate a bug in OpenSCAP. [oval_resultTest.c:908]

Any pointers?

Thanks and regards,
Pravin Goyal



_______________________________________________
Open-scap-list mailing list
Open-scap-list@redhat.com
https://www.redhat.com/mailman/listinfo/open-scap-list


_______________________________________________
Open-scap-list mailing list
Open-scap-list@redhat.com
https://www.redhat.com/mailman/listinfo/open-scap-list

Reply via email to