The dowloaded binary data ( noncorrupted ) is reported as being of unknown format and is therefore not extracted properly to the temporary directory. All subsequent steps of the install fail. Reproducible: Always Steps to Reproduce: 1. Download the indicated binary data file 2. Copy to /usr/portage/distfiles 3. emerge realplayer Actual Results: During the source unpacking, the 'unpack' program reports that the file to unpack is wrong format, and therefore does not unpack the said data. Expected Results: It should unpack the data so that the rest of the istallatio process succeeds. When running the binary file as a program installation works fine. However, the hacks that allow direct unpacking of the data seem to be faulty. I have verified that the file i provided is the one requested by comparing names, but I believe there is no binary verification made.
Perhaps a change of the line unpack ${RP8_BIN} to unpack ${RP8_BIN} || die would make the ebuild a little more userfriendly.
hmm, I just tried this and it worked fine... are you sure you downloaded the correct file? -rw-r--r-- 1 root root 5.7M Apr 3 13:28 rp8_linux20_libc6_i386_cs2.bin
OK, from ls /usr/portage/distfiles/ -rw-r--r-- 1 root root 5890331 Apr 5 13:24 rp8_linux20_libc6_i386_cs2.bin From sudo emerge realplayer Calculating dependencies ...done! >>> emerge (1 of 1) media-video/realplayer-8-r5 to / x86 >>> md5 ;-) rv9_libc6_i386_cs2.tgz x86 x86 >>> Unpacking source... x86 tail: /usr/portage/distfiles/: Is a directory x86 >>> Unpacking rp8_linux20_libc6_i386_cs2.bin to /var/tmp/portage/realplayer-8-r5/work unpack rp8_linux20_libc6_i386_cs2.bin: file format not recognized. Ignoring. >>> Source unpacked. x86 * Nothing to Compile, this is a binary package x86 >>> Install realplayer-8-r5 into /var/tmp/portage/realplayer-8-r5/image/ category media-video install: cannot stat `Codecs/*': No such file or directory install: cannot stat `Common/*': No such file or directory install: cannot stat `Plugins/ExtResources/*': No such file or directory install: cannot stat `Plugins/*.so.6.0': No such file or directory install: cannot stat `*.xpm': No such file or directory install: cannot stat `*.png': No such file or directory install: cannot stat `*.rm': No such file or directory install: cannot stat `rpnp.so': No such file or directory install: cannot stat `LICENSE': No such file or directory install: cannot stat `README': No such file or directory install: cannot stat `realplay': No such file or directory cp: cannot stat `rp7.xpm': No such file or directory install: cannot stat `realplayer8.xpm': No such file or directory man: >>> Completed installing into /var/tmp/portage/realplayer-8-r5/image/
This bug happens because the strings in $A get transposed. See bug http://bugs.gentoo.org/show_bug.cgi?id=27968#c0
liquidx fixed this