Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Preventing Removal of Work Directory
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
Evil Petting Zoo
n00b
n00b


Joined: 30 Nov 2002
Posts: 41
Location: Minneapolis, MN

PostPosted: Sun Feb 16, 2003 10:01 pm    Post subject: Preventing Removal of Work Directory Reply with quote

After a compile/install fails, how can I make a change to an ebuild file and not have the work directory removed after running ebuild again? What I'm trying to do is work on the install problem for mozilla-1.3b (https://forums.gentoo.org/viewtopic.php?t=35008), but whenever I try to make a change to the mozilla-1.3b.ebuild file, it recompiles everything. I've tried updating files in the build-info subdirectory, but it still detects the change and deletes the work directory. The emerge and ebuild man pages don't seem to have any relavent options. Any suggestions?
Back to top
View user's profile Send private message
bsolar
Bodhisattva
Bodhisattva


Joined: 12 Jan 2003
Posts: 2764

PostPosted: Sun Feb 16, 2003 10:52 pm    Post subject: Reply with quote

I'm not sure I have undestood so forgive me if I'm pointing you wrong...

You could do the emerge steps by hand.
There are 3 steps, unpack, compile, emerge. You can do:
Code:
# emerge /usr/portage/[package_category]/[package]/[ebuild] unpack

This unpacks the package to '/var/tmp/portage/[package]/work' and creates the file '.unpack' (or something like that) in '/var/tmp/portage/[package]' to tell emerge that the step has been done.

Then you can do
Code:
# emerge /usr/portage/[package_category]/[package]/[ebuild] compile

to compile and
Code:
# emerge /usr/portage/[package_category]/[package]/[ebuild] merge

To merge.
_________________
I may not agree with what you say, but I'll defend to the death your right to say it.
Back to top
View user's profile Send private message
Evil Petting Zoo
n00b
n00b


Joined: 30 Nov 2002
Posts: 41
Location: Minneapolis, MN

PostPosted: Sun Feb 16, 2003 10:57 pm    Post subject: Reply with quote

Well, I've tried that by using ebuild <file> install, but once the ebuild changes, portage will try to recompile from the start to fix any problems. So my problem how to fool portage into thinking the ebuild file hasn't changed.
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