All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Remove dbus support from wvstreams-4.6 because it breaks the build
@ 2010-09-28  7:28 Thilo Fromm
  2010-09-28  7:49 ` Paul Menzel
                   ` (2 more replies)
  0 siblings, 3 replies; 18+ messages in thread
From: Thilo Fromm @ 2010-09-28  7:28 UTC (permalink / raw)
  To: openembedded-devel

If wvstreams is configured with DBus support enabled (by not providing
--without-dbus) the the build fails at link time as libdbus cannot be
found:

| ./CXX -c dbus/wvdbusconn
| ./CXX -c dbus/wvdbusmarshal
| ./CXX -c dbus/wvdbusmsg
| ./CXX -c dbus/wvdbusserver
| linking libwvdbus.so...
| arm-angstrom-linux-gnueabi-g++: /libdbus-1.a: No such file or
directory
| make: *** [libwvdbus.so] Error 1
| FATAL: oe_runmake failed
NOTE: Task failed:
/SCRATCH/maniac/oe-merge-test/OE/tmp.6/work/armv5te-angstrom-linux-gnueabi/wvstreams-4.6-r0/temp/log.do_compile.6422
ERROR: TaskFailed event exception, aborting
ERROR: Build of
/home/maniac/work/HYP/oe/3way_merge/recipes/wvstreams/wvstreams_4.6.bb
do_compile failed
ERROR: Task 2024
(/home/maniac/work/HYP/oe/3way_merge/recipes/wvstreams/wvstreams_4.6.bb,
 do_compile) failed

The root cause for this behaviour is in wvstreams' configure.ac; the
weird dbus detection and library path handling breaks successive builds.

This patch, however, does not fix the configure.ac file but disables
DBus support for wvstreams at configure time. This at least fixes the
broken build.

Signed-off-by: Thilo Fromm <t.fromm@dresearch.de>
---
 recipes/wvstreams/wvstreams_4.6.bb |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/recipes/wvstreams/wvstreams_4.6.bb b/recipes/wvstreams/wvstreams_4.6.bb
index 91abc7d..b298a97 100644
--- a/recipes/wvstreams/wvstreams_4.6.bb
+++ b/recipes/wvstreams/wvstreams_4.6.bb
@@ -1,7 +1,7 @@
 HOMEPAGE = "http://alumnit.ca/wiki/index.php?page=WvStreams"
 LICENSE = "LGPL"
 DESCRIPTION = "WvStreams is a network programming library in C++"
-DEPENDS = "zlib openssl (>= 0.9.8)"
+DEPENDS = "zlib openssl (>= 0.9.8) dbus (> 1.2.14)"
 
 SRC_URI = "http://wvstreams.googlecode.com/files/${PN}-${PV}.tar.gz \
 	"
@@ -10,7 +10,8 @@ inherit autotools pkgconfig
 
 LDFLAGS_append = " -Wl,-rpath-link,${TOOLCHAIN_PATH}/${TARGET_SYS}/lib"
 
-EXTRA_OECONF = " --without-tcl --without-qt --without-pam"
+# tfm: dbus build currently broken
+EXTRA_OECONF = " --without-tcl --without-qt --without-pam --without-dbus"
 
 PACKAGES_prepend = "libuniconf libuniconf-dbg "
 PACKAGES_prepend = "uniconfd uniconfd-dbg "
-- 
1.7.0.4




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

end of thread, other threads:[~2010-09-29  9:16 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-28  7:28 [PATCH] Remove dbus support from wvstreams-4.6 because it breaks the build Thilo Fromm
2010-09-28  7:49 ` Paul Menzel
2010-09-28  8:12   ` [v2] wvstreams-4.6: Remove dbus support " Thilo Fromm
2010-09-28  8:33     ` Paul Menzel
2010-09-28  9:08       ` Thilo Fromm
2010-09-28  9:24         ` Thilo Fromm
2010-09-28  9:26         ` Paul Menzel
2010-09-28  9:34           ` [v4] wvstreams-4.6: Remove dbus support (breaks build) Thilo Fromm
2010-09-29  8:20             ` Paul Menzel
2010-09-29  8:52               ` Thilo Fromm
2010-09-29  8:56                 ` Paul Menzel
2010-09-29  9:15               ` Steffen Sledz
2010-09-28  9:37           ` [v2] wvstreams-4.6: Remove dbus support because it breaks the build Thilo Fromm
2010-09-28 11:05         ` Steffen Sledz
2010-09-28  9:21       ` [v3] wvstreams-4.6: Remove dbus support (breaks build) Thilo Fromm
2010-09-28  8:10 ` [PATCH] Remove dbus support from wvstreams-4.6 because it breaks the build Frans Meulenbroeks
2010-09-28  9:10   ` Thilo Fromm
2010-09-28  8:19 ` Holger Freyther

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.