I'm attempting to build OpenPKG release 1.3 on OS X/Darwin, and it builds with one minor hack in gzip to keep it from trying to use the assembler. Unfortunately once it's built, rpm fails when attempting to rebuild or install SRPMS with the error:
error: unpacking of archive failed: cpio: Bad/unreadable header If I run ``rpm2cpio $srpm | cpio -itv'' it reads the archive successfully. I've looked at the cpio code in /tmp/openpkg-1.3.0/rpm-4.0.2/lib, but don't see anything that just jumps out at me. I thought it might be an endian problem, but it doesn't appear that's the problem (I pulled the ENDIAN tests out of the verify.c routine, into a small test program which worked fine). I've been running a non OpenPKG version of rpm-4.0.2 on OS X with no problems using these patches (which don't seem to do anything to cpio related code except possibly the LIBMISC additions in a couple of Makefile.in files). http://www-jlc.kek.jp/~fujiik/macosx/10.2.X/SOURCES/rpm-4.0.2-macosx.patch Does anybody have any suggestions or solutions to this before I go digging? Bill -- INTERNET: [EMAIL PROTECTED] Bill Campbell; Celestial Software LLC UUCP: camco!bill PO Box 820; 6641 E. Mercer Way FAX: (206) 232-9186 Mercer Island, WA 98040-0820; (206) 236-1676 URL: http://www.celestial.com/ Many companies that have made themselves dependent on [the equipment of a certain major manufacturer] (and in doing so have sold their soul to the devil) will collapse under the sheer weight of the unmastered complexity of their data processing systems. -- Edsger W. Dijkstra, SIGPLAN Notices, Volume 17, Number 5 ______________________________________________________________________ The OpenPKG Project www.openpkg.org Developer Communication List [EMAIL PROTECTED]