View previous topic :: View next topic |
Author |
Message |
Evil Petting Zoo n00b
Joined: 30 Nov 2002 Posts: 41 Location: Minneapolis, MN
|
Posted: Sun Feb 16, 2003 10:01 pm Post subject: Preventing Removal of Work Directory |
|
|
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 |
|
|
bsolar Bodhisattva
Joined: 12 Jan 2003 Posts: 2764
|
Posted: Sun Feb 16, 2003 10:52 pm Post subject: |
|
|
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 |
|
|
Evil Petting Zoo n00b
Joined: 30 Nov 2002 Posts: 41 Location: Minneapolis, MN
|
Posted: Sun Feb 16, 2003 10:57 pm Post subject: |
|
|
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 |
|
|
|
|
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
|
|