I get errors when trying to emerge the rar package. Here are the results:
/tmp/ILINXR.install$ emerge rar
Calculating dependencies ...done!
>>> emerge app-arch/rar-2.90 to /
>>> Downloading http://www.ibiblio.org/gentoo/distfiles/rarlnx29.sfx
Resolving www.ibiblio.org... done.
Connecting to www.ibiblio.org[184.108.40.206]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 216,145 [text/plain]
100%[=======================================================>] 216,145 69.96K/s ETA
19:17:23 (69.96 KB/s) - `/usr/portage/distfiles/rarlnx29.sfx' saved [216145/216145]
>>> Unpacking source...
/var/tmp/portage/rar-2.90/work/rarlnx29.sfx: relocation error:
/var/tmp/portage/rar-2.90/work/rarlnx29.sfx: undefined symbol: atexit
>>> Source unpacked.
>>> Nothing to compile...
>>> Install rar-2.90 into /var/tmp/portage/rar-2.90/image/ category app-arch
>>> dobin: making rar executable...
install: cannot stat `rar': No such file or directory
>>> dobin: making unrar executable...
install: cannot stat `unrar': No such file or directory
/usr/lib/portage/bin/dodoc: *.txt does not exist.
>>> Completed installing into /var/tmp/portage/rar-2.90/image/
>>> Merging app-arch/rar-2.90 to /
>>> Package will have counter 31
>>> Regenerating /etc/ld.so.cache...
>>> app-arch/rar-2.90 merged.
>>> Recording app-arch/rar in "world" favorites file...
* Regenerating GNU info directory index...
* Processed 58 info files.
* IMPORTANT: 53 config files in /etc need updating.
* Type emerge --help config to learn how to update config files.
What glibc package do you have installed?
/var/db/pkg/sys-libs says only glibc-2.2.5-r3
looks like the rar sfx archive is incompatible with our glibc. Bummer!
I found that the new rar beta, rarlinux-3.0.b5.tar.gz is, well, a gzip file and therefore can be
extracted. The rar and unrar binaries in the archive also run under the current glibc, so
Perhaps updated the emerge to that version is a good idea?
I cannot reproduce this. emerge rar success on both glibc-2.2.5-r2 and -r3 for
me. It also works for Seemant. I will however create a new ebuild for 3.0 beta
5 and mask it.
Also, I noticed from your screen dump that you have 53 files in /etc/ needing
updating. You might find running etc-update fixes the problem, but that doesn't
seem related to the kind of error messages you're seeing.
rar-3.0_beta5 added to portage and masked.
Its odd that it worked for you, but whatever. ;) I didn't know there was an etc-update command,
thanks for the tip, doing all the config files by hand is a PITA. Anyway, the solution sounds
good. (masked 3.0 ebuild)