Portage Errors: cp: preserving times Bad file descriptor
If you use an old kernel and recently updated your glibc you may encounter:
Writing /var/tmp/portage/net-analyzer/rrdtool-1.4.5-r1/temp/images/2.6/usr/lib/python2.6/site-packages/py_rrdtool-0.2.1-py2.6.egg-info cp: preserving times for `/var/tmp/portage/net-analyzer/rrdtool-1.4.5-r1/image/usr/lib/python2.6/site-packages': Bad file descriptor cp: preserving times for `/var/tmp/portage/net-analyzer/rrdtool-1.4.5-r1/image/usr/lib/python2.6': Bad file descriptor cp: preserving times for `/var/tmp/portage/net-analyzer/rrdtool-1.4.5-r1/image/usr/lib': Bad file descriptor cp: preserving times for `/var/tmp/portage/net-analyzer/rrdtool-1.4.5-r1/image/usr': Bad file descriptor * ERROR: net-analyzer/rrdtool-1.4.5-r1 failed (install phase): * Merging of intermediate installation image for Python ABI '2.6 into installation image failed * * Call stack: * ebuild.sh, line 56: Called src_install * environment, line 6431: Called distutils_src_install * environment, line 1760: Called python_merge_intermediate_installation_images '/var/tmp/portage/net-analyzer/rrdtool-1.4.5-r1/temp/images' * environment, line 5704: Called die * The specific snippet of code: * cp -fr --preserve=all --no-preserve=context "${intermediate_installation_images_directory}/${PYTHON_ABI}/"* "${D}" || die "Merging of intermediate installation image for Python ABI '${PYTHON_ABI} into installation image failed";
To address this issue update coreutils:
# emerge --update coreutils
Comments
There are no comments for this item.