Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 1662

Summary: rar ebuild does not emerge correctly.
Product: Gentoo Linux Reporter: Pardsbane <pardsbane>
Component: Current packagesAssignee: Matthew Kennedy (RETIRED) <mkennedy>
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---

Description Pardsbane 2002-04-10 18:24:07 UTC
I get errors when trying to emerge the rar package. Here are the results: 
 root@spunky 09:24pm 
/tmp/ILINXR.install$ emerge rar 
Calculating dependencies ...done! 
>>> emerge app-arch/rar-2.90 to / 
>>> Downloading 
           => `/usr/portage/distfiles/rarlnx29.sfx' 
Resolving done. 
Connecting to[]: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 
--- /usr/ 
--- /usr/bin/ 
>>> Regenerating /etc/ 
>>> 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. 
root@spunky 07:17pm 
Comment 1 Daniel Robbins (RETIRED) gentoo-dev 2002-04-10 21:43:31 UTC
What glibc package do you have installed?
Comment 2 Pardsbane 2002-04-10 21:46:51 UTC
/var/db/pkg/sys-libs says only glibc-2.2.5-r3 
Comment 3 Daniel Robbins (RETIRED) gentoo-dev 2002-04-12 23:37:41 UTC
looks like the rar sfx archive is incompatible with our glibc.  Bummer!
Comment 4 Pardsbane 2002-04-13 11:51:48 UTC
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? 
Comment 5 Matthew Kennedy (RETIRED) gentoo-dev 2002-04-14 04:21:13 UTC
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.
Comment 6 Matthew Kennedy (RETIRED) gentoo-dev 2002-04-14 06:11:13 UTC
rar-3.0_beta5 added to portage and masked.
Comment 7 Pardsbane 2002-04-14 10:32:36 UTC
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)