lttng-modules-dkms 2.4.0-1ubuntu1: lttng-modules kernel module failed to build [error: conflicting types for 'trace_block_rq_complete']

Bug #1328335 reported by ArdyFalls
62
This bug affects 12 people
Affects Status Importance Assigned to Milestone
lttng-modules (Ubuntu)
Confirmed
High
Unassigned

Bug Description

Crashs when I log in

ProblemType: Package
DistroRelease: Ubuntu 14.04
Package: lttng-modules-dkms 2.4.0-1ubuntu1
ProcVersionSignature: Ubuntu 3.13.0-29.53-generic 3.13.11.2
Uname: Linux 3.13.0-29-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.2
Architecture: amd64
DKMSKernelVersion: 3.13.0-29-generic
Date: Thu Jun 5 17:58:54 2014
DuplicateSignature: dkms:lttng-modules-dkms:2.4.0-1ubuntu1:/var/lib/dkms/lttng-modules/2.4.0/build/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:151:6: error: conflicting types for 'trace_block_rq_complete'
InstallationDate: Installed on 2011-10-19 (964 days ago)
InstallationMedia: Kubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111011)
PackageArchitecture: all
PackageVersion: 2.4.0-1ubuntu1
SourcePackage: lttng-modules
Title: lttng-modules-dkms 2.4.0-1ubuntu1: lttng-modules kernel module failed to build
UpgradeStatus: Upgraded to trusty on 2014-04-26 (44 days ago)

Revision history for this message
ArdyFalls (afalls) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in lttng-modules (Ubuntu):
status: New → Confirmed
tags: removed: need-duplicate-check
Revision history for this message
Michael Jeanson (mjeanson) wrote :

Here is a patch for the build failure.

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "blktrace-test.patch" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
Revision history for this message
Peter-John O'Reilly (pj-hotmud) wrote :

i get error message : 'System program problem detected' every time i log into xubuntu 14.04 or every time my Toshiba Satelite Pro C850 is restarted in xubuntu

summary: lttng-modules-dkms 2.4.0-1ubuntu1: lttng-modules kernel module failed to
- build
+ build [error: conflicting types for 'trace_block_rq_complete']
Revision history for this message
alexmerritt (merritt-alex) wrote :

I have Ubuntu LTS 14.04 64-bit (desktop) and cannot install lttng-modules due to this error. The module fails to build and the error message in /var/lib/dkms/lttng-modules/2.4.0/build/make.log states the same. Attached is the file make.log.

Revision history for this message
Alex Montplaisir (alexandre-montplaisir) wrote :

This is a known issue upstream, reported at http://bugs.lttng.org/issues/814 . It is due to Ubuntu kernels now having a backported fix from more recent kernels, which happens to break an API used by LTTng. More info at that link.

Unfortunately, this cannot be "fixed" upstream because it would then break support for older kernels. A more proper solution is in the works for future versions (using UBUNTU_RELEASE_ABI), so this shouldn't happen again (famous last words...)

But for now, it seems the only solution is to patch the modules, using the patch from Michael in comment #3. The packages from the stable PPA https://launchpad.net/~lttng/+archive/ubuntu/ppa include this patch, so they should build fine on 14.04. Would be nice if this fix could be pulled in Ubuntu proper, so that at least the lttng-modules-dkms package from the repo installs correctly.

Changed in lttng-modules (Ubuntu):
importance: Undecided → High
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.