virtualbox-guest-dkms 4.2.10-dfsg-1ubuntu2: virtualbox-guest kernel module failed to build [error: unknown field ‘readdir’ specified in initializer]

Bug #1201516 reported by David Pires
50
This bug affects 12 people
Affects Status Importance Assigned to Milestone
Virtualbox
Fix Released
Unknown
virtualbox (Ubuntu)
Fix Released
High
Unassigned

Bug Description

After installing linux-headers-3.11.0-031100rc1_3.11.0-031100rc1.201307141935_all.deb and when installing linux-headers-3.11.0-031100rc1-generic_3.11.0-031100rc1.201307141935_i386.deb, VirtualBox Guest Additions crashed.

ProblemType: Package
DistroRelease: Ubuntu 13.10
Package: virtualbox-guest-dkms 4.2.10-dfsg-1ubuntu2
Uname: Linux 3.10.0-031000rc5-generic i686
ApportVersion: 2.10.2-0ubuntu4
Architecture: i386
DKMSKernelVersion: 3.11.0-031100rc1-generic
Date: Mon Jul 15 18:08:58 2013
DuplicateSignature: dkms:virtualbox-guest-dkms:4.2.10-dfsg-1ubuntu2:/var/lib/dkms/virtualbox-guest/4.2.10/build/vboxsf/dirops.c:292:5: error: unknown field ‘readdir’ specified in initializer
InstallationDate: Installed on 2013-03-22 (115 days ago)
InstallationMedia: Xubuntu 13.04 "Raring Ringtail" - Alpha i386 (20130311.1)
MarkForUpload: True
PackageArchitecture: all
PackageVersion: 4.2.10-dfsg-1ubuntu2
SourcePackage: virtualbox
Title: virtualbox-guest-dkms 4.2.10-dfsg-1ubuntu2: virtualbox-guest kernel module failed to build
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
David Pires (slickymaster) wrote :
summary: virtualbox-guest-dkms 4.2.10-dfsg-1ubuntu2: virtualbox-guest kernel
- module failed to build
+ module failed to build [error: unknown field ‘readdir’ specified in
+ initializer]
tags: removed: need-duplicate-check
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in virtualbox (Ubuntu):
status: New → Confirmed
Revision history for this message
Logan Rosen (logan) wrote :

Marking this as Invalid, as you are using an unofficial Linux kernel that is not from the official repository. I am, however, able to reproduce this with linux 3.11.0-1-generic in Saucy, so please see Bug 1211596 for further information.

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

Using "unofficial" kernels is quite common, and in fact is the most common cause of DKMS build failure.

Policy so far has been to not treat such cases as "invalid". I see and triage such cases every day.

Changed in virtualbox (Ubuntu):
status: Invalid → Confirmed
Revision history for this message
David Pires (slickymaster) wrote :

I'm not quite sure what is meant by "unofficial" kernels. The one in question was retrieved from http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.11-rc1-saucy/ which I believe is the official Ubuntu kernel repositories.

Revision history for this message
Logan Rosen (logan) wrote : Re: [Bug 1201516] Re: virtualbox-guest-dkms 4.2.10-dfsg-1ubuntu2: virtualbox-guest kernel module failed to build [error: unknown field ‘readdir’ specified in initializer]

By "unofficial" I meant kernels not in Ubuntu's main repository. Those are
the highest priority in terms of making sure applications run/build on
them, but it was my mistake to mark this as Invalid per what Daniel said.
My apologies.

On Wednesday, August 14, 2013, David Pires <email address hidden>
wrote:

> I'm not quite sure what is meant by "unofficial" kernels. The one in
> question was retrieved from http://kernel.ubuntu.com/~kernel-
> ppa/mainline/v3.11-rc1-saucy/ which I believe is the official Ubuntu
> kernel repositories.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1201516
>
> Title:
> virtualbox-guest-dkms 4.2.10-dfsg-1ubuntu2: virtualbox-guest kernel
> module failed to build [error: unknown field ‘readdir’ specified in
> initializer]
>
> Status in “virtualbox” package in Ubuntu:
> Confirmed
>
> Bug description:
> After installing linux-
> headers-3.11.0-031100rc1_3.11.0-031100rc1.201307141935_all.deb and
> when installing linux-
> headers-3.11.0-031100rc1-generic_3.11.0-031100rc1.201307141935_i386.deb,
> VirtualBox Guest Additions crashed.
>
> ProblemType: Package
> DistroRelease: Ubuntu 13.10
> Package: virtualbox-guest-dkms 4.2.10-dfsg-1ubuntu2
> Uname: Linux 3.10.0-031000rc5-generic i686
> ApportVersion: 2.10.2-0ubuntu4
> Architecture: i386
> DKMSKernelVersion: 3.11.0-031100rc1-generic
> Date: Mon Jul 15 18:08:58 2013
> DuplicateSignature:
> dkms:virtualbox-guest-dkms:4.2.10-dfsg-1ubuntu2:/var/lib/dkms/virtualbox-guest/4.2.10/build/vboxsf/dirops.c:292:5:
> error: unknown field ‘readdir’ specified in initializer
> InstallationDate: Installed on 2013-03-22 (115 days ago)
> InstallationMedia: Xubuntu 13.04 "Raring Ringtail" - Alpha i386
> (20130311.1)
> MarkForUpload: True
> PackageArchitecture: all
> PackageVersion: 4.2.10-dfsg-1ubuntu2
> SourcePackage: virtualbox
> Title: virtualbox-guest-dkms 4.2.10-dfsg-1ubuntu2: virtualbox-guest
> kernel module failed to build
> UpgradeStatus: No upgrade log present (probably fresh install)
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/virtualbox/+bug/1201516/+subscriptions
>

Revision history for this message
David Pires (slickymaster) wrote :

I do apologize if by any chance I'm being inconvenient or annoying because that's not my intention at all.

According to https://wiki.ubuntu.com/Kernel/MainlineBuilds#Mainline_Kernels_Archive, the mainline kernels archive is located at the following URL: http://kernel.ubuntu.com/~kernel-ppa/mainline with directories for each mainline build, which is exactly the same URL from where I retrieved it.
So when you refer to unofficial is it because we're talking about a release candidate kernel, or is there some other reason?

Revision history for this message
Logan Rosen (logan) wrote :

What I meant by "unofficial" was a version of the Linux kernel that is not
provided by a given Ubuntu release's main repository. I do apologize,
though, for marking this bug as Invalid. The only reason why I did that was
because I was able to reproduce this with the kernel in main for Saucy in a
separate bug, which I thought would be easier to triage, given that many
people already have that kernel installed. No worries, though - I
understand everyone's concerns about my action, and I take it back. :)

On Wed, Aug 14, 2013 at 8:21 AM, David Pires <email address hidden>wrote:

> I do apologize if by any chance I'm being inconvenient or annoying
> because that's not my intention at all.
>
> According to
> https://wiki.ubuntu.com/Kernel/MainlineBuilds#Mainline_Kernels_Archive,
> the mainline kernels archive is located at the following URL:
> http://kernel.ubuntu.com/~kernel-ppa/mainline with directories for each
> mainline build, which is exactly the same URL from where I retrieved it.
> So when you refer to unofficial is it because we're talking about a
> release candidate kernel, or is there some other reason?
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1201516
>
> Title:
> virtualbox-guest-dkms 4.2.10-dfsg-1ubuntu2: virtualbox-guest kernel
> module failed to build [error: unknown field ‘readdir’ specified in
> initializer]
>
> Status in “virtualbox” package in Ubuntu:
> Confirmed
>
> Bug description:
> After installing linux-
> headers-3.11.0-031100rc1_3.11.0-031100rc1.201307141935_all.deb and
> when installing linux-
> headers-3.11.0-031100rc1-generic_3.11.0-031100rc1.201307141935_i386.deb,
> VirtualBox Guest Additions crashed.
>
> ProblemType: Package
> DistroRelease: Ubuntu 13.10
> Package: virtualbox-guest-dkms 4.2.10-dfsg-1ubuntu2
> Uname: Linux 3.10.0-031000rc5-generic i686
> ApportVersion: 2.10.2-0ubuntu4
> Architecture: i386
> DKMSKernelVersion: 3.11.0-031100rc1-generic
> Date: Mon Jul 15 18:08:58 2013
> DuplicateSignature:
> dkms:virtualbox-guest-dkms:4.2.10-dfsg-1ubuntu2:/var/lib/dkms/virtualbox-guest/4.2.10/build/vboxsf/dirops.c:292:5:
> error: unknown field ‘readdir’ specified in initializer
> InstallationDate: Installed on 2013-03-22 (115 days ago)
> InstallationMedia: Xubuntu 13.04 "Raring Ringtail" - Alpha i386
> (20130311.1)
> MarkForUpload: True
> PackageArchitecture: all
> PackageVersion: 4.2.10-dfsg-1ubuntu2
> SourcePackage: virtualbox
> Title: virtualbox-guest-dkms 4.2.10-dfsg-1ubuntu2: virtualbox-guest
> kernel module failed to build
> UpgradeStatus: No upgrade log present (probably fresh install)
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/virtualbox/+bug/1201516/+subscriptions
>

Revision history for this message
Logan Rosen (logan) wrote :

Oh, and let's get this bug fixed! ;) I found an upstream bug with the same
issue reported, so I'll add it as a bugwatch.

On Wed, Aug 14, 2013 at 9:40 AM, Logan Rosen <email address hidden> wrote:

> What I meant by "unofficial" was a version of the Linux kernel that is not
> provided by a given Ubuntu release's main repository. I do apologize,
> though, for marking this bug as Invalid. The only reason why I did that was
> because I was able to reproduce this with the kernel in main for Saucy in a
> separate bug, which I thought would be easier to triage, given that many
> people already have that kernel installed. No worries, though - I
> understand everyone's concerns about my action, and I take it back. :)
>
>
> On Wed, Aug 14, 2013 at 8:21 AM, David Pires <email address hidden>wrote:
>
>> I do apologize if by any chance I'm being inconvenient or annoying
>> because that's not my intention at all.
>>
>> According to
>> https://wiki.ubuntu.com/Kernel/MainlineBuilds#Mainline_Kernels_Archive,
>> the mainline kernels archive is located at the following URL:
>> http://kernel.ubuntu.com/~kernel-ppa/mainline with directories for each
>> mainline build, which is exactly the same URL from where I retrieved it.
>> So when you refer to unofficial is it because we're talking about a
>> release candidate kernel, or is there some other reason?
>>
>> --
>> You received this bug notification because you are subscribed to the bug
>> report.
>> https://bugs.launchpad.net/bugs/1201516
>>
>> Title:
>> virtualbox-guest-dkms 4.2.10-dfsg-1ubuntu2: virtualbox-guest kernel
>> module failed to build [error: unknown field ‘readdir’ specified in
>> initializer]
>>
>> Status in “virtualbox” package in Ubuntu:
>> Confirmed
>>
>> Bug description:
>> After installing linux-
>> headers-3.11.0-031100rc1_3.11.0-031100rc1.201307141935_all.deb and
>> when installing linux-
>> headers-3.11.0-031100rc1-generic_3.11.0-031100rc1.201307141935_i386.deb,
>> VirtualBox Guest Additions crashed.
>>
>> ProblemType: Package
>> DistroRelease: Ubuntu 13.10
>> Package: virtualbox-guest-dkms 4.2.10-dfsg-1ubuntu2
>> Uname: Linux 3.10.0-031000rc5-generic i686
>> ApportVersion: 2.10.2-0ubuntu4
>> Architecture: i386
>> DKMSKernelVersion: 3.11.0-031100rc1-generic
>> Date: Mon Jul 15 18:08:58 2013
>> DuplicateSignature:
>> dkms:virtualbox-guest-dkms:4.2.10-dfsg-1ubuntu2:/var/lib/dkms/virtualbox-guest/4.2.10/build/vboxsf/dirops.c:292:5:
>> error: unknown field ‘readdir’ specified in initializer
>> InstallationDate: Installed on 2013-03-22 (115 days ago)
>> InstallationMedia: Xubuntu 13.04 "Raring Ringtail" - Alpha i386
>> (20130311.1)
>> MarkForUpload: True
>> PackageArchitecture: all
>> PackageVersion: 4.2.10-dfsg-1ubuntu2
>> SourcePackage: virtualbox
>> Title: virtualbox-guest-dkms 4.2.10-dfsg-1ubuntu2: virtualbox-guest
>> kernel module failed to build
>> UpgradeStatus: No upgrade log present (probably fresh install)
>>
>> To manage notifications about this bug go to:
>>
>> https://bugs.launchpad.net/ubuntu/+source/virtualbox/+bug/1201516/+subscriptions
>>
>
>

Changed in virtualbox (Ubuntu):
status: Confirmed → Triaged
importance: Undecided → High
Changed in virtualbox:
status: Unknown → New
Revision history for this message
Logan Rosen (logan) wrote :

The upstream patch works for me. Pushing it out to Ubuntu.

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

This bug was fixed in the package virtualbox - 4.2.16-dfsg-1ubuntu1

---------------
virtualbox (4.2.16-dfsg-1ubuntu1) saucy; urgency=low

  * debian/patches/36-linux-3.11.patch: Fix compilation of guest additions
    with linux 3.11+ (LP: #1201516).
 -- Logan Rosen <email address hidden> Sat, 17 Aug 2013 05:54:01 -0400

Changed in virtualbox (Ubuntu):
status: Triaged → Fix Released
Changed in virtualbox:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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