[MacPorts] #33444: Couldn't get rpm2cpio to work

MacPorts noreply at macports.org
Fri Mar 2 08:32:18 PST 2012


#33444: Couldn't get rpm2cpio to work
-------------------------------+--------------------------------------------
 Reporter:  dave@…             |       Owner:  afb@…           
     Type:  defect             |      Status:  new             
 Priority:  Normal             |   Milestone:                  
Component:  ports              |     Version:                  
 Keywords:                     |        Port:  rpm2cpio        
-------------------------------+--------------------------------------------
Description changed by n3npq@…:

Old description:

> I didn't try very hard to diagnose this, but:
>
> {{{
> [15:16:55]======================================================================
> [15:16:55]ERROR: testRPM (testunpack.TestUnpackPython)
> [15:16:55]----------------------------------------------------------------------
> [15:16:55]Traceback (most recent call last):
> [15:16:55]  File
> "/Users/zerobot/buildAgent/work/baba7dbd5dff0766/tests/testunpack.py",
> line 107, in testRPM
> [15:16:55]    unpack.unpack_archive('ftp://foo/file.rpm',
> open('dummy-1-1.noarch.rpm'), self.tmpdir)
> [15:16:55]  File "../zeroinstall/zerostore/unpack.py", line 209, in
> unpack_archive
> [15:16:55]    extract_rpm(data, destdir, extract, start_offset)
> [15:16:55]  File "../zeroinstall/zerostore/unpack.py", line 286, in
> extract_rpm
> [15:16:55]    raise SafeException(_("rpm2cpio failed; can't unpack RPM
> archive; exit code %d") % status)
> [15:16:55]SafeException: rpm2cpio failed; can't unpack RPM archive; exit
> code 256
> }}}
>
> https://0install.de/teamcity/viewLog.html?buildId=1677&buildTypeId=bt23&tab=buildLog,
> if I can get the administrator to make that page public
>
> http://www.iagora.com/~espel/rpm2cpio ended up working in its place

New description:

 I didn't try very hard to diagnose this, but:

 http://www.iagora.com/~espel/rpm2cpio ended up working in its place

 If all you/want need is rpm2cpio, either the perl version at the URI, or
 the
 shell version I've just attached, work fine.

--

-- 
Ticket URL: <https://trac.macports.org/ticket/33444#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list