After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 359629 - rpm support on solaris failing
rpm support on solaris failing
Status: RESOLVED FIXED
Product: file-roller
Classification: Applications
Component: general
2.16.x
Other opensolaris
: Normal normal
: ---
Assigned To: Paolo Bacchilega
file-roller-maint
Depends on:
Blocks:
 
 
Reported: 2006-10-04 15:45 UTC by Matt Keenan (IRC:MattMan)
Modified: 2006-10-15 16:44 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch to make rpm archives work on Solaris (1.62 KB, patch)
2006-10-04 15:46 UTC, Matt Keenan (IRC:MattMan)
none Details | Review

Description Matt Keenan (IRC:MattMan) 2006-10-04 15:45:12 UTC
Extracting information for rpm archives on Solaris is failing.

This is mainly due to the fact that long argument names are being used with
cpio within fr-command-rpm.c, and long argument names are not supported on the 
version of cpio delivered with solaris, which is not the gnu version.

Swithching the hard coded arguments to their short equivalents fixes this.

e.g.
	change :
		cpio --list --force-local --verbose
	to
		cpio -i -t -v
	
	also change
		cpio --extract --force-local --unconditional --make-directories
	to
		cpio -i -u -d

The list processing also needs to change slightly as cpio on solaris verbose
listing outputs one extra field, the time of last modification.
Comment 1 Matt Keenan (IRC:MattMan) 2006-10-04 15:46:18 UTC
Created attachment 74010 [details] [review]
Patch to make rpm archives work on Solaris
Comment 2 Paolo Bacchilega 2006-10-15 16:44:02 UTC
patch applied to CVS, thanks