package lirc-modules-source 0.8.6-0ubuntu4 failed to install/upgrade: lirc kernel module failed to build (error: linux/autoconf.h: No such file or directory)

Bug #555906 reported by Benjamin Drung
416
This bug affects 61 people
Affects Status Importance Assigned to Milestone
lirc (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Binary package hint: lirc

I installed lirc-modules-source, but it fails to build the module for the mainline 2.6.33-020633-generic kernel.

ProblemType: Package
DistroRelease: Ubuntu 10.04
Package: lirc-modules-source 0.8.6-0ubuntu4
Uname: Linux 2.6.33-020633-generic x86_64
Architecture: amd64
Date: Mon Apr 5 20:10:26 2010
ErrorMessage: lirc kernel module failed to build
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Alpha amd64 (20100405)
PackageArchitecture: all
PackageVersion: 0.8.6-0ubuntu4
SourcePackage: lirc
Title: package lirc-modules-source 0.8.6-0ubuntu4 failed to install/upgrade: lirc kernel module failed to build

Revision history for this message
Benjamin Drung (bdrung) wrote :
Revision history for this message
MarcRandolph (mrand) wrote :

Benjamin, could you please try the attached patch? It cherry picks revisions 1.101, 1.99, and 1.98.
http://lirc.cvs.sourceforge.net/viewvc/lirc/lirc/drivers/lirc_dev/lirc_dev.c?view=log

Changed in lirc (Ubuntu):
importance: Undecided → Low
status: New → Triaged
Revision history for this message
Benjamin Drung (bdrung) wrote :

Ok, I will try it tomorrow.

Revision history for this message
Benjamin Drung (bdrung) wrote :

No, the patch did not help. The modules build failed with error 10.

Revision history for this message
MarcRandolph (mrand) wrote :

Benjamin, could you please attach a new build log after applying the patch? I don't have a system with the 2.6.33 kernel, and "error 10" doesn't describe an actual compile problem that I'm aware of.

Thank you!

Changed in lirc (Ubuntu):
status: Triaged → Incomplete
Revision history for this message
Benjamin Drung (bdrung) wrote :

Where can I find the build log?

I just took a kernel from https://wiki.ubuntu.com/KernelTeam/MainlineBuilds

tags: added: patch
Revision history for this message
Benjamin Drung (bdrung) wrote :

I installed the mainline kernel 2.6.33-020633, but dkms was not triggered.

$ sudo dkms build -m lirc -v 0.8.6

Kernel preparation unnecessary for this kernel. Skipping...

Building module:
cleaning build area....
make KERNELRELEASE=2.6.33-020633-generic dkms KSRC=/lib/modules/2.6.33-020633-generic/build KVER=2.6.33-020633-generic.....(bad exit status: 2)

Error! Bad return status for module build on kernel: 2.6.33-020633-generic (x86_64)
Consult the make.log in the build directory
/var/lib/dkms/lirc/0.8.6/build/ for more information.
0
0

Changed in lirc (Ubuntu):
status: Incomplete → New
Benjamin Drung (bdrung)
tags: added: patch-needswork
summary: package lirc-modules-source 0.8.6-0ubuntu4 failed to install/upgrade:
- lirc kernel module failed to build
+ lirc kernel module failed to build (error: linux/autoconf.h: No such
+ file or directory)
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in lirc (Ubuntu):
status: New → Confirmed
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

This bug is fixed in lirc 0.9.0, released as part of Ubuntu 11.10 oneiric.

lirc (0.9.0-0ubuntu1) oneiric; urgency=low

  * New upstream version (0.9.0)
  * Drop lirc-modules-source (LP: #778026)
  * Change to v3 package (quilt)
  * debian/control:
    - Build-deps on newer debhelper
    - bump standards version.
  * debian/compat:
    - Bump to 7
  * Drop Patches:
    - debian/patches/13-warning-cleanup
    - debian/patches/define_current_cpu_data.patch
    - debian/patches/lirc-in-kernel-ioctls.patch
    - debian/patches/updated-driver-names.patch
  * Move extra remotes to our remotes DB.
  * debian/rules:
    - Remove references to quilt (as it's source package that does it now)
    - remove deprecated dh_clean -k
 -- Mario Limonciello <email address hidden> Thu, 05 May 2011 14:45:59 -0500

Changed in lirc (Ubuntu):
status: Confirmed → Fix Released
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.