[oe] [meta-oe][PATCHv3] thrift: Add recipe for Apache Thrift.

Martin Jansa martin.jansa at gmail.com
Fri Jan 29 18:03:37 UTC 2016


On Tue, Jan 19, 2016 at 10:39:36AM -0500, Philip Balister wrote:
>  * Run tested cpp bindings with GNU Radio Control Port.
> 
> Signed-off-by: Philip Balister <philip at balister.org>
> ---
>  .../recipes-connectivity/thrift/thrift_0.9.3.bb    | 34 ++++++++++++++++++++++
>  1 file changed, 34 insertions(+)
>  create mode 100644 meta-oe/recipes-connectivity/thrift/thrift_0.9.3.bb
> 
> diff --git a/meta-oe/recipes-connectivity/thrift/thrift_0.9.3.bb b/meta-oe/recipes-connectivity/thrift/thrift_0.9.3.bb
> new file mode 100644
> index 0000000..7c8f407
> --- /dev/null
> +++ b/meta-oe/recipes-connectivity/thrift/thrift_0.9.3.bb
> @@ -0,0 +1,34 @@
> +SUMMARY = "Apache Thrift"
> +DESCRIPTION =  "A software framework, for scalable cross-language services development"
> +HOMEPAGE = "https://thrift.apache.org/"
> +
> +LICENSE = "Apache-2.0"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=e4ed21f679b2aafef26eac82ab0c2cbf"
> +
> +DEPENDS = "thrift-native boost python libevent flex-native bison-native \
> +           glib-2.0 openssl"
> +
> +SRC_URI = "git://git-wip-us.apache.org/repos/asf/thrift.git;protocol=https \
> +"
> +SRCREV = "61b8a29b0704ccd81b520f2300f5d1bb261fea3e"
> +S = "${WORKDIR}/git"
> +
> +BBCLASSEXTEND = "native nativesdk"
> +
> +inherit pkgconfig cmake pythonnative
> +
> +export STAGING_INCDIR
> +export STAGING_LIBDIR
> +export BUILD_SYS
> +export HOST_SYS
> +
> +EXTRA_OECMAKE = "-DWITH_QT4=OFF -DWITH_QT5=OFF"
> +EXTRA_OECMAKE_class-native = "-DWITH_QT4=OFF -DWITH_QT5=OFF \
> +             -DBUILD_TESTING=OFF -DBUILD_EXAMPLES=OFF -DWITH_CPP=OFF"
> +EXTRA_OECMAKE_class-nativesdk = "-DWITH_QT4=OFF -DWITH_QT5=OFF \
> +             -DBUILD_TESTING=OFF -DBUILD_EXAMPLES=OFF -DWITH_PYTHON=OFF"

Didn't help with Qt5:

| -- Parsed Thrift version: 1.0.0 (1.0.0)
| CMake Error at /home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/qemuarm/usr/lib/cmake/Qt5Core/Qt5CoreConfig.cmake:27 (message):
|   The imported target "Qt5::Core" references the file
| 
|      "/qmake"
| 
|   but this file does not exist.  Possible reasons include:
| 
|   * The file was deleted, renamed, or moved to another location.
| 
|   * An install or uninstall procedure did not complete successfully.
| 
|   * The installation package was faulty and contained
| 
|      "/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/qemuarm/usr/lib/cmake/Qt5Core/Qt5CoreConfigExtras.cmake"
| 
|   but not all the files it references.
| 
| Call Stack (most recent call first):
|   /home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/qemuarm/usr/lib/cmake/Qt5Core/Qt5CoreConfigExtras.cmake:6 (_qt5_Core_check_file_exists)
|   /home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/qemuarm/usr/lib/cmake/Qt5Core/Qt5CoreConfig.cmake:158 (include)
|   /home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/qemuarm/usr/lib/cmake/Qt5/Qt5Config.cmake:26 (find_package)
|   build/cmake/DefineOptions.cmake:55 (find_package)
|   CMakeLists.txt:45 (include)
| 
| 
| -- Configuring incomplete, errors occurred!
| See also "/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/thrift/0.9.3-r0/build/CMakeFiles/CMakeOutput.log".
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_configure (log file is located at /home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/thrift/0.9.3-r0/temp/log.do_configure.18928)
NOTE: recipe thrift-0.9.3-r0: task do_configure: Failed
ERROR: Task 16213 (/home/jenkins/oe/world/shr-core/meta-openembedded/meta-oe/recipes-connectivity/thrift/thrift_0.9.3.bb, do_configure) failed with exit code '1'

> +
> +do_install_append () {
> +	ln -sf thrift ${D}/${bindir}/thrift-compiler
> +}
> +
> -- 
> 2.5.0
> 
> -- 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20160129/d32d1519/attachment-0002.sig>


More information about the Openembedded-devel mailing list