ueno / libkkc

Japanese Kana Kanji conversion input method library
GNU General Public License v3.0
106 stars 15 forks source link

Travis-ci: Error while enabling ppc64le build #32

Open sanjaymsh opened 4 years ago

sanjaymsh commented 4 years ago

Hi,

I am enabling 'ppc64le' build on travis-ci along with amd64. And updated the .travis.yml file and added arch:ppc64le along with amd64. But getting below error in one of the ppc64le build job while executing the command $docker exec $CONTAINER su - user sh -c "cd /srcdir && ./configure $BUILD_OPTS" from .travis.yml file.

"checking for suffix of executables... checking whether we are cross compiling... configure: error: in /srcdir': configure: error: cannot run C compiled programs. If you meant to cross compile, use--host'. See `config.log' for more details The command "docker exec $CONTAINER su - user sh -c "cd /srcdir && ./configure $BUILD_OPTS"" exited with 1. 0.19s$ docker exec $CONTAINER su - user sh -c "cd /srcdir && make V=1 && touch po/libkkc.pot && make check V=1"; make: *** No targets specified and no makefile found. Stop. The command "docker exec $CONTAINER su - user sh -c "cd /srcdir && make V=1 && touch po/libkkc.pot && make check V=1";" exited with 2. after_failure 0.15s$ docker exec $CONTAINER su - user sh -c "cd /srcdir && cat tests/test-suite.log" Done. Your build exited with 1."

For complete error log please see this link : https://travis-ci.com/github/sanjay-cpu/libkkc/builds/183214940

Please have a look into this.

Thanks !!

sanjaymsh commented 4 years ago

For same BUILD_OPTS in amd64 this below line: "checking whether we are cross compiling...no " but for ppc64le its "checking whether we are cross compiling... configure: error: in `/srcdir':"

The command which is causing the issue is: docker exec $CONTAINER su - user sh -c "cd /srcdir && ./configure $BUILD_OPTS" Seems that there is something specific needs to be added for ppc64le(just guessing).