{"action":"created","issue":{"url":"https://api.github.com/repos/bmwcarit/meta-ros/issues/355","labels_url":"https://api.github.com/repos/bmwcarit/meta-ros/issues/355/labels{/name}","comments_url":"https://api.github.com/repos/bmwcarit/meta-ros/issues/355/comments","events_url":"https://api.github.com/repos/bmwcarit/meta-ros/issues/355/events","html_url":"https://github.com/bmwcarit/meta-ros/issues/355","id":105173708,"number":355,"title":"opencv: do_compile fails for ppc","user":{"login":"bulwahn","id":3032216,"avatar_url":"https://avatars.githubusercontent.com/u/3032216?v=3","gravatar_id":"","url":"https://api.github.com/users/bulwahn","html_url":"https://github.com/bulwahn","followers_url":"https://api.github.com/users/bulwahn/followers","following_url":"https://api.github.com/users/bulwahn/following{/other_user}","gists_url":"https://api.github.com/users/bulwahn/gists{/gist_id}","starred_url":"https://api.github.com/users/bulwahn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bulwahn/subscriptions","organizations_url":"https://api.github.com/users/bulwahn/orgs","repos_url":"https://api.github.com/users/bulwahn/repos","events_url":"https://api.github.com/users/bulwahn/events{/privacy}","received_events_url":"https://api.github.com/users/bulwahn/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/bmwcarit/meta-ros/labels/error","name":"error","color":"e11d21"},{"url":"https://api.github.com/repos/bmwcarit/meta-ros/labels/meta-oe","name":"meta-oe","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-09-07T08:39:24Z","updated_at":"2015-10-15T06:10:29Z","closed_at":null,"body":"`bitbake opencv` fails when cross-compiling for powerpc.\r\n\r\nBuild Configuration:\r\n```\r\nBB_VERSION        = \"1.27.1\"\r\nBUILD_SYS         = \"x86_64-linux\"\r\nNATIVELSBSTRING   = \"Fedora-20\"\r\nTARGET_SYS        = \"arm-oe-linux-gnueabi\"\r\nMACHINE           = \"qemuarm\"\r\nDISTRO            = \"nodistro\"\r\nDISTRO_VERSION    = \"nodistro.0\"\r\nTUNE_FEATURES     = \"arm armv5 thumb dsp\"\r\nTARGET_FPU        = \"soft\"\r\nmeta              = \"master:e4bbd98bf9648bbf3ffa7c4338f2302a92a413ef\"\r\nmeta-oe           \r\nmeta-python       \r\nmeta-multimedia   = \"master:faf070c45a67f0ad49f52bc4cb79a77f64842d93\"\r\nmeta-ros          = \"master:7867e2683c5209b2d2b32a49bea62e15a5165a6c\"\r\n```\r\n\r\nThe error log is:\r\n```\r\nIn file included from /[...]/build/tmp-glibc/work/ppc7400-oe-linux/opencv/2.4.11+gitAUTOINC+2c9547e314-r0/git/3rdparty/include/opencl/1.2/CL/cl.h:30:0,\r\n  from /[...]/build/tmp-glibc/work/ppc7400-oe-linux/opencv/2.4.11+gitAUTOINC+2c9547e314-r0/git/modules/ocl/include/opencv2/ocl/cl_runtime/cl_runtime_opencl.hpp:100,\r\n  from /[...]/build/tmp-glibc/work/ppc7400-oe-linux/opencv/2.4.11+gitAUTOINC+2c9547e314-r0/git/modules/ocl/include/opencv2/ocl/cl_runtime/cl_runtime.hpp:27,\r\n  from /[...]/build/tmp-glibc/work/ppc7400-oe-linux/opencv/2.4.11+gitAUTOINC+2c9547e314-r0/git/modules/ocl/include/opencv2/ocl/private/util.hpp:51,\r\n  from /[...]/build/tmp-glibc/work/ppc7400-oe-linux/opencv/2.4.11+gitAUTOINC+2c9547e314-r0/git/modules/ocl/src/precomp.hpp:89,\r\n  from /[...]/build/tmp-glibc/work/ppc7400-oe-linux/opencv/2.4.11+gitAUTOINC+2c9547e314-r0/build/modules/ocl/opencv_ocl_pch_dephelp.cxx:1:\r\n  /[...]/build/tmp-glibc/work/ppc7400-oe-linux/opencv/2.4.11+gitAUTOINC+2c9547e314-r0/git/3rdparty/include/opencl/1.2/CL/cl_platform.h:335:12: error: 'vector' does not name a type\r\n     typedef vector unsigned char     __cl_uchar16;\r\n             ^\r\n /[...]/build/tmp-glibc/work/ppc7400-oe-linux/opencv/2.4.11+gitAUTOINC+2c9547e314-r0/git/3rdparty/include/opencl/1.2/CL/cl_platform.h:336:12: error: 'vector' does not name a type\r\n     typedef vector signed char       __cl_char16;\r\n             ^\r\n/[...]/build/tmp-glibc/work/ppc7400-oe-linux/opencv/2.4.11+gitAUTOINC+2c9547e314-r0/git/3rdparty/include/opencl/1.2/CL/cl_platform.h:337:12: error: 'vector' does not name a type\r\n    typedef vector unsigned short    __cl_ushort8;\r\n            ^\r\n/[...]/build/tmp-glibc/work/ppc7400-oe-linux/opencv/2.4.11+gitAUTOINC+2c9547e314-r0/git/3rdparty/include/opencl/1.2/CL/cl_platform.h:338:12: error: 'vector' does not name a type\r\n    typedef vector signed short      __cl_short8;\r\n            ^\r\n/[...]/build/tmp-glibc/work/ppc7400-oe-linux/opencv/2.4.11+gitAUTOINC+2c9547e314-r0/git/3rdparty/include/opencl/1.2/CL/cl_platform.h:339:12: error: 'vector' does not name a type\r\n    typedef vector unsigned int      __cl_uint4;\r\n            ^\r\n/[...]/build/tmp-glibc/work/ppc7400-oe-linux/opencv/2.4.11+gitAUTOINC+2c9547e314-r0/git/3rdparty/include/opencl/1.2/CL/cl_platform.h:340:12: error: 'vector' does not name a type\r\n    typedef vector signed int        __cl_int4;\r\n            ^\r\n/[...]/build/tmp-glibc/work/ppc7400-oe-linux/opencv/2.4.11+gitAUTOINC+2c9547e314-r0/git/3rdparty/include/opencl/1.2/CL/cl_platform.h:341:12: error: 'vector' does not name a type\r\n    typedef vector float             __cl_float4;\r\n            ^\r\n/[...]/build/tmp-glibc/work/ppc7400-oe-linux/opencv/2.4.11+gitAUTOINC+2c9547e314-r0/git/3rdparty/include/opencl/1.2/CL/cl_platform.h:548:5: error: '__cl_char16' does not name a type\r\n     __cl_char16    v16;\r\n     ^\r\n/[...]/build/tmp-glibc/work/ppc7400-oe-linux/opencv/2.4.11+gitAUTOINC+2c9547e314-r0/git/3rdparty/include/opencl/1.2/CL/cl_platform.h:623:5: error: '__cl_uchar16' does not name a type\r\n     __cl_uchar16    v16;\r\n     ^\r\n/[...]/build/tmp-glibc/work/ppc7400-oe-linux/opencv/2.4.11+gitAUTOINC+2c9547e314-r0/git/3rdparty/include/opencl/1.2/CL/cl_platform.h:676:5: error: '__cl_short8' does not name a type\r\n      __cl_short8     v8;\r\n     ^\r\n/[...]/build/tmp-glibc/work/ppc7400-oe-linux/opencv/2.4.11+gitAUTOINC+2c9547e314-r0/git/3rdparty/include/opencl/1.2/CL/cl_platform.h:695:5: error: '__cl_short8' does not name a type\r\n     __cl_short8     v8[2];\r\n     ^\r\n/[...]/build/tmp-glibc/work/ppc7400-oe-linux/opencv/2.4.11+gitAUTOINC+2c9547e314-r0/git/3rdparty/include/opencl/1.2/CL/cl_platform.h:751:5: error: '__cl_ushort8' does not name a type\r\n     __cl_ushort8     v8;\r\n     ^\r\n/[...]/build/tmp-glibc/work/ppc7400-oe-linux/opencv/2.4.11+gitAUTOINC+2c9547e314-r0/git/3rdparty/include/opencl/1.2/CL/cl_platform.h:770:5: error: '__cl_ushort8' does not name a type\r\n     __cl_ushort8     v8[2];\r\n     ^\r\n/[...]/build/tmp-glibc/work/ppc7400-oe-linux/opencv/2.4.11+gitAUTOINC+2c9547e314-r0/git/3rdparty/include/opencl/1.2/CL/cl_platform.h:803:5: error: '__cl_int4' does not name a type\r\n     __cl_int4     v4;\r\n     ^\r\n/[...]/build/tmp-glibc/work/ppc7400-oe-linux/opencv/2.4.11+gitAUTOINC+2c9547e314-r0/git/3rdparty/include/opencl/1.2/CL/cl_platform.h:822:5: error: '__cl_int4' does not name a type\r\n     __cl_int4     v4[2];\r\n     ^\r\n/[...]/build/tmp-glibc/work/ppc7400-oe-linux/opencv/2.4.11+gitAUTOINC+2c9547e314-r0/git/3rdparty/include/opencl/1.2/CL/cl_platform.h:841:5: error: '__cl_int4' does not name a type\r\n     __cl_int4     v4[4];\r\n     ^\r\n/[...]/build/tmp-glibc/work/ppc7400-oe-linux/opencv/2.4.11+gitAUTOINC+2c9547e314-r0/git/3rdparty/include/opencl/1.2/CL/cl_platform.h:878:5: error: '__cl_uint4' does not name a type\r\n     __cl_uint4     v4;\r\n     ^\r\n/[...]/build/tmp-glibc/work/ppc7400-oe-linux/opencv/2.4.11+gitAUTOINC+2c9547e314-r0/git/3rdparty/include/opencl/1.2/CL/cl_platform.h:897:5: error: '__cl_uint4' does not name a type\r\n     __cl_uint4     v4[2];\r\n     ^\r\n/[...]/build/tmp-glibc/work/ppc7400-oe-linux/opencv/2.4.11+gitAUTOINC+2c9547e314-r0/git/3rdparty/include/opencl/1.2/CL/cl_platform.h:916:5: error: '__cl_uint4' does not name a type\r\n     __cl_uint4     v4[4];\r\n     ^\r\n/[...]/build/tmp-glibc/work/ppc7400-oe-linux/opencv/2.4.11+gitAUTOINC+2c9547e314-r0/git/3rdparty/include/opencl/1.2/CL/cl_platform.h:1103:5: error: '__cl_float4' does not name a type\r\n     __cl_float4     v4;\r\n     ^\r\n/[...]/build/tmp-glibc/work/ppc7400-oe-linux/opencv/2.4.11+gitAUTOINC+2c9547e314-r0/git/3rdparty/include/opencl/1.2/CL/cl_platform.h:1122:5: error: '__cl_float4' does not name a type\r\n     __cl_float4     v4[2];\r\n     ^\r\n/[...]/build/tmp-glibc/work/ppc7400-oe-linux/opencv/2.4.11+gitAUTOINC+2c9547e314-r0/git/3rdparty/include/opencl/1.2/CL/cl_platform.h:1141:5: error: '__cl_float4' does not name a type\r\n     __cl_float4     v4[4];\r\n     ^\r\n\r\nERROR: oe_runmake failed\r\nERROR: Function failed: do_compile (log file is located at /[...]/build/tmp-glibc/work/ppc7400-oe-linux/opencv/2.4.11+gitAUTOINC+2c9547e314-r0/temp/log.do_compile.16152)\r\nERROR: Task 7 (/[...]/openembedded.org/meta-openembedded/master/meta-oe/recipes-support/opencv/opencv_2.4.bb, do_compile) failed with exit code '1'\r\n```"},"comment":{"url":"https://api.github.com/repos/bmwcarit/meta-ros/issues/comments/148291845","html_url":"https://github.com/bmwcarit/meta-ros/issues/355#issuecomment-148291845","issue_url":"https://api.github.com/repos/bmwcarit/meta-ros/issues/355","id":148291845,"user":{"login":"bulwahn","id":3032216,"avatar_url":"https://avatars.githubusercontent.com/u/3032216?v=3","gravatar_id":"","url":"https://api.github.com/users/bulwahn","html_url":"https://github.com/bulwahn","followers_url":"https://api.github.com/users/bulwahn/followers","following_url":"https://api.github.com/users/bulwahn/following{/other_user}","gists_url":"https://api.github.com/users/bulwahn/gists{/gist_id}","starred_url":"https://api.github.com/users/bulwahn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bulwahn/subscriptions","organizations_url":"https://api.github.com/users/bulwahn/orgs","repos_url":"https://api.github.com/users/bulwahn/repos","events_url":"https://api.github.com/users/bulwahn/events{/privacy}","received_events_url":"https://api.github.com/users/bulwahn/received_events","type":"User","site_admin":false},"created_at":"2015-10-15T06:10:29Z","updated_at":"2015-10-15T06:10:29Z","body":"It has been merged upstream:\r\nhttp://cgit.openembedded.org/meta-openembedded/commit/?id=97dfbbbf6bddbd360638cde98cb53790ccc83059\r\n\r\nHence, this issue is closed."}}