thrift: Add recipe for Apache Thrift.
PATCH v3 1/1 thrift: Add recipe for Apache Thrift.
* Run tested cpp bindings with GNU Radio Control Port.
--- .../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
meta-oe/recipes-connectivity/thrift/thrift_0.9.3.bb new file +34 -0
@@ -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" + +do_install_append () { + ln -sf thrift ${D}/${bindir}/thrift-compiler +} +
Signature · 1 line
2.5.0
Quoted 4 lines · Philip Balister
* Run tested cpp bindings with GNU Radio Control Port.
Thrift has compiler framework so I think it should go into recipes-devtools also make it more granular on packaging the compiler separately then the libraries and bindings.
Quoted 55 lines
Signed-off-by Philip Balister <[email protected]>---
.../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
meta-oe/recipes-connectivity/thrift/thrift_0.9.3.bb new file +34
-1@@ -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" + +do_install_append () { + ln -sf thrift ${D}/${bindir}/thrift-compiler +} + --2.5.0
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Quoted 33 lines · Philip Balister
* Run tested cpp bindings with GNU Radio Control Port.
Signed-off-by Philip Balister <[email protected]>--- .../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.bbmeta-oe/recipes-connectivity/thrift/thrift_0.9.3.bb new file +19
-0@@ -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 +
meta-oe/recipes-connectivity/thrift/thrift_0.9.3.bb line 29
Quoted 10 lines
meta-oe/recipes-connectivity/thrift/thrift_0.9.3.bb new file +10
-0+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'
Quoted 13 lines
meta-oe/recipes-connectivity/thrift/thrift_0.9.3.bb new file +5
-0+ +do_install_append () { + ln -sf thrift ${D}/${bindir}/thrift-compiler +} +Signature · 7 lines
2.5.0 -- _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
Quoted 38 lines · Martin Jansa
Quoted 37 lines · Philip Balister
* Run tested cpp bindings with GNU Radio Control Port.
Signed-off-by Philip Balister <[email protected]>--- .../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.bbmeta-oe/recipes-connectivity/thrift/thrift_0.9.3.bb new file +23
-0@@ -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
Quoted 8 lines
meta-oe/recipes-connectivity/thrift/thrift_0.9.3.bb line 29
Quoted 6 lines
meta-oe/recipes-connectivity/thrift/thrift_0.9.3.bb new file +6
-0+ +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:
Bother, I'll try and get a build with Qt5 staged so I can test locally. Sorry for the trouble.
Philip
Quoted 50 lines
| -- 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'Quoted 13 lines
meta-oe/recipes-connectivity/thrift/thrift_0.9.3.bb new file +5
-0+ +do_install_append () { + ln -sf thrift ${D}/${bindir}/thrift-compiler +} +Signature · 7 lines
2.5.0 -- _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-devel