Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 289134 - sys-apps/coreutils-7.5: Older kernels cause failure to preserve times on symlinks
Summary: sys-apps/coreutils-7.5: Older kernels cause failure to preserve times on syml...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-14 23:04 UTC by Allen Brooker (AllenJB)
Modified: 2009-10-18 05:52 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Allen Brooker (AllenJB) 2009-10-14 23:04:07 UTC
Current kernel: xen-sources-2.6.18-r12

Steps to reproduce:
1. touch foo
2. ln -s foo bar
3. cp -a bar baz

Result:
cp: preserving times for 'baz': Function not implemented

There's a discussion on this issue at:
http://www.linux-archive.org/fedora-development/356717-koji-build-failure-coreutils-7-5-a.html

emerge --info:
Portage 2.2_rc46 (default/linux/amd64/10.0/desktop, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.18-xen-r12 x86_64)
=================================================================                                            
System uname: Linux-2.6.18-xen-r12-x86_64-AMD_Athlon-tm-_64_Processor_3000+-with-gentoo-1.12.11.1            
Timestamp of tree: Wed, 14 Oct 2009 15:45:01 +0000                                                           
app-shells/bash:     4.0_p28                                                                                 
dev-java/java-config: 2.1.8-r1                                                                               
dev-lang/python:     2.6.2-r1                                                                                
dev-util/cmake:      2.6.4                                                                                   
sys-apps/baselayout: 1.12.11.1                                                                               
sys-apps/sandbox:    1.6-r2                                                                                  
sys-devel/autoconf:  2.13, 2.63-r1                                                                           
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2                                               
sys-devel/binutils:  2.18-r3                                                                                 
sys-devel/gcc-config: 1.4.1                                                                                  
sys-devel/libtool:   2.2.6a                                                                                  
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe"
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/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/init.d /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d /usr/share/X11/xkb"
CXXFLAGS="-O2 -march=native -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--ask --alphabetical --verbose --tree"
FEATURES="assume-digests buildpkg collision-protect distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="        http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo       http://mirror.switch.ch/mirror/gentoo/          http://pandemonium.tiscali.de/pub/gentoo/  "
LANG="en_GB.UTF-8"
LC_ALL="en_GB.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en_GB en"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes"
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="/var/tmp"
PORTDIR="/mnt/portdir-local"
PORTDIR_OVERLAY="/usr/local/portage /usr/portage/local/layman/armagetron /usr/portage/local/layman/allenjb /usr/portage/local/layman/sunrise /usr/portage/local/layman/alexxy"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 amr aoss apache2 apm asf bash-completion branding bzip2 cairo caps cdr cli cracklib crypt cups curl dbus dedicated dga dri dts dvd dvdr emboss enca encode evo exif expat fastcgi fbcon ffmpeg firefox flac ftp gif gnutls hal iconv idn ipod ipv6 isdnlog ithreads java javascript jpeg jpeg2k junit kde lastfm lcms libnotify lirc lzma lzo mad matroska mikmod mjpeg mmx mmxext mng modules mozsvg mp3 mp4 mpeg msn mudflap multilib musepack mysql mysqli ncurses nls nocd nptl nptlonly nvidia ogg oggvorbis opengl openmp pam pcre pdf perl php png ppds pppd python qt3 qt3support qt4 quicktime rdesktop readline reflection rrdtool rss samba sdl session speex spl sqlite sqlite3 sse sse2 ssl startup-notification subversion svg sysfs tcpd theora threads thunar tidy tiff truetype unicode usb vcd vdpau vhosts videos vorbis webdav wmf x264 xcomposite xine xinerama xml xorg xpm xulrunner xv xvid yv12 zip zlib" ALSA_CARDS="emu10k1" 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires   ext_filter file_cache filter headers ident include info log_config logio mem_cache mime     mime_magic negotiation rewrite setenvif so speling status unique_id userdir usertrack   vhost_alias" CAMERAS="canon" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB en" LIRC_DEVICES="livedrive_midi" USERLAND="GNU" VIDEO_CARDS="vesa nv"
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 1 Fabio Correa 2009-10-17 02:04:18 UTC
Hello. Please try emerging coreutils-7.6. From 7.6's release notes, you can read:

** Bug fixes

  cp, mv now ignore failure to preserve a symlink time stamp, when it is
  due to their running on a kernel older than what was implied by headers
  and libraries tested at configure time.
  [bug introduced in coreutils-7.5]

Comment 2 Fabio Correa 2009-10-17 02:05:00 UTC
(In reply to comment #1)
> From 7.6's release notes, you can read:

Original text at
http://lists.gnu.org/archive/html/coreutils-announce/2009-09/msg00000.html
Comment 3 SpanKY gentoo-dev 2009-10-18 05:52:18 UTC
ive added the fix to 7.5-r1 and put it into stable