[FTBFS] unknown field ‘aio_reserved3’ building User Mode Linux

Bug #163011 reported by TJ
2
Affects Status Importance Assigned to Milestone
linux-source-2.6.22 (Ubuntu)
Won't Fix
High
Unassigned

Bug Description

Binary package hint: linux-source-2.6.22

$ make -j3 O=`pwd`/../uml-gutsy linux ARCH=um SUBARCH=i386

LD arch/um/drivers/ubd.o
/home/all/SourceCode/linux/ubuntu-gutsy/arch/um/os-Linux/aio.c: In function ‘do_aio’:
/home/all/SourceCode/linux/ubuntu-gutsy/arch/um/os-Linux/aio.c:80: error: unknown field ‘aio_reserved3’ specified in initializer
make[2]: *** [arch/um/os-Linux/aio.o] Error 1

Caused by ubuntu-gutsy/arch/um/os-Linux/aio.c::do_aio() trying to initialise the structure-member "aio_reserved3" that doesn't exist in include/linux/aio_abi.h::struct iocb

The fix is a simple patch to remove

--- aio.orig.c 2007-11-16 01:43:14.000000000 +0000
+++ aio.c 2007-11-16 01:45:34.000000000 +0000
@@ -76,8 +76,7 @@
                                .aio_nbytes = len,
                                .aio_offset = offset,
                                .aio_reserved1 = 0,
- .aio_reserved2 = 0,
- .aio_reserved3 = 0 });
+ .aio_reserved2 = 0 });

        switch(type){
        case AIO_READ:

Tags: bitesize ftbfs
TJ (tj)
Changed in linux-source-2.6.22:
importance: Undecided → High
Changed in linux-source-2.6.22:
assignee: nobody → ubuntu-kernel-team
status: New → Triaged
Revision history for this message
TJ (tj) wrote :
Revision history for this message
Ben Collins (ben-collins) wrote :

Building UML is not supported by our source package. As such, this wont be fixed in gutsy kernel, but may already be fixed by the 2.6.24-rc2 tree planned for upload to hardy soon.

Changed in linux-source-2.6.22:
status: Triaged → Won't Fix
Revision history for this message
Launchpad Janitor (janitor) wrote : Kernel team bugs

Per a decision made by the Ubuntu Kernel Team, bugs will longer be assigned to the ubuntu-kernel-team in Launchpad as part of the bug triage process. The ubuntu-kernel-team is being unassigned from this bug report. Refer to https://wiki.ubuntu.com/KernelTeamBugPolicies for more information. Thanks.

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.