{"action":"opened","issue":{"url":"https://api.github.com/repos/tesseract-ocr/tesseract/issues/1592","repository_url":"https://api.github.com/repos/tesseract-ocr/tesseract","labels_url":"https://api.github.com/repos/tesseract-ocr/tesseract/issues/1592/labels{/name}","comments_url":"https://api.github.com/repos/tesseract-ocr/tesseract/issues/1592/comments","events_url":"https://api.github.com/repos/tesseract-ocr/tesseract/issues/1592/events","html_url":"https://github.com/tesseract-ocr/tesseract/issues/1592","id":324962790,"number":1592,"title":"error compiling on powerpc64le with gcc version 5.4.0 20160609 ","user":{"login":"Shreeshrii","id":5095331,"avatar_url":"https://avatars1.githubusercontent.com/u/5095331?v=4","gravatar_id":"","url":"https://api.github.com/users/Shreeshrii","html_url":"https://github.com/Shreeshrii","followers_url":"https://api.github.com/users/Shreeshrii/followers","following_url":"https://api.github.com/users/Shreeshrii/following{/other_user}","gists_url":"https://api.github.com/users/Shreeshrii/gists{/gist_id}","starred_url":"https://api.github.com/users/Shreeshrii/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shreeshrii/subscriptions","organizations_url":"https://api.github.com/users/Shreeshrii/orgs","repos_url":"https://api.github.com/users/Shreeshrii/repos","events_url":"https://api.github.com/users/Shreeshrii/events{/privacy}","received_events_url":"https://api.github.com/users/Shreeshrii/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-21T15:40:43Z","updated_at":"2018-05-21T15:40:43Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"c++ version\r\n```\r\n c++ -v\r\nUsing built-in specs.\r\nCOLLECT_GCC=c++\r\nCOLLECT_LTO_WRAPPER=/usr/lib/gcc/powerpc64le-linux-gnu/5/lto-wrapper\r\nTarget: powerpc64le-linux-gnu\r\nConfigured with: ../src/configure -v --with-pkgversion='Ubuntu/IBM 5.4.0-6ubuntu1~16.04.9' --with-bugurl=file:///usr/share/doc/gcc-5/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-5 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-libquadmath --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-5-ppc64el/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-5-ppc64el --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-5-ppc64el --with-arch-directory=ppc64le --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-secureplt --with-cpu=power8 --enable-targets=powerpcle-linux --disable-multilib --enable-multiarch --disable-werror --with-long-double-128 --enable-checking=release --build=powerpc64le-linux-gnu --host=powerpc64le-linux-gnu --target=powerpc64le-linux-gnu\r\nThread model: posix\r\ngcc version 5.4.0 20160609 (Ubuntu/IBM 5.4.0-6ubuntu1~16.04.9)\r\n\r\n```\r\n\r\ncommit\r\n```\r\n git log -3\r\ncommit 0a93ad2aaef96023fd863c51c18f110b490a207e\r\nMerge: e9197f3 b4b33dd\r\nAuthor: zdenop <zdenop@gmail.com>\r\nDate:   Mon May 21 11:26:59 2018 +0200\r\n\r\n    Merge pull request #1590 from mduk/patch-1\r\n\r\n    Update README.md\r\n\r\ncommit b4b33dda2a7dda807282781491bd32961bac6ee0\r\nAuthor: Daniel Kendell <daniel_kendell@macdan.net>\r\nDate:   Mon May 21 09:16:42 2018 +0100\r\n\r\n    Update README.md\r\n\r\n    Fixed links to C and C++ API header files.\r\n\r\ncommit e9197f30f3cba6e53e998eb0444e3b33448ba6a2\r\nMerge: 7c8ab18 fedae91\r\nAuthor: Egor Pugin <egor.pugin@gmail.com>\r\nDate:   Mon May 21 01:28:00 2018 +0300\r\n\r\n    Merge pull request #1589 from stweil/fix\r\n\r\n    ColPartition: Add missing initialisation for median_left, median_right\r\n```\r\n\r\nError\r\n\r\n```\r\nmake[1]: Entering directory '/home/ubuntu/tesseract/src/classify'\r\ndepbase=`echo featdefs.lo | sed 's|[^/]*$|.deps/&|;s|\\.lo$||'`;\\\r\n/bin/bash ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../..  -DNDEBUG -I../../src/cutil -I../../src/ccutil -I../../src/ccstruct -I../../src/dict -I../../src/viewer  -I/usr/include/leptonica -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12  -g -O2 -std=c++11 -MT featdefs.lo -MD -MP -MF $depbase.Tpo -c -o featdefs.lo featdefs.cpp &&\\\r\nmv -f $depbase.Tpo $depbase.Plo\r\nlibtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -DNDEBUG -I../../src/cutil -I../../src/ccutil -I../../src/ccstruct -I../../src/dict -I../../src/viewer -I/usr/include/leptonica -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -g -O2 -std=c++11 -MT featdefs.lo -MD -MP -MF .deps/featdefs.Tpo -c featdefs.cpp  -fPIC -DPIC -o .libs/featdefs.o\r\nfeatdefs.cpp: In function ‘bool ValidCharDescription(const FEATURE_DEFS_STRUCT&, CHAR_DESC)’:\r\nfeatdefs.cpp:219:36: error: ‘isnan’ was not declared in this scope\r\n           if (isnan(feat->Params[p]) || isinf(feat->Params[p]))\r\n                                    ^\r\nfeatdefs.cpp:219:36: note: suggested alternative:\r\nIn file included from /usr/include/c++/5/random:38:0,\r\n                 from /usr/include/c++/5/bits/stl_algo.h:66,\r\n                 from /usr/include/c++/5/algorithm:62,\r\n                 from ../../src/ccutil/genericvector.h:23,\r\n                 from ../../src/ccstruct/normalis.h:24,\r\n                 from ../../src/ccstruct/blobs.h:33,\r\n                 from ocrfeatures.h:24,\r\n                 from featdefs.h:24,\r\n                 from featdefs.cpp:21:\r\n/usr/include/c++/5/cmath:641:5: note:   ‘std::isnan’\r\n     isnan(_Tp __x)\r\n     ^\r\nfeatdefs.cpp:219:62: error: ‘isinf’ was not declared in this scope\r\n           if (isnan(feat->Params[p]) || isinf(feat->Params[p]))\r\n                                                              ^\r\nfeatdefs.cpp:219:62: note: suggested alternative:\r\nIn file included from /usr/include/c++/5/random:38:0,\r\n                 from /usr/include/c++/5/bits/stl_algo.h:66,\r\n                 from /usr/include/c++/5/algorithm:62,\r\n                 from ../../src/ccutil/genericvector.h:23,\r\n                 from ../../src/ccstruct/normalis.h:24,\r\n                 from ../../src/ccstruct/blobs.h:33,\r\n                 from ocrfeatures.h:24,\r\n                 from featdefs.h:24,\r\n                 from featdefs.cpp:21:\r\n/usr/include/c++/5/cmath:621:5: note:   ‘std::isinf’\r\n     isinf(_Tp __x)\r\n     ^\r\nMakefile:476: recipe for target 'featdefs.lo' failed\r\nmake[1]: *** [featdefs.lo] Error 1\r\n```"}}
{"actor":{"display_login":"Shreeshrii"}}