bits/predefs.h missing in trusty package repo

Bug #1310866 reported by Shrikrishna
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
eglibc (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

predefs.h is one of the headers needed to compile against 32 bit binaries in a 64 bit system. It's usually present in libc6-dev-i386 package. (http://packages.ubuntu.com/search?suite=saucy&arch=amd64&mode=exactfilename&searchon=contents&keywords=predefs.h), but it isn't so in trusty. (http://packages.ubuntu.com/search?suite=trusty&arch=amd64&mode=exactfilename&searchon=contents&keywords=predefs.h). It's not present anywhere else either. So kindly see to it that it's added

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: libc6-dev-i386 2.19-0ubuntu6
ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9
Uname: Linux 3.13.0-24-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.14.1-0ubuntu3
Architecture: amd64
CurrentDesktop: KDE
Date: Tue Apr 22 06:57:10 2014
InstallationDate: Installed on 2014-04-18 (3 days ago)
InstallationMedia: Kubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140416.1)
SourcePackage: eglibc
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Shrikrishna (shrikrishna-holla) wrote :
Revision history for this message
Shrikrishna (shrikrishna-holla) wrote :

Can someone please look into this? I'm not able to build a lot of projects because of this nag

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

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

Changed in eglibc (Ubuntu):
status: New → Confirmed
Revision history for this message
Meric Sentunali (msentunali) wrote :

this affects me too, I can't build u-boot under yocto system due to this bug. it was working before upgrading to 14.04.

Revision history for this message
Adam Conrad (adconrad) wrote :

It's not "missing", it no longer exists in glibc 2.19. What problem is this actually causing? Reading the old bits/predefs.h, it throws this error:

# error "Never use <bits/predefs.h> directly; include <stdc-predef.h> instead."

The new stdc-predef.h now completely replaces it. So, given that you should never have been including it directly in the first place, I'm at a loss as to how anything's changed. :P

Changed in eglibc (Ubuntu):
status: Confirmed → Invalid
Revision history for this message
ShiftPlusOne (schneiderit) wrote :

libc6-dev:
  Installed: 2.19-0ubuntu6.6

libc6-dev contains /usr/include/x86_64-linux-gnu/sys/types.h
types.h includes #include <bits/predefs.h> on line 323

When compiling things which contain #include <sys/types.h>, I get:
In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25:0,
                 from scripts/basic/fixdep.c:106:
/usr/include/features.h:323:26: fatal error: bits/predefs.h: No such file or directory
 #include <bits/predefs.h>

There does seem to be some problem there.

Changed in eglibc (Ubuntu):
status: Invalid → New
status: New → Confirmed
Revision history for this message
Shrikrishna (shrikrishna-holla) wrote : Re: [Bug 1310866] Re: bits/predefs.h missing in trusty package repo

Any updates on this?

On Fri, 8 May 2015 9:36 pm ShiftPlusOne <email address hidden> wrote:

> ** Changed in: eglibc (Ubuntu)
> Status: Invalid => New
>
> ** Changed in: eglibc (Ubuntu)
> Status: New => Confirmed
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1310866
>
> Title:
> bits/predefs.h missing in trusty package repo
>
> Status in eglibc package in Ubuntu:
> Confirmed
>
> Bug description:
> predefs.h is one of the headers needed to compile against 32 bit
> binaries in a 64 bit system. It's usually present in libc6-dev-i386
> package.
> (
> http://packages.ubuntu.com/search?suite=saucy&arch=amd64&mode=exactfilename&searchon=contents&keywords=predefs.h
> ),
> but it isn't so in trusty.
> (
> http://packages.ubuntu.com/search?suite=trusty&arch=amd64&mode=exactfilename&searchon=contents&keywords=predefs.h
> ).
> It's not present anywhere else either. So kindly see to it that it's
> added
>
> ProblemType: Bug
> DistroRelease: Ubuntu 14.04
> Package: libc6-dev-i386 2.19-0ubuntu6
> ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9
> Uname: Linux 3.13.0-24-generic x86_64
> NonfreeKernelModules: nvidia
> ApportVersion: 2.14.1-0ubuntu3
> Architecture: amd64
> CurrentDesktop: KDE
> Date: Tue Apr 22 06:57:10 2014
> InstallationDate: Installed on 2014-04-18 (3 days ago)
> InstallationMedia: Kubuntu 14.04 LTS "Trusty Tahr" - Release amd64
> (20140416.1)
> SourcePackage: eglibc
> UpgradeStatus: No upgrade log present (probably fresh install)
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/1310866/+subscriptions
>

Revision history for this message
ShiftPlusOne (schneiderit) wrote :

Not sure what has changed, but it seems to work okay for me now.

Revision history for this message
ShiftPlusOne (schneiderit) wrote :

GCC was updated from 4.8.2-19ubuntu1 to 4.8.4-2ubuntu1~14.04, which seems like the only relevant recent change.

I don't see anything relevant in the changelog though
http://changelogs.ubuntu.com/changelogs/pool/main/g/gcc-4.8/gcc-4.8_4.8.4-2ubuntu1~14.04/changelog

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.