[Bug 933045] Re: headers incompatible with eglibc

Serge Hallyn 933045 at bugs.launchpad.net
Mon Mar 12 15:59:55 UTC 2012


@Andy,

note that the bug is not about AT_EMPTY_PATH being undefined, but about
build failure when both <fcntl.h> and <linux/fcntl.h> are included.
Unless there is some guidance (beyond "it causes this bug") why that
shouldn't be done, in which case I need to justify the reason why I need
to do that...

Otherwise I can go back and figure out why ther were no problems before
the new glibc...  My guess would be that <bits/fcntl.h> existed before
(which is included by <fcntl.h>) and it #included <linux/fcntl.h>.  But
I haven't spooled up an image to verify that.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to eglibc in Ubuntu.
https://bugs.launchpad.net/bugs/933045

Title:
  headers incompatible with eglibc

Status in “eglibc” package in Ubuntu:
  New
Status in “linux” package in Ubuntu:
  In Progress

Bug description:
  /usr/include/asm-generic/fcntl.h:127:8: error: redefinition of 'struct f_owner_ex'
  /usr/include/x86_64-linux-gnu/bits/fcntl.h:204:8: note: originally defined here
  /usr/include/asm-generic/fcntl.h:167:8: error: redefinition of 'struct flock'
  /usr/include/x86_64-linux-gnu/bits/fcntl.h:168:8: note: originally defined here
  /usr/include/asm-generic/fcntl.h:184:8: error: redefinition of 'struct flock64'
  /usr/include/x86_64-linux-gnu/bits/fcntl.h:183:8: note: originally defined here

  $dpkg -S /usr/include/asm-generic/fcntl.h
  linux-libc-dev: /usr/include/asm-generic/fcntl.h

  $ dpkg -S /usr/include/x86_64-linux-gnu/bits/fcntl.h
  libc6-dev: /usr/include/x86_64-linux-gnu/bits/fcntl.h

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/933045/+subscriptions




More information about the foundations-bugs mailing list