* [ltt-dev] Debian libust-dev package
@ 2011-02-07 16:59 Stefan Hajnoczi
2011-02-07 17:13 ` Yannick Brosseau
` (2 more replies)
0 siblings, 3 replies; 7+ messages in thread
From: Stefan Hajnoczi @ 2011-02-07 16:59 UTC (permalink / raw)
Hi Jon,
I am trying to build QEMU from source with UST tracing on Debian
testing. I've used your libust-dev package successfully in the past
but am hitting issues this time.
It seems the libust-dev 0.5-1+squeeze1 does not depend on liburcu-dev
0.5.2-1. The urcu header files are included by the ust header files
so this is needed.
With libust-dev and liburcu-dev installed I cannot compile the
following program (which used to work fine):
#include <ust/tracepoint.h>
#include <ust/marker.h>
int main(void) { return 0; }
In file included from a.c:1:
/usr/include/ust/tracepoint.h:188: error: field ?list? has incomplete type
In file included from a.c:2:
/usr/include/ust/marker.h:359: error: field ?list? has incomplete type
I wanted to check with you first before debugging this or filing
Debian bugs. Any ideas?
Stefan
^ permalink raw reply [flat|nested] 7+ messages in thread
* [ltt-dev] Debian libust-dev package
2011-02-07 16:59 [ltt-dev] Debian libust-dev package Stefan Hajnoczi
@ 2011-02-07 17:13 ` Yannick Brosseau
2011-02-07 17:14 ` Mathieu Desnoyers
2011-02-08 4:01 ` Jon Bernard
2 siblings, 0 replies; 7+ messages in thread
From: Yannick Brosseau @ 2011-02-07 17:13 UTC (permalink / raw)
Hi Stefan,
You need a more recent version of UST to go with URCU 0.5.2.
The latest URCU migrated to testing but not the latest UST yet.
As a work around, you can install the UST in unstable (version 0.11)
Yannick
On 2011-02-07 11:59, Stefan Hajnoczi wrote:
> Hi Jon,
> I am trying to build QEMU from source with UST tracing on Debian
> testing. I've used your libust-dev package successfully in the past
> but am hitting issues this time.
>
> It seems the libust-dev 0.5-1+squeeze1 does not depend on liburcu-dev
> 0.5.2-1. The urcu header files are included by the ust header files
> so this is needed.
>
> With libust-dev and liburcu-dev installed I cannot compile the
> following program (which used to work fine):
> #include <ust/tracepoint.h>
> #include <ust/marker.h>
> int main(void) { return 0; }
>
> In file included from a.c:1:
> /usr/include/ust/tracepoint.h:188: error: field ?list? has incomplete type
> In file included from a.c:2:
> /usr/include/ust/marker.h:359: error: field ?list? has incomplete type
>
> I wanted to check with you first before debugging this or filing
> Debian bugs. Any ideas?
>
> Stefan
>
> _______________________________________________
> ltt-dev mailing list
> ltt-dev at lists.casi.polymtl.ca
> http://lists.casi.polymtl.ca/cgi-bin/mailman/listinfo/ltt-dev
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* [ltt-dev] Debian libust-dev package
2011-02-07 16:59 [ltt-dev] Debian libust-dev package Stefan Hajnoczi
2011-02-07 17:13 ` Yannick Brosseau
@ 2011-02-07 17:14 ` Mathieu Desnoyers
2011-02-08 4:01 ` Jon Bernard
2 siblings, 0 replies; 7+ messages in thread
From: Mathieu Desnoyers @ 2011-02-07 17:14 UTC (permalink / raw)
* Stefan Hajnoczi (stefanha at gmail.com) wrote:
> Hi Jon,
> I am trying to build QEMU from source with UST tracing on Debian
> testing. I've used your libust-dev package successfully in the past
> but am hitting issues this time.
>
> It seems the libust-dev 0.5-1+squeeze1 does not depend on liburcu-dev
> 0.5.2-1. The urcu header files are included by the ust header files
> so this is needed.
>
> With libust-dev and liburcu-dev installed I cannot compile the
> following program (which used to work fine):
> #include <ust/tracepoint.h>
> #include <ust/marker.h>
> int main(void) { return 0; }
>
> In file included from a.c:1:
> /usr/include/ust/tracepoint.h:188: error: field ?list? has incomplete type
> In file included from a.c:2:
> /usr/include/ust/marker.h:359: error: field ?list? has incomplete type
>
> I wanted to check with you first before debugging this or filing
> Debian bugs. Any ideas?
UST should be upgraded to a newer version. We changed the list.h header
in URCU to ensure we minimize the amount of namespace conflicts, and we
had to change UST accordingly. Sorry for the trouble, but we had to do
this change in order to facilitate instrumentation of large code-bases
like MariaDB.
Please note that if you upgrade UST, you will also have to update your
QEMU tracepoint probes to add an additionnal argument, as described in
the UST changelogs.
Thanks,
Mathieu
>
> Stefan
>
> _______________________________________________
> ltt-dev mailing list
> ltt-dev at lists.casi.polymtl.ca
> http://lists.casi.polymtl.ca/cgi-bin/mailman/listinfo/ltt-dev
>
--
Mathieu Desnoyers
Operating System Efficiency R&D Consultant
EfficiOS Inc.
http://www.efficios.com
^ permalink raw reply [flat|nested] 7+ messages in thread
* [ltt-dev] Debian libust-dev package
2011-02-07 16:59 [ltt-dev] Debian libust-dev package Stefan Hajnoczi
2011-02-07 17:13 ` Yannick Brosseau
2011-02-07 17:14 ` Mathieu Desnoyers
@ 2011-02-08 4:01 ` Jon Bernard
2011-02-08 9:59 ` Stefan Hajnoczi
2 siblings, 1 reply; 7+ messages in thread
From: Jon Bernard @ 2011-02-08 4:01 UTC (permalink / raw)
* Stefan Hajnoczi <stefanha at gmail.com> wrote:
> Hi Jon,
> I am trying to build QEMU from source with UST tracing on Debian
> testing. I've used your libust-dev package successfully in the past
> but am hitting issues this time.
>
> It seems the libust-dev 0.5-1+squeeze1 does not depend on liburcu-dev
> 0.5.2-1. The urcu header files are included by the ust header files
> so this is needed.
Yes, so this is technically a bug in the Debian package. I did not
catch the package dependency in time for the release freeze. I was
hoping no one would notice ;)
> With libust-dev and liburcu-dev installed I cannot compile the
> following program (which used to work fine):
> #include <ust/tracepoint.h>
> #include <ust/marker.h>
> int main(void) { return 0; }
As squeeze was just released this past weekend, packages from unstable
have started migrating into the new testing (which will eventually
become wheezy) and I believe this version mismatch is a result of
a partial migration. In other words, liburcu has been updated, but ust
has not yet. If I am correct, a newer version of ust (from unstable)
should show up in testing quite soon. Would you mind listing the package
versions of the relevant pieces (ust and urcu) and also the contents of
/etc/apt/sources.list?
--
Jon
^ permalink raw reply [flat|nested] 7+ messages in thread
* [ltt-dev] Debian libust-dev package
2011-02-08 4:01 ` Jon Bernard
@ 2011-02-08 9:59 ` Stefan Hajnoczi
2011-02-09 0:19 ` Jon Bernard
0 siblings, 1 reply; 7+ messages in thread
From: Stefan Hajnoczi @ 2011-02-08 9:59 UTC (permalink / raw)
On Tue, Feb 8, 2011 at 4:01 AM, Jon Bernard <jbernard at debian.org> wrote:
> As squeeze was just released this past weekend, packages from unstable
> have started migrating into the new testing (which will eventually
> become wheezy) and I believe this version mismatch is a result of
> a partial migration. In other words, liburcu has been updated, but ust
> has not yet. If I am correct, a newer version of ust (from unstable)
> should show up in testing quite soon. Would you mind listing the package
> versions of the relevant pieces (ust and urcu) and also the contents of
> /etc/apt/sources.list?
$ dpkg-query -l liburcu* libust*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version
Description
+++-=========================================-=========================================-==================================================================================================
ii liburcu-dev 0.5.2-1
a userspace RCU (read-copy-update) library -
development files
ii liburcu0 0.5.2-1
a userspace RCU (read-copy-update) library
ii libust-dev 0.5-1+squeeze1
LTTng Userspace Tracer (development)
ii libust0 0.5-1+squeeze1
LTTng Userspace Tracer (runtime)
$ cat /etc/apt/sources.list
deb ftp://ftp.ticklers.org/debian/ testing main contrib non-free
deb-src ftp://ftp.ticklers.org/debian/ testing main contrib non-free
deb http://security.debian.org/ testing/updates main contrib non-free
deb-src http://security.debian.org/ testing/updates main contrib non-free
deb http://www.debian-multimedia.org/ testing main non-free
Stefan
^ permalink raw reply [flat|nested] 7+ messages in thread
* [ltt-dev] Debian libust-dev package
2011-02-08 9:59 ` Stefan Hajnoczi
@ 2011-02-09 0:19 ` Jon Bernard
2011-02-09 7:49 ` Stefan Hajnoczi
0 siblings, 1 reply; 7+ messages in thread
From: Jon Bernard @ 2011-02-09 0:19 UTC (permalink / raw)
* Stefan Hajnoczi <stefanha at gmail.com> wrote:
> On Tue, Feb 8, 2011 at 4:01 AM, Jon Bernard <jbernard at debian.org> wrote:
> > As squeeze was just released this past weekend, packages from unstable
> > have started migrating into the new testing (which will eventually
> > become wheezy) and I believe this version mismatch is a result of
> > a partial migration. In other words, liburcu has been updated, but ust
> > has not yet. If I am correct, a newer version of ust (from unstable)
> > should show up in testing quite soon. Would you mind listing the package
> > versions of the relevant pieces (ust and urcu) and also the contents of
> > /etc/apt/sources.list?
>
> $ dpkg-query -l liburcu* libust*
> Desired=Unknown/Install/Remove/Purge/Hold
> | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
> |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
> ||/ Name Version
> Description
> +++-=========================================-=========================================-==================================================================================================
> ii liburcu-dev 0.5.2-1
> a userspace RCU (read-copy-update) library -
> development files
> ii liburcu0 0.5.2-1
> a userspace RCU (read-copy-update) library
> ii libust-dev 0.5-1+squeeze1
> LTTng Userspace Tracer (development)
> ii libust0 0.5-1+squeeze1
> LTTng Userspace Tracer (runtime)
>
> $ cat /etc/apt/sources.list
> deb ftp://ftp.ticklers.org/debian/ testing main contrib non-free
> deb-src ftp://ftp.ticklers.org/debian/ testing main contrib non-free
>
> deb http://security.debian.org/ testing/updates main contrib non-free
> deb-src http://security.debian.org/ testing/updates main contrib non-free
>
> deb http://www.debian-multimedia.org/ testing main non-free
Yep, I believe urcu 0.5.2 is incompatible with sqeeze's ust. This should
sort itself out in the next few days and all should be back to normal.
If it doesn't, ping me and I'll see if I can figure out what's going on.
Cheers
--
Jon
^ permalink raw reply [flat|nested] 7+ messages in thread
* [ltt-dev] Debian libust-dev package
2011-02-09 0:19 ` Jon Bernard
@ 2011-02-09 7:49 ` Stefan Hajnoczi
0 siblings, 0 replies; 7+ messages in thread
From: Stefan Hajnoczi @ 2011-02-09 7:49 UTC (permalink / raw)
On Wed, Feb 9, 2011 at 12:19 AM, Jon Bernard <jbernard at debian.org> wrote:
> * Stefan Hajnoczi <stefanha at gmail.com> wrote:
>> On Tue, Feb 8, 2011 at 4:01 AM, Jon Bernard <jbernard at debian.org> wrote:
>> > As squeeze was just released this past weekend, packages from unstable
>> > have started migrating into the new testing (which will eventually
>> > become wheezy) and I believe this version mismatch is a result of
>> > a partial migration. In other words, liburcu has been updated, but ust
>> > has not yet. If I am correct, a newer version of ust (from unstable)
>> > should show up in testing quite soon. Would you mind listing the package
>> > versions of the relevant pieces (ust and urcu) and also the contents of
>> > /etc/apt/sources.list?
>>
>> $ dpkg-query -l liburcu* libust*
>> Desired=Unknown/Install/Remove/Purge/Hold
>> | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
>> |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
>> ||/ Name ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?Version
>> ? ? ? ? ? ? ? ? ?Description
>> +++-=========================================-=========================================-==================================================================================================
>> ii ?liburcu-dev ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 0.5.2-1
>> ? ? ? ? ? ? ? ? ?a userspace RCU (read-copy-update) library -
>> development files
>> ii ?liburcu0 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?0.5.2-1
>> ? ? ? ? ? ? ? ? ?a userspace RCU (read-copy-update) library
>> ii ?libust-dev ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?0.5-1+squeeze1
>> ? ? ? ? ? ? ? ? ?LTTng Userspace Tracer (development)
>> ii ?libust0 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 0.5-1+squeeze1
>> ? ? ? ? ? ? ? ? ?LTTng Userspace Tracer (runtime)
>>
>> $ cat /etc/apt/sources.list
>> deb ftp://ftp.ticklers.org/debian/ testing main contrib non-free
>> deb-src ftp://ftp.ticklers.org/debian/ testing main contrib non-free
>>
>> deb http://security.debian.org/ testing/updates main contrib non-free
>> deb-src http://security.debian.org/ testing/updates main contrib non-free
>>
>> deb http://www.debian-multimedia.org/ testing main non-free
>
> Yep, I believe urcu 0.5.2 is incompatible with sqeeze's ust. This should
> sort itself out in the next few days and all should be back to normal.
> If it doesn't, ping me and I'll see if I can figure out what's going on.
Excellent, thanks for looking into this Jon, Mathieu, and Yannick. I
will keep an eye out for the latest packages and ensure QEMU UST keeps
building.
Stefan
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2011-02-09 7:49 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-07 16:59 [ltt-dev] Debian libust-dev package Stefan Hajnoczi
2011-02-07 17:13 ` Yannick Brosseau
2011-02-07 17:14 ` Mathieu Desnoyers
2011-02-08 4:01 ` Jon Bernard
2011-02-08 9:59 ` Stefan Hajnoczi
2011-02-09 0:19 ` Jon Bernard
2011-02-09 7:49 ` Stefan Hajnoczi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox