All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-oe][PATCHv3] thrift: Add recipe for Apache Thrift.
@ 2016-01-19 15:39 Philip Balister
  2016-01-19 18:43 ` Khem Raj
  2016-01-29 18:03 ` Martin Jansa
  0 siblings, 2 replies; 4+ messages in thread
From: Philip Balister @ 2016-01-19 15:39 UTC (permalink / raw)
  To: openembedded-devel

 * Run tested cpp bindings with GNU Radio Control Port.

Signed-off-by: Philip Balister <philip@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"
+
+do_install_append () {
+	ln -sf thrift ${D}/${bindir}/thrift-compiler
+}
+
-- 
2.5.0



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [meta-oe][PATCHv3] thrift: Add recipe for Apache Thrift.
  2016-01-19 15:39 [meta-oe][PATCHv3] thrift: Add recipe for Apache Thrift Philip Balister
@ 2016-01-19 18:43 ` Khem Raj
  2016-01-29 18:03 ` Martin Jansa
  1 sibling, 0 replies; 4+ messages in thread
From: Khem Raj @ 2016-01-19 18:43 UTC (permalink / raw)
  To: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 2269 bytes --]


> On Jan 19, 2016, at 7:39 AM, Philip Balister <philip@balister.org> wrote:
> 
> * 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.

> 
> Signed-off-by: Philip Balister <philip@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"
> +
> +do_install_append () {
> +	ln -sf thrift ${D}/${bindir}/thrift-compiler
> +}
> +
> --
> 2.5.0
> 
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[-- Attachment #2: Message signed with OpenPGP using GPGMail --]
[-- Type: application/pgp-signature, Size: 211 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [meta-oe][PATCHv3] thrift: Add recipe for Apache Thrift.
  2016-01-19 15:39 [meta-oe][PATCHv3] thrift: Add recipe for Apache Thrift Philip Balister
  2016-01-19 18:43 ` Khem Raj
@ 2016-01-29 18:03 ` Martin Jansa
  2016-02-02  8:09   ` Philip Balister
  1 sibling, 1 reply; 4+ messages in thread
From: Martin Jansa @ 2016-01-29 18:03 UTC (permalink / raw)
  To: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 4014 bytes --]

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@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@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [meta-oe][PATCHv3] thrift: Add recipe for Apache Thrift.
  2016-01-29 18:03 ` Martin Jansa
@ 2016-02-02  8:09   ` Philip Balister
  0 siblings, 0 replies; 4+ messages in thread
From: Philip Balister @ 2016-02-02  8:09 UTC (permalink / raw)
  To: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 4254 bytes --]



On 01/29/2016 07:03 PM, Martin Jansa wrote:
> 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@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:

Bother, I'll try and get a build with Qt5 staged so I can test locally.
Sorry for the trouble.

Philip


> 
> | -- 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@lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
> 
> 
> 


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 484 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-02-02  8:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-19 15:39 [meta-oe][PATCHv3] thrift: Add recipe for Apache Thrift Philip Balister
2016-01-19 18:43 ` Khem Raj
2016-01-29 18:03 ` Martin Jansa
2016-02-02  8:09   ` Philip Balister

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.