| Summary: | rpm2cpio fails to unpack emgd 1.16 binary rpms | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Nitin Kamble <nitin.a.kamble> |
| Component: | devtools / tool chain | Assignee: | Saul Wold <sgw> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium+ | CC: | mark.hatle, meta.mr.watcher, meta.watcher, sgw |
| Version: | 1.4 | ||
| Target Milestone: | 1.4 M3 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | --- | |
| Bug Depends on: | |||
| Bug Blocks: | 3718 | ||
My guess is that whomever created the gst-vabuffer rpm package did so using non-compatible configurations. Specifically recent versions of Fedora Linux's version of RPM enable suppose for alternative compression methods. If these methods are used, and the rpm2cpio shell script don't understand them, it will not be possible to extract the items. My suggestion is to get a copy of the latest rpm4 from Fedora, and see if they have an updated rpm2cpio script (not the executable). If this can extract that package, the changes may need to be ported to our version. |
The rpm2cpio generated from oecore native rpm recipe causes these cpio errors: $ rpm2cpio IEMGD_HEAD_Linux/common/video_plugin/gst-vabuffer-0.10.8-1.i586.rpm | cpio -id cpio: Malformed number ¤Õ<9f>ª»«ïG cpio: Malformed number Õ<9f>ª»«ïG¬ cpio: Malformed number <9f>ª»«ïG¬^ cpio: Malformed number ª»«ïG¬^^P cpio: Malformed number »«ïG¬^^P<97> cpio: Malformed number «ïG¬^^P<97>Ú cpio: Malformed number ïG¬^^P<97>Ú{ ... How to reproduce the issue: 1. Download this tarball: https://edc.intel.com/App_Shared/Downloads/LIN_IEMGD_1_16_GOLD_3228.tgz 2. Unzip the above downloaded tarball 3. Use the rpm2cpio generated by native rpm recipe of YP to unpack an RPM with a command like this: $ rpm2cpio IEMGD_HEAD_Linux/common/video_plugin/gst-vabuffer-0.10.8-1.i586.rpm | cpio -id You will see the errors as seen above. Also FYI the rpm2cpio provided by build system's distro (OpenSuSE 11.4) works fine with these emgd 1.16 RPMS.