Summary: | sys-apps/busybox-1.12.1: inotify.o fails in asm-generic/fcntl.h due to struct flock redefined with linux-2.6.27 headers | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | emil karlson <jekarlson> |
Component: | [OLD] Core system | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | alan.mckinnon, ansla80, autie, dkarasik, gentoo-bugzilla, it-knodel, paulo, pqGungnir, rahul, stefan-r-bz, tonglebeak, transacid, wilburpan, willard.dawson, xf3i, yoshi3 |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 388633 |
Description
emil karlson
2008-10-26 13:52:54 UTC
Seeing the same thing, amd64 as well. same thing on 32bit. I also can confirm this. (amd64) Confirm this. (x86) Here: busybox-1.11.1 The failure due occurs only with sys-kernel/linux-headers-2.6.27. After downgrade to sys-kernel/linux-headers-2.6.26, busybox compiles fine. confirm it (~x86) confirm amd64 =sys-kernel/linux-headers-2.6.27 >> /etc/portage/package.mask/monolithic I can confirm this as well *** Bug 244571 has been marked as a duplicate of this bug. *** fixed with linux-headers-2.6.27-r2 http://sources.gentoo.org/gentoo/src/patchsets/gentoo-headers/2.6.27/07_all_pull-libc-headers-asm.patch?r1=1.1&r2=1.2 *** Bug 244602 has been marked as a duplicate of this bug. *** Thanks, linux-headers-2.6.27-r2 works for me. (x86) *** Bug 244642 has been marked as a duplicate of this bug. *** i've changed the patch for linux-headers-3.1: --- a/include/asm-generic/fcntl.h +++ b/include/asm-generic/fcntl.h @@ -124,7 +124,7 @@ #define F_OWNER_PID 1 #define F_OWNER_PGRP 2 -struct f_owner_ex { +struct __kernel_f_owner_ex { int type; __kernel_pid_t pid; }; @@ -169,7 +169,7 @@ struct f_owner_ex { #define __ARCH_FLOCK_PAD #endif -struct flock { +struct __kernel_flock { short l_type; short l_whence; __kernel_off_t l_start; @@ -186,7 +186,7 @@ struct flock { #define __ARCH_FLOCK64_PAD #endif -struct flock64 { +struct __kernel_flock64 { short l_type; short l_whence; __kernel_loff_t l_start; |