Bug 127728 - RPM needs to byteswap data from "cross endian" database
Summary: RPM needs to byteswap data from "cross endian" database
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: rpm
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jeff Johnson
QA Contact: Mike McLean
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-07-12 23:15 UTC by Mark Hatle
Modified: 2007-11-30 22:10 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2005-02-07 20:48:54 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
back port of endian patch (6.81 KB, patch)
2004-07-12 23:19 UTC, Mark Hatle
no flags Details | Diff

Description Mark Hatle 2004-07-12 23:15:31 UTC
Description of problem:
If the RPM database was created on the opposite endian (compared to native) a number of 
components are unreadable.

Version-Release number of selected component (if applicable):
All < rpm development HEAD

How reproducible:
Create a DB on a big endian system.  Copy to little endian, run rpm -qf '[:xml:]' compare 
the output on both.  It's different.
  
Additional info:

The patch currently located in the rpm CVS head works properly.

Comment 1 Mark Hatle 2004-07-12 23:19:20 UTC
Created attachment 101841 [details]
back port of endian patch

Backport of the endian patch from head to 4.3.x.

Comment 2 Jeff Johnson 2005-02-07 20:48:54 UTC
Fixed in rpm-4.4.1-0.18.


Note You need to log in before you can comment on or make changes to this bug.