Open ramonmedeiros opened 7 years ago
Also fail if run from tarball
[root@localhost ginger-2.3.0]# make
Making all in po
make[1]: Entering directory `/root/ginger-2.3.0/po'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/ginger-2.3.0/po'
Making all in control
make[1]: Entering directory `/root/ginger-2.3.0/control'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/ginger-2.3.0/control'
Making all in model
make[1]: Entering directory `/root/ginger-2.3.0/model'
sed -e 's,[@]gingerversion[@],2.3.0,g' -e 's,[@]gingerrelease[@],0,g' < ./config.py.in > config.py
make all-am
make[2]: Entering directory `/root/ginger-2.3.0/model'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/root/ginger-2.3.0/model'
make[1]: Leaving directory `/root/ginger-2.3.0/model'
Making all in ui
make[1]: Entering directory `/root/ginger-2.3.0/ui'
Making all in config
make[2]: Entering directory `/root/ginger-2.3.0/ui/config'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/ginger-2.3.0/ui/config'
Making all in css
make[2]: Entering directory `/root/ginger-2.3.0/ui/css'
Making all in base
make[3]: Entering directory `/root/ginger-2.3.0/ui/css/base'
Making all in images
make[4]: Entering directory `/root/ginger-2.3.0/ui/css/base/images'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/root/ginger-2.3.0/ui/css/base/images'
make[4]: Entering directory `/root/ginger-2.3.0/ui/css/base'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/root/ginger-2.3.0/ui/css/base'
make[3]: Leaving directory `/root/ginger-2.3.0/ui/css/base'
make[3]: Entering directory `/root/ginger-2.3.0/ui/css'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/root/ginger-2.3.0/ui/css'
make[2]: Leaving directory `/root/ginger-2.3.0/ui/css'
Making all in js
make[2]: Entering directory `/root/ginger-2.3.0/ui/js'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/ginger-2.3.0/ui/js'
Making all in pages
make[2]: Entering directory `/root/ginger-2.3.0/ui/pages'
Making all in help
make[3]: Entering directory `/root/ginger-2.3.0/ui/pages/help'
Making all in en_US
make[4]: Entering directory `/root/ginger-2.3.0/ui/pages/help/en_US'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/root/ginger-2.3.0/ui/pages/help/en_US'
Making all in pt_BR
make[4]: Entering directory `/root/ginger-2.3.0/ui/pages/help/pt_BR'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/root/ginger-2.3.0/ui/pages/help/pt_BR'
Making all in zh_CN
make[4]: Entering directory `/root/ginger-2.3.0/ui/pages/help/zh_CN'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/root/ginger-2.3.0/ui/pages/help/zh_CN'
make[4]: Entering directory `/root/ginger-2.3.0/ui/pages/help'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/root/ginger-2.3.0/ui/pages/help'
make[3]: Leaving directory `/root/ginger-2.3.0/ui/pages/help'
Making all in tabs
make[3]: Entering directory `/root/ginger-2.3.0/ui/pages/tabs'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/root/ginger-2.3.0/ui/pages/tabs'
make[3]: Entering directory `/root/ginger-2.3.0/ui/pages'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/root/ginger-2.3.0/ui/pages'
make[2]: Leaving directory `/root/ginger-2.3.0/ui/pages'
Making all in images
make[2]: Entering directory `/root/ginger-2.3.0/ui/images'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/ginger-2.3.0/ui/images'
make[2]: Entering directory `/root/ginger-2.3.0/ui'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/root/ginger-2.3.0/ui'
make[1]: Leaving directory `/root/ginger-2.3.0/ui'
Making all in contrib
make[1]: Entering directory `/root/ginger-2.3.0/contrib'
sed \
-e 's|[@]PACKAGE_VERSION[@]|2.3.0|g' \
-e 's|[@]PACKAGE_RELEASE[@]|0|g' \
< make-deb.sh.in > make-deb.sh-t && \
chmod a+x make-deb.sh-t && \
mv make-deb.sh-t make-deb.sh
make all-recursive
make[2]: Entering directory `/root/ginger-2.3.0/contrib'
Making all in DEBIAN
make[3]: Entering directory `/root/ginger-2.3.0/contrib/DEBIAN'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/root/ginger-2.3.0/contrib/DEBIAN'
make[3]: Entering directory `/root/ginger-2.3.0/contrib'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/root/ginger-2.3.0/contrib'
make[2]: Leaving directory `/root/ginger-2.3.0/contrib'
make[1]: Leaving directory `/root/ginger-2.3.0/contrib'
Making all in tests
make[1]: Entering directory `/root/ginger-2.3.0/tests'
sed -e 's,[@]HAVE_PYMOD_UNITTEST[@],yes,g' -e 's,[@]PYTHON_VERSION[@],2.7,g' < ./run_tests.sh.in > run_tests.sh
chmod +x run_tests.sh
make all-am
make[2]: Entering directory `/root/ginger-2.3.0/tests'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/root/ginger-2.3.0/tests'
make[1]: Leaving directory `/root/ginger-2.3.0/tests'
make[1]: Entering directory `/root/ginger-2.3.0'
while read L && test -n "$L"; do \
dir=mo/$L/LC_MESSAGES ; \
/usr/bin/mkdir -p $dir ; \
ln -sf ../../../po/$L.gmo $dir/ginger.mo ; \
done < po/LINGUAS
make[1]: Leaving directory `/root/ginger-2.3.0'
[root@localhost ginger-2.3.0]# make check
Making check in po
make[1]: Entering directory `/root/ginger-2.3.0/po'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory `/root/ginger-2.3.0/po'
Making check in control
make[1]: Entering directory `/root/ginger-2.3.0/control'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory `/root/ginger-2.3.0/control'
Making check in model
make[1]: Entering directory `/root/ginger-2.3.0/model'
make check-am
make[2]: Entering directory `/root/ginger-2.3.0/model'
make[2]: Nothing to be done for `check-am'.
make[2]: Leaving directory `/root/ginger-2.3.0/model'
make[1]: Leaving directory `/root/ginger-2.3.0/model'
Making check in ui
make[1]: Entering directory `/root/ginger-2.3.0/ui'
Making check in config
make[2]: Entering directory `/root/ginger-2.3.0/ui/config'
make[2]: Nothing to be done for `check'.
make[2]: Leaving directory `/root/ginger-2.3.0/ui/config'
Making check in css
make[2]: Entering directory `/root/ginger-2.3.0/ui/css'
Making check in base
make[3]: Entering directory `/root/ginger-2.3.0/ui/css/base'
Making check in images
make[4]: Entering directory `/root/ginger-2.3.0/ui/css/base/images'
make[4]: Nothing to be done for `check'.
make[4]: Leaving directory `/root/ginger-2.3.0/ui/css/base/images'
make[4]: Entering directory `/root/ginger-2.3.0/ui/css/base'
make[4]: Nothing to be done for `check-am'.
make[4]: Leaving directory `/root/ginger-2.3.0/ui/css/base'
make[3]: Leaving directory `/root/ginger-2.3.0/ui/css/base'
make[3]: Entering directory `/root/ginger-2.3.0/ui/css'
make[3]: Nothing to be done for `check-am'.
make[3]: Leaving directory `/root/ginger-2.3.0/ui/css'
make[2]: Leaving directory `/root/ginger-2.3.0/ui/css'
Making check in js
make[2]: Entering directory `/root/ginger-2.3.0/ui/js'
make[2]: Nothing to be done for `check'.
make[2]: Leaving directory `/root/ginger-2.3.0/ui/js'
Making check in pages
make[2]: Entering directory `/root/ginger-2.3.0/ui/pages'
Making check in help
make[3]: Entering directory `/root/ginger-2.3.0/ui/pages/help'
Making check in en_US
make[4]: Entering directory `/root/ginger-2.3.0/ui/pages/help/en_US'
make[4]: Nothing to be done for `check'.
make[4]: Leaving directory `/root/ginger-2.3.0/ui/pages/help/en_US'
Making check in pt_BR
make[4]: Entering directory `/root/ginger-2.3.0/ui/pages/help/pt_BR'
make[4]: Nothing to be done for `check'.
make[4]: Leaving directory `/root/ginger-2.3.0/ui/pages/help/pt_BR'
Making check in zh_CN
make[4]: Entering directory `/root/ginger-2.3.0/ui/pages/help/zh_CN'
make[4]: Nothing to be done for `check'.
make[4]: Leaving directory `/root/ginger-2.3.0/ui/pages/help/zh_CN'
make[4]: Entering directory `/root/ginger-2.3.0/ui/pages/help'
make[4]: Nothing to be done for `check-am'.
make[4]: Leaving directory `/root/ginger-2.3.0/ui/pages/help'
make[3]: Leaving directory `/root/ginger-2.3.0/ui/pages/help'
Making check in tabs
make[3]: Entering directory `/root/ginger-2.3.0/ui/pages/tabs'
make[3]: Nothing to be done for `check'.
make[3]: Leaving directory `/root/ginger-2.3.0/ui/pages/tabs'
make[3]: Entering directory `/root/ginger-2.3.0/ui/pages'
make[3]: Nothing to be done for `check-am'.
make[3]: Leaving directory `/root/ginger-2.3.0/ui/pages'
make[2]: Leaving directory `/root/ginger-2.3.0/ui/pages'
Making check in images
make[2]: Entering directory `/root/ginger-2.3.0/ui/images'
make[2]: Nothing to be done for `check'.
make[2]: Leaving directory `/root/ginger-2.3.0/ui/images'
make[2]: Entering directory `/root/ginger-2.3.0/ui'
make[2]: Nothing to be done for `check-am'.
make[2]: Leaving directory `/root/ginger-2.3.0/ui'
make[1]: Leaving directory `/root/ginger-2.3.0/ui'
Making check in contrib
make[1]: Entering directory `/root/ginger-2.3.0/contrib'
make check-recursive
make[2]: Entering directory `/root/ginger-2.3.0/contrib'
Making check in DEBIAN
make[3]: Entering directory `/root/ginger-2.3.0/contrib/DEBIAN'
make[3]: Nothing to be done for `check'.
make[3]: Leaving directory `/root/ginger-2.3.0/contrib/DEBIAN'
make[3]: Entering directory `/root/ginger-2.3.0/contrib'
make[3]: Nothing to be done for `check-am'.
make[3]: Leaving directory `/root/ginger-2.3.0/contrib'
make[2]: Leaving directory `/root/ginger-2.3.0/contrib'
make[1]: Leaving directory `/root/ginger-2.3.0/contrib'
Making check in tests
make[1]: Entering directory `/root/ginger-2.3.0/tests'
make check-am
make[2]: Entering directory `/root/ginger-2.3.0/tests'
make check-local
make[3]: Entering directory `/root/ginger-2.3.0/tests'
./run_tests.sh
----------------------------------------------------------------------
Ran 0 tests in 0.000s
OK
make[3]: Leaving directory `/root/ginger-2.3.0/tests'
make[2]: Leaving directory `/root/ginger-2.3.0/tests'
make[1]: Leaving directory `/root/ginger-2.3.0/tests'
make[1]: Entering directory `/root/ginger-2.3.0'
while read L && test -n "$L"; do \
dir=mo/$L/LC_MESSAGES ; \
/usr/bin/mkdir -p $dir ; \
ln -sf ../../../po/$L.gmo $dir/ginger.mo ; \
done < po/LINGUAS
make check-local
make[2]: Entering directory `/root/ginger-2.3.0'
contrib/check_i18n.py ./i18n.py
make[2]: contrib/check_i18n.py: Command not found
make[2]: *** [check-local] Error 127
make[2]: Leaving directory `/root/ginger-2.3.0'
make[1]: *** [check-am] Error 2
make[1]: Leaving directory `/root/ginger-2.3.0'
make: *** [check-recursive] Error 1
For the first error, it really looks like some kind of mismatch between the behavior of MagicMock in CentOS 7.2 and newer distros. If that's the case, nothing much we can do about it aside from writing specific tests for CentOS 7.2