Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Why the hell does portage depend on tar?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  
Author Message
Shadow Skill
Veteran
Veteran


Joined: 04 Dec 2004
Posts: 1023

PostPosted: Fri Mar 31, 2006 12:20 pm    Post subject: Why the hell does portage depend on tar? Reply with quote

Seriously why is it that Portage basically needs tar in order to be able to do much in the way of anything? I accidentally downgraded Glibc [Its only after I realize my box is totally screwed that I found out that downgrading glibc isn't a good thing to do.] and I am busy trying to ressurect portage and probably a quarter of my box at the moment and I cannot help but think how easy it would be to just unzip a glibc zip archive and have the thing build and install and presto box=teh fixed. But of course that isn't the case instead Portage is rendered useless which means that I have to go through the extract stage tarball emerge -e system bull or find a way to get the sources for glibc2.4 onto my desktop and then install it. What is more has anyone ever noticed how the makers of the tar program actually package thier releases as tar files isn't it kind of like saying "sorry you need Gentoo installed in order to actually install Gentoo in the first place."? I think I will file a feature request for a way for portage to neatly override a broken tar and use some other archive formats to extract sources so that they [hopefully] can be rebuilt so that things like tar and other apps that need a given version of glibc can be made to work without all the song and dance.

Ps. I know ebuilds need not actually use tar I just couldn't think of a better way to put it.
_________________
Ware wa mutekinari.
Wa ga kage waza ni kanau mono nashi.
Wa ga ichigeki wa mutekinari.

"First there was nothing, so the lord gave us light. There was still nothing, but at least you could see it."
Back to top
View user's profile Send private message
erikm
l33t
l33t


Joined: 08 Feb 2005
Posts: 634

PostPosted: Fri Mar 31, 2006 12:23 pm    Post subject: Reply with quote

Or, in the future, just activate the "static" USE flag for the tar ebuild...
Back to top
View user's profile Send private message
cokey
Advocate
Advocate


Joined: 23 Apr 2004
Posts: 3355

PostPosted: Fri Mar 31, 2006 12:25 pm    Post subject: Reply with quote

just use busybox, it has all the tools you need
_________________
https://otw20.com/ OTW20 The new place for off the wall chat
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Fri Mar 31, 2006 4:04 pm    Post subject: Reply with quote

Moved from Off the Wall
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
mikegpitt
Advocate
Advocate


Joined: 22 May 2004
Posts: 3224

PostPosted: Fri Mar 31, 2006 5:19 pm    Post subject: Reply with quote

pjp wrote:
Moved from Off the Wall
Wow I think that's the first time I've seen a thread moved out of "off the wall".

Anyways I'm thinking that portage needs tar becasue almost all sources that are built for Linux are packages as a tar.gz or tar.bz2. For portage not to depend on tar they woudl need to host all packages themself and repackage them another way.
Back to top
View user's profile Send private message
cokey
Advocate
Advocate


Joined: 23 Apr 2004
Posts: 3355

PostPosted: Fri Mar 31, 2006 5:46 pm    Post subject: Reply with quote

mikegpitt wrote:
pjp wrote:
Moved from Off the Wall
Wow I think that's the first time I've seen a thread moved out of "off the wall".

Anyways I'm thinking that portage needs tar becasue almost all sources that are built for Linux are packages as a tar.gz or tar.bz2. For portage not to depend on tar they woudl need to host all packages themself and repackage them another way.
I think he is saying 'why does portage need tar to un-tar something' because if you dont have tar you cannot un-tar it, it is then a circular dependency
_________________
https://otw20.com/ OTW20 The new place for off the wall chat
Back to top
View user's profile Send private message
Shadow Skill
Veteran
Veteran


Joined: 04 Dec 2004
Posts: 1023

PostPosted: Fri Mar 31, 2006 10:19 pm    Post subject: Reply with quote

Exactly Cokehabit I've managed to get things to untar by hacking ebuild.sh and pointing tar to /bin/busybox tar but now glibc2.4-r1 wont build keeps complaining about makeinfo and telling me to use --force to preserve lbc.info when it gets around to building the documentation. [I forgot to copy the error down, I'll paste it when it fails again in about an hour or two.] Right now I am just building things against 2.3.6 until I figure out what the problem is with 2.4.
Update:
Hmm after screwing around with coreutils and such Glibc successfully installed, everything appears to be working again.
_________________
Ware wa mutekinari.
Wa ga kage waza ni kanau mono nashi.
Wa ga ichigeki wa mutekinari.

"First there was nothing, so the lord gave us light. There was still nothing, but at least you could see it."
Back to top
View user's profile Send private message
cokey
Advocate
Advocate


Joined: 23 Apr 2004
Posts: 3355

PostPosted: Sat Apr 01, 2006 1:56 pm    Post subject: Reply with quote

yeah, you dont have to say it, i know i'm god :D
_________________
https://otw20.com/ OTW20 The new place for off the wall chat
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Chat 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