[lttng-dev] Errors compiling converted tp file
Thibault, Daniel
Daniel.Thibault at drdc-rddc.gc.ca
Fri Dec 12 09:13:16 EST 2014
> Let me start by thanking you for all the support you give (it is impressingly fast).
>
> So if I look in the repo, with the ppa installed, I can't find liburcu:
>
> $ cat /etc/apt/sources.list.d/lttng-ppa-precise.list
> deb http://ppa.launchpad.net/lttng/ppa/ubuntu precise main deb-src http://ppa.launchpad.net/lttng/ppa/ubuntu precise main
>
> (I have asked my admin to do an apt-get update)
>
> $ apt-cache search lttng
> lttng-modules-dkms - Linux Trace Toolkit (LTTng) kernel modules (DKMS) lttng-tools - LTTng control and utility programs
> liblttng-ust0 - LTTng 2.0 Userspace Tracer (libraries) liblttng-ust-dev - LTTng 2.0 Userspace Tracer (development files) liblttng-ctl-dev - LTTng control and utility library (development files)
> liblttng-ctl0 - LTTng control and utility library liblttng-ust-java-jni - LTTng 2.0 Userspace Tracer (JNI interface) liblttng-ust-java - LTTng 2.0 Userspace Tracer (Java support library) python-lttng - Python bindings for LTTng
> liblttng-ust-ctl2 - LTTng 2.0 Userspace Tracer (trace control library)
>
> $ apt-cache search liburcu
> liburcu-dev - a userspace RCU (read-copy-update) library - development files
> liburcu1 - a userspace RCU (read-copy-update) library
> liburcu2 - a userspace RCU (read-copy-update) library
>
> So it looks like my aptitude is not aware of a package called liburcu without a postfix. Even if I'd purge and reinstall (which seems like a very good idea) I don't see if I can access the right library this way.
>
> Yan Grange
If you visit https://launchpad.net/~lttng/+archive/ppa you'll see
babeltrace 1.2.y+stable+bzr710+pack25+201412120847~ubuntu15.04.1
liburcu 0.8.x+stable+bzr1060+pack22+201411140046~ubuntu15.04.1
lttng-modules 2.5.x+stable+bzr634+pack21+201412111931~ubuntu15.04.1
lttng-tools 2.5.x+stable+bzr2423+pack12+201412110246~ubuntu15.04.1
lttng-ust 2.5.x+stable+bzr1802+pack45+201412111801~ubuntu15.04.1
The packages you see in http://ppa.launchpad.net/lttng/ppa/ubuntu depend on your hardware. We have:
amd64:
liburcu-dev
lttng-modules-dkms
lttng-tools
babeltrace
libbabeltrace0
liburcu1
libbabeltrace-dev
liblttng-ust0
liblttng-ust-dev
liblttng-ctl-dev
liblttng-ctl0
libbabeltrace-ctf-dev
libbabeltrace-ctf0
liblttng-ust-java-jni
liblttng-ust-java
liburcu2
python-lttng
liblttng-ust-ctl2
libbabeltrace1
libbabeltrace-ctf1
python3-babeltrace
armel:
lttng-modules-dkms
liblttng-ust-java
armhf:
lttng-modules-dkms
liblttng-ust-java
i386:
liburcu-dev
lttng-modules-dkms
lttng-tools
babeltrace
libbabeltrace0
liburcu1
libbabeltrace-dev
liblttng-ust0
liblttng-ust-dev
liblttng-ctl-dev
liblttng-ctl0
libbabeltrace-ctf-dev
libbabeltrace-ctf0
liblttng-ust-java-jni
liblttng-ust-java
liburcu2
python-lttng
liblttng-ust-ctl2
libbabeltrace1
libbabeltrace-ctf1
python3-babeltrace
Your listings seem all right; the difference is source vs binary: the source package liburcu builds the binary packages liburcu-dev, liburcu1 and liburcu2, for instance. (I'm more used to building from source)
Ignoring the babeltrace packages, the dependencies are such that this is the minimal install: liblttng-ust-dev, liblttng-ctl-dev, lttng-tools. Optionally, liblttng-ust-java, python-lttng, lttng-modules-dkms. Turns out liburcu1 is not connected to anything (I think it's for older releases).
Daniel U. Thibault
Protection des systèmes et contremesures (PSC) | Systems Protection & Countermeasures (SPC)
Cyber sécurité pour les missions essentielles (CME) | Mission Critical Cyber Security (MCCS)
RDDC - Centre de recherches de Valcartier | DRDC - Valcartier Research Centre
2459 route de la Bravoure
Québec QC G3J 1X5
CANADA
Vox : (418) 844-4000 x4245
Fax : (418) 844-4538
NAC : 918V QSDJ <http://www.travelgis.com/map.asp?addr=918V%20QSDJ>
Gouvernement du Canada | Government of Canada
<http://www.valcartier.drdc-rddc.gc.ca/>
More information about the lttng-dev
mailing list