When a binary package is created using emerge -buildpkg or quickpkg and later installed with emerge --usepkgonly, the timestamps on the new installation don't match those on the old installation. Apparantly, the timestamp is assigned during emerge and not taken from the archive. Currently I'm trying to use binary packages to create multiple gentoo guests on a vserver and then hardlinking the installed files to save space. Since the timestamps are different this is impossible. Reproducible: Always Steps to Reproduce: 1. emerge -b somepackage (emerge -b zlib) 2. check timestamp of one of the emerged files (ls -al /usr/lib/libz.so --> 11:50) 3. emerge -K somepackage (emerge -K zlib) 4. verify the timestamp of the emerged file has changed (ls -al /usr/lib/libz.so --> 11:51) Actual Results: dfa / # emerge -b zlib Calculating dependencies... done! >>> Emerging (1 of 1) sys-libs/zlib-1.2.3-r1 to / * zlib-1.2.3.tar.bz2 MD5 ;-) ... ... <compilation> ... >>> Source compiled. >>> Test phase [not enabled]: sys-libs/zlib-1.2.3-r1 >>> Install zlib-1.2.3-r1 into /var/tmp/portage/zlib-1.2.3-r1/image/ category sys-libs ... >>> Completed installing zlib-1.2.3-r1 into /var/tmp/portage/zlib-1.2.3-r1/image/ ... >>> Merging sys-libs/zlib-1.2.3-r1 to / ... >>> Regenerating /etc/ld.so.cache... >>> Original instance of package unmerged safely. >>> Regenerating /etc/ld.so.cache... >>> sys-libs/zlib-1.2.3-r1 merged. >>> No packages selected for removal by clean. >>> Auto-cleaning packages... >>> No outdated packages were found on your system. * GNU info directory index is up-to-date. * IMPORTANT: 5 config files in /etc need updating. * Type emerge --help config to learn how to update config files. dfa / # ls -al /usr/lib/libz.so -rwxr-xr-x 1 root root 320 Jan 23 11:50 /usr/lib/libz.so dfa / # emerge -K zlib Calculating dependencies... done! >>> Emerging (1 of 1) sys-libs/zlib-1.2.3-r1 to / >>> Extracting info >>> Extracting zlib-1.2.3-r1 >>> Merging sys-libs/zlib-1.2.3-r1 to / ... >>> Safely unmerging already-installed instance... ... >>> Regenerating /etc/ld.so.cache... >>> Original instance of package unmerged safely. >>> Regenerating /etc/ld.so.cache... >>> sys-libs/zlib-1.2.3-r1 merged. >>> No packages selected for removal by clean. >>> Auto-cleaning packages... >>> No outdated packages were found on your system. * GNU info directory index is up-to-date. * IMPORTANT: 5 config files in /etc need updating. * Type emerge --help config to learn how to update config files. dfa / # ls -al /usr/lib/libz.so -rwxr-xr-x 1 root root 320 Jan 23 11:51 /usr/lib/libz.so dfa / # Expected Results: Timestamp should have been 11:50 after emerge -K
*** This bug has been marked as a duplicate of bug 181021 ***