ftbfs on i386

Bug #824377 reported by Matthias Klose
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnat-4.4 (Ubuntu)
Fix Released
High
Unassigned
Oneiric
Fix Released
High
Unassigned
gnat-4.6 (Debian)
Fix Released
Unknown
gnat-4.6 (Ubuntu)
Fix Released
High
Unassigned
Oneiric
Fix Released
High
Unassigned
linux (Ubuntu)
Fix Released
High
Andy Whitcroft
Oneiric
Fix Released
High
Andy Whitcroft

Bug Description

see the debian report

Tags: ftbfs oneiric

Related branches

Revision history for this message
Matthias Klose (doko) wrote :

<aurel32> looks like a kernel headers issue
<doko> but there was no upload
<doko> fixing the include name to asm/posix_types_xx.h certainly would help
<aurel32> doko: the difference is that with the i386/x86-64 headers, asm/sigcontext.h was not included
<aurel32> with the i386 headers it is
<aurel32> so it looks like a bug in the kernel headers, but triggered by eglibc changes

Changed in gnat-4.6 (Ubuntu):
importance: Undecided → High
milestone: none → ubuntu-11.10
status: New → Confirmed
Changed in linux (Ubuntu Oneiric):
importance: Undecided → High
Changed in gnat-4.6 (Debian):
status: Unknown → Fix Committed
Changed in gnat-4.6 (Debian):
status: Fix Committed → Fix Released
Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 824377

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Matthias Klose (doko) wrote :

why is this set to incomplete?

$ grep '^# *inc' /usr/include/x86_64-linux-gnu/asm/posix_types.h
# include "posix_types_32.h"
# include "posix_types_64.h"

causes build failures in more than one package; please address this for beta1, or beta2 at least.

Changed in linux (Ubuntu Oneiric):
status: Incomplete → New
status: New → Confirmed
Revision history for this message
Andy Whitcroft (apw) wrote :

It would be helpful if we had a pointer to the ftbs. I don't see one in the main archive so I assume this is in the rebuild archive?

Changed in linux (Ubuntu Oneiric):
assignee: nobody → Andy Whitcroft (apw)
status: Confirmed → In Progress
Revision history for this message
Matthias Klose (doko) wrote :
Changed in gnat-4.4 (Ubuntu Oneiric):
importance: Undecided → High
status: New → Confirmed
Revision history for this message
Andy Whitcroft (apw) wrote :

Seems it is this build:

    https://launchpad.net/ubuntu/+archive/test-rebuild-20110816/+build/2694433

Producing this error:

                 from /build/buildd/gnat-4.4-4.4.6/src/gcc/ada/convert_addresses.c:34:
/usr/include/i386-linux-gnu/asm/posix_types.h:2:30: error: posix_types_32.h: No such file or directory

Revision history for this message
Andy Whitcroft (apw) wrote :

Ok the issue is that actually this app is building with -I- which completely changes the semantics of #include "xxx". If we are to cope with this we would need to change every header to use absolute references.

Revision history for this message
Matthias Klose (doko) wrote :

worked around in gnat-4.6 (4.6.1-4ubuntu3)

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

This bug was fixed in the package gnat-4.4 - 4.4.6-1ubuntu2

---------------
gnat-4.4 (4.4.6-1ubuntu2) oneiric; urgency=low

  * Base package on 4.4.6-8ubuntu2. Fix FTBFS. LP: #824377, #831410.
  * Fix libgnat* multiarch installation.
 -- Matthias Klose <email address hidden> Fri, 26 Aug 2011 09:10:36 +0200

Changed in gnat-4.4 (Ubuntu Oneiric):
status: Confirmed → Fix Released
Revision history for this message
Matthias Klose (doko) wrote :

work around applied in gnat-4.6

Changed in gnat-4.6 (Ubuntu Oneiric):
status: Confirmed → Fix Released
Revision history for this message
Matthias Klose (doko) wrote :

bug 833035 is another victim

Revision history for this message
Steve Langasek (vorlon) wrote :

In fact, there are only *two* headers with general impact that need to be changed:

$ grep -r '^#[[:space:]]*include[[:space:]]\+"' /usr/include/asm-generic/ /usr/include/linux/ /usr/include/x86_64-linux-gnu/
/usr/include/x86_64-linux-gnu/asm/unistd.h:# include "unistd_32.h"
/usr/include/x86_64-linux-gnu/asm/unistd.h:# include "unistd_64.h"
/usr/include/x86_64-linux-gnu/asm/posix_types.h:# include "posix_types_32.h"
/usr/include/x86_64-linux-gnu/asm/posix_types.h:# include "posix_types_64.h"
$

There are some other headers in /usr/include/drm that are affected, but those are a much lower priority.

Andy, is this bug going to be fixed for oneiric or not? It's targeted and marked as 'in progress' for oneiric for weeks, but I understand that the final kernel upload of the cycle is planned for this week. As Matthias points out there are other packages in the archive affected by this behavior, and it looks like this should be nothing more than a mechanical 4-line fix.

Revision history for this message
Andy Whitcroft (apw) wrote :

The fix has been out for review and is now applied. Moving Fix Committed.

Changed in linux (Ubuntu Oneiric):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package linux - 3.0.0-12.19

---------------
linux (3.0.0-12.19) oneiric; urgency=low

  [ Alex Bligh ]

  * SAUCE: (drop after v3.1) net/netfilter/nf_conntrack_netlink.c: fix Oops
    on container destroy
    - LP: #843892

  [ Andy Whitcroft ]

  * [Config] standardise on HZ=250
  * SAUCE: headers_install: fix #include "..." usage for userspace
    - LP: #824377
  * make module-inclusion selection retain the left overs
  * add a new linux-image-extras package for virtual

  [ edwin_rong ]

  * SAUCE: Staging: add driver for Realtek RTS5139 cardreader
    - LP: #824273

  [ Greg Kroah-Hartman ]

  * SAUCE: staging: rts5139: add vmalloc.h to some files to fix the build.
    - LP: #824273

  [ Jesse Sung ]

  * SAUCE: Unregister input device only if it is registered
    - LP: #839238

  [ Keng-Yu Lin ]

  * [Config] Enable CONFIG_RTS5139=m on i386/amd64
    - LP: #824273

  [ Leann Ogasawara ]

  * SAUCE: x86: reboot: Make Dell Optiplex 990 use reboot=pci
    - LP: #768039
  * SAUCE: x86: reboot: Make Dell Latitude E6220 use reboot=pci
    - LP: #838402

  [ Ming Lei ]

  * SAUCE: ata: make DVD drive recognisable on systems with Sandybridge CPT
    chipset
    - LP: #794642

  [ Paolo Pisati ]

  * [Config] Compile-in vfat support for armel
    - LP: #853783

  [ Randy Dunlap ]

  * SAUCE: staging: fix rts5139 depends & build
    - LP: #824273

  [ Tim Gardner ]

  * [Config] Fix binary-% build target
  * SAUCE: (drop after 3.0.0) OMAP3 and 4 hwmod I2C units only allow 16 bit
    access
    - LP: #852225

  [ Upstream Kernel Changes ]

  * hfsplus: Fix kfree of wrong pointers in hfsplus_fill_super() error path
    - LP: #854987
  * rt2x00: Serialize TX operations on a queue.
    - LP: #855239
 -- Leann Ogasawara <email address hidden> Wed, 14 Sep 2011 06:14:30 -0700

Changed in linux (Ubuntu Oneiric):
status: Fix Committed → 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.