Often when installing or upgrading packages the following appears in the log:
* ….tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ...
What does this mean and what does the emoticon signify? ;-)
When a package maintainer creates a version of a package, the
repoman tool takes the input files, usually a tar archive with source code and the ebuild itself, and calculate a number of hashes on it. This information is then recorded in a packages
Before portage unpacks and compiles the package, it verifies that all these hashes are accurate.
For example, if you look at
/usr/portage/app-editors/vim/Manifest, you'll see a list of files for that package, along with a list of hashes.
The check you are seeing is portage having verified that the hashes are right, and it will then proceed to unpacking/compiling/installing.
The specific list you are seeing
SHA256 SHA512 WHIRLPOOL size tells you that portage successfully verified the hashes SHA256, SHA512, WHIRLPOOL, and in addition, the file size.
Why there's a smiley in there, I don't really know.
To test the above, and see the check fail, simply make any small change to an e-build, and then try to install it.
For example, changing a single letter in what is the current vim version at the time of writing, I get:
# emerge -vp vim These are the packages that would be merged, in order: Calculating dependencies / * Digest verification failed: * /usr/portage/app-editors/vim/vim-7.4.273.ebuild * Reason: Failed on SHA256 verification * Got: 376375965ab5830f176e9825e1f69b98f88d14331db5527317308b201befa933 * Expected: cbc64bcd5136f7c6059e379634e75117062204075001cf861d18a589c6f8535d
SHA256 SHA512 WHIRLPOOL size is a list of digest that are verified and
the smiley represents a successful installation of the package, i.e. the package is installed and all hashes and file sizes are matching the expected values.
So WHIRLPOOL refers to a hash algorithm, similarly to the preceding SHA hashes.