Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Error Portage any tar.xz
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
wagnersouza
n00b
n00b


Joined: 23 Jan 2013
Posts: 2

PostPosted: Wed Jan 23, 2013 1:55 am    Post subject: [SOLVED] Error Portage any tar.xz Reply with quote

Hi folks!

When I try to emerge any package that ends with tar.xz I got the error:

xz: /path/to/file: Compressed data is corrupt
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now

Anyone knows how to fix this?
I am using gcc-4.6.3 and glic-2.15-r3.


Thanks!


Last edited by wagnersouza on Sun Feb 24, 2013 10:26 pm; edited 1 time in total
Back to top
View user's profile Send private message
BillWho
Veteran
Veteran


Joined: 03 Mar 2012
Posts: 1600
Location: US

PostPosted: Wed Jan 23, 2013 2:43 am    Post subject: Reply with quote

wagnersouza,

Welcome to gentoo :D

Strange error. The only thing I can think of is to check if app-arch/xz-utils is installed.

Code:
gentoo-gateway distfiles # whereis xz
xz: /usr/bin/xz /usr/share/man/man1/xz.1.bz2

If it is, try reinstalling.
_________________
Good luck :wink:

Since installing gentoo, my life has become one long emerge :)
Back to top
View user's profile Send private message
666threesixes666
Veteran
Veteran


Joined: 31 May 2011
Posts: 1248
Location: 42.68n 85.41w

PostPosted: Wed Jan 23, 2013 2:51 am    Post subject: Reply with quote

ill throw in a zlib controls zips also so u might want to recycle that one too.... & minizip? useflag
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Wed Jan 23, 2013 3:30 pm    Post subject: Reply with quote

666threesixes666 wrote:
ill throw in a zlib controls zips also so u might want to recycle that one too.... & minizip? useflag

WTF does this even mean?
Back to top
View user's profile Send private message
666threesixes666
Veteran
Veteran


Joined: 31 May 2011
Posts: 1248
Location: 42.68n 85.41w

PostPosted: Wed Jan 23, 2013 3:46 pm    Post subject: Reply with quote

if you unmerge zlib your portage will be completely broke and you wont be able to merge ANYTHING.... he's got zip problems so im saying his zlib is possibly broken also. mines using a minizip useflag for something or other, he should probably also remerge tar...
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Wed Jan 23, 2013 7:36 pm    Post subject: Reply with quote

Go and get a clue before you post again, other people have already reported you for posting uninformed and quite frankly dangerous misinformation in multiple threads already.

Neither zlib nor zip have anything to do with XZ files.
Back to top
View user's profile Send private message
psheldon
n00b
n00b


Joined: 02 Apr 2006
Posts: 53
Location: South Africa

PostPosted: Thu Jan 24, 2013 7:50 am    Post subject: Reply with quote

[quote="Ant P."]Go and get a clue before you post again, other people have already reported you for posting uninformed and quite frankly dangerous misinformation in multiple threads already.

Neither zlib nor zip have [b]anything[/b] to do with XZ files.[/quote]

Then what does?
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21607

PostPosted: Fri Jan 25, 2013 2:42 am    Post subject: Reply with quote

psheldon wrote:
Ant P. wrote:
Go and get a clue before you post again, other people have already reported you for posting uninformed and quite frankly dangerous misinformation in multiple threads already.

Neither zlib nor zip have anything to do with XZ files.

Then what does?
/usr/bin/xz, provided by app-arch/xz-utils, is probably relevant.
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Fri Jan 25, 2013 2:50 am    Post subject: Reply with quote

Right, and I had similar issue with freshly installed system, I had to build binpkg of app-arch/xz-utils on another host to overcome this. I still don't know what caused this, I was installing a new box while using stable stage3 and same time switching over to ~arch. Once everything was ~arch xz-utils built and ran fine.
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
fturco
Veteran
Veteran


Joined: 08 Dec 2010
Posts: 1181
Location: Italy

PostPosted: Fri Jan 25, 2013 1:15 pm    Post subject: Re: Error Portage any tar.xz Reply with quote

wagnersouza wrote:
When I try to emerge any package that ends with tar.xz I got the error:

xz: /path/to/file: Compressed data is corrupt
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now


Files with .tar.xz suffix are XZ-compressed tarballs, and the command for dealing with them is "tar". "emerge" is for installing Gentoo packages, and it does not deal with .tar.xz files.
Back to top
View user's profile Send private message
Genone
Retired Dev
Retired Dev


Joined: 14 Mar 2003
Posts: 9523
Location: beyond the rim

PostPosted: Fri Jan 25, 2013 2:24 pm    Post subject: Re: Error Portage any tar.xz Reply with quote

fturco wrote:
wagnersouza wrote:
When I try to emerge any package that ends with tar.xz I got the error:

xz: /path/to/file: Compressed data is corrupt
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now

Files with .tar.xz suffix are XZ-compressed tarballs, and the command for dealing with them is "tar". "emerge" is for installing Gentoo packages, and it does not deal with .tar.xz files.

While the wording in the original post is a bit sloppy the output clearly shows that it's not emerge complainging about a .tar.xz file, but xz throwing up on a given archive.
Back to top
View user's profile Send private message
wagnersouza
n00b
n00b


Joined: 23 Jan 2013
Posts: 2

PostPosted: Sun Feb 24, 2013 10:25 pm    Post subject: Solved Reply with quote

The problem was with the cflag : -floop-strip-mine.

Not only xz will broke, but unzip, tar, gzip too.

Thanks for your help!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum