All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-oe][PATCH 1/2] wvstreams: add recipe for version 4.6.1
@ 2013-09-24 12:43 Mario Domenech Goulart
  2013-09-24 12:43 ` [meta-oe][PATCH 2/2] wvdial: add recipe for version 1.61 Mario Domenech Goulart
  2013-09-24 14:42 ` [meta-oe][PATCH 1/2] wvstreams: add recipe for version 4.6.1 Otavio Salvador
  0 siblings, 2 replies; 10+ messages in thread
From: Mario Domenech Goulart @ 2013-09-24 12:43 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Mario Domenech Goulart

Recipe based on OE classic's recipe for version 4.4.1, as of
0585ccfa49f71a81652c7f63885202e952ebd0e9.

Summary of changes against OE classic's recipe:

* Apply some Debian patches from
  http://patch-tracker.debian.org/package/wvstreams/4.6.1-6

* Minor adjustments for the current build system (add
  LIC_FILES_CHKSUM, md5 and sha256 sums for SRC_URI, fix LICENSE, remove
  PR)

* Disable parallel make, since it was causing errors like

Log data follows:
| DEBUG: SITE files ['endian-little', 'bit-32', 'arm-common', 'common-linux', 'common-glibc', 'arm-linux', 'arm-linux-gnueabi', 'common']
| DEBUG: Executing shell function do_compile
| NOTE: make -j 8
| ./CXX -c utils/wvbuffer
| ./CXX -c utils/wvbufferstore
| ./CXX -c utils/wvcont
| /bin/bash: ./CXX: No such file or directory
| /bin/bash: ./CXX: No such file or directory
| /bin/bash: ./CXX: No such file or directory
| * Generating CC using c
| make: * Generating CXX using cc
| *** [utils/wvbuffer.o] Error 127
| make: *** Waiting for unfinished jobs....
| make: *** [utils/wvbufferstore.o] Error 127
| make: *** [utils/wvcont.o] Error 127
| ERROR: oe_runmake failed
| WARNING: .../tmp/work/armv7a-vfp-neon-oel-linux-gnueabi/wvstreams/4.6.1-r0/temp/run.do_compile.19302:1 exit 1 from
|   exit 1
| ERROR: Function failed: do_compile (log file is located at .../tmp/work/armv7a-vfp-neon-oel-linux-gnueabi/wvstreams/4.6.1-r0/temp/log.do_compile.19302)

Signed-off-by: Mario Domenech Goulart <mario@ossystems.com.br>
---
 .../wvdial/wvstreams/04_signed_request.diff        |   13 ++++++
 .../wvdial/wvstreams/05_gcc.diff                   |   41 +++++++++++++++++++
 .../wvdial/wvstreams/06_gcc-4.7.diff               |   18 +++++++++
 .../wvdial/wvstreams/07_buildflags.diff            |   32 +++++++++++++++
 .../recipes-connectivity/wvdial/wvstreams_4.6.1.bb |   42 ++++++++++++++++++++
 5 files changed, 146 insertions(+)
 create mode 100644 meta-oe/recipes-connectivity/wvdial/wvstreams/04_signed_request.diff
 create mode 100644 meta-oe/recipes-connectivity/wvdial/wvstreams/05_gcc.diff
 create mode 100644 meta-oe/recipes-connectivity/wvdial/wvstreams/06_gcc-4.7.diff
 create mode 100644 meta-oe/recipes-connectivity/wvdial/wvstreams/07_buildflags.diff
 create mode 100644 meta-oe/recipes-connectivity/wvdial/wvstreams_4.6.1.bb

diff --git a/meta-oe/recipes-connectivity/wvdial/wvstreams/04_signed_request.diff b/meta-oe/recipes-connectivity/wvdial/wvstreams/04_signed_request.diff
new file mode 100644
index 0000000..5ab633b
--- /dev/null
+++ b/meta-oe/recipes-connectivity/wvdial/wvstreams/04_signed_request.diff
@@ -0,0 +1,13 @@
+Index: wvstreams-4.6/crypto/wvx509.cc
+===================================================================
+--- wvstreams-4.6.orig/crypto/wvx509.cc	2009-07-29 11:58:16.000000000 -0400
++++ wvstreams-4.6/crypto/wvx509.cc	2009-07-29 11:58:43.000000000 -0400
+@@ -325,7 +325,7 @@
+     }
+ 
+     int verify_result = X509_REQ_verify(certreq, pk);
+-    if (verify_result == 0)
++    if (verify_result == 0 || verify_result == -1)
+     {
+ 	debug(WvLog::Warning, "Self signed request failed");
+ 	X509_REQ_free(certreq);
diff --git a/meta-oe/recipes-connectivity/wvdial/wvstreams/05_gcc.diff b/meta-oe/recipes-connectivity/wvdial/wvstreams/05_gcc.diff
new file mode 100644
index 0000000..8e4fd03
--- /dev/null
+++ b/meta-oe/recipes-connectivity/wvdial/wvstreams/05_gcc.diff
@@ -0,0 +1,41 @@
+Index: wvstreams-4.6.1/crypto/wvx509.cc
+===================================================================
+--- wvstreams-4.6.1.orig/crypto/wvx509.cc	2011-05-20 00:02:38.119136584 +0200
++++ wvstreams-4.6.1/crypto/wvx509.cc	2011-05-20 00:02:26.035136589 +0200
+@@ -1157,7 +1157,7 @@
+         
+         if (ext)
+         {
+-            X509V3_EXT_METHOD *method = X509V3_EXT_get(ext);
++            X509V3_EXT_METHOD *method = (X509V3_EXT_METHOD *)X509V3_EXT_get(ext);
+             if (!method)
+             {
+                 WvDynBuf buf;
+Index: wvstreams-4.6.1/ipstreams/wvunixdgsocket.cc
+===================================================================
+--- wvstreams-4.6.1.orig/ipstreams/wvunixdgsocket.cc	2011-05-20 00:02:38.391136584 +0200
++++ wvstreams-4.6.1/ipstreams/wvunixdgsocket.cc	2011-05-20 00:02:35.283136585 +0200
+@@ -1,8 +1,6 @@
+ #include "wvunixdgsocket.h"
+-#ifdef MACOS
+ #include <sys/types.h>
+ #include <sys/stat.h>
+-#endif
+ 
+ WvUnixDGSocket::WvUnixDGSocket(WvStringParm filename, bool _server, int perms)
+     : socketfile(filename)
+Index: wvstreams-4.6.1/streams/wvatomicfile.cc
+===================================================================
+--- wvstreams-4.6.1.orig/streams/wvatomicfile.cc	2011-05-20 00:02:38.223136584 +0200
++++ wvstreams-4.6.1/streams/wvatomicfile.cc	2011-05-20 00:02:31.619136587 +0200
+@@ -10,10 +10,7 @@
+ #include "wvatomicfile.h"
+ #include "wvfileutils.h"
+ #include "wvstrutils.h"
+-
+-#ifdef MACOS
+ #include <sys/stat.h>
+-#endif
+ 
+ WvAtomicFile::WvAtomicFile(WvStringParm filename, int flags, mode_t create_mode)
+     : tmp_file(WvString::null)
diff --git a/meta-oe/recipes-connectivity/wvdial/wvstreams/06_gcc-4.7.diff b/meta-oe/recipes-connectivity/wvdial/wvstreams/06_gcc-4.7.diff
new file mode 100644
index 0000000..a75067a
--- /dev/null
+++ b/meta-oe/recipes-connectivity/wvdial/wvstreams/06_gcc-4.7.diff
@@ -0,0 +1,18 @@
+Description: Fix FTBFS with gcc-4.7
+ Small header include change. This is borderlinde cosmetic, but still needed
+ to prevent the FTBFS.
+Author: Paul Tagliamonte <paultag@ubuntu.com>
+Origin: vendor
+Bug-Debian: http://bugs.debian.org/667418
+Last-Update: 2012-04-13
+
+--- wvstreams-4.6.1.orig/utils/wvuid.cc
++++ wvstreams-4.6.1/utils/wvuid.cc
+@@ -33,6 +33,7 @@ wvuid_t wvgetuid()
+ 
+ #else // not WIN32
+ 
++#include <unistd.h>
+ 
+ WvString wv_username_from_uid(wvuid_t uid)
+ {
diff --git a/meta-oe/recipes-connectivity/wvdial/wvstreams/07_buildflags.diff b/meta-oe/recipes-connectivity/wvdial/wvstreams/07_buildflags.diff
new file mode 100644
index 0000000..ec99dcd
--- /dev/null
+++ b/meta-oe/recipes-connectivity/wvdial/wvstreams/07_buildflags.diff
@@ -0,0 +1,32 @@
+Index: b/gen-cc
+===================================================================
+--- a/gen-cc
++++ b/gen-cc
+@@ -15,6 +15,11 @@
+ 	shift
+ 	shift
+ 	
++	echo $CC \$MODE -o \$BASE.o \$BASE.$EXT \\
++	        -MMD -MF \$DEPFILE -MP -MQ \$BASE.o \\
++	        $CPPFLAGS \\
++	        $CFLAGS \\
++	        "\$@"
+ 	$CC \$MODE -o \$BASE.o \$BASE.$EXT \\
+ 	        -MMD -MF \$DEPFILE -MP -MQ \$BASE.o \\
+ 	        $CPPFLAGS \\
+Index: b/wvrules-posix.mk
+===================================================================
+--- a/wvrules-posix.mk
++++ b/wvrules-posix.mk
+@@ -35,11 +35,6 @@
+ # Default compiler we use for linking
+ WVLINK_CC = $(CXX)
+ 
+-ifneq ("$(enable_optimization)", "no")
+-  CXXFLAGS+=-O2
+-  CFLAGS+=-O2
+-endif
+-
+ ifneq ("$(enable_warnings)", "no")
+   CXXFLAGS+=-Wall -Woverloaded-virtual
+   CFLAGS+=-Wall
diff --git a/meta-oe/recipes-connectivity/wvdial/wvstreams_4.6.1.bb b/meta-oe/recipes-connectivity/wvdial/wvstreams_4.6.1.bb
new file mode 100644
index 0000000..fd6d11b
--- /dev/null
+++ b/meta-oe/recipes-connectivity/wvdial/wvstreams_4.6.1.bb
@@ -0,0 +1,42 @@
+HOMEPAGE = "http://alumnit.ca/wiki/index.php?page=WvStreams"
+DESCRIPTION = "WvStreams is a network programming library in C++"
+
+LICENSE = "LGPLv2"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=55ca817ccb7d5b5b66355690e9abc605"
+
+DEPENDS = "zlib openssl (>= 0.9.8)"
+
+SRC_URI = "http://${PN}.googlecode.com/files/${PN}-${PV}.tar.gz \
+           file://04_signed_request.diff \
+           file://05_gcc.diff \
+           file://06_gcc-4.7.diff \
+           file://07_buildflags.diff \
+          "
+
+SRC_URI[md5sum] = "2760dac31a43d452a19a3147bfde571c"
+SRC_URI[sha256sum] = "8403f5fbf83aa9ac0c6ce15d97fd85607488152aa84e007b7d0621b8ebc07633"
+
+inherit autotools pkgconfig
+
+PARALLEL_MAKE = ""
+
+LDFLAGS_append = " -Wl,-rpath-link,${CROSS_DIR}/${TARGET_SYS}/lib"
+
+EXTRA_OECONF = " --without-tcl --without-qt --without-pam"
+
+PACKAGES_prepend = "libuniconf libuniconf-dbg "
+PACKAGES_prepend = "uniconfd uniconfd-dbg "
+PACKAGES_prepend = "libwvstreams-base libwvstreams-base-dbg "
+PACKAGES_prepend = "libwvstreams-extras libwvstreams-extras-dbg "
+
+FILES_libuniconf     = "${libdir}/libuniconf.so.*"
+FILES_libuniconf-dbg = "${libdir}/.debug/libuniconf.so.*"
+
+FILES_uniconfd     = "${sbindir}/uniconfd ${sysconfdir}/uniconf.conf ${localstatedir}/uniconf"
+FILES_uniconfd-dbg = "${sbindir}/.debug/uniconfd"
+
+FILES_libwvstreams-base     = "${libdir}/libwvutils.so.*"
+FILES_libwvstreams-base-dbg = "${libdir}/.debug/libwvutils.so.*"
+
+FILES_libwvstreams-extras     = "${libdir}/libwvbase.so.* ${libdir}/libwvstreams.so.*"
+FILES_libwvstreams-extras-dbg = "${libdir}/.debug/libwvbase.so.* ${libdir}/.debug/libwvstreams.so.*"
-- 
1.7.10.4



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

* [meta-oe][PATCH 2/2] wvdial: add recipe for version 1.61
  2013-09-24 12:43 [meta-oe][PATCH 1/2] wvstreams: add recipe for version 4.6.1 Mario Domenech Goulart
@ 2013-09-24 12:43 ` Mario Domenech Goulart
  2013-09-24 14:42   ` Otavio Salvador
  2013-09-24 14:42 ` [meta-oe][PATCH 1/2] wvstreams: add recipe for version 4.6.1 Otavio Salvador
  1 sibling, 1 reply; 10+ messages in thread
From: Mario Domenech Goulart @ 2013-09-24 12:43 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Mario Domenech Goulart

Recipe based on OE classic's recipe for version 1.60, as of
ff0d06489db2e50353d72d24aada74c60bddb016.

Summary of changes against OE classic's recipe:

* Apply typo_pon.wvdial.1.patch patch from Debian's
  http://patch-tracker.debian.org/package/wvdial/1.61-4.1

* Fix Makefile in do_configure task

* Add wvstreams' include dir to BUILD_CPPFLAGS

* Minor adjustments for the current build system (add
  LIC_FILES_CHKSUM, md5 and sha256 sums for SRC_URI, fix LICENSE, remove
  PR)

* Disable parallel make, since it was causing errors like

Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: make -j 8
| * Generating CC
| ./CXX -c wvdialer
| * Generating CXX
| ./CXX -c wvmodemscan
| /bin/bash: ./CXX: No such file or directory
| make: *** [wvdialer.o] Error 127
| make: *** Waiting for unfinished jobs....
| make: *** wait: No child processes.  Stop.
| ERROR: oe_runmake failed
| WARNING: .../tmp/work/armv7a-vfp-neon-oel-linux-gnueabi/wvdial/1.61-r0/temp/run.do_compile.18676:1 exit 1 from
|   exit 1

Signed-off-by: Mario Domenech Goulart <mario@ossystems.com.br>
---
 .../wvdial/wvdial/typo_pon.wvdial.1.patch          |   20 +++++++++++++
 meta-oe/recipes-connectivity/wvdial/wvdial_1.61.bb |   30 ++++++++++++++++++++
 2 files changed, 50 insertions(+)
 create mode 100644 meta-oe/recipes-connectivity/wvdial/wvdial/typo_pon.wvdial.1.patch
 create mode 100644 meta-oe/recipes-connectivity/wvdial/wvdial_1.61.bb

diff --git a/meta-oe/recipes-connectivity/wvdial/wvdial/typo_pon.wvdial.1.patch b/meta-oe/recipes-connectivity/wvdial/wvdial/typo_pon.wvdial.1.patch
new file mode 100644
index 0000000..eec5a5d
--- /dev/null
+++ b/meta-oe/recipes-connectivity/wvdial/wvdial/typo_pon.wvdial.1.patch
@@ -0,0 +1,20 @@
+Remove warnings found by lintian
+Last-Update: 2011-01-09
+Index: wvdial-1.61/pon.wvdial.1
+===================================================================
+--- wvdial-1.61.orig/pon.wvdial.1	2011-01-09 21:33:03.000000000 +0300
++++ wvdial-1.61/pon.wvdial.1	2011-01-09 21:33:15.000000000 +0300
+@@ -8,13 +8,11 @@
+ .SH DESCRIPTION
+ .B pon.wvdial
+ .br
+-.TR
+ .B poff.wvdial
+ .br
+ .RS
+ Replacement scripts for pon and poff.
+ .RE
+-\."
+ .SH SEE ALSO
+ .BR wvdial (1),
+ .BR pon (1),
diff --git a/meta-oe/recipes-connectivity/wvdial/wvdial_1.61.bb b/meta-oe/recipes-connectivity/wvdial/wvdial_1.61.bb
new file mode 100644
index 0000000..af1ebf3
--- /dev/null
+++ b/meta-oe/recipes-connectivity/wvdial/wvdial_1.61.bb
@@ -0,0 +1,30 @@
+HOMEPAGE = "http://www.alumnit.ca/wiki/?WvDial"
+DESCRIPTION = "WvDial is a program that makes it easy to connect your Linux workstation to the Internet."
+
+LICENSE = "LGPLv2"
+LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=55ca817ccb7d5b5b66355690e9abc605"
+
+DEPENDS = "wvstreams"
+RDEPENDS_${PN} = "ppp"
+
+SRC_URI = "http://${PN}.googlecode.com/files/${PN}-${PV}.tar.bz2 \
+           file://typo_pon.wvdial.1.patch \
+          "
+
+SRC_URI[md5sum] = "37e9a2d664effe4efd44c0e1a20136de"
+SRC_URI[sha256sum] = "99906d9560cbdbc97e1855e7b0a7169f1e11983be3ac539140423f09debced82"
+
+EXTRA_OEMAKE = ""
+export WVLINK="${LD}"
+
+PARALLEL_MAKE = ""
+
+BUILD_CPPFLAGS += "-I${STAGING_INCDIR}/wvstreams"
+
+do_configure() {
+    sed -i 's/LDFLAGS+=-luniconf/LIBS+=-luniconf/' ${S}/Makefile
+}
+
+do_install() {
+    oe_runmake prefix=${D}/usr PPPDIR=${D}/etc/ppp/peers install
+}
-- 
1.7.10.4



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

* Re: [meta-oe][PATCH 1/2] wvstreams: add recipe for version 4.6.1
  2013-09-24 12:43 [meta-oe][PATCH 1/2] wvstreams: add recipe for version 4.6.1 Mario Domenech Goulart
  2013-09-24 12:43 ` [meta-oe][PATCH 2/2] wvdial: add recipe for version 1.61 Mario Domenech Goulart
@ 2013-09-24 14:42 ` Otavio Salvador
  2013-10-04 14:19   ` Martin Jansa
  1 sibling, 1 reply; 10+ messages in thread
From: Otavio Salvador @ 2013-09-24 14:42 UTC (permalink / raw)
  To: OpenEmbedded Devel List; +Cc: Mario Domenech Goulart

On Tue, Sep 24, 2013 at 9:43 AM, Mario Domenech Goulart
<mario@ossystems.com.br> wrote:
> Recipe based on OE classic's recipe for version 4.4.1, as of
> 0585ccfa49f71a81652c7f63885202e952ebd0e9.
>
> Summary of changes against OE classic's recipe:
>
> * Apply some Debian patches from
>   http://patch-tracker.debian.org/package/wvstreams/4.6.1-6
>
> * Minor adjustments for the current build system (add
>   LIC_FILES_CHKSUM, md5 and sha256 sums for SRC_URI, fix LICENSE, remove
>   PR)
>
> * Disable parallel make, since it was causing errors like
>
> Log data follows:
> | DEBUG: SITE files ['endian-little', 'bit-32', 'arm-common', 'common-linux', 'common-glibc', 'arm-linux', 'arm-linux-gnueabi', 'common']
> | DEBUG: Executing shell function do_compile
> | NOTE: make -j 8
> | ./CXX -c utils/wvbuffer
> | ./CXX -c utils/wvbufferstore
> | ./CXX -c utils/wvcont
> | /bin/bash: ./CXX: No such file or directory
> | /bin/bash: ./CXX: No such file or directory
> | /bin/bash: ./CXX: No such file or directory
> | * Generating CC using c
> | make: * Generating CXX using cc
> | *** [utils/wvbuffer.o] Error 127
> | make: *** Waiting for unfinished jobs....
> | make: *** [utils/wvbufferstore.o] Error 127
> | make: *** [utils/wvcont.o] Error 127
> | ERROR: oe_runmake failed
> | WARNING: .../tmp/work/armv7a-vfp-neon-oel-linux-gnueabi/wvstreams/4.6.1-r0/temp/run.do_compile.19302:1 exit 1 from
> |   exit 1
> | ERROR: Function failed: do_compile (log file is located at .../tmp/work/armv7a-vfp-neon-oel-linux-gnueabi/wvstreams/4.6.1-r0/temp/log.do_compile.19302)
>
> Signed-off-by: Mario Domenech Goulart <mario@ossystems.com.br>

Just for reference, Mario and I discussed about the path for including
this recipe.

We agreed it to be placed at wvdial subdir as it will only be used by it.

Acked-by: Otavio Salvador <otavio@ossystems.com.br>

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


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

* Re: [meta-oe][PATCH 2/2] wvdial: add recipe for version 1.61
  2013-09-24 12:43 ` [meta-oe][PATCH 2/2] wvdial: add recipe for version 1.61 Mario Domenech Goulart
@ 2013-09-24 14:42   ` Otavio Salvador
  0 siblings, 0 replies; 10+ messages in thread
From: Otavio Salvador @ 2013-09-24 14:42 UTC (permalink / raw)
  To: OpenEmbedded Devel List; +Cc: Mario Domenech Goulart

On Tue, Sep 24, 2013 at 9:43 AM, Mario Domenech Goulart
<mario@ossystems.com.br> wrote:
> Recipe based on OE classic's recipe for version 1.60, as of
> ff0d06489db2e50353d72d24aada74c60bddb016.
>
> Summary of changes against OE classic's recipe:
>
> * Apply typo_pon.wvdial.1.patch patch from Debian's
>   http://patch-tracker.debian.org/package/wvdial/1.61-4.1
>
> * Fix Makefile in do_configure task
>
> * Add wvstreams' include dir to BUILD_CPPFLAGS
>
> * Minor adjustments for the current build system (add
>   LIC_FILES_CHKSUM, md5 and sha256 sums for SRC_URI, fix LICENSE, remove
>   PR)
>
> * Disable parallel make, since it was causing errors like
>
> Log data follows:
> | DEBUG: Executing shell function do_compile
> | NOTE: make -j 8
> | * Generating CC
> | ./CXX -c wvdialer
> | * Generating CXX
> | ./CXX -c wvmodemscan
> | /bin/bash: ./CXX: No such file or directory
> | make: *** [wvdialer.o] Error 127
> | make: *** Waiting for unfinished jobs....
> | make: *** wait: No child processes.  Stop.
> | ERROR: oe_runmake failed
> | WARNING: .../tmp/work/armv7a-vfp-neon-oel-linux-gnueabi/wvdial/1.61-r0/temp/run.do_compile.18676:1 exit 1 from
> |   exit 1
>
> Signed-off-by: Mario Domenech Goulart <mario@ossystems.com.br>

Acked-by: Otavio Salvador <otavio@ossystems.com.br>

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


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

* Re: [meta-oe][PATCH 1/2] wvstreams: add recipe for version 4.6.1
  2013-09-24 14:42 ` [meta-oe][PATCH 1/2] wvstreams: add recipe for version 4.6.1 Otavio Salvador
@ 2013-10-04 14:19   ` Martin Jansa
  2013-10-04 14:27     ` Otavio Salvador
  0 siblings, 1 reply; 10+ messages in thread
From: Martin Jansa @ 2013-10-04 14:19 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Mario Domenech Goulart

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

On Tue, Sep 24, 2013 at 11:42:21AM -0300, Otavio Salvador wrote:
> On Tue, Sep 24, 2013 at 9:43 AM, Mario Domenech Goulart
> <mario@ossystems.com.br> wrote:
> > Recipe based on OE classic's recipe for version 4.4.1, as of
> > 0585ccfa49f71a81652c7f63885202e952ebd0e9.
> >
> > Summary of changes against OE classic's recipe:
> >
> > * Apply some Debian patches from
> >   http://patch-tracker.debian.org/package/wvstreams/4.6.1-6
> >
> > * Minor adjustments for the current build system (add
> >   LIC_FILES_CHKSUM, md5 and sha256 sums for SRC_URI, fix LICENSE, remove
> >   PR)
> >
> > * Disable parallel make, since it was causing errors like
> >
> > Log data follows:
> > | DEBUG: SITE files ['endian-little', 'bit-32', 'arm-common', 'common-linux', 'common-glibc', 'arm-linux', 'arm-linux-gnueabi', 'common']
> > | DEBUG: Executing shell function do_compile
> > | NOTE: make -j 8
> > | ./CXX -c utils/wvbuffer
> > | ./CXX -c utils/wvbufferstore
> > | ./CXX -c utils/wvcont
> > | /bin/bash: ./CXX: No such file or directory
> > | /bin/bash: ./CXX: No such file or directory
> > | /bin/bash: ./CXX: No such file or directory
> > | * Generating CC using c
> > | make: * Generating CXX using cc
> > | *** [utils/wvbuffer.o] Error 127
> > | make: *** Waiting for unfinished jobs....
> > | make: *** [utils/wvbufferstore.o] Error 127
> > | make: *** [utils/wvcont.o] Error 127
> > | ERROR: oe_runmake failed
> > | WARNING: .../tmp/work/armv7a-vfp-neon-oel-linux-gnueabi/wvstreams/4.6.1-r0/temp/run.do_compile.19302:1 exit 1 from
> > |   exit 1
> > | ERROR: Function failed: do_compile (log file is located at .../tmp/work/armv7a-vfp-neon-oel-linux-gnueabi/wvstreams/4.6.1-r0/temp/log.do_compile.19302)
> >
> > Signed-off-by: Mario Domenech Goulart <mario@ossystems.com.br>
> 
> Just for reference, Mario and I discussed about the path for including
> this recipe.
> 
> We agreed it to be placed at wvdial subdir as it will only be used by it.
> 
> Acked-by: Otavio Salvador <otavio@ossystems.com.br>

Sorry for huge delay caused by monster build running on jenkins for 11
days.. but this needs small fix for new QA issue:

wvstreams-4.6.1: wvstreams: Files/directories were installed but not
shipped
  /usr/lib/valgrind
  /usr/lib/valgrind/wvstreams.supp

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

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

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

* Re: [meta-oe][PATCH 1/2] wvstreams: add recipe for version 4.6.1
  2013-10-04 14:19   ` Martin Jansa
@ 2013-10-04 14:27     ` Otavio Salvador
  2013-10-04 17:04       ` Mario Domenech Goulart
  2013-10-07  5:45       ` Khem Raj
  0 siblings, 2 replies; 10+ messages in thread
From: Otavio Salvador @ 2013-10-04 14:27 UTC (permalink / raw)
  To: OpenEmbedded Devel List; +Cc: Mario Domenech Goulart

On Fri, Oct 4, 2013 at 11:19 AM, Martin Jansa <martin.jansa@gmail.com> wrote:
> On Tue, Sep 24, 2013 at 11:42:21AM -0300, Otavio Salvador wrote:
>> On Tue, Sep 24, 2013 at 9:43 AM, Mario Domenech Goulart
>> <mario@ossystems.com.br> wrote:
>> > Recipe based on OE classic's recipe for version 4.4.1, as of
>> > 0585ccfa49f71a81652c7f63885202e952ebd0e9.
>> >
>> > Summary of changes against OE classic's recipe:
>> >
>> > * Apply some Debian patches from
>> >   http://patch-tracker.debian.org/package/wvstreams/4.6.1-6
>> >
>> > * Minor adjustments for the current build system (add
>> >   LIC_FILES_CHKSUM, md5 and sha256 sums for SRC_URI, fix LICENSE, remove
>> >   PR)
>> >
>> > * Disable parallel make, since it was causing errors like
>> >
>> > Log data follows:
>> > | DEBUG: SITE files ['endian-little', 'bit-32', 'arm-common', 'common-linux', 'common-glibc', 'arm-linux', 'arm-linux-gnueabi', 'common']
>> > | DEBUG: Executing shell function do_compile
>> > | NOTE: make -j 8
>> > | ./CXX -c utils/wvbuffer
>> > | ./CXX -c utils/wvbufferstore
>> > | ./CXX -c utils/wvcont
>> > | /bin/bash: ./CXX: No such file or directory
>> > | /bin/bash: ./CXX: No such file or directory
>> > | /bin/bash: ./CXX: No such file or directory
>> > | * Generating CC using c
>> > | make: * Generating CXX using cc
>> > | *** [utils/wvbuffer.o] Error 127
>> > | make: *** Waiting for unfinished jobs....
>> > | make: *** [utils/wvbufferstore.o] Error 127
>> > | make: *** [utils/wvcont.o] Error 127
>> > | ERROR: oe_runmake failed
>> > | WARNING: .../tmp/work/armv7a-vfp-neon-oel-linux-gnueabi/wvstreams/4.6.1-r0/temp/run.do_compile.19302:1 exit 1 from
>> > |   exit 1
>> > | ERROR: Function failed: do_compile (log file is located at .../tmp/work/armv7a-vfp-neon-oel-linux-gnueabi/wvstreams/4.6.1-r0/temp/log.do_compile.19302)
>> >
>> > Signed-off-by: Mario Domenech Goulart <mario@ossystems.com.br>
>>
>> Just for reference, Mario and I discussed about the path for including
>> this recipe.
>>
>> We agreed it to be placed at wvdial subdir as it will only be used by it.
>>
>> Acked-by: Otavio Salvador <otavio@ossystems.com.br>
>
> Sorry for huge delay caused by monster build running on jenkins for 11
> days.. but this needs small fix for new QA issue:
>
> wvstreams-4.6.1: wvstreams: Files/directories were installed but not
> shipped
>   /usr/lib/valgrind
>   /usr/lib/valgrind/wvstreams.supp

Sure; Mario, can you split this into a ${PN}-valgrind package?

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


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

* Re: [meta-oe][PATCH 1/2] wvstreams: add recipe for version 4.6.1
  2013-10-04 14:27     ` Otavio Salvador
@ 2013-10-04 17:04       ` Mario Domenech Goulart
  2013-10-07  5:45       ` Khem Raj
  1 sibling, 0 replies; 10+ messages in thread
From: Mario Domenech Goulart @ 2013-10-04 17:04 UTC (permalink / raw)
  To: Otavio Salvador; +Cc: OpenEmbedded Devel List

Hi,

On Fri, 4 Oct 2013 11:27:46 -0300 Otavio Salvador <otavio@ossystems.com.br> wrote:

> On Fri, Oct 4, 2013 at 11:19 AM, Martin Jansa <martin.jansa@gmail.com> wrote:
>> On Tue, Sep 24, 2013 at 11:42:21AM -0300, Otavio Salvador wrote:
>>> On Tue, Sep 24, 2013 at 9:43 AM, Mario Domenech Goulart
>>> <mario@ossystems.com.br> wrote:
>>> > Recipe based on OE classic's recipe for version 4.4.1, as of
>>> > 0585ccfa49f71a81652c7f63885202e952ebd0e9.
>>> >
>>> > Summary of changes against OE classic's recipe:
>>> >
>>> > * Apply some Debian patches from
>>> >   http://patch-tracker.debian.org/package/wvstreams/4.6.1-6
>>> >
>>> > * Minor adjustments for the current build system (add
>>> >   LIC_FILES_CHKSUM, md5 and sha256 sums for SRC_URI, fix LICENSE, remove
>>> >   PR)
>>> >
>>> > * Disable parallel make, since it was causing errors like
>>> >
>>> > Log data follows:
>>> > | DEBUG: SITE files ['endian-little', 'bit-32', 'arm-common',
>>> > | common-linux', 'common-glibc', 'arm-linux',
>>> > | arm-linux-gnueabi', 'common']
>>> > | DEBUG: Executing shell function do_compile
>>> > | NOTE: make -j 8
>>> > | ./CXX -c utils/wvbuffer
>>> > | ./CXX -c utils/wvbufferstore
>>> > | ./CXX -c utils/wvcont
>>> > | /bin/bash: ./CXX: No such file or directory
>>> > | /bin/bash: ./CXX: No such file or directory
>>> > | /bin/bash: ./CXX: No such file or directory
>>> > | * Generating CC using c
>>> > | make: * Generating CXX using cc
>>> > | *** [utils/wvbuffer.o] Error 127
>>> > | make: *** Waiting for unfinished jobs....
>>> > | make: *** [utils/wvbufferstore.o] Error 127
>>> > | make: *** [utils/wvcont.o] Error 127
>>> > | ERROR: oe_runmake failed
>>> > | WARNING: .../tmp/work/armv7a-vfp-neon-oel-linux-gnueabi/wvstreams/4.6.1-r0/temp/run.do_compile.19302:1 exit 1 from
>>> > |   exit 1
>>> > | ERROR: Function failed: do_compile (log file is located at
>>> > | .../tmp/work/armv7a-vfp-neon-oel-linux-gnueabi/wvstreams/4.6.1-r0/temp/log.do_compile.19302)
>>> >
>>> > Signed-off-by: Mario Domenech Goulart <mario@ossystems.com.br>
>>>
>>> Just for reference, Mario and I discussed about the path for including
>>> this recipe.
>>>
>>> We agreed it to be placed at wvdial subdir as it will only be used by it.
>>>
>>> Acked-by: Otavio Salvador <otavio@ossystems.com.br>
>>
>> Sorry for huge delay caused by monster build running on jenkins for 11
>> days.. but this needs small fix for new QA issue:
>>
>> wvstreams-4.6.1: wvstreams: Files/directories were installed but not
>> shipped
>>   /usr/lib/valgrind
>>   /usr/lib/valgrind/wvstreams.supp
>
> Sure; Mario, can you split this into a ${PN}-valgrind package?

Thanks for spotting that, Martin.  I've submitted a v2 with a change
that will hopefully fix that issue.

As agreed with Otavio on a private discussion, we decided to disable
valgrind by passing --without-valgrind to configure.

Best wishes.
Mario
-- 
http://www.ossystems.com.br


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

* Re: [meta-oe][PATCH 1/2] wvstreams: add recipe for version 4.6.1
  2013-10-04 14:27     ` Otavio Salvador
  2013-10-04 17:04       ` Mario Domenech Goulart
@ 2013-10-07  5:45       ` Khem Raj
  2013-10-07 14:57         ` Mario Domenech Goulart
  1 sibling, 1 reply; 10+ messages in thread
From: Khem Raj @ 2013-10-07  5:45 UTC (permalink / raw)
  To: openembeded-devel; +Cc: Mario Domenech Goulart

On Fri, Oct 4, 2013 at 7:27 AM, Otavio Salvador <otavio@ossystems.com.br> wrote:
> On Fri, Oct 4, 2013 at 11:19 AM, Martin Jansa <martin.jansa@gmail.com> wrote:
>> On Tue, Sep 24, 2013 at 11:42:21AM -0300, Otavio Salvador wrote:
>>> On Tue, Sep 24, 2013 at 9:43 AM, Mario Domenech Goulart
>>> <mario@ossystems.com.br> wrote:
>>> > Recipe based on OE classic's recipe for version 4.4.1, as of
>>> > 0585ccfa49f71a81652c7f63885202e952ebd0e9.
>>> >
>>> > Summary of changes against OE classic's recipe:
>>> >
>>> > * Apply some Debian patches from
>>> >   http://patch-tracker.debian.org/package/wvstreams/4.6.1-6
>>> >
>>> > * Minor adjustments for the current build system (add
>>> >   LIC_FILES_CHKSUM, md5 and sha256 sums for SRC_URI, fix LICENSE, remove
>>> >   PR)
>>> >
>>> > * Disable parallel make, since it was causing errors like
>>> >
>>> > Log data follows:
>>> > | DEBUG: SITE files ['endian-little', 'bit-32', 'arm-common', 'common-linux', 'common-glibc', 'arm-linux', 'arm-linux-gnueabi', 'common']
>>> > | DEBUG: Executing shell function do_compile
>>> > | NOTE: make -j 8
>>> > | ./CXX -c utils/wvbuffer
>>> > | ./CXX -c utils/wvbufferstore
>>> > | ./CXX -c utils/wvcont
>>> > | /bin/bash: ./CXX: No such file or directory
>>> > | /bin/bash: ./CXX: No such file or directory
>>> > | /bin/bash: ./CXX: No such file or directory
>>> > | * Generating CC using c
>>> > | make: * Generating CXX using cc
>>> > | *** [utils/wvbuffer.o] Error 127
>>> > | make: *** Waiting for unfinished jobs....
>>> > | make: *** [utils/wvbufferstore.o] Error 127
>>> > | make: *** [utils/wvcont.o] Error 127
>>> > | ERROR: oe_runmake failed
>>> > | WARNING: .../tmp/work/armv7a-vfp-neon-oel-linux-gnueabi/wvstreams/4.6.1-r0/temp/run.do_compile.19302:1 exit 1 from
>>> > |   exit 1
>>> > | ERROR: Function failed: do_compile (log file is located at .../tmp/work/armv7a-vfp-neon-oel-linux-gnueabi/wvstreams/4.6.1-r0/temp/log.do_compile.19302)
>>> >
>>> > Signed-off-by: Mario Domenech Goulart <mario@ossystems.com.br>
>>>
>>> Just for reference, Mario and I discussed about the path for including
>>> this recipe.
>>>
>>> We agreed it to be placed at wvdial subdir as it will only be used by it.
>>>
>>> Acked-by: Otavio Salvador <otavio@ossystems.com.br>
>>
>> Sorry for huge delay caused by monster build running on jenkins for 11
>> days.. but this needs small fix for new QA issue:
>>
>> wvstreams-4.6.1: wvstreams: Files/directories were installed but not
>> shipped
>>   /usr/lib/valgrind
>>   /usr/lib/valgrind/wvstreams.supp
>
> Sure; Mario, can you split this into a ${PN}-valgrind package?

May be they should go into ${PN}-dev package and IMHO don't disable
it. since its a good
thing we want to make sure the tools like valgrind can be tried easily
out of box if possible.


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

* Re: [meta-oe][PATCH 1/2] wvstreams: add recipe for version 4.6.1
  2013-10-07  5:45       ` Khem Raj
@ 2013-10-07 14:57         ` Mario Domenech Goulart
  2013-10-07 18:27           ` Khem Raj
  0 siblings, 1 reply; 10+ messages in thread
From: Mario Domenech Goulart @ 2013-10-07 14:57 UTC (permalink / raw)
  To: Khem Raj; +Cc: openembeded-devel

Hi Khem

On Sun, 6 Oct 2013 22:45:56 -0700 Khem Raj <raj.khem@gmail.com> wrote:

> On Fri, Oct 4, 2013 at 7:27 AM, Otavio Salvador <otavio@ossystems.com.br> wrote:
>> On Fri, Oct 4, 2013 at 11:19 AM, Martin Jansa <martin.jansa@gmail.com> wrote:
>>> On Tue, Sep 24, 2013 at 11:42:21AM -0300, Otavio Salvador wrote:
>>>> On Tue, Sep 24, 2013 at 9:43 AM, Mario Domenech Goulart
>>>> <mario@ossystems.com.br> wrote:
>>>> > Recipe based on OE classic's recipe for version 4.4.1, as of
>>>> > 0585ccfa49f71a81652c7f63885202e952ebd0e9.
>>>> >
>>>> > Summary of changes against OE classic's recipe:
>>>> >
>>>> > * Apply some Debian patches from
>>>> >   http://patch-tracker.debian.org/package/wvstreams/4.6.1-6
>>>> >
>>>> > * Minor adjustments for the current build system (add
>>>> >   LIC_FILES_CHKSUM, md5 and sha256 sums for SRC_URI, fix LICENSE, remove
>>>> >   PR)
>>>> >
>>>> > * Disable parallel make, since it was causing errors like
>>>> >
>>>> > Log data follows:
>>>> > | DEBUG: SITE files ['endian-little', 'bit-32', 'arm-common',
>>>> > | common-linux', 'common-glibc', 'arm-linux',
>>>> > | arm-linux-gnueabi', 'common']
>>>> > | DEBUG: Executing shell function do_compile
>>>> > | NOTE: make -j 8
>>>> > | ./CXX -c utils/wvbuffer
>>>> > | ./CXX -c utils/wvbufferstore
>>>> > | ./CXX -c utils/wvcont
>>>> > | /bin/bash: ./CXX: No such file or directory
>>>> > | /bin/bash: ./CXX: No such file or directory
>>>> > | /bin/bash: ./CXX: No such file or directory
>>>> > | * Generating CC using c
>>>> > | make: * Generating CXX using cc
>>>> > | *** [utils/wvbuffer.o] Error 127
>>>> > | make: *** Waiting for unfinished jobs....
>>>> > | make: *** [utils/wvbufferstore.o] Error 127
>>>> > | make: *** [utils/wvcont.o] Error 127
>>>> > | ERROR: oe_runmake failed
>>>> > | WARNING: .../tmp/work/armv7a-vfp-neon-oel-linux-gnueabi/wvstreams/4.6.1-r0/temp/run.do_compile.19302:1 exit 1 from
>>>> > |   exit 1
>>>> > | ERROR: Function failed: do_compile (log file is located at
>>>> > | .../tmp/work/armv7a-vfp-neon-oel-linux-gnueabi/wvstreams/4.6.1-r0/temp/log.do_compile.19302)
>>>> >
>>>> > Signed-off-by: Mario Domenech Goulart <mario@ossystems.com.br>
>>>>
>>>> Just for reference, Mario and I discussed about the path for including
>>>> this recipe.
>>>>
>>>> We agreed it to be placed at wvdial subdir as it will only be used by it.
>>>>
>>>> Acked-by: Otavio Salvador <otavio@ossystems.com.br>
>>>
>>> Sorry for huge delay caused by monster build running on jenkins for 11
>>> days.. but this needs small fix for new QA issue:
>>>
>>> wvstreams-4.6.1: wvstreams: Files/directories were installed but not
>>> shipped
>>>   /usr/lib/valgrind
>>>   /usr/lib/valgrind/wvstreams.supp
>>
>> Sure; Mario, can you split this into a ${PN}-valgrind package?
>
> May be they should go into ${PN}-dev package and IMHO don't disable
> it. since its a good
> thing we want to make sure the tools like valgrind can be tried easily
> out of box if possible.

Good point.  I'll submit a new patch to replace --without-valigrind with
--with-valgrind (it doesn't require valgrind as a build dependency).

Since .supp files are only useful if you have valgrind installed, I
think we should add valgrind to RDEPENDS_${PN}-<?>.

Now we need to decide on -<?>.  Maybe -valgrind is cleaner in the sense
that those who need the -dev files but don't need valgrind won't get
valgrind as a runtime dependency.  Adding valgrind to
RDEPENDS_${PN}-valgrind sounds ok to me (those who install it will be
clearly stating that they do want valgrind stuff).

What do you think?

Best wishes.
Mario
-- 
http://www.ossystems.com.br


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

* Re: [meta-oe][PATCH 1/2] wvstreams: add recipe for version 4.6.1
  2013-10-07 14:57         ` Mario Domenech Goulart
@ 2013-10-07 18:27           ` Khem Raj
  0 siblings, 0 replies; 10+ messages in thread
From: Khem Raj @ 2013-10-07 18:27 UTC (permalink / raw)
  To: Mario Domenech Goulart; +Cc: openembeded-devel

>> ut of box if possible.
> 
> Good point.  I'll submit a new patch to replace --without-valigrind with
> --with-valgrind (it doesn't require valgrind as a build dependency).
> 
> Since .supp files are only useful if you have valgrind installed, I
> think we should add valgrind to RDEPENDS_${PN}-<?>.
> 
> Now we need to decide on -<?>.  Maybe -valgrind is cleaner in the sense
> that those who need the -dev files but don't need valgrind won't get
> valgrind as a runtime dependency.  Adding valgrind to
> RDEPENDS_${PN}-valgrind sounds ok to me (those who install it will be
> clearly stating that they do want valgrind stuff).
> 
> What do you think?


seems ok



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

end of thread, other threads:[~2013-10-07 18:27 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-09-24 12:43 [meta-oe][PATCH 1/2] wvstreams: add recipe for version 4.6.1 Mario Domenech Goulart
2013-09-24 12:43 ` [meta-oe][PATCH 2/2] wvdial: add recipe for version 1.61 Mario Domenech Goulart
2013-09-24 14:42   ` Otavio Salvador
2013-09-24 14:42 ` [meta-oe][PATCH 1/2] wvstreams: add recipe for version 4.6.1 Otavio Salvador
2013-10-04 14:19   ` Martin Jansa
2013-10-04 14:27     ` Otavio Salvador
2013-10-04 17:04       ` Mario Domenech Goulart
2013-10-07  5:45       ` Khem Raj
2013-10-07 14:57         ` Mario Domenech Goulart
2013-10-07 18:27           ` 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.