AR coreutils/lib.a CC miscutils/inotifyd.o In file included from /usr/include/asm/fcntl.h:1, from /usr/include/linux/fcntl.h:4, from /usr/include/linux/inotify.h:11, from miscutils/inotifyd.c:31: /usr/include/asm-generic/fcntl.h:117: error: redefinition of 'struct flock' /usr/include/asm-generic/fcntl.h:140: error: redefinition of 'struct flock64' make[1]: *** [miscutils/inotifyd.o] Error 1 make[1]: *** Waiting for unfinished jobs.... Reproducible: Always kant jkarlson # emerge --info Portage 2.2_rc12 (default/linux/amd64/2008.0/desktop, gcc-4.3.2, glibc-2.8_p20080602-r0, 2.6.27-wl x86_64) ================================================================= System uname: Linux-2.6.27-wl-x86_64-Intel-R-_Core-TM-2_CPU_T7200_@_2.00GHz-with-glibc2.2.5 Timestamp of tree: Sun, 26 Oct 2008 11:46:02 +0000 app-shells/bash: 3.2_p39 dev-lang/python: 2.5.2-r8 dev-util/cmake: 2.6.2 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.3.0-r1 sys-apps/sandbox: 1.2.18.1-r3 sys-devel/autoconf: 2.13, 2.63 sys-devel/automake: 1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1 sys-devel/binutils: 2.18-r4 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.27 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=native -g -Dliputtassa_emil" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O2 -pipe -march=native -g -Dliputtassa_emil" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unmerge-orphans userfetch usersandbox" GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/" LC_ALL="en_US.utf8" LDFLAGS="-Wl,--as-needed -Wl,-O1" LINGUAS="en fi en_GB" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/usr/local/tmp/" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/layman/science" SYNC="rsync://trumpetti.atm.tut.fi/gentoo-portage/" USE="R X a52 aac acl acpi alisp alsa amd64 amr ansi bash-completion berkdb bluetooth branding bzip2 cairo cblas cdr cli clisp cracklib crypt cscope css curl dbus doc dri dvd dvdr dvdread eds elliptic emboss encode evo extra fam ffmpeg fftw firefox flac fontconfig fontforge fortran fortran95 ftp galois games gd gdbm gif git glib gmp gnutls gpm graphics gstreamer gtk hal iconv idn image imagemagick imlib ipv6 isdnlog ithreads javascript jpeg jpeg2k kde kdehiddenvisibility kipi kpathsea lapack laptop latex libnotify lzo mad matroska md5sum midi mikmod mmap mmx modplug mono mp2 mp3 mp4 mp4live mpeg mpeg2 mpi mpi_njtree mplayer mudflap multilib multitarget musepack music ncurses net netpbm network new-clx npp nptl nptlonly ogg opengl openmp pam pcre pdf perl perlsuid plotutils png ppds pppd profile ps pstricks publishers python qt3 qt3support qt4 quicktime readline redland reflection rtsp samba science sdl sdl-image server session smp sparse spl sse sse2 ssl ssse3 startup-notification stream subversion supernodal svg svm symlink sysfs tcpd teletext tex4ht theora threads threadsafe threadsonly tiff timidity toolbar trace truetype unicode usb vim vim-syntax vorbis wav x264 xattr xcb xcomposite xine xml xorg xosd xpm xrandr xv xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="mouse keyboard evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en fi en_GB" USERLAND="GNU" VIDEO_CARDS="intel radeon i810" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
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;