* [meta-gnome][PATCH 3/7] libwnck3: Add missing dependency on gnome-common-native
@ 2016-12-06 2:36 Khem Raj
2016-12-06 2:36 ` [meta-gnome][PATCH 4/7] ruli: Add new package Khem Raj
` (3 more replies)
0 siblings, 4 replies; 9+ messages in thread
From: Khem Raj @ 2016-12-06 2:36 UTC (permalink / raw)
To: openembedded-devel
Fixes configure errors
../libwnck-3.20.1/configure: line 13391: syntax error near unexpected token `maximum'
../libwnck-3.20.1/configure: line 13391: `GNOME_COMPILE_WARNINGS(maximum)'
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
meta-gnome/recipes-gnome/libwnck/libwnck3_3.20.1.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta-gnome/recipes-gnome/libwnck/libwnck3_3.20.1.bb b/meta-gnome/recipes-gnome/libwnck/libwnck3_3.20.1.bb
index fd4ef69..02149fb 100644
--- a/meta-gnome/recipes-gnome/libwnck/libwnck3_3.20.1.bb
+++ b/meta-gnome/recipes-gnome/libwnck/libwnck3_3.20.1.bb
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=5f30f0716dfdd0d91eb439ebec522ec2"
BPN = "libwnck"
SECTION = "x11/libs"
-DEPENDS = "intltool-native gtk+3 gdk-pixbuf-native libxres"
+DEPENDS = "intltool-native gnome-common-native gtk+3 gdk-pixbuf-native libxres"
PACKAGECONFIG ??= "startup-notification"
PACKAGECONFIG[startup-notification] = "--enable-startup-notification,--disable-startup-notification,startup-notification"
--
2.10.2
^ permalink raw reply related [flat|nested] 9+ messages in thread* [meta-gnome][PATCH 4/7] ruli: Add new package 2016-12-06 2:36 [meta-gnome][PATCH 3/7] libwnck3: Add missing dependency on gnome-common-native Khem Raj @ 2016-12-06 2:36 ` Khem Raj 2016-12-06 2:36 ` [meta-oe][PATCH 5/7] liboop: Add recipe Khem Raj ` (2 subsequent siblings) 3 siblings, 0 replies; 9+ messages in thread From: Khem Raj @ 2016-12-06 2:36 UTC (permalink / raw) To: openembedded-devel Signed-off-by: Khem Raj <raj.khem@gmail.com> --- .../recipes-support/ruli/files/Makefile.patch | 122 +++++++++++++++++++++ meta-networking/recipes-support/ruli/ruli_0.36.bb | 22 ++++ 2 files changed, 144 insertions(+) create mode 100644 meta-networking/recipes-support/ruli/files/Makefile.patch create mode 100644 meta-networking/recipes-support/ruli/ruli_0.36.bb diff --git a/meta-networking/recipes-support/ruli/files/Makefile.patch b/meta-networking/recipes-support/ruli/files/Makefile.patch new file mode 100644 index 0000000..60789a3 --- /dev/null +++ b/meta-networking/recipes-support/ruli/files/Makefile.patch @@ -0,0 +1,122 @@ +diff -Naur patch.org/ruli-0.36/Makefile patch.new/ruli-0.36/Makefile +--- ruli-0.36/Makefile 2015-09-10 15:14:13.952262350 -0400 ++++ ruli-0.36/Makefile 2015-09-10 15:14:38.628261620 -0400 +@@ -7,17 +7,17 @@ + .PHONY: default + default: + $(MAKE) -C src +- $(MAKE) -C sample ++# $(MAKE) -C sample + + .PHONY: clean + clean: + $(MAKE) -C src clean +- $(MAKE) -C sample clean ++# $(MAKE) -C sample clean + + .PHONY: install + install: + $(MAKE) -C src install +- $(MAKE) -C sample install ++# $(MAKE) -C sample install + + .PHONY: dpkg + dpkg: + +===================================================================== + +diff -Naur patch.org/git/src/Makefile patch.new/git/src/Makefile +--- ruli-0.36/src/Makefile 2005-06-13 12:34:53.000000000 -0400 ++++ ruli-0.36/src/Makefile 2015-09-11 09:46:06.290287347 -0400 +@@ -18,9 +18,9 @@ + # + # Debian packaging likes this: OOP_BASE_DIR = /usr + # +-OOP_BASE_DIR = /usr/local/oop +-OOP_INCLUDE_DIR = $(OOP_BASE_DIR)/include +-OOP_LIB_DIR = $(OOP_BASE_DIR)/lib ++#OOP_BASE_DIR = /usr/local/oop ++OOP_INCLUDE_DIR = ${PKG_CONFIG_SYSROOT_DIR}/$(includedir)/ ++#OOP_LIB_DIR = $(OOP_BASE_DIR)/lib + + # + # INSTALL_BASE_DIR indicates where RULI +@@ -30,11 +30,11 @@ + # + # Debian packaging likes this: INSTALL_BASE_DIR = $(DESTDIR)/usr + # +-INSTALL_BASE_DIR = ../install/ruli +-INSTALL_INCLUDE_DIR = $(INSTALL_BASE_DIR)/include +-INSTALL_LIB_DIR = $(INSTALL_BASE_DIR)/lib +-INSTALL_MAN_DIR = $(INSTALL_BASE_DIR)/share/man +-INSTALL_MAN3_DIR = $(INSTALL_MAN_DIR)/man3 ++#INSTALL_BASE_DIR = ../install/ruli ++#INSTALL_INCLUDE_DIR = $(INSTALL_BASE_DIR)/include ++#INSTALL_LIB_DIR = $(INSTALL_BASE_DIR)/lib ++#INSTALL_MAN_DIR = $(INSTALL_BASE_DIR)/share/man ++#INSTALL_MAN3_DIR = $(INSTALL_MAN_DIR)/man3 + + # SunOS, Linux + PLATFORM=$(shell uname) +@@ -45,7 +45,7 @@ + + WARN = -pedantic -ansi -Wshadow -Wpointer-arith -Wcast-qual \ + -Wcast-align -Wwrite-strings -Wredundant-decls +-CC = gcc ++#CC = gcc + + # gcc-specific options (not valid for g++) + ifeq ($(CC),gcc) +@@ -58,7 +58,7 @@ + FLAGS = $(DEBUG) -O2 -pipe -Wall -g -shared -D_REENTRANT \ + $(DEFINE_SOLARIS) -I. -I$(OOP_INCLUDE_DIR) + SOFT_CFLAGS = $(WARN) $(FLAGS) +-CFLAGS = $(WARN) -Werror $(FLAGS) ++CFLAGS = $(WARN) $(FLAGS) + LIBOBJ = ruli_isaac.o ruli_mem.o ruli_rand.o ruli_util.o ruli_list.o \ + ruli_addr.o ruli_sock.o ruli_txt.o ruli_msg.o ruli_fsm.o \ + ruli_res.o ruli_parse.o ruli_host.o ruli_srv.o ruli_conf.o \ +@@ -66,7 +66,7 @@ + ruli_getaddrinfo.o + SHAREDOBJ = $(LIBOBJ:%.o=%.os) + SONAME = libruli.so.4 +-LDFLAGS = -L$(OOP_LIB_DIR) ++#LDFLAGS = -L$(OOP_LIB_DIR) + + COMPILE = $(CC) $(ARCH) $(CPPFLAGS) $(CFLAGS) -c + SHARED_COMPILE = $(CC) $(ARCH) $(CPPFLAGS) $(SHARED) $(CFLAGS) -o $@ -c +@@ -89,19 +89,19 @@ + strip: ruli + strip $(SONAME) libruli.a + +-.PHONY: install +-install: ruli +- mkdir -p $(INSTALL_LIB_DIR) $(INSTALL_INCLUDE_DIR) $(INSTALL_MAN3_DIR) +- cp $(SONAME) libruli.a $(INSTALL_LIB_DIR) +- cp *.h $(INSTALL_INCLUDE_DIR) +- cp ../doc/man/*.3 $(INSTALL_MAN3_DIR) +- cd $(INSTALL_LIB_DIR) && ln -s $(SONAME) libruli.so +- @echo +- @echo "REMINDER:" +- @echo "Add $(INSTALL_LIB_DIR) to your dynamic loader path:" +- @echo "# echo $(INSTALL_LIB_DIR) >> /etc/ld.so.conf" +- @echo "# ldconfig" +- @echo ++#.PHONY: install ++#install: ruli ++# mkdir -p $(INSTALL_LIB_DIR) $(INSTALL_INCLUDE_DIR) $(INSTALL_MAN3_DIR) ++# cp $(SONAME) libruli.a $(INSTALL_LIB_DIR) ++# cp *.h $(INSTALL_INCLUDE_DIR) ++# cp ../doc/man/*.3 $(INSTALL_MAN3_DIR) ++# cd $(INSTALL_LIB_DIR) && ln -s $(SONAME) libruli.so ++# @echo ++# @echo "REMINDER:" ++# @echo "Add $(INSTALL_LIB_DIR) to your dynamic loader path:" ++# @echo "# echo $(INSTALL_LIB_DIR) >> /etc/ld.so.conf" ++# @echo "# ldconfig" ++# @echo + + .PHONY: ruli + ruli: $(SONAME) libruli.a + + diff --git a/meta-networking/recipes-support/ruli/ruli_0.36.bb b/meta-networking/recipes-support/ruli/ruli_0.36.bb new file mode 100644 index 0000000..a455e1f --- /dev/null +++ b/meta-networking/recipes-support/ruli/ruli_0.36.bb @@ -0,0 +1,22 @@ +SUMMARY = "RULI stands for Resolver User Layer Interface It's a library built on top of an asynchronous DNS stub resolver" + +HOMEPAGE = "http://www.nongnu.org/ruli/" + +LICENSE = "GPL-2.0" +LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3" + +DEPENDS = "liboop" + +SRC_URI += "http://download.savannah.gnu.org/releases/ruli/ruli_${PV}.orig.tar.gz \ + file://Makefile.patch" + +SRC_URI[md5sum] = "e73fbfdeadddb68a703a70cea5271468" +SRC_URI[sha256sum] = "11d32def5b514748fbd9ea8c88049ae99e1bb358efc74eb91a4d268a3999dbfa" + +do_install1() { + install -d ${D}${includedir}/ruli + install -d ${D}${libdir} + install -m 0644 ${S}/src/ruli*.h ${D}${includedir}/ruli + install -m 0644 ${S}/src/libruli.so ${D}${libdir} + install -m 0644 ${S}/src/libruli.so.4 ${D}${libdir} +} -- 2.10.2 ^ permalink raw reply related [flat|nested] 9+ messages in thread
* [meta-oe][PATCH 5/7] liboop: Add recipe 2016-12-06 2:36 [meta-gnome][PATCH 3/7] libwnck3: Add missing dependency on gnome-common-native Khem Raj 2016-12-06 2:36 ` [meta-gnome][PATCH 4/7] ruli: Add new package Khem Raj @ 2016-12-06 2:36 ` Khem Raj 2016-12-09 21:41 ` Martin Jansa 2016-12-06 2:36 ` [meta-gnome][PATCH 6/7] gthumb: Add missing dependency on gnome-common-native Khem Raj 2016-12-06 2:36 ` [meta-oe][PATCH 7/7] iozone3: Fix parallel build problem Khem Raj 3 siblings, 1 reply; 9+ messages in thread From: Khem Raj @ 2016-12-06 2:36 UTC (permalink / raw) To: openembedded-devel liboop is needed by ruli Signed-off-by: Khem Raj <raj.khem@gmail.com> --- meta-oe/recipes-support/liboop/liboop_1.0.bb | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 meta-oe/recipes-support/liboop/liboop_1.0.bb diff --git a/meta-oe/recipes-support/liboop/liboop_1.0.bb b/meta-oe/recipes-support/liboop/liboop_1.0.bb new file mode 100644 index 0000000..1af228e --- /dev/null +++ b/meta-oe/recipes-support/liboop/liboop_1.0.bb @@ -0,0 +1,11 @@ +DESCRIPTION = "Liboop is a low-level event loop management library for POSIX-based operating systems" +HOMEPAGE = "http://liboop.org/" +LICENSE = "GPL-2.0" +LIC_FILES_CHKSUM = "file://COPYING;md5=8b54f38ccbd44feb80ab90e01af8b700" + +SRC_URI = "http://ftp.debian.org/debian/pool/main/libo/liboop/liboop_${PV}.orig.tar.gz" + +SRC_URI[md5sum] = "36cb971047d3af02369446f5e0b315a2" +SRC_URI[sha256sum] = "34d83c6e0f09ee15cb2bc3131e219747c3b612bb57cf7d25318ab90da9a2d97c" + +inherit autotools pkgconfig -- 2.10.2 ^ permalink raw reply related [flat|nested] 9+ messages in thread
* Re: [meta-oe][PATCH 5/7] liboop: Add recipe 2016-12-06 2:36 ` [meta-oe][PATCH 5/7] liboop: Add recipe Khem Raj @ 2016-12-09 21:41 ` Martin Jansa 0 siblings, 0 replies; 9+ messages in thread From: Martin Jansa @ 2016-12-09 21:41 UTC (permalink / raw) To: openembedded-devel [-- Attachment #1: Type: text/plain, Size: 1796 bytes --] On Mon, Dec 05, 2016 at 06:36:23PM -0800, Khem Raj wrote: > liboop is needed by ruli liboop-1.0: liboop rdepends on readline, but it isn't a build dependency, missing readline in DEPENDS or PACKAGECONFIG? [build-deps] liboop-1.0: liboop rdepends on libpcre, but it isn't a build dependency, missing libpcre in DEPENDS or PACKAGECONFIG? [build-deps] liboop-1.0: liboop rdepends on glib-2.0, but it isn't a build dependency, missing glib-2.0 in DEPENDS or PACKAGECONFIG? [build-deps] > > Signed-off-by: Khem Raj <raj.khem@gmail.com> > --- > meta-oe/recipes-support/liboop/liboop_1.0.bb | 11 +++++++++++ > 1 file changed, 11 insertions(+) > create mode 100644 meta-oe/recipes-support/liboop/liboop_1.0.bb > > diff --git a/meta-oe/recipes-support/liboop/liboop_1.0.bb b/meta-oe/recipes-support/liboop/liboop_1.0.bb > new file mode 100644 > index 0000000..1af228e > --- /dev/null > +++ b/meta-oe/recipes-support/liboop/liboop_1.0.bb > @@ -0,0 +1,11 @@ > +DESCRIPTION = "Liboop is a low-level event loop management library for POSIX-based operating systems" > +HOMEPAGE = "http://liboop.org/" > +LICENSE = "GPL-2.0" > +LIC_FILES_CHKSUM = "file://COPYING;md5=8b54f38ccbd44feb80ab90e01af8b700" > + > +SRC_URI = "http://ftp.debian.org/debian/pool/main/libo/liboop/liboop_${PV}.orig.tar.gz" > + > +SRC_URI[md5sum] = "36cb971047d3af02369446f5e0b315a2" > +SRC_URI[sha256sum] = "34d83c6e0f09ee15cb2bc3131e219747c3b612bb57cf7d25318ab90da9a2d97c" > + > +inherit autotools pkgconfig > -- > 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] 9+ messages in thread
* [meta-gnome][PATCH 6/7] gthumb: Add missing dependency on gnome-common-native 2016-12-06 2:36 [meta-gnome][PATCH 3/7] libwnck3: Add missing dependency on gnome-common-native Khem Raj 2016-12-06 2:36 ` [meta-gnome][PATCH 4/7] ruli: Add new package Khem Raj 2016-12-06 2:36 ` [meta-oe][PATCH 5/7] liboop: Add recipe Khem Raj @ 2016-12-06 2:36 ` Khem Raj 2016-12-06 8:56 ` Andreas Müller 2016-12-06 2:36 ` [meta-oe][PATCH 7/7] iozone3: Fix parallel build problem Khem Raj 3 siblings, 1 reply; 9+ messages in thread From: Khem Raj @ 2016-12-06 2:36 UTC (permalink / raw) To: openembedded-devel | ../gthumb-2.12.4/configure: line 17557: GNOME_MAINTAINER_MODE_DEFINES: command not found | ../gthumb-2.12.4/configure: line 17558: syntax error near unexpected token `maximum' | ../gthumb-2.12.4/configure: line 17558: `GNOME_COMPILE_WARNINGS(maximum)' Signed-off-by: Khem Raj <raj.khem@gmail.com> --- meta-gnome/recipes-gnome/gthumb/gthumb_2.12.4.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-gnome/recipes-gnome/gthumb/gthumb_2.12.4.bb b/meta-gnome/recipes-gnome/gthumb/gthumb_2.12.4.bb index 5eee7f0..13c027c 100644 --- a/meta-gnome/recipes-gnome/gthumb/gthumb_2.12.4.bb +++ b/meta-gnome/recipes-gnome/gthumb/gthumb_2.12.4.bb @@ -2,7 +2,7 @@ SUMMARY = "gThumb is an image viewer and browser for the GNOME Desktop" SECTION = "x11/gnome" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552" -DEPENDS = "glib-2.0 gtk+ libxml2 gnome-doc-utils libunique gconf libpng gstreamer jpeg tiff gst-plugins-base intltool-native" +DEPENDS = "gnome-common-native glib-2.0 gtk+ libxml2 gnome-doc-utils libunique gconf libpng gstreamer jpeg tiff gst-plugins-base intltool-native" PR = "r4" -- 2.10.2 ^ permalink raw reply related [flat|nested] 9+ messages in thread
* Re: [meta-gnome][PATCH 6/7] gthumb: Add missing dependency on gnome-common-native 2016-12-06 2:36 ` [meta-gnome][PATCH 6/7] gthumb: Add missing dependency on gnome-common-native Khem Raj @ 2016-12-06 8:56 ` Andreas Müller 2016-12-07 19:40 ` Khem Raj 0 siblings, 1 reply; 9+ messages in thread From: Andreas Müller @ 2016-12-06 8:56 UTC (permalink / raw) To: openembedded-devel@lists.openembedded.org On Tue, Dec 6, 2016 at 3:36 AM, Khem Raj <raj.khem@gmail.com> wrote: > | ../gthumb-2.12.4/configure: line 17557: GNOME_MAINTAINER_MODE_DEFINES: command not found > | ../gthumb-2.12.4/configure: line 17558: syntax error near unexpected token `maximum' > | ../gthumb-2.12.4/configure: line 17558: `GNOME_COMPILE_WARNINGS(maximum)' > > Signed-off-by: Khem Raj <raj.khem@gmail.com> > --- > meta-gnome/recipes-gnome/gthumb/gthumb_2.12.4.bb | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/meta-gnome/recipes-gnome/gthumb/gthumb_2.12.4.bb b/meta-gnome/recipes-gnome/gthumb/gthumb_2.12.4.bb > index 5eee7f0..13c027c 100644 > --- a/meta-gnome/recipes-gnome/gthumb/gthumb_2.12.4.bb > +++ b/meta-gnome/recipes-gnome/gthumb/gthumb_2.12.4.bb > @@ -2,7 +2,7 @@ SUMMARY = "gThumb is an image viewer and browser for the GNOME Desktop" > SECTION = "x11/gnome" > LICENSE = "GPLv2" > LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552" > -DEPENDS = "glib-2.0 gtk+ libxml2 gnome-doc-utils libunique gconf libpng gstreamer jpeg tiff gst-plugins-base intltool-native" > +DEPENDS = "gnome-common-native glib-2.0 gtk+ libxml2 gnome-doc-utils libunique gconf libpng gstreamer jpeg tiff gst-plugins-base intltool-native" > > PR = "r4" > > -- > 2.10.2 > * Are there patches missing in this series (1/2 2/2)? * What about gnome-menus3? Andreas ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [meta-gnome][PATCH 6/7] gthumb: Add missing dependency on gnome-common-native 2016-12-06 8:56 ` Andreas Müller @ 2016-12-07 19:40 ` Khem Raj 2016-12-08 12:48 ` Burton, Ross 0 siblings, 1 reply; 9+ messages in thread From: Khem Raj @ 2016-12-07 19:40 UTC (permalink / raw) To: openembeded-devel On Tue, Dec 6, 2016 at 12:56 AM, Andreas Müller <schnitzeltony@googlemail.com> wrote: > On Tue, Dec 6, 2016 at 3:36 AM, Khem Raj <raj.khem@gmail.com> wrote: >> | ../gthumb-2.12.4/configure: line 17557: GNOME_MAINTAINER_MODE_DEFINES: command not found >> | ../gthumb-2.12.4/configure: line 17558: syntax error near unexpected token `maximum' >> | ../gthumb-2.12.4/configure: line 17558: `GNOME_COMPILE_WARNINGS(maximum)' >> >> Signed-off-by: Khem Raj <raj.khem@gmail.com> >> --- >> meta-gnome/recipes-gnome/gthumb/gthumb_2.12.4.bb | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/meta-gnome/recipes-gnome/gthumb/gthumb_2.12.4.bb b/meta-gnome/recipes-gnome/gthumb/gthumb_2.12.4.bb >> index 5eee7f0..13c027c 100644 >> --- a/meta-gnome/recipes-gnome/gthumb/gthumb_2.12.4.bb >> +++ b/meta-gnome/recipes-gnome/gthumb/gthumb_2.12.4.bb >> @@ -2,7 +2,7 @@ SUMMARY = "gThumb is an image viewer and browser for the GNOME Desktop" >> SECTION = "x11/gnome" >> LICENSE = "GPLv2" >> LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552" >> -DEPENDS = "glib-2.0 gtk+ libxml2 gnome-doc-utils libunique gconf libpng gstreamer jpeg tiff gst-plugins-base intltool-native" >> +DEPENDS = "gnome-common-native glib-2.0 gtk+ libxml2 gnome-doc-utils libunique gconf libpng gstreamer jpeg tiff gst-plugins-base intltool-native" >> >> PR = "r4" >> >> -- >> 2.10.2 >> > * Are there patches missing in this series (1/2 2/2)? No, it was missed out from prior series. > * What about gnome-menus3? havent seen that fail. but probably needs similar fix. > > Andreas > -- > _______________________________________________ > Openembedded-devel mailing list > Openembedded-devel@lists.openembedded.org > http://lists.openembedded.org/mailman/listinfo/openembedded-devel ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [meta-gnome][PATCH 6/7] gthumb: Add missing dependency on gnome-common-native 2016-12-07 19:40 ` Khem Raj @ 2016-12-08 12:48 ` Burton, Ross 0 siblings, 0 replies; 9+ messages in thread From: Burton, Ross @ 2016-12-08 12:48 UTC (permalink / raw) To: OpenEmbedded Devel List On 7 December 2016 at 19:40, Khem Raj <raj.khem@gmail.com> wrote: > havent seen that fail. but probably needs similar fix. > Sorry about these - I thought I caught them all when I sent the patches. Ross ^ permalink raw reply [flat|nested] 9+ messages in thread
* [meta-oe][PATCH 7/7] iozone3: Fix parallel build problem 2016-12-06 2:36 [meta-gnome][PATCH 3/7] libwnck3: Add missing dependency on gnome-common-native Khem Raj ` (2 preceding siblings ...) 2016-12-06 2:36 ` [meta-gnome][PATCH 6/7] gthumb: Add missing dependency on gnome-common-native Khem Raj @ 2016-12-06 2:36 ` Khem Raj 3 siblings, 0 replies; 9+ messages in thread From: Khem Raj @ 2016-12-06 2:36 UTC (permalink / raw) To: openembedded-devel ibasync.o and libbif.o are built twice once wrongly without CFLAGS, clang catches this since it does not specify -DHAVE_ANSIC_C and clang flags bunch of errors. Signed-off-by: Khem Raj <raj.khem@gmail.com> --- .../iozone3/iozone3/parallelism.patch | 97 ++++++++++++++++++++++ meta-oe/recipes-benchmark/iozone3/iozone3_465.bb | 2 + 2 files changed, 99 insertions(+) create mode 100644 meta-oe/recipes-benchmark/iozone3/iozone3/parallelism.patch diff --git a/meta-oe/recipes-benchmark/iozone3/iozone3/parallelism.patch b/meta-oe/recipes-benchmark/iozone3/iozone3/parallelism.patch new file mode 100644 index 0000000..d5622ed --- /dev/null +++ b/meta-oe/recipes-benchmark/iozone3/iozone3/parallelism.patch @@ -0,0 +1,97 @@ +remove libasync.o and libbif.o from deps + +there are no implicit rules to build them and they get wrong CFLAGS +when compiled with implicit rule. + +They are built as part of iozone_linux.o target anyway + +Only fixed linux targets for now + +Signed-off-by: Khem Raj <raj.khem@gmail.com> +Upstream-Status: Pending + + + +--- current/makefile.org 2016-12-06 02:19:10.367911020 +0000 ++++ current/makefile 2016-12-06 02:21:38.767911020 +0000 +@@ -167,7 +167,7 @@ + # + # GNU 'C' compiler Linux build with threads, largefiles, async I/O + # +-linux: iozone_linux.o libasync.o libbif.o fileop_linux.o pit_server.o ++linux: iozone_linux.o fileop_linux.o pit_server.o + $(CC) -O3 $(LDFLAGS) iozone_linux.o libasync.o libbif.o -lpthread \ + -lrt -o iozone + $(CC) -O3 -Dlinux fileop_linux.o -o fileop +@@ -176,7 +176,7 @@ + # + # GNU 'C' compiler Linux build for powerpc chip with threads, largefiles, async I/O + # +-linux-powerpc: iozone_linux-powerpc.o libbif.o libasync.o fileop_linux-ppc.o pit_server.o ++linux-powerpc: iozone_linux-powerpc.o fileop_linux-ppc.o pit_server.o + $(CC) -O3 $(LDFLAGS) iozone_linux-powerpc.o libasync.o \ + libbif.o -lpthread -lrt -o iozone + $(CC) -O3 -Dlinux fileop_linux-ppc.o -o fileop +@@ -184,7 +184,7 @@ + # + # GNU 'C' compiler Linux build for sparc chip with threads, largefiles, async I/O + # +-linux-sparc: iozone_linux-sparc.o libbif.o libasync.o fileop_linux.o pit_server.o ++linux-sparc: iozone_linux-sparc.o fileop_linux.o pit_server.o + $(CC) -O3 $(LDFLAGS) iozone_linux-sparc.o libasync.o libbif.o \ + -lpthread -lrt -o iozone + $(CC) -O3 -Dlinux fileop_linux.o -o fileop +@@ -193,7 +193,7 @@ + # + # GNU 'C' compiler Linux build with threads, largefiles, async I/O + # +-linux-ia64: iozone_linux-ia64.o libbif.o libasync.o fileop_linux-ia64.o pit_server.o ++linux-ia64: iozone_linux-ia64.o fileop_linux-ia64.o pit_server.o + $(CC) -O3 $(LDFLAGS) iozone_linux-ia64.o libbif.o libasync.o \ + -lrt -lpthread -o iozone + $(CC) -O3 -Dlinux fileop_linux-ia64.o -o fileop +@@ -202,7 +202,7 @@ + # + # GNU 'C' compiler Linux build for powerpc chip with threads, largefiles, async I/O + # +-linux-powerpc64: iozone_linux-powerpc64.o libbif.o libasync.o fileop_linux-ppc64.o pit_server-linux-powerpc64.o ++linux-powerpc64: iozone_linux-powerpc64.o fileop_linux-ppc64.o pit_server-linux-powerpc64.o + $(CC) -O3 -Dunix -DHAVE_ANSIC_C -DSHARED_MEM -DASYNC_IO \ + -D_LARGEFILE64_SOURCE -Dlinux \ + iozone_linux-powerpc64.o libasync.o libbif.o -lpthread \ +@@ -213,7 +213,7 @@ + # + # GNU 'C' compiler Linux build with threads, largefiles, async I/O + # +-linux-arm: iozone_linux-arm.o libbif.o libasync.o fileop_linux-arm.o pit_server.o ++linux-arm: iozone_linux-arm.o fileop_linux-arm.o pit_server.o + $(CC) -O3 $(LDFLAGS) iozone_linux-arm.o libbif.o libasync.o \ + -lrt -lpthread -o iozone + $(CC) -O3 -Dlinux fileop_linux-arm.o -o fileop +@@ -222,7 +222,7 @@ + # + # GNU 'C' compiler Linux build with threads, largefiles, async I/O + # +-linux-AMD64: iozone_linux-AMD64.o libbif.o libasync.o fileop_linux-AMD64.o pit_server.o ++linux-AMD64: iozone_linux-AMD64.o fileop_linux-AMD64.o pit_server.o + $(CC) -O3 $(LDFLAGS) iozone_linux-AMD64.o libbif.o libasync.o \ + -lrt -lpthread -o iozone + $(CC) -O3 -Dlinux fileop_linux-AMD64.o -o fileop +@@ -231,7 +231,7 @@ + # + # GNU 'C' compiler Linux build with S/390, threads, largfiles, async I/O + # +-linux-S390: iozone_linux-s390.o libbif.o libasync.o fileop_linux-s390.o pit_server.o ++linux-S390: iozone_linux-s390.o fileop_linux-s390.o pit_server.o + $(CC) -O2 $(LDFLAGS) -lpthread -lrt iozone_linux-s390.o \ + libbif.o libasync.o -o iozone + $(CC) -O3 -Dlinux fileop_linux-s390.o -o fileop +@@ -240,7 +240,7 @@ + # + # GNU 'C' compiler Linux build with S/390, threads, largfiles, async I/O + # +-linux-S390X: iozone_linux-s390x.o libbif.o libasync.o fileop_linux-s390x.o pit_server.o ++linux-S390X: iozone_linux-s390x.o fileop_linux-s390x.o pit_server.o + $(CC) -O2 $(LDFLAGS) -lpthread -lrt iozone_linux-s390x.o \ + libbif.o libasync.o -o iozone + $(CC) -O3 -Dlinux fileop_linux-s390x.o -o fileop diff --git a/meta-oe/recipes-benchmark/iozone3/iozone3_465.bb b/meta-oe/recipes-benchmark/iozone3/iozone3_465.bb index 67ce885..2864a4d 100644 --- a/meta-oe/recipes-benchmark/iozone3/iozone3_465.bb +++ b/meta-oe/recipes-benchmark/iozone3/iozone3_465.bb @@ -7,6 +7,7 @@ LIC_FILES_CHKSUM = "file://iozone.c;beginline=37;endline=48;md5=7331260091868dca file://iozone.c;beginline=260;endline=266;md5=77f9ee51e45b57a7e7519c4fa0b4f00b \ " SRC_URI = "http://www.iozone.org/src/current/${BPN}_${PV}.tar \ + file://parallelism.patch \ file://copyright.txt \ " SRC_URI[md5sum] = "c924e5e46fb1cf8145f420e8e57eb954" @@ -21,6 +22,7 @@ S = "${WORKDIR}/${BPN}_${PV}/src/current/" # EXTRA_OEMAKE_powerpc = "linux-powerpc CC='${CC}' GCC='${CC}'" EXTRA_OEMAKE_powerpc64 = "linux-powerpc64 CC='${CC}' GCC='${CC}'" +EXTRA_OEMAKE_x86-64 = "linux-AMD64 CC='${CC}' GCC='${CC}'" EXTRA_OEMAKE_arm = "linux-arm CC='${CC}' GCC='${CC}'" EXTRA_OEMAKE = "linux CC='${CC}' GCC='${CC}'" -- 2.10.2 ^ permalink raw reply related [flat|nested] 9+ messages in thread
end of thread, other threads:[~2016-12-09 21:41 UTC | newest] Thread overview: 9+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2016-12-06 2:36 [meta-gnome][PATCH 3/7] libwnck3: Add missing dependency on gnome-common-native Khem Raj 2016-12-06 2:36 ` [meta-gnome][PATCH 4/7] ruli: Add new package Khem Raj 2016-12-06 2:36 ` [meta-oe][PATCH 5/7] liboop: Add recipe Khem Raj 2016-12-09 21:41 ` Martin Jansa 2016-12-06 2:36 ` [meta-gnome][PATCH 6/7] gthumb: Add missing dependency on gnome-common-native Khem Raj 2016-12-06 8:56 ` Andreas Müller 2016-12-07 19:40 ` Khem Raj 2016-12-08 12:48 ` Burton, Ross 2016-12-06 2:36 ` [meta-oe][PATCH 7/7] iozone3: Fix parallel build problem Khem Raj
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.