Summary: | dev-util/freeride installs a corrupted elf shared object | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Diego Elio Pettenò (RETIRED) <flameeyes> |
Component: | New packages | Assignee: | Gentoo Ruby Team <ruby> |
Status: | RESOLVED FIXED | ||
Severity: | QA | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 239866 |
Description
Diego Elio Pettenò (RETIRED)
![]() yamato / # ls -l /usr/lib/ruby/site_ruby/freeride/redist/i686-linux/rrb_reflection.so -rwxr-xr-x 1 root root 837 Dec 14 17:35 /usr/lib/ruby/site_ruby/freeride/redist/i686-linux/rrb_reflection.so yamato / # ls -lh /usr/lib/ruby/site_ruby/freeride/redist/i686-linux/rrb_reflection.so -rwxr-xr-x 1 root root 837 Dec 14 17:35 /usr/lib/ruby/site_ruby/freeride/redist/i686-linux/rrb_reflection.so yamato / # eu-readelf -d /usr/lib/ruby/site_ruby/freeride/redist/i686-linux/rrb_reflection.so yamato / # eu-readelf -s /usr/lib/ruby/site_ruby/freeride/redist/i686-linux/rrb_reflection.so yamato / # eu-readelf -S /usr/lib/ruby/site_ruby/freeride/redist/i686-linux/rrb_reflection.so There are 32 section headers, starting at offset 0x3740: Section Headers: [Nr] Name Type Addr Off Size ES Flags Lk Inf Al I think freeride actually installs BROKEN elf files. Removal? yamato / # readelf -h /usr/lib/ruby/site_ruby/freeride/redist/i686-linux/rrb_reflection.so readelf: Error: Unable to read in 0x28 bytes of section headers ELF Header: Magic: 7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00 Class: ELF32 Data: 2's complement, little endian Version: 1 (current) OS/ABI: UNIX - System V ABI Version: 0 Type: DYN (Shared object file) Machine: Intel 80386 Version: 0x1 Entry point address: 0x710 Start of program headers: 52 (bytes into file) Start of section headers: 14144 (bytes into file) Flags: 0x0 Size of this header: 52 (bytes) Size of program headers: 32 (bytes) Number of program headers: 4 Size of section headers: 40 (bytes) Number of section headers: 32 Section header string table index: 29 readelf: Error: Unable to read in 0x500 bytes of section headers readelf: Error: Unable to read in 0xd8 bytes of dynamic section These .so files are shipped by upstream because (from redist/README(: - It makes things easier for the FreeRIDE users. FreeRIDE works out of the box. - It eases developer works because we know exactly what module version we are working with. The upstream archive does not seem to provide a way to rebuild these modules. I guess it should be possible to find the original packages and install them as dependencies, but that is going to be quite a bit of work. +1 on removal by treecleaners from me, unless someone wants to maintain this. I tried. But freeride is broken anyway, as it depends on fxruby:1.4 only, which is only very vaguely supported upstream. Sad, but it's removal is actually a good thing. The package never got properly masked, so I've just done this. Will be removed in 30 days. dev-util/freeride has now been removed from the tree. |