Hi,
I am trying to build OpenFaucet on Ubuntu and it fails on the make
check command. Here is what happened:
achanda@achanda-OptiPlex-780:~/openfaucet$ ./bootstrap.sh
configure.ac:21: installing `config/install-sh'
configure.ac:21: installing `config/missing'
src/Makefile.am:15: installing `config/py-compile'
Makefile.am: installing `./INSTALL'
achanda@achanda-OptiPlex-780:~/openfaucet$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for python... /usr/bin/python
checking for python version... 2.7
checking for python platform... linux2
checking for python script directory... ${prefix}/lib/python2.7/dist-packages
checking for python extension module directory...
${exec_prefix}/lib/python2.7/dist-packages
checking for python import twisted... yes
checking for python import unittest2... yes
checking for sphinx-build-2.6... no
checking for sphinx-build... no
checking for latex... /usr/bin/latex
checking for makeindex... /usr/bin/makeindex
checking for pdflatex... /usr/bin/pdflatex
configure: creating ./config.status
config.status: creating Makefile
config.status: creating docs/Makefile
config.status: creating docs/conf.py
config.status: creating docs/install.rst
config.status: creating src/Makefile
achanda@achanda-OptiPlex-780:~/openfaucet$ make all
Making all in src
make[1]: Entering directory `/home/achanda/openfaucet/src'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/achanda/openfaucet/src'
Making all in docs
make[1]: Entering directory `/home/achanda/openfaucet/docs'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/achanda/openfaucet/docs'
make[1]: Entering directory `/home/achanda/openfaucet'
make[1]: Nothing to be done for `all-am'.
make[1]: Leaving directory `/home/achanda/openfaucet'
achanda@achanda-OptiPlex-780:~/openfaucet$ make check
Making check in src
make[1]: Entering directory `/home/achanda/openfaucet/src'
make check-TESTS
make[2]: Entering directory `/home/achanda/openfaucet/src'
generating test suite test_all.py
.............................E.............F..........................................................................................................................................................................................................................
======================================================================
ERROR: test_deserialize_action_strip_vlan (openfaucet.test_ofaction.TestActions)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/achanda/openfaucet/src/openfaucet/test_ofaction.py",
line 82, in test_deserialize_action_strip_vlan
ofaction.ActionStripVlan.deserialize(self.buf))
File "<string>", line 14, in deserialize
File "/home/achanda/openfaucet/src/openfaucet/buffer.py", line 138, in unpack
raise IndexError('format too long')
IndexError: format too long
======================================================================
FAIL: test_serialize_action_strip_vlan (openfaucet.test_ofaction.TestActions)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/achanda/openfaucet/src/openfaucet/test_ofaction.py",
line 77, in test_serialize_action_strip_vlan
self.assertEqual('', a.serialize())
AssertionError: '' != '\x00\x00\x00\x00'
----------------------------------------------------------------------
Ran 262 tests in 0.036s
FAILED (failures=1, errors=1)
FAIL: test_all.py
================================================
1 of 1 test failed
Please report to
openfau...@googlegroups.com
================================================
make[2]: *** [check-TESTS] Error 1
make[2]: Leaving directory `/home/achanda/openfaucet/src'
make[1]: *** [check-am] Error 2
make[1]: Leaving directory `/home/achanda/openfaucet/src'
make: *** [check-recursive] Error 1
What went wrong?
Thanks