[saucy] fglrx fails to build against linux 3.9.0 (missing version.h)

Bug #1185285 reported by Martin Pitt
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
fglrx-installer (Ubuntu)
Fix Released
High
Alberto Milone
Saucy
Fix Released
High
Alberto Milone
fglrx-installer-updates (Ubuntu)
Fix Released
High
Alberto Milone
Saucy
Fix Released
High
Alberto Milone

Bug Description

As detected by ubuntu-driver-common's autopkgtest [1], current fglrx fails to build on saucy.

---------- 8< -------------
$ cat /var/lib/dkms/fglrx/9.010/build/make.logDKMS make.log for fglrx-9.010 for kernel 3.9.0-2-generic (x86_64)
Wed May 29 06:19:36 UTC 2013
AMD kernel module generator version 2.1
kernel includes at /lib/modules/3.9.0-2-generic/build/include not found or incomplete
file: /lib/modules/3.9.0-2-generic/build/include/linux/version.h
---------- 8< -------------

/lib/modules/3.9.0-2-generic/build/include/linux/ exists, but there is no "version.h" in there. linux-headers-3.9.0-2 and linux-headers-3.9.0-2-generic are both installed.

Other DKMS modules like bcmwl or nvidia work, so it seems there isn't something generally broken with DKMS. If version.h is supposed to exist, but was forgotten to be installed by the kernel, please reassign to linux.

Thank you!

[1] https://jenkins.qa.ubuntu.com/view/Saucy/view/AutoPkgTest/job/saucy-adt-ubuntu-drivers-common/13/ARCH=amd64,label=adt/

Tags: autopkgtest
Martin Pitt (pitti)
Changed in fglrx-installer (Ubuntu):
importance: Undecided → High
assignee: nobody → Alberto Milone (albertomilone)
Changed in fglrx-installer (Ubuntu Saucy):
milestone: none → ubuntu-13.05
tags: added: autopkgtest
Revision history for this message
dino99 (9d9) wrote :

Only to catch your attention (does not know if dkms has to be blamed), i got that one also, that seems close:
https://bugs.launchpad.net/ubuntu/+source/lttng-modules/+bug/1185253

Revision history for this message
Martin Pitt (pitti) wrote :

dino99, bug 1185253 seems unrelated to me. That doesn't fail because of a missing version.h, that just simply needs porting to 3.9.

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

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

Changed in fglrx-installer (Ubuntu):
status: New → Confirmed
Revision history for this message
John Perry (jjperry) wrote :

I am affected as well with 13.10 (Daily - installed yesterday) while trying to install fglrx-updates.

I remember the same issue happening with earlier versions of Ubuntu (perhaps 12.04).

A workaround is to run (adjust paths accordingly)

ln -s /lib/modules/3.9.0/build/include/generated/uapi/linux/version.h /lib/modules/3.9.0/build/include/linux/version.h

which allows to complete the compilation.

summary: - [saucy] fails to build against linux 3.9.0
+ [saucy] fglrx fails to build against linux 3.9.0 (missing version.h)
Revision history for this message
John Perry (jjperry) wrote :

Related discussion on ubuntuforums.org,
http://ubuntuforums.org/showthread.php?t=2126285

Sadly they closed the thread as if the issue does not occur in saucy.

Revision history for this message
John Perry (jjperry) wrote :
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This particular bug has already been reported and is a duplicate of bug 859101, so it is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Feel free to continue to report any other bugs you may find.

Revision history for this message
Martin Pitt (pitti) wrote :

This is not a duplicate. Bug 859101 appeared in oneiric already and is about a completely different issue in the fglrx sources.

Changed in fglrx-installer (Ubuntu Saucy):
status: Confirmed → Triaged
milestone: ubuntu-13.05 → ubuntu-13.06
Changed in fglrx-installer-updates (Ubuntu Saucy):
assignee: nobody → Alberto Milone (albertomilone)
importance: Undecided → High
status: New → In Progress
Changed in fglrx-installer (Ubuntu Saucy):
status: Triaged → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package fglrx-installer - 2:9.010-0ubuntu4

---------------
fglrx-installer (2:9.010-0ubuntu4) saucy; urgency=low

  * debian/dkms.conf.in:
    - Add support for Linux 3.9 (LP: #1185285).
 -- Alberto Milone <email address hidden> Fri, 14 Jun 2013 17:02:58 +0200

Changed in fglrx-installer (Ubuntu Saucy):
status: In Progress → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package fglrx-installer-updates - 2:9.012-0ubuntu2

---------------
fglrx-installer-updates (2:9.012-0ubuntu2) saucy; urgency=low

  * debian/dkms.conf.in:
      - Add support for Linux 3.9 (LP: #1185285).
 -- Alberto Milone <email address hidden> Fri, 14 Jun 2013 17:11:35 +0200

Changed in fglrx-installer-updates (Ubuntu Saucy):
status: In Progress → 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.