Openembedded Devel Discussions
 help / color / mirror / Atom feed
* [meta-oe][PATCH 1/3] zlog: Add recipe
@ 2016-12-16  3:59 Khem Raj
  2016-12-16  3:59 ` [meta-networking][PATCH 2/3] usrsctp: " Khem Raj
  2016-12-16  3:59 ` [meta-oe][PATCH 3/3] popplet: Disable PIE, it does not compile Khem Raj
  0 siblings, 2 replies; 5+ messages in thread
From: Khem Raj @ 2016-12-16  3:59 UTC (permalink / raw)
  To: openembedded-devel

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta-oe/recipes-extended/zlog/zlog_git.bb | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 meta-oe/recipes-extended/zlog/zlog_git.bb

diff --git a/meta-oe/recipes-extended/zlog/zlog_git.bb b/meta-oe/recipes-extended/zlog/zlog_git.bb
new file mode 100644
index 0000000..51c746f
--- /dev/null
+++ b/meta-oe/recipes-extended/zlog/zlog_git.bb
@@ -0,0 +1,19 @@
+DESCRIPTION = "Zlog is a pure C logging library"
+HOMEPAGE = "https://github.com/HardySimpson/zlog"
+LICENSE = "LGPLv2.1"
+LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
+
+PV = "1.2.12+git${SRCPV}"
+
+SRCREV = "13904dab2878aa2654d0c20fb8600a3dc5f2dd68"
+SRC_URI = "git://github.com/HardySimpson/zlog"
+
+S = "${WORKDIR}/git"
+
+inherit pkgconfig
+
+EXTRA_OEMAKE = "CC='${CC}' LD='${LD}'"
+
+do_install() {
+    oe_runmake install PREFIX=${D}${exec_prefix} INSTALL=install
+}
-- 
2.10.2



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

* [meta-networking][PATCH 2/3] usrsctp: Add recipe
  2016-12-16  3:59 [meta-oe][PATCH 1/3] zlog: Add recipe Khem Raj
@ 2016-12-16  3:59 ` Khem Raj
  2016-12-20 14:32   ` Martin Jansa
  2016-12-16  3:59 ` [meta-oe][PATCH 3/3] popplet: Disable PIE, it does not compile Khem Raj
  1 sibling, 1 reply; 5+ messages in thread
From: Khem Raj @ 2016-12-16  3:59 UTC (permalink / raw)
  To: openembedded-devel

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 .../recipes-protocols/usrsctp/usrsctp_git.bb       | 24 ++++++++++++++++++++++
 1 file changed, 24 insertions(+)
 create mode 100644 meta-networking/recipes-protocols/usrsctp/usrsctp_git.bb

diff --git a/meta-networking/recipes-protocols/usrsctp/usrsctp_git.bb b/meta-networking/recipes-protocols/usrsctp/usrsctp_git.bb
new file mode 100644
index 0000000..291eaa9
--- /dev/null
+++ b/meta-networking/recipes-protocols/usrsctp/usrsctp_git.bb
@@ -0,0 +1,24 @@
+DESCRIPTION = "This is a userland SCTP stack supporting FreeBSD, Linux, Mac OS X and Windows."
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE.md;md5=ffcf846341f3856d79a483eafa18e2a5"
+
+SRC_URI = "git://github.com/sctplab/usrsctp;protocol=https;branch=master"
+SRCREV = "dbfc1b8c4cf1a46a4d8987ba542d5ff06bdaf14c"
+
+S = "${WORKDIR}/git"
+
+inherit autotools pkgconfig
+
+DEPENDS += "openssl"
+
+CFLAGS  += "-DSCTP_USE_OPENSSL_SHA1 -fPIC"
+LDFLAGS += "-lssl -lcrypto"
+
+PACKAGECONFIG ?= "disablewarnings"
+PACKAGECONFIG[disablewarnings] = "--disable-warnings-as-errors,,"
+
+EXTRA_OECONF += "--disable-inet \
+                 --disable-inet6 \
+                 --disable-shared \
+                 --disable-debug \
+               "
-- 
2.10.2



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

* [meta-oe][PATCH 3/3] popplet: Disable PIE, it does not compile
  2016-12-16  3:59 [meta-oe][PATCH 1/3] zlog: Add recipe Khem Raj
  2016-12-16  3:59 ` [meta-networking][PATCH 2/3] usrsctp: " Khem Raj
@ 2016-12-16  3:59 ` Khem Raj
  1 sibling, 0 replies; 5+ messages in thread
From: Khem Raj @ 2016-12-16  3:59 UTC (permalink / raw)
  To: openembedded-devel

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta-oe/recipes-support/poppler/poppler_0.49.0.bb | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/meta-oe/recipes-support/poppler/poppler_0.49.0.bb b/meta-oe/recipes-support/poppler/poppler_0.49.0.bb
index ebb16d6..e8f8e65 100644
--- a/meta-oe/recipes-support/poppler/poppler_0.49.0.bb
+++ b/meta-oe/recipes-support/poppler/poppler_0.49.0.bb
@@ -27,6 +27,12 @@ PACKAGECONFIG[nss] = "--enable-libnss,--disable-libnss,nss"
 # Needed for qt5
 CXXFLAGS += "--std=c++11"
 
+#| /usr/src/debug/glibc/2.25-r0/git/csu/elf-init.c:87: undefined reference to `__init_array_end'
+#| /usr/src/debug/glibc/2.25-r0/git/csu/elf-init.c:87: undefined reference to `__init_array_start'
+#| /mnt/a/build/tmp-glibc/sysroots/x86_64-linux/usr/libexec/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/6.2.0/ld: .libs/libpoppler.so.65.0.0: hidden symbol `__init_array_end' isn't defined 
+
+SECURITY_CFLAGS = "${SECURITY_NO_PIE_CFLAGS}"
+
 EXTRA_OECONF = "\
     --enable-xpdf-headers \
     --disable-gtk-test \
-- 
2.10.2



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

* Re: [meta-networking][PATCH 2/3] usrsctp: Add recipe
  2016-12-16  3:59 ` [meta-networking][PATCH 2/3] usrsctp: " Khem Raj
@ 2016-12-20 14:32   ` Martin Jansa
  2016-12-21  6:05     ` Khem Raj
  0 siblings, 1 reply; 5+ messages in thread
From: Martin Jansa @ 2016-12-20 14:32 UTC (permalink / raw)
  To: openembedded-devel

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

On Thu, Dec 15, 2016 at 07:59:46PM -0800, Khem Raj wrote:
> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> ---
>  .../recipes-protocols/usrsctp/usrsctp_git.bb       | 24 ++++++++++++++++++++++
>  1 file changed, 24 insertions(+)
>  create mode 100644 meta-networking/recipes-protocols/usrsctp/usrsctp_git.bb
> 
> diff --git a/meta-networking/recipes-protocols/usrsctp/usrsctp_git.bb b/meta-networking/recipes-protocols/usrsctp/usrsctp_git.bb
> new file mode 100644
> index 0000000..291eaa9
> --- /dev/null
> +++ b/meta-networking/recipes-protocols/usrsctp/usrsctp_git.bb
> @@ -0,0 +1,24 @@
> +DESCRIPTION = "This is a userland SCTP stack supporting FreeBSD, Linux, Mac OS X and Windows."
> +LICENSE = "BSD-3-Clause"
> +LIC_FILES_CHKSUM = "file://LICENSE.md;md5=ffcf846341f3856d79a483eafa18e2a5"
> +
> +SRC_URI = "git://github.com/sctplab/usrsctp;protocol=https;branch=master"
> +SRCREV = "dbfc1b8c4cf1a46a4d8987ba542d5ff06bdaf14c"
> +
> +S = "${WORKDIR}/git"
> +
> +inherit autotools pkgconfig
> +
> +DEPENDS += "openssl"

Fails to build here:
http://logs.nslu2-linux.org/buildlogs/oe/world/pyro/log.dependencies.qemuarm.20161218_140914.log//3_min/failed/usrsctp.log

 Makefile.am: installing './INSTALL'
| Makefile.am: error: required file './NEWS' not found
| Makefile.am: error: required file './README' not found
| Makefile.am: error: required file './AUTHORS' not found
| Makefile.am: error: required file './ChangeLog' not found
| Makefile.am: installing './COPYING' using GNU General Public License
v3 file
| Makefile.am:     Consider adding the COPYING file to the version
control system
| Makefile.am:     for your code, to avoid questions about which license
your project uses
| programs/Makefile.am: installing './depcomp'
| autoreconf: automake failed with exit status: 1


> +
> +CFLAGS  += "-DSCTP_USE_OPENSSL_SHA1 -fPIC"
> +LDFLAGS += "-lssl -lcrypto"
> +
> +PACKAGECONFIG ?= "disablewarnings"
> +PACKAGECONFIG[disablewarnings] = "--disable-warnings-as-errors,,"
> +
> +EXTRA_OECONF += "--disable-inet \
> +                 --disable-inet6 \
> +                 --disable-shared \
> +                 --disable-debug \
> +               "
> -- 
> 2.10.2
> 
> -- 
> _______________________________________________
> 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: 201 bytes --]

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

* Re: [meta-networking][PATCH 2/3] usrsctp: Add recipe
  2016-12-20 14:32   ` Martin Jansa
@ 2016-12-21  6:05     ` Khem Raj
  0 siblings, 0 replies; 5+ messages in thread
From: Khem Raj @ 2016-12-21  6:05 UTC (permalink / raw)
  To: openembeded-devel

On Tue, Dec 20, 2016 at 6:32 AM, Martin Jansa <martin.jansa@gmail.com> wrote:
> On Thu, Dec 15, 2016 at 07:59:46PM -0800, Khem Raj wrote:
>> Signed-off-by: Khem Raj <raj.khem@gmail.com>
>> ---
>>  .../recipes-protocols/usrsctp/usrsctp_git.bb       | 24 ++++++++++++++++++++++
>>  1 file changed, 24 insertions(+)
>>  create mode 100644 meta-networking/recipes-protocols/usrsctp/usrsctp_git.bb
>>
>> diff --git a/meta-networking/recipes-protocols/usrsctp/usrsctp_git.bb b/meta-networking/recipes-protocols/usrsctp/usrsctp_git.bb
>> new file mode 100644
>> index 0000000..291eaa9
>> --- /dev/null
>> +++ b/meta-networking/recipes-protocols/usrsctp/usrsctp_git.bb
>> @@ -0,0 +1,24 @@
>> +DESCRIPTION = "This is a userland SCTP stack supporting FreeBSD, Linux, Mac OS X and Windows."
>> +LICENSE = "BSD-3-Clause"
>> +LIC_FILES_CHKSUM = "file://LICENSE.md;md5=ffcf846341f3856d79a483eafa18e2a5"
>> +
>> +SRC_URI = "git://github.com/sctplab/usrsctp;protocol=https;branch=master"
>> +SRCREV = "dbfc1b8c4cf1a46a4d8987ba542d5ff06bdaf14c"
>> +
>> +S = "${WORKDIR}/git"
>> +
>> +inherit autotools pkgconfig
>> +
>> +DEPENDS += "openssl"
>
> Fails to build here:
> http://logs.nslu2-linux.org/buildlogs/oe/world/pyro/log.dependencies.qemuarm.20161218_140914.log//3_min/failed/usrsctp.log
>
>  Makefile.am: installing './INSTALL'
> | Makefile.am: error: required file './NEWS' not found
> | Makefile.am: error: required file './README' not found
> | Makefile.am: error: required file './AUTHORS' not found
> | Makefile.am: error: required file './ChangeLog' not found
> | Makefile.am: installing './COPYING' using GNU General Public License
> v3 file
> | Makefile.am:     Consider adding the COPYING file to the version
> control system
> | Makefile.am:     for your code, to avoid questions about which license
> your project uses
> | programs/Makefile.am: installing './depcomp'
> | autoreconf: automake failed with exit status: 1

Yeah sent a v2

>
>
>> +
>> +CFLAGS  += "-DSCTP_USE_OPENSSL_SHA1 -fPIC"
>> +LDFLAGS += "-lssl -lcrypto"
>> +
>> +PACKAGECONFIG ?= "disablewarnings"
>> +PACKAGECONFIG[disablewarnings] = "--disable-warnings-as-errors,,"
>> +
>> +EXTRA_OECONF += "--disable-inet \
>> +                 --disable-inet6 \
>> +                 --disable-shared \
>> +                 --disable-debug \
>> +               "
>> --
>> 2.10.2
>>
>> --
>> _______________________________________________
>> 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
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>


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

end of thread, other threads:[~2016-12-21  6:05 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-16  3:59 [meta-oe][PATCH 1/3] zlog: Add recipe Khem Raj
2016-12-16  3:59 ` [meta-networking][PATCH 2/3] usrsctp: " Khem Raj
2016-12-20 14:32   ` Martin Jansa
2016-12-21  6:05     ` Khem Raj
2016-12-16  3:59 ` [meta-oe][PATCH 3/3] popplet: Disable PIE, it does not compile Khem Raj

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox