Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
I screwed up some ebuild files...
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
ir_i_s_h
n00b
n00b


Joined: 16 Dec 2002
Posts: 5

PostPosted: Mon Dec 16, 2002 8:08 am    Post subject: I screwed up some ebuild files... Reply with quote

I just installed gentoo this weekend for the first time. In a futile effort to change an imap dependency for mod_php from uw-imap to courier-imap (I have a USE imap flag set), I screwed up the ebuild files. So I did what anybody in my shoes would do, I rm -rf'd the /usr/portage/dev-php/mod_php dir then did an emerge sync. It copied the new files over my edited ones, however I still get errors when I try to install it. The error shows a portion of the ebuild file that I edited before (but no longer exists) and talks of masked dependency errors. I checked packages.mask and a few other files to no avail. I now know how I could have achieved what I was attempting to do, but I can't seem to fix those errors. Does anybody know what I'm rambling on about? My brazen attitude with a text editor never ceases to amaze me.

To summarize, I edited *.ebuild files in /usr/portage/dev-php/mod_php tried to emerge (failed), deleted those ebuild files, performed a sync and now get those same errors. What other files perform masking?
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20589

PostPosted: Mon Dec 16, 2002 8:11 am    Post subject: Reply with quote

You might try removing the /var/tmp/portage/mod_php directory.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
ir_i_s_h
n00b
n00b


Joined: 16 Dec 2002
Posts: 5

PostPosted: Mon Dec 16, 2002 8:29 am    Post subject: tried deleting /var/tmp/portage/mod_php Reply with quote

Thanks for the quick response wolf.

I went ahead and tried it. Still shows me a masked dependency error. Have no idea where it is pulling that from. How many files can a ">=net-mail/courier-imap-1.6.1" mask from an ebuild edit be in?
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Mon Dec 16, 2002 8:39 am    Post subject: Reply with quote

Does "emerge unmerge mod_php" help?
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
ir_i_s_h
n00b
n00b


Joined: 16 Dec 2002
Posts: 5

PostPosted: Mon Dec 16, 2002 8:47 am    Post subject: no it doesnt. Reply with quote

It hasnt successfully installed yet, so it just returns nothing matches mod_php. I have looked through this forum for the messages dealing with masks. I think I have looked through them all, but nothing turns up for a case like this. What happens when you edit a *.ebuild file and try to merge?
Back to top
View user's profile Send private message
ir_i_s_h
n00b
n00b


Joined: 16 Dec 2002
Posts: 5

PostPosted: Mon Dec 16, 2002 9:01 am    Post subject: not to drag this out but... Reply with quote

I'm a little unclear as to what's happening with masking. But I'll have to leave that for another day. I went ahead and just emerged the .ebuild file directly for now.

Thanks for the timely responses.
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