From: Thilo Fromm <t.fromm@dresearch.de>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [v4] wvstreams-4.6: Remove dbus support (breaks build)
Date: Wed, 29 Sep 2010 10:52:24 +0200 [thread overview]
Message-ID: <4CA2FE48.8060703@dresearch.de> (raw)
In-Reply-To: <1285748455.3876.22.camel@mattotaupa>
Hello Paul,
>> 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.
>>
>> 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>
>
> I build tested your patch with `MACHINE = "beagleboard"` and
> distributions Ȧngström 2008.1 and Minimal with `LIBC = "libc"`.
>
> But it fails for me for Minimal with `LIBC = "eglibc"`
[...]
> | utils/wvtask.cc:477:5: error: 'getcontext' was not declared in this scope
> | utils/wvtask.cc:521:63: error: 'makecontext' was not declared in this scope
> | utils/wvtask.cc:526:52: error: 'setcontext' was not declared in this scope
> | make: *** [utils/wvtask.o] Error 1
> | FATAL: oe_runmake failed
> | ERROR: Function do_compile failed
> NOTE: package wvstreams-4.6-r1: task do_compile: Failed
> ERROR: TaskFailed event exception, aborting
> ERROR: Build of /oe/openembedded/recipes/wvstreams/wvstreams_4.6.bb do_compile failed
> ERROR: Task 11 (/oe/openembedded/recipes/wvstreams/wvstreams_4.6.bb, do_compile) failed with 256
> ERROR: '/oe/openembedded/recipes/wvstreams/wvstreams_4.6.bb' failed
> ERROR: '/oe/openembedded/recipes/wvstreams/wvstreams_4.6.bb' failed
I see. I've never seen these failures, but then, I always run glibc builds.
> and minimal-uclibc.
[...]
> | ./CXX -c ipstreams/wvunixdgsocket
> | In file included from ./include/wvunixdgsocket.h:13:0,
> | from ipstreams/wvunixdgsocket.cc:1:
> | ./include/wvaddr.h: In member function 'uint32_t WvIPAddr::addr() const':
> | ./include/wvaddr.h:284:31: warning: dereferencing type-punned pointer will break strict-aliasing rules
> | ipstreams/wvunixdgsocket.cc: In constructor 'WvUnixDGSocket::WvUnixDGSocket(const WvFastString&, bool, int)':
> | ipstreams/wvunixdgsocket.cc:50:32: error: 'chmod' was not declared in this scope
> | make: *** [ipstreams/wvunixdgsocket.o] Error 1
> | FATAL: oe_runmake failed
> | ERROR: Function do_compile failed
> NOTE: package wvstreams-4.6-r1: task do_compile: Failed
> ERROR: TaskFailed event exception, aborting
> ERROR: Build of /oe/openembedded/recipes/wvstreams/wvstreams_4.6.bb do_compile failed
> ERROR: Task 12 (/oe/openembedded/recipes/wvstreams/wvstreams_4.6.bb, do_compile) failed with 256
> ERROR: '/oe/openembedded/recipes/wvstreams/wvstreams_4.6.bb' failed
> ERROR: '/oe/openembedded/recipes/wvstreams/wvstreams_4.6.bb' failed
>
> […]
>
> I am not sure, but your patch is an improvement for GNU Libc based
> distributions and so your patch could as well be commit.
Weird, though. My patch didn't introduce anything obvious that would
make non-glibc builds fail. Did you try building wvstreams-4.6 / eglibc
or wvstreams-4.6 / uClibc without my patch applied?
Regards,
Thilo
--
Dipl.-Ing (FH) Thilo Fromm, MSc., Embedded Systems Developer
DResearch Digital Media Systems GmbH
Otto-Schmirgal-Str. 3, D-10319 Berlin, Germany
Tel: +49 (30) 515 932 228 mailto:t.fromm@dresearch.de
Fax: +49 (30) 515 932 77 http://www.dresearch.de
Amtsgericht: Berlin Charlottenburg, HRB:54412
Ust.-IDNr. DE169013825; WEEE Reg.-Nr. DE 85995642
Geschäftsführer: Dr. M. Weber, W. Mögle
next prev parent reply other threads:[~2010-09-29 8:52 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4CA2FE48.8060703@dresearch.de \
--to=t.fromm@dresearch.de \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox