Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 406787

Summary: emerging linux-headers-3.1 failed due to xt_RATEEST.h
Product: Gentoo Linux Reporter: Jeongsu Kim <jeongsu>
Component: [OLD] Core systemAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: VERIFIED INVALID    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info output

Description Jeongsu Kim 2012-03-03 14:47:16 UTC
Created attachment 304131 [details]
emerge --info output

emerging linux-headers-3.1 failed duto to xt_RATEEST.h

mango guava # emerge -pv linux-headers

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U  ] sys-kernel/linux-headers-3.1 [2.6.39] 0 kB

Total: 1 package (1 upgrade), Size of downloads: 0 kB
mango guava # emerge linux-headers
Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) sys-kernel/linux-headers-3.1
 * gentoo-headers-base-3.1.tar.xz RMD160 SHA1 SHA256 size ;-) ...        [ ok ]
 * gentoo-headers-3.1-1.tar.xz RMD160 SHA1 SHA256 size ;-) ...           [ ok ]
>>> Unpacking source...
>>> Unpacking gentoo-headers-base-3.1.tar.xz to /var/tmp/portage/sys-kernel/linux-headers-3.1/work
>>> Unpacking gentoo-headers-3.1-1.tar.xz to /var/tmp/portage/sys-kernel/linux-headers-3.1/work
>>> Source unpacked in /var/tmp/portage/sys-kernel/linux-headers-3.1/work
>>> Preparing source in /var/tmp/portage/sys-kernel/linux-headers-3.1/work/gentoo-headers-base-3.1 ...
 * Applying various patches (bugfixes/updates) ...
 *   00_all_0001-kbuild-auto-convert-size-types-in-userspace-headers.pat [ ok ]
 *   00_all_0002-linux-stat.h-remove-__GLIBC__-checks.patch ...          [ ok ]
 *   00_all_0003-linux-stddef.h-export-offsetof-to-userspace.patch ...   [ ok ]
 *   00_all_0004-linux-pull-in-other-needed-headers-for-userspace.patch  [ ok ]
 *   00_all_0005-netfilter-pull-in-limits.h.patch ...                    [ ok ]
 *   00_all_0006-convert-PAGE_SIZE-usage.patch ...                       [ ok ]
 *   00_all_0007-asm-generic-fcntl.h-namespace-kernel-file-structs.patch [ ok ]
 *   00_all_0008-unifdef-drop-unused-errno.h-include.patch ...           [ ok ]
 * Done with patching
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/sys-kernel/linux-headers-3.1/work/gentoo-headers-base-3.1 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/sys-kernel/linux-headers-3.1/work/gentoo-headers-base-3.1 ...
>>> Source compiled.
>>> Test phase [not enabled]: sys-kernel/linux-headers-3.1

>>> Install linux-headers-3.1 into /var/tmp/portage/sys-kernel/linux-headers-3.1/image/ category sys-kernel
make -j2 headers_install INSTALL_HDR_PATH=/var/tmp/portage/sys-kernel/linux-headers-3.1/image///usr/include/.. ARCH=x86 CROSS_COMPILE=i686-pc-linux-gnu- 
  CHK     include/linux/version.h
  UPD     include/linux/version.h
  HOSTCC  scripts/unifdef
  INSTALL include/drm (13 files)
  INSTALL include/asm-generic (34 files)
  INSTALL include/linux/byteorder (2 files)
  INSTALL include/linux/caif (2 files)
  INSTALL include/linux/can (4 files)
  INSTALL include/mtd (5 files)
  INSTALL include/linux/dvb (8 files)
  INSTALL include/rdma (6 files)
  INSTALL include/linux/hdlc (1 file)
  INSTALL include/scsi/fc (4 files)
  INSTALL include/linux/isdn (1 file)
  INSTALL include/linux/mmc (1 file)
  INSTALL include/scsi (3 files)
  INSTALL include/linux/netfilter/ipset (4 files)
  INSTALL include/sound (8 files)
  INSTALL include/linux/netfilter (69 files)
  INSTALL include/video (3 files)
  INSTALL include/xen (2 files)
  INSTALL include (0 file)
  INSTALL include/linux/netfilter_arp (2 files)
  INSTALL include/linux/netfilter_bridge (18 files)
  INSTALL include/linux/netfilter_ipv4 (14 files)
  INSTALL include/linux/netfilter_ipv6 (11 files)
  INSTALL include/linux/nfsd (6 files)
  INSTALL include/linux/raid (2 files)
  INSTALL include/linux/spi (1 file)
  INSTALL include/linux/sunrpc (1 file)
  INSTALL include/linux/tc_act (7 files)
  INSTALL include/linux/tc_ematch (4 files)
  INSTALL include/linux/usb (9 files)
  INSTALL include/linux/wimax (1 file)
  INSTALL include/linux (367 files)
  INSTALL include/asm (56 files)
/var/tmp/portage/sys-kernel/linux-headers-3.1/image/usr/include/drm/vmwgfx_drm.h
/var/tmp/portage/sys-kernel/linux-headers-3.1/image/usr/include/drm/drm_mode.h
/var/tmp/portage/sys-kernel/linux-headers-3.1/image/usr/include/drm/nouveau_drm.h
/var/tmp/portage/sys-kernel/linux-headers-3.1/image/usr/include/drm/radeon_drm.h
/var/tmp/portage/sys-kernel/linux-headers-3.1/image/usr/include/drm/mga_drm.h
/var/tmp/portage/sys-kernel/linux-headers-3.1/image/usr/include/drm/via_drm.h
/var/tmp/portage/sys-kernel/linux-headers-3.1/image/usr/include/drm/i915_drm.h
/var/tmp/portage/sys-kernel/linux-headers-3.1/image/usr/include/linux/mmc/ioctl.h
/var/tmp/portage/sys-kernel/linux-headers-3.1/image/usr/include/linux/dm-log-userspace.h
/var/tmp/portage/sys-kernel/linux-headers-3.1/image/usr/include/linux/coda.h
/var/tmp/portage/sys-kernel/linux-headers-3.1/image/usr/include/linux/tiocl.h
/var/tmp/portage/sys-kernel/linux-headers-3.1/image/usr/include/linux/netfilter_arp/arpt_mangle.h
/var/tmp/portage/sys-kernel/linux-headers-3.1/image/usr/include/linux/virtio_balloon.h
/var/tmp/portage/sys-kernel/linux-headers-3.1/image/usr/include/linux/pmu.h
/var/tmp/portage/sys-kernel/linux-headers-3.1/image/usr/include/linux/netfilter_bridge/ebtables.h
/var/tmp/portage/sys-kernel/linux-headers-3.1/image/usr/include/asm-generic/ipcbuf.h
/var/tmp/portage/sys-kernel/linux-headers-3.1/image/usr/include/asm-generic/int-ll64.h
/var/tmp/portage/sys-kernel/linux-headers-3.1/image/usr/include/asm-generic/int-l64.h
>>> Completed installing linux-headers-3.1 into /var/tmp/portage/sys-kernel/linux-headers-3.1/image/


>>> Installing (1 of 1) sys-kernel/linux-headers-3.1
 * This package will overwrite one or more files that may belong to other
 * packages (see list below). You can use a command such as `portageq
 * owners / <filename>` to identify the installed package that owns a
 * file. If portageq reports that only one package owns a file then do
 * NOT file a bug report. A bug report is only useful if it identifies at
 * least two or more packages that are known to install the same file(s).
 * If a collision occurs and you can not explain where the file came from
 * then you should simply ignore the collision since there is not enough
 * information to determine if a real problem exists. Please do NOT file
 * a bug report at http://bugs.gentoo.org unless you report exactly which
 * two packages install the same file(s). Once again, please do NOT file
 * a bug report unless you have completely understood the above message.
 * 
 * Detected file collision(s):
 * 
 * 	/usr/include/linux/uvcvideo.h
 * 	/usr/include/linux/mmc/ioctl.h
 * 
 * Searching all installed packages for file collisions...
 * 
 * Press Ctrl-C to Stop
 * 
 * None of the installed packages claim the file(s).
 * 
 * Package 'sys-kernel/linux-headers-3.1' merged despite file collisions.
 * If necessary, refer to your elog messages for the whole content of the
 * above message.
Traceback (most recent call last):
  File "/usr/lib/portage/pym/portage/dbapi/_MergeProcess.py", line 188, in _spawn
    prev_mtimes=self.prev_mtimes, counter=counter)
  File "/usr/lib/portage/pym/portage/dbapi/vartree.py", line 4401, in merge
    counter=counter)
  File "/usr/lib/portage/pym/portage/dbapi/vartree.py", line 3700, in treewalk
    rval = self._merge_contents(srcroot, destroot, cfgfiledict)
  File "/usr/lib/portage/pym/portage/dbapi/vartree.py", line 3974, in _merge_contents
    self.settings["EPREFIX"].lstrip(os.sep), cfgfiledict, mymtime):
  File "/usr/lib/portage/pym/portage/dbapi/vartree.py", line 4271, in mergeme
    join(offset, x), cfgfiledict, thismtime):
  File "/usr/lib/portage/pym/portage/dbapi/vartree.py", line 4271, in mergeme
    join(offset, x), cfgfiledict, thismtime):
  File "/usr/lib/portage/pym/portage/dbapi/vartree.py", line 4271, in mergeme
    join(offset, x), cfgfiledict, thismtime):
  File "/usr/lib/portage/pym/portage/dbapi/vartree.py", line 4271, in mergeme
    join(offset, x), cfgfiledict, thismtime):
  File "/usr/lib/portage/pym/portage/dbapi/vartree.py", line 4079, in mergeme
    mystat = os.lstat(mysrc)
  File "/usr/lib/portage/pym/portage/__init__.py", line 230, in __call__
    rval = self._func(*wrapped_args, **wrapped_kwargs)
OSError: [Errno 2] No such file or directory: '/var/tmp/portage/sys-kernel/linux-headers-3.1/image/usr/include/linux/netfilter/xt_RATEEST.h'

>>> Failed to install sys-kernel/linux-headers-3.1, Log file:

>>>  '/var/tmp/portage/sys-kernel/linux-headers-3.1/temp/build.log'

 * GNU info directory index is up-to-date.
mango guava #
Comment 1 Jeongsu Kim 2012-03-04 05:47:39 UTC
I mount /var/tmp/portage through nfs. It was the problem.