Re: build rpm from tar.xz tarball

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Le mercredi 29 février 2012 à 10:18 +0300, Mihamina Rakotomandimby a
écrit :
> On 02/29/2012 04:11 AM, fakessh @ wrote:
> > What is the correct procedure to build an rpm with this type of package
> > tar.xz
> 
> the standard package rebuilding, I guess.
> just have to change the decompression utility call
> 
I possess many utilities xz. 
when I run rpmbuild -ba gnutls.spec i have this error

ks37777 ~]# rpmbuild -ba /usr/src/redhat/SPECS/gnutls.spec
Exécution_de(%prep): /bin/sh -e /var/tmp/rpm-tmp.54352
+ umask 022
+ cd /usr/src/redhat/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ cd /usr/src/redhat/BUILD
+ rm -rf gnutls-3.0.9
+ tar -xf /usr/src/redhat/SOURCES/gnutls-3.0.9.tar.xz
tar: This does not look like a tar archive
tar: Skipping to next header
tar: Archive contains obsolescent base-64 headers
tar: Read 1184 bytes from /usr/src/redhat/SOURCES/gnutls-3.0.9.tar.xz
tar: Error exit delayed from previous errors
erreur: Mauvais status de sortie pour /var/tmp/rpm-tmp.54352 (%prep)


Erreur de construction de RPM:
    Mauvais status de sortie pour /var/tmp/rpm-tmp.54352 (%prep)

i 'd think standard rpm package do not support tar.xz tarball

any idees
-- 
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xC2626742
 gpg --keyserver pgp.mit.edu --recv-key C2626742

 http://urlshort.eu fakessh @
 http://gplus.to/sshfake
 http://gplus.to/sshswilting
 http://gplus.to/john.swilting
 https://lists.fakessh.eu/mailman/
 This list is moderated by me, but all applications will be accepted
 provided they receive a note of presentation

Attachment: signature.asc
Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux